diff --git a/src/modules/bmm/workflows/4-implementation/batch-super-dev/instructions.md b/src/modules/bmm/workflows/4-implementation/batch-super-dev/instructions.md index 230ccdab..a57add07 100644 --- a/src/modules/bmm/workflows/4-implementation/batch-super-dev/instructions.md +++ b/src/modules/bmm/workflows/4-implementation/batch-super-dev/instructions.md @@ -675,24 +675,59 @@ Gap analysis will happen just-in-time during implementation (Step 2 of super-dev + 🚀 Spawning {{needs_creation.length}} parallel agents for story creation... + + Spawn Task agents in PARALLEL (send all Task calls in SINGLE message): + For each story in needs_creation: - - 📝 Creating story {{@index}}/{{needs_creation.length}}: {{story_key}}... + + + Task tool call: + - subagent_type: "general-purpose" + - description: "Create story {{story_key}}" + - prompt: "Create basic story file for {{story_key}}. - Invoke workflow: /bmad_bmm_create-story - Parameters: - - story_key: {{story_key}} - - epic_num: {{epic_num}} - - mode: batch (auto-approve, minimal prompts) + INSTRUCTIONS: + 1. Read epic description from docs/epics.md (Epic {{epic_num}}) + 2. Read PRD requirements (docs/prd-art-collective-tenants.md) + 3. Read architecture (docs/architecture-space-rentals.md) + 4. Extract FRs for this story from PRD + 5. Break down into 3-7 tasks with subtasks + 6. Create story file at: docs/sprint-artifacts/{{story_key}}.md + 7. Use template from: _bmad/bmm/workflows/4-implementation/create-story/template.md + 8. NO gap analysis (defer to implementation) + 9. Commit story file when complete + 10. Report: story file path + + Mode: batch (lightweight, no codebase scanning)" + - Store returned agent_id for tracking + - + +⏳ Waiting for {{needs_creation.length}} parallel agents to complete... + +Story creation agents: +{{#each needs_creation}} + - Agent {{@index}}: {{story_key}} +{{/each}} + + + Wait for ALL agents to complete (blocking) + + Check each agent output: + + + Parse agent output for {{story_key}} + + ✅ Story created: {{story_key}} + Verify file exists at docs/sprint-artifacts/{{story_key}}.md Mark story.needs_story_creation = false - + ❌ Failed to create story: {{story_key}} Add to failed_creations list Remove from selected_stories