Command pipeline
/plan-generate
/plan-generate — Generates a complete Master Plan Suite from the authored `_spec/spec.md`.
Role: Generator Pipeline position: mid
Generates a complete Master Plan Suite from the authored _spec/spec.md.
Canonical invocation
/plan-generateWith arguments:
/plan-generate [path/to/prose.md] [--mode NEW|OVERHAUL] [--seriousness LEVEL] [--context CONTEXT] [--mission MISSION] [--domain DOMAIN] [--dry-run]Inputs
The authored _spec/spec.md + _inputs/handoff-manifest.yml from /plan-spec (or operator-supplied prose).
Outputs
PREAMBLE.md, MASTER-PLAN.md, PROGRESS.md, PLAN-NOTES.md, and per-phase phases/**/PHASE.md files, plus the augmented _inputs/handoff-manifest.yml.
Downstream
/plan-review or /plan-execute (downstream)
Workflow phases
The command generates a complete Master Plan Suite from the authored spec:
- Ingest requirements — Read
_spec/spec.mdand the upstream Handoff Manifest; refuse withBlocked: run /plan-spec firstwhen the spec is absent. - Discover — Run seriousness-scaled discovery with the Five Cognitive Filters; resolve every authoritative-data gap through the structured-inquiry channel.
- Decompose — Break the work into an acyclic phase graph with an explicit dependency order.
- Emit the suite — Author
PREAMBLE.md,MASTER-PLAN.md,PROGRESS.md,PLAN-NOTES.md, and everyphases/NN-topic/PHASE.md. - Run the pre-emission gate — Run the fifteen-bar sweep against every emitted artifact; failure blocks user-approval until resolved.
Failure modes
| Symptom | Cause | Recovery |
|---|---|---|
| Blocked: run /plan-spec first | No authored _spec/spec.md | Run /plan-spec to author the spec and emit the Manifest |
Generation against an _inputs/ file | Spec still mid-elicitation | Promote _inputs/forge.md to _spec/spec.md via /plan-spec first |
| Pre-emission bar fails | An emitted artifact fails the gate | Fix the failing bar before user-approval |
Examples
# Dry-run to preview the generated phase graph
/plan-generate --dry-run
# Generate a suite from authored prose
/plan-generate path/to/prose.md --mode NEW