bmad-method 4.23.0 → 4.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/bmad-core/agents/bmad-master.md +14 -1
  4. package/bmad-core/agents/bmad-orchestrator.md +14 -0
  5. package/bmad-core/core-config.yml +5 -0
  6. package/bmad-core/tasks/create-brownfield-story.md +355 -0
  7. package/bmad-core/tasks/create-next-story.md +25 -0
  8. package/bmad-core/tasks/create-workflow-plan.md +289 -0
  9. package/bmad-core/tasks/update-workflow-plan.md +248 -0
  10. package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
  11. package/bmad-core/utils/plan-management.md +223 -0
  12. package/bmad-core/workflows/brownfield-fullstack.yml +240 -55
  13. package/bmad-core/workflows/brownfield-service.yml +110 -36
  14. package/bmad-core/workflows/brownfield-ui.yml +110 -36
  15. package/bmad-core/workflows/greenfield-fullstack.yml +110 -36
  16. package/bmad-core/workflows/greenfield-service.yml +110 -36
  17. package/bmad-core/workflows/greenfield-ui.yml +110 -36
  18. package/common/tasks/create-doc.md +21 -1
  19. package/dist/agents/analyst.txt +23 -1
  20. package/dist/agents/architect.txt +21 -1
  21. package/dist/agents/bmad-master.txt +883 -30
  22. package/dist/agents/bmad-orchestrator.txt +806 -1
  23. package/dist/agents/pm.txt +73 -29
  24. package/dist/agents/sm.txt +25 -0
  25. package/dist/agents/ux-expert.txt +21 -1
  26. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +21 -1
  27. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +804 -1
  28. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +21 -1
  29. package/dist/teams/team-all.txt +1675 -266
  30. package/dist/teams/team-fullstack.txt +1650 -266
  31. package/dist/teams/team-ide-minimal.txt +831 -1
  32. package/dist/teams/team-no-ui.txt +1079 -102
  33. package/package.json +1 -1
  34. package/tools/installer/lib/installer.js +2 -12
  35. package/tools/installer/package.json +1 -1
  36. package/tools/lib/dependency-resolver.js +2 -2
@@ -116,11 +116,22 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
116
116
 
117
117
  ## Execution Flow
118
118
 
119
+ ### 0. Check Workflow Plan (if configured)
120
+
121
+ [[LLM: Check if plan tracking is enabled in core-config.yml]]
122
+
123
+ - If `workflow.trackProgress: true`, check for active plan using utils#plan-management
124
+ - If plan exists and this document creation is part of the plan:
125
+ - Verify this is the expected next step
126
+ - If out of sequence and `enforceSequence: true`, warn user and halt without user override
127
+ - If out of sequence and `enforceSequence: false`, ask for confirmation
128
+ - Continue with normal execution after plan check
129
+
119
130
  ### 1. Identify Template
120
131
 
121
132
  - Load from `templates#*` or `{root}/templates directory`
122
133
  - Agent-specific templates are listed in agent's dependencies
123
- - If agent has `templates: [prd-tmpl, architecture-tmpl]`, offer to create "PRD" and "Architecture" documents
134
+ - If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
124
135
 
125
136
  ### 2. Ask Interaction Mode
126
137
 
@@ -157,6 +168,15 @@ Generate documents from templates by EXECUTING (not just reading) embedded instr
157
168
  - Begin directly with content (no preamble)
158
169
  - Include any handoff prompts from template
159
170
 
171
+ ### 6. Update Workflow Plan (if applicable)
172
+
173
+ [[LLM: After successful document creation]]
174
+
175
+ - If plan tracking is enabled and document was part of plan:
176
+ - Call update-workflow-plan task to mark step complete
177
+ - Parameters: task: create-doc, step_id: {from plan}, status: complete
178
+ - Show next recommended step from plan
179
+
160
180
  ## Common Mistakes to Avoid
161
181
 
162
182
  ❌ Skipping elicitation tasks