BMAD-METHOD/src/modules/bmm/workflows/4-implementation
Jonah Schulte 2c84b29cb6 fix(batch-super-dev): Fix conditional questions + add 'Mend the Gap' context
PROBLEM 1: Confusing Conditional Question Logic
- Step 3.5 asked BOTH questions (Sequential/Parallel AND agent count) simultaneously
- User selects Sequential but still had to answer 'how many agents?'
- LLM misinterpreted agent count answer and launched parallel agents incorrectly

FIX 1: Split into Proper Conditional Flow
- First <ask>: Sequential or Parallel? (required)
- Second <ask>: ONLY if Parallel selected, ask agent count (conditional)
- Sequential mode now skips agent count question entirely
- Matches proper workflow.xml semantics (one <ask> = one response)

PROBLEM 2: Missing Use Case Context
- Workflow didn't explain it's primarily for gap analysis/reconciliation
- LLM didn't understand 'Sequential' means process in THIS session (not background)
- Missing mental model: verify existing → build gaps → check boxes → done

FIX 2: Add 'Mend the Gap' Header with Use Case Guide
- Added description: gap analysis + reconciliation workflow
- Explained 3 modes: Reconciliation (most common), Greenfield, Brownfield
- Clarified Sequential = in-session processing (not background agents)
- Added simple mental model for LLM understanding

IMPROVEMENT 3: Safety Limit on Parallel Agents
- Added 10-agent maximum (prevents resource exhaustion)
- 'all' option caps at min(story_count, 10)
- Added warning when count capped

RESULT:
- Sequential mode works as intended (no confusion)
- Parallel mode asks for agent count (conditional)
- LLMs understand primary use case (gap analysis)
- Safety limits prevent runaway agent spawning
- Proper workflow.xml conditional flow

Resolves: Execution mode confusion that caused incorrect parallel agent launches
2026-01-07 19:54:26 -05:00
..
batch-super-dev fix(batch-super-dev): Fix conditional questions + add 'Mend the Gap' context 2026-01-07 19:54:26 -05:00
code-review fix: *code-review is picking up non-application files (#1232) 2026-01-01 13:22:51 +08:00
correct-course paths for workflow and sprint tatus files fixed 2026-01-01 21:20:14 +08:00
create-story Merge remote-tracking branch 'upstream/main' 2026-01-05 23:52:36 -05:00
create-story-with-gap-analysis feat: add anti-skip safeguards and verification to implementation workflows 2026-01-01 02:52:48 -05:00
dev-story feat: add continuous sprint-status tracking with task-level progress 2026-01-07 17:28:52 -05:00
gap-analysis feat: add standalone gap-analysis workflow 2025-12-26 14:02:41 -05:00
push-all feat: add planning-time gap analysis and parallel execution enhancements 2025-12-27 02:29:46 -05:00
recover-sprint-status Merge origin/main: sync epic-specific tracking files with backwards compatibility 2026-01-02 20:20:35 -05:00
retrospective workflow status, init and phase 4 items aligned with planning_artifacts and implementation_artifacts for discovery and output 2025-12-27 10:59:44 +08:00
sprint-planning feat: add planning-time gap analysis and parallel execution enhancements 2025-12-27 02:29:46 -05:00
sprint-status feat: add continuous sprint-status tracking with task-level progress 2026-01-07 17:28:52 -05:00
story-pipeline feat: add anti-skip safeguards and verification to implementation workflows 2026-01-01 02:52:48 -05:00
super-dev-pipeline fix: resolve critical complexity routing issues from multi-agent review 2026-01-07 16:34:44 -05:00
super-dev-story refactor: remove autonomous-epic in favor of batch-super-dev 2026-01-07 16:00:32 -05:00
validate-all-epics Merge origin/main: sync epic-specific tracking files with backwards compatibility 2026-01-02 20:20:35 -05:00
validate-all-stories feat(validation): Add comprehensive story validation system with Haiku agents 2026-01-02 19:20:11 -05:00
validate-all-stories-deep feat(validation): Add comprehensive story validation system with Haiku agents 2026-01-02 19:20:11 -05:00
validate-epic-status refactor: remove autonomous-epic in favor of batch-super-dev 2026-01-07 16:00:32 -05:00
validate-story feat(validation): Add comprehensive story validation system with Haiku agents 2026-01-02 19:20:11 -05:00
validate-story-deep feat(validation): Add comprehensive story validation system with Haiku agents 2026-01-02 19:20:11 -05:00