bmad-method 4.22.1 → 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.
- package/CHANGELOG.md +19 -0
- package/README.md +3 -2
- package/bmad-core/agents/bmad-master.md +14 -1
- package/bmad-core/agents/bmad-orchestrator.md +14 -0
- package/bmad-core/core-config.yml +5 -0
- package/bmad-core/data/bmad-kb.md +3 -1
- package/bmad-core/tasks/create-brownfield-story.md +355 -0
- package/bmad-core/tasks/create-next-story.md +25 -0
- package/bmad-core/tasks/create-workflow-plan.md +289 -0
- package/bmad-core/tasks/update-workflow-plan.md +248 -0
- package/bmad-core/templates/brownfield-prd-tmpl.md +52 -28
- package/bmad-core/utils/plan-management.md +223 -0
- package/bmad-core/workflows/brownfield-fullstack.yml +240 -55
- package/bmad-core/workflows/brownfield-service.yml +110 -36
- package/bmad-core/workflows/brownfield-ui.yml +110 -36
- package/bmad-core/workflows/greenfield-fullstack.yml +110 -36
- package/bmad-core/workflows/greenfield-service.yml +110 -36
- package/bmad-core/workflows/greenfield-ui.yml +110 -36
- package/common/tasks/create-doc.md +21 -1
- package/dist/agents/analyst.txt +24 -2
- package/dist/agents/architect.txt +21 -1
- package/dist/agents/bmad-master.txt +884 -31
- package/dist/agents/bmad-orchestrator.txt +807 -2
- package/dist/agents/pm.txt +73 -29
- package/dist/agents/sm.txt +25 -0
- package/dist/agents/ux-expert.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +21 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +804 -1
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +21 -1
- package/dist/teams/team-all.txt +1676 -267
- package/dist/teams/team-fullstack.txt +1651 -267
- package/dist/teams/team-ide-minimal.txt +832 -2
- package/dist/teams/team-no-ui.txt +1080 -103
- package/docs/bmad-workflow-guide.md +2 -1
- package/docs/core-architecture.md +2 -1
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +3 -2
- package/tools/installer/config/install.config.yml +13 -0
- package/tools/installer/lib/ide-setup.js +214 -1
- package/tools/installer/lib/installer.js +3 -13
- package/tools/installer/package.json +1 -1
- 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]
|
|
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
|