Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
TypeScript
feat: worktree parallelization strategy in /plan-eng-review (v0.12.5.1) (#547)
Garry Tan3d523824c253
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1bce3443b..c02921843 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,13 @@# Changelog+## [0.12.5.1] - 2026-03-27 — Eng Review Now Tells You What to Parallelize++`/plan-eng-review` automatically analyzes your plan for parallel execution opportunities. When your plan has independent workstreams, the review outputs a dependency table, parallel lanes, and execution order so you know exactly which tasks to split into separate git worktrees.++### Added++- **Worktree parallelization strategy** in `/plan-eng-review` required outputs. Extracts a structured table of plan steps with module-level dependencies, computes parallel lanes, and flags merge conflict risks. Skips automatically for single-module or single-track plans.+## [0.12.5.0] - 2026-03-26 — Fix Codex Hangs: 30-Minute Waits Are GoneThree bugs in `/codex` caused 30+ minute hangs with zero output during plan reviews and adversarial checks. All three are fixed.diff --git a/VERSION b/VERSIONindex cce9c8ee1..0c2b830b6 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-0.12.5.0+0.12.5.1diff --git a/plan-eng-review/SKILL.md b/plan-eng-review/SKILL.mdindex 93a3a8f1e..bcf6734e8 100644--- a/plan-eng-review/SKILL.md+++ b/plan-eng-review/SKILL.md@@ -860,6 +860,33 @@ For each new codepath identified in the test review diagram, list one realisticIf any failure mode has no test AND no error handling AND would be silent, flag it as a **critical gap**.+### Worktree parallelization strategy++Analyze the plan's implementation steps for parallel execution opportunities. This helps the user split work across git worktrees (via Claude Code's Agent tool with `isolation: "worktree"` or parallel workspaces).++**Skip if:** all steps touch the same primary module, or the plan has fewer than 2 independent workstreams. In that case, write: "Sequential implementation, no parallelization opportunity."++**Otherwise, produce:**++1. **Dependency table** — for each implementation step/workstream:++| Step | Modules touched | Depends on |+|------|----------------|------------|+| (step name) | (directories/modules, NOT specific files) | (other steps, or —) |++Work at the module/directory level, not file level. Plans describe intent ("add API endpoints"), not specific files. Module-level ("controllers/, models/") is reliable; file-level is guesswork.++2. **Parallel lanes** — group steps into lanes:+ - Steps with no shared modules and no dependency go in separate lanes (parallel)+ - Steps sharing a module directory go in the same lane (sequential)+ - Steps depending on other steps go in later lanes++Format: `Lane A: step1 → step2 (sequential, shared models/)` / `Lane B: step3 (independent)`++3. **Execution order** — which lanes launch in parallel, which wait. Example: "Launch A + B in parallel worktrees. Merge both. Then C."++4. **Conflict flags** — if two parallel lanes touch the same module directory, flag it: "Lanes X and Y both touch module/ — potential merge conflict. Consider sequential execution or careful coordination."+### Completion summaryAt the end of the review, fill in and display this summary so the user can see all findings at a glance:- Step 0: Scope Challenge — ___ (scope accepted as-is / scope reduced per recommendation)@@ -872,6 +899,7 @@ At the end of the review, fill in and display this summary so the user can see a- TODOS.md updates: ___ items proposed to user- Failure modes: ___ critical gaps flagged- Outside voice: ran (codex/claude) / skipped+- Parallelization: ___ lanes, ___ parallel / ___ sequential- Lake Score: X/Y recommendations chose complete option## Retrospective learningdiff --git a/plan-eng-review/SKILL.md.tmpl b/plan-eng-review/SKILL.md.tmplindex 13431184d..b4c47e4ca 100644--- a/plan-eng-review/SKILL.md.tmpl+++ b/plan-eng-review/SKILL.md.tmpl@@ -196,6 +196,33 @@ For each new codepath identified in the test review diagram, list one realisticIf any failure mode has no test AND no error handling AND would be silent, flag it as a **critical gap**.+### Worktree parallelization strategy++Analyze the plan's implementation steps for parallel execution opportunities. This helps the user split work across git worktrees (via Claude Code's Agent tool with `isolation: "worktree"` or parallel workspaces).++**Skip if:** all steps touch the same primary module, or the plan has fewer than 2 independent workstreams. In that case, write: "Sequential implementation, no parallelization opportunity."++**Otherwise, produce:**++1. **Dependency table** — for each implementation step/workstream:++| Step | Modules touched | Depends on |+|------|----------------|------------|+| (step name) | (directories/modules, NOT specific files) | (other steps, or —) |++Work at the module/directory level, not file level. Plans describe intent ("add API endpoints"), not specific files. Module-level ("controllers/, models/") is reliable; file-level is guesswork.++2. **Parallel lanes** — group steps into lanes:+ - Steps with no shared modules and no dependency go in separate lanes (parallel)+ - Steps sharing a module directory go in the same lane (sequential)+ - Steps depending on other steps go in later lanes++Format: `Lane A: step1 → step2 (sequential, shared models/)` / `Lane B: step3 (independent)`++3. **Execution order** — which lanes launch in parallel, which wait. Example: "Launch A + B in parallel worktrees. Merge both. Then C."++4. **Conflict flags** — if two parallel lanes touch the same module directory, flag it: "Lanes X and Y both touch module/ — potential merge conflict. Consider sequential execution or careful coordination."+### Completion summaryAt the end of the review, fill in and display this summary so the user can see all findings at a glance:- Step 0: Scope Challenge — ___ (scope accepted as-is / scope reduced per recommendation)@@ -208,6 +235,7 @@ At the end of the review, fill in and display this summary so the user can see a- TODOS.md updates: ___ items proposed to user- Failure modes: ___ critical gaps flagged- Outside voice: ran (codex/claude) / skipped+- Parallelization: ___ lanes, ___ parallel / ___ sequential- Lake Score: X/Y recommendations chose complete option## Retrospective learning