council_plans dict — seat → plan text (up to 8192 tokens each) · each plan saved to raw memory
council_votes[] + cumulative_votes[]
| Status | Set by | Meaning | Next possible |
|---|---|---|---|
| NEW | create_job() | Job created, not yet started | PM_RUNNING |
| PM_RUNNING | pm_agent.run() | PM Agent refining + auditing + researching | RESEARCH_DONE · BLOCKED |
| RESEARCH_DONE | pm_agent verify pass | PM complete, moving to council | COUNCIL_PLANNING |
| COUNCIL_PLANNING | pipeline.py phase 2 | 6 seats generating plans in parallel | SYNTHESIZING |
| SYNTHESIZING | plan_maker.run() | Opus synthesizing council plans into master_plan.md | COUNCIL_REVIEWING |
| COUNCIL_REVIEWING | council.review_mode() | 6 seats voting on master plan | SYNTHESIZING (revise) · APPROVED · BLOCKED (deadlock) |
| APPROVED | all seats APPROVE | Master plan approved, ready for execution | EXECUTING |
| EXECUTING | executor.run() → GSD bridge → claude CLI | GSD execute-phase running waves via Claude Code CLI (native tools) | DONE · FAILED |
| DONE | GSD SUMMARY.md exists + exit 0 | All waves complete, files committed atomically | — |
| FAILED | no SUMMARY.md + exit ≠ 0 or timeout | GSD execution failed or timed out after 30min | — |
| BLOCKED | pm verify fail · council deadlock · veto | Pipeline stopped, blocker_reason explains why | — |
VERIFICATION.md — deliverables checked · gaps addressed · phase marked COMPLETE in STATE.md
| Artifact | Created by | Location | Purpose |
|---|---|---|---|
PROJECT.md | /gsd-new-project | .planning/PROJECT.md | Core description, requirements, constraints, key decisions log |
REQUIREMENTS.md | /gsd-new-project | .planning/REQUIREMENTS.md | Full requirements list with IDs, mapped to phases |
ROADMAP.md | gsd-roadmapper | .planning/ROADMAP.md | Phase breakdown with success criteria, dependencies, risk levels |
STATE.md | /gsd-new-project | .planning/STATE.md | Live project state: current phase, progress %, recent decisions, session continuity |
config.json | /gsd-new-project | .planning/config.json | YOLO/Interactive mode, model routing, agent toggles, branching strategy |
CONTEXT.md | /gsd-discuss-phase | .planning/phases/NN-name/ | Phase context: assumptions, advisor decisions, chosen approach |
RESEARCH.md | gsd-phase-researcher | .planning/phases/NN-name/ | Technical research: libraries, patterns, pitfalls, implementation guidance |
PATTERNS.md | gsd-pattern-mapper | .planning/phases/NN-name/ | Codebase pattern map: new files → closest existing analogs |
NN-MM-PLAN.md | gsd-planner | .planning/phases/NN-name/ | Executable plan: tasks with files, commands, success criteria, wave assignment |
NN-MM-SUMMARY.md | gsd-executor | .planning/phases/NN-name/ | Completion record: decisions made, files changed, deviations, concerns |
VERIFICATION.md | gsd-verifier | .planning/phases/NN-name/ | Verification report: criteria met/failed, gaps addressed, phase sign-off |
| Agent | Triggered by | Role | Key output |
|---|---|---|---|
gsd-planner | /gsd-plan-phase | Creates detailed PLAN.md with task breakdown, waves, dependencies | NN-MM-PLAN.md |
gsd-plan-checker | /gsd-plan-phase revision gate | Reviews plan quality, goal-backward analysis, stall detection (max 3 iter) | pass/feedback |
gsd-phase-researcher | /gsd-plan-phase | Researches domain, libraries, patterns for specific phase | RESEARCH.md |
gsd-pattern-mapper | /gsd-plan-phase | Maps new files to existing codebase patterns and conventions | PATTERNS.md |
gsd-executor | /gsd-execute-phase (per plan, per wave) | Implements tasks, writes files, runs commands, commits, writes SUMMARY.md | SUMMARY.md + code |
gsd-verifier | /gsd-verify-work | Checks deliverables vs success criteria, triggers patch plans if gaps found | VERIFICATION.md |
gsd-project-researcher | /gsd-new-project (×4 parallel) | Researches project-level tech decisions, domain patterns, tradeoffs | RESEARCH.md (project) |
gsd-roadmapper | /gsd-new-project | Creates phased roadmap from requirements, maps success criteria per phase | ROADMAP.md |
gsd-assumptions-analyzer | /gsd-discuss-phase | Scans codebase for hidden constraints and risky assumptions | CONTEXT.md (assumptions) |
gsd-advisor-researcher | /gsd-discuss-phase | Researches competing approaches, produces scored comparison table | CONTEXT.md (decision) |
gsd-debugger | /gsd-debug | Scientific debugging: hypothesis → test → fix. Manages checkpoint sessions. | fix + debug log |