Full Planning Pipeline Runner
Run all 5 subphases in order. Stop on any failure.
Arguments
Parse $ARGUMENTS: --tool <tool> (default: claude), --max-area-iterations <N> (default: 5), --dry-run.
Workflow
- •Preflight:
./scripts/doctor.sh --planning-only --skip-runner-tools. Fail → suggest/doctor-fix, stop. - •Plan Start:
./orchestrator.sh plan start --tool <tool>. Verify.plan/areas.mdexists after. - •Area Processing: Parse
.plan/areas.mdtable. For each non-approved/locked area, run./orchestrator.sh plan area --area <name> --tool <tool>. Re-read status after each; retry up to max iterations. If area doesn't reach approved → report and stop. - •Review:
./orchestrator.sh plan review --tool <tool> - •Red-Team:
./orchestrator.sh plan redteam --tool <tool> - •PM Stories:
./orchestrator.sh plan pm --tool <tool> - •Final Validation:
./scripts/doctor.sh(full). Pass → show counts, suggest./orchestrator.sh run. Fail → suggest/validate.
Dry Run
Run preflight only, show areas that would be processed, print command sequence, note already-approved areas.
Error Recovery
Show full output, identify failed step (e.g., "Failed at Step 3/6: Area Processing (area: backend)"), suggest manual retry command. Re-running /plan-all skips already-approved areas.