src/bmm-skills/ship/bmad-build-auto/step-02-plan.md
{{.communication_language}}, tailored to {{.user_skill_level}}. Write files in {{.document_output_language}}.{spec_file} exists with status: draft, read it and capture the verbatim <intent-contract>...</intent-contract> block as preserved_intent_contract. Otherwise preserved_intent_contract is empty.[[bmad-snapshot:spec-template.md]] fully. Fill it out based on the intent and investigation, resolving the template's date field to the current system date. Drain the investigation into the ## Code Map section — annotated paths, symbol/line anchors, reuse pointers, and read-only evidence — so the spec is the implementer's investigation map and the step-03 handoff need only point at it. If {preserved_intent_contract} is non-empty, substitute it for the <intent-contract> block in your filled spec before writing. Write the result to {spec_file}.blocked, blocking condition intent gap, and include the unanswered questions and evidence gathered.multiple-goals, add it to {spec_file} frontmatter warnings. If {spec_file} exceeds 1600 tokens, add oversized to frontmatter warnings. Continue either way.Re-read [[bmad-snapshot:workflow.md]], then re-read {spec_file} from disk and verify the spec meets the READY FOR DEVELOPMENT standard.
blocked and blocking condition planned spec file disappeared before implementation.{spec_file} frontmatter status to ready-for-dev. If the invocation prompt directs a halt after planning (standard phrasing: Halt after planning. — accept any clear equivalent), HALT with status ready-for-dev; otherwise continue to step 3.blocked, blocking condition spec failed ready-for-development standard, and include the failing criteria and evidence gathered.Read fully and follow [[bmad-snapshot:step-03-implement.md]]