bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.6
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/.claude/agents/bmad-analysis/api-documenter.md +102 -0
- package/.claude/agents/bmad-analysis/codebase-analyzer.md +82 -0
- package/.claude/agents/bmad-analysis/data-analyst.md +101 -0
- package/.claude/agents/bmad-analysis/pattern-detector.md +84 -0
- package/.claude/agents/bmad-planning/dependency-mapper.md +83 -0
- package/.claude/agents/bmad-planning/epic-optimizer.md +81 -0
- package/.claude/agents/bmad-planning/requirements-analyst.md +61 -0
- package/.claude/agents/bmad-planning/technical-decisions-curator.md +168 -0
- package/.claude/agents/bmad-planning/trend-spotter.md +115 -0
- package/.claude/agents/bmad-planning/user-journey-mapper.md +123 -0
- package/.claude/agents/bmad-planning/user-researcher.md +72 -0
- package/.claude/agents/bmad-research/market-researcher.md +51 -0
- package/.claude/agents/bmad-research/tech-debt-auditor.md +106 -0
- package/.claude/agents/bmad-review/document-reviewer.md +102 -0
- package/.claude/agents/bmad-review/technical-evaluator.md +68 -0
- package/.claude/agents/bmad-review/test-coverage-analyzer.md +108 -0
- package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
- package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
- package/.claude/commands/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
- package/.claude/commands/bmad/bmm/workflows/README.md +3 -3
- package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
- package/.claude/commands/bmad/bmm/workflows/prd.md +1 -1
- package/.claude/commands/bmad/bmm/workflows/tech-spec.md +3 -3
- package/.claude/settings.local.json +3 -8
- package/CHANGELOG.md +305 -0
- package/CONTRIBUTING.md +1 -13
- package/README.md +88 -39
- package/bmad/_cfg/agent-manifest.csv +1 -6
- package/bmad/_cfg/files-manifest.csv +40 -114
- package/bmad/_cfg/ides/claude-code.yaml +4 -3
- package/bmad/_cfg/manifest.yaml +3 -4
- package/bmad/_cfg/task-manifest.csv +0 -1
- package/bmad/_cfg/workflow-manifest.csv +3 -7
- package/bmad/bmb/config.yaml +2 -2
- package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/bmad/bmm/README.md +79 -120
- package/bmad/bmm/agents/architect.md +0 -1
- package/bmad/bmm/agents/sm.md +1 -1
- package/bmad/bmm/agents/{paige.md → tech-writer.md} +3 -3
- package/bmad/bmm/config.yaml +4 -3
- package/bmad/bmm/tasks/daily-standup.xml +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
- package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
- package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
- package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
- package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
- package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
- package/bmad/bmm/workflows/techdoc/documentation-standards.md +26 -2
- package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
- package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/bmad/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
- package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
- package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/bmad/core/config.yaml +2 -2
- package/bmad/core/tasks/workflow.xml +1 -11
- package/package.json +1 -1
- package/src/core/tasks/workflow.xml +1 -11
- package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
- package/src/modules/bmm/README.md +1 -1
- package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
- package/src/modules/bmm/agents/architect.agent.yaml +0 -4
- package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
- package/src/modules/bmm/agents/sm.agent.yaml +1 -1
- package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
- package/src/modules/bmm/docs/README.md +19 -18
- package/src/modules/bmm/docs/agents-guide.md +47 -99
- package/src/modules/bmm/docs/brownfield-guide.md +216 -96
- package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
- package/src/modules/bmm/docs/faq.md +16 -16
- package/src/modules/bmm/docs/glossary.md +44 -50
- package/src/modules/bmm/docs/party-mode.md +110 -1122
- package/src/modules/bmm/docs/quick-spec-flow.md +36 -36
- package/src/modules/bmm/docs/quick-start.md +34 -34
- package/src/modules/bmm/docs/scale-adaptive-system.md +304 -454
- package/{bmad/bmm/testarch/README.md → src/modules/bmm/docs/test-architecture.md} +56 -38
- package/src/modules/bmm/docs/troubleshooting.md +7 -7
- package/src/modules/bmm/docs/workflows-analysis.md +64 -28
- package/src/modules/bmm/docs/workflows-implementation.md +196 -1671
- package/src/modules/bmm/docs/workflows-planning.md +74 -35
- package/src/modules/bmm/docs/workflows-solutioning.md +47 -17
- package/src/modules/bmm/tasks/daily-standup.xml +1 -1
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
- package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
- package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
- package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
- package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
- package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
- package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/techdoc/documentation-standards.md +25 -2
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
- package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-3.yaml → method-brownfield.yaml} +33 -31
- package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
- package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-1.yaml → quick-flow-brownfield.yaml} +18 -18
- package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
- package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
- package/tools/cli/installers/lib/core/config-collector.js +39 -11
- package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
- package/tools/cli/installers/lib/core/installer.js +20 -9
- package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
- package/tools/cli/installers/lib/core/manifest.js +6 -2
- package/tools/cli/installers/lib/modules/manager.js +6 -0
- package/tools/cli/lib/config.js +3 -1
- package/tools/cli/lib/ui.js +5 -5
- package/tools/cli/lib/yaml-format.js +2 -1
- package/tools/schema/agent.js +2 -0
- package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
- package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
- package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
- package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
- package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
- package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
- package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
- package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
- package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
- package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
- package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
- package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
- package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
- package/bmad/bmm/docs/brownfield-guide.md +0 -1260
- package/bmad/bmm/docs/quick-spec-flow.md +0 -645
- package/bmad/bmm/docs/quick-start.md +0 -341
- package/bmad/bmm/docs/scale-adaptive-system.md +0 -1045
- package/bmad/bmm/tasks/retrospective.xml +0 -104
- package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
- package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
- package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
- package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
- package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
- package/bmad/bmm/workflows/3-solutioning/architecture/README.md +0 -318
- package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
- package/bmad/bmm/workflows/4-implementation/README.md +0 -221
- package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
- package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
- package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
- package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
- package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
- package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
- package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
- package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
- package/bmad/bmm/workflows/README.md +0 -256
- package/bmad/bmm/workflows/document-project/README.md +0 -444
- package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
- package/bmad/bmm/workflows/testarch/README.md +0 -26
- package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
- package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
- package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
- package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
- package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
- package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
- package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
- package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
- package/bmad/bmm/workflows/workflow-status/README.md +0 -260
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
- package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- package/bmad/cis/README.md +0 -153
- package/bmad/cis/agents/README.md +0 -104
- package/bmad/cis/agents/brainstorming-coach.md +0 -62
- package/bmad/cis/agents/creative-problem-solver.md +0 -62
- package/bmad/cis/agents/design-thinking-coach.md +0 -62
- package/bmad/cis/agents/innovation-strategist.md +0 -62
- package/bmad/cis/agents/storyteller.md +0 -59
- package/bmad/cis/config.yaml +0 -10
- package/bmad/cis/teams/creative-squad.yaml +0 -6
- package/bmad/cis/workflows/README.md +0 -139
- package/bmad/cis/workflows/design-thinking/README.md +0 -56
- package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
- package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
- package/bmad/cis/workflows/design-thinking/template.md +0 -111
- package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
- package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
- package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
- package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
- package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
- package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
- package/bmad/cis/workflows/problem-solving/README.md +0 -56
- package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
- package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
- package/bmad/cis/workflows/problem-solving/template.md +0 -165
- package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
- package/bmad/cis/workflows/storytelling/README.md +0 -58
- package/bmad/cis/workflows/storytelling/instructions.md +0 -291
- package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
- package/bmad/cis/workflows/storytelling/template.md +0 -113
- package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
- package/bmad/core/agents/bmad-master.md.bak +0 -69
- package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
- package/src/modules/bmm/docs/workflows-testing.md +0 -1572
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
- package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
- package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
- /package/bmad/_cfg/agents/{bmm-paige.customize.yaml → bmm-tech-writer.customize.yaml} +0 -0
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
# Phase 4: Implementation
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
Phase 4 is where planning transitions into actual development. This phase manages the iterative implementation of stories defined in the epic files, tracking their progress through a well-defined status workflow.
|
|
6
|
-
|
|
7
|
-
## Status Definitions
|
|
8
|
-
|
|
9
|
-
### Epic Status
|
|
10
|
-
|
|
11
|
-
Epics progress through a simple two-state flow:
|
|
12
|
-
|
|
13
|
-
| Status | Description | Next Status |
|
|
14
|
-
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
15
|
-
| **backlog** | Epic exists in epic file but technical context has not been created | contexted |
|
|
16
|
-
| **contexted** | Epic technical context has been created via `epic-tech-context` workflow. This is a prerequisite before any stories in the epic can be drafted. | - |
|
|
17
|
-
|
|
18
|
-
**File Indicators:**
|
|
19
|
-
|
|
20
|
-
- `backlog`: No `epic-{n}-context.md` file exists
|
|
21
|
-
- `contexted`: `{output_folder}/epic-{n}-context.md` file exists
|
|
22
|
-
|
|
23
|
-
### Story Status
|
|
24
|
-
|
|
25
|
-
Stories progress through a six-state flow representing their journey from idea to implementation:
|
|
26
|
-
|
|
27
|
-
| Status | Description | Set By | Next Status |
|
|
28
|
-
| ----------------- | ---------------------------------------------------------------------------------- | ------------- | ------------- |
|
|
29
|
-
| **backlog** | Story only exists in the epic file, no work has begun | Initial state | drafted |
|
|
30
|
-
| **drafted** | Story file has been created via `create-story` workflow | SM Agent | ready-for-dev |
|
|
31
|
-
| **ready-for-dev** | Story has been drafted, approved, and context created via `story-context` workflow | SM Agent | in-progress |
|
|
32
|
-
| **in-progress** | Developer is actively implementing the story | Dev Agent | review |
|
|
33
|
-
| **review** | Implementation complete, under SM review via `code-review` workflow | Dev Agent | done |
|
|
34
|
-
| **done** | Story has been reviewed and completed | Dev Agent | - |
|
|
35
|
-
|
|
36
|
-
**File Indicators:**
|
|
37
|
-
|
|
38
|
-
- `backlog`: No story file exists
|
|
39
|
-
- `drafted`: `{story_dir}/{story-key}.md` file exists (e.g., `1-1-user-auth.md`)
|
|
40
|
-
- `ready-for-dev`: Both story file and context exist (e.g., `1-1-user-auth-context.md`)
|
|
41
|
-
- `in-progress`, `review`, `done`: Manual status updates in sprint-status.yaml
|
|
42
|
-
|
|
43
|
-
### Retrospective Status
|
|
44
|
-
|
|
45
|
-
Optional retrospectives can be completed after an epic:
|
|
46
|
-
|
|
47
|
-
| Status | Description |
|
|
48
|
-
| ------------- | -------------------------------------------------- |
|
|
49
|
-
| **optional** | Retrospective can be completed but is not required |
|
|
50
|
-
| **completed** | Retrospective has been completed |
|
|
51
|
-
|
|
52
|
-
## Status Transitions
|
|
53
|
-
|
|
54
|
-
### Epic Flow
|
|
55
|
-
|
|
56
|
-
```mermaid
|
|
57
|
-
graph LR
|
|
58
|
-
backlog --> contexted[contexted via epic-tech-context]
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### Story Flow
|
|
62
|
-
|
|
63
|
-
```mermaid
|
|
64
|
-
graph LR
|
|
65
|
-
backlog --> drafted[drafted via create-story]
|
|
66
|
-
drafted --> ready[ready-for-dev via story-context]
|
|
67
|
-
ready --> progress[in-progress - dev starts]
|
|
68
|
-
progress --> review[review via code-review]
|
|
69
|
-
review --> done[done - dev completes]
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Sprint Status Management
|
|
73
|
-
|
|
74
|
-
The `sprint-status.yaml` file is the single source of truth for tracking all work items. It contains:
|
|
75
|
-
|
|
76
|
-
- All epics with their current status
|
|
77
|
-
- All stories with their current status
|
|
78
|
-
- Retrospective placeholders for each epic
|
|
79
|
-
- Clear documentation of status definitions
|
|
80
|
-
|
|
81
|
-
### Example Sprint Status File
|
|
82
|
-
|
|
83
|
-
```yaml
|
|
84
|
-
development_status:
|
|
85
|
-
epic-1: contexted
|
|
86
|
-
1-1-project-foundation: done
|
|
87
|
-
1-2-app-shell: done
|
|
88
|
-
1-3-user-authentication: in-progress
|
|
89
|
-
1-4-plant-data-model: ready-for-dev
|
|
90
|
-
1-5-add-plant-manual: drafted
|
|
91
|
-
1-6-photo-identification: backlog
|
|
92
|
-
1-7-plant-naming: backlog
|
|
93
|
-
epic-1-retrospective: optional
|
|
94
|
-
|
|
95
|
-
epic-2: backlog
|
|
96
|
-
2-1-personality-system: backlog
|
|
97
|
-
2-2-chat-interface: backlog
|
|
98
|
-
2-3-llm-integration: backlog
|
|
99
|
-
epic-2-retrospective: optional
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## Workflows in Phase 4
|
|
103
|
-
|
|
104
|
-
### Core Workflows
|
|
105
|
-
|
|
106
|
-
| Workflow | Purpose | Updates Status |
|
|
107
|
-
| --------------------- | -------------------------------------------------- | ----------------------------------- |
|
|
108
|
-
| **sprint-planning** | Generate/update sprint-status.yaml from epic files | Auto-detects file-based statuses |
|
|
109
|
-
| **epic-tech-context** | Create technical context for an epic | epic: backlog → contexted |
|
|
110
|
-
| **create-story** | Draft a story from epics/PRD | story: backlog → drafted |
|
|
111
|
-
| **story-context** | Add implementation context to story | story: drafted → ready-for-dev |
|
|
112
|
-
| **dev-story** | Developer implements the story | story: ready-for-dev → in-progress |
|
|
113
|
-
| **code-review** | SM reviews implementation | story: in-progress → review |
|
|
114
|
-
| **retrospective** | Conduct epic retrospective | retrospective: optional → completed |
|
|
115
|
-
| **correct-course** | Course correction when needed | Various status updates |
|
|
116
|
-
|
|
117
|
-
### Sprint Planning Workflow
|
|
118
|
-
|
|
119
|
-
The `sprint-planning` workflow is the foundation of Phase 4. It:
|
|
120
|
-
|
|
121
|
-
1. **Parses all epic files** (`epic*.md` or `epics.md`)
|
|
122
|
-
2. **Extracts all epics and stories** maintaining their order
|
|
123
|
-
3. **Auto-detects current status** based on existing files:
|
|
124
|
-
- Checks for epic context files
|
|
125
|
-
- Checks for story files
|
|
126
|
-
- Checks for story context files
|
|
127
|
-
4. **Generates sprint-status.yaml** with current reality
|
|
128
|
-
5. **Preserves manual status updates** (won't downgrade statuses)
|
|
129
|
-
|
|
130
|
-
Run this workflow:
|
|
131
|
-
|
|
132
|
-
- Initially after Phase 3 completion
|
|
133
|
-
- After creating epic contexts
|
|
134
|
-
- Periodically to sync file-based status
|
|
135
|
-
- To verify current project state
|
|
136
|
-
|
|
137
|
-
### Workflow Guidelines
|
|
138
|
-
|
|
139
|
-
1. **Epic Context First**: Epics should be contexted before drafting their stories
|
|
140
|
-
2. **Flexible Parallelism**: Multiple stories can be in-progress based on team capacity
|
|
141
|
-
3. **Sequential Default**: Stories within an epic are typically worked in order
|
|
142
|
-
4. **Learning Transfer**: SM drafts next story after previous is done, incorporating learnings
|
|
143
|
-
5. **Review Flow**: Dev moves to review, SM reviews, Dev moves to done
|
|
144
|
-
|
|
145
|
-
## Agent Responsibilities
|
|
146
|
-
|
|
147
|
-
### SM (Scrum Master) Agent
|
|
148
|
-
|
|
149
|
-
- Run `sprint-planning` to generate initial status
|
|
150
|
-
- Create epic contexts (`epic-tech-context`)
|
|
151
|
-
- Draft stories (`create-story`)
|
|
152
|
-
- Create story contexts (`story-context`)
|
|
153
|
-
- Review completed work (`code-review`)
|
|
154
|
-
- Update status in sprint-status.yaml
|
|
155
|
-
|
|
156
|
-
### Developer Agent
|
|
157
|
-
|
|
158
|
-
- Check sprint-status.yaml for `ready-for-dev` stories
|
|
159
|
-
- Update status to `in-progress` when starting
|
|
160
|
-
- Implement stories (`dev-story`)
|
|
161
|
-
- Move to `review` when complete
|
|
162
|
-
- Address review feedback
|
|
163
|
-
- Update to `done` after approval
|
|
164
|
-
|
|
165
|
-
### Test Architect
|
|
166
|
-
|
|
167
|
-
- Monitor stories entering `review` status
|
|
168
|
-
- Track epic progress
|
|
169
|
-
- Identify when retrospectives needed
|
|
170
|
-
- Validate implementation quality
|
|
171
|
-
|
|
172
|
-
## Best Practices
|
|
173
|
-
|
|
174
|
-
1. **Always run sprint-planning first** to establish current state
|
|
175
|
-
2. **Update status immediately** as work progresses
|
|
176
|
-
3. **Check sprint-status.yaml** before starting any work
|
|
177
|
-
4. **Preserve learning** by drafting stories sequentially when possible
|
|
178
|
-
5. **Document decisions** in story and context files
|
|
179
|
-
|
|
180
|
-
## Naming Conventions
|
|
181
|
-
|
|
182
|
-
### Story File Naming
|
|
183
|
-
|
|
184
|
-
- Format: `{epic}-{story}-{kebab-title}.md`
|
|
185
|
-
- Example: `1-1-user-authentication.md`
|
|
186
|
-
- Avoids YAML float parsing issues (1.1 vs 1.10)
|
|
187
|
-
- Makes files self-descriptive
|
|
188
|
-
|
|
189
|
-
### Git Branch Naming
|
|
190
|
-
|
|
191
|
-
- Format: `feat/{epic}-{story}-{kebab-title}`
|
|
192
|
-
- Example: `feat/1-1-user-authentication`
|
|
193
|
-
- Consistent with story file naming
|
|
194
|
-
- Clean for branch management
|
|
195
|
-
|
|
196
|
-
## File Structure
|
|
197
|
-
|
|
198
|
-
```
|
|
199
|
-
{output_folder}/
|
|
200
|
-
├── sprint-status.yaml # Sprint status tracking
|
|
201
|
-
├── epic*.md or epics.md # Epic definitions
|
|
202
|
-
├── epic-1-context.md # Epic technical contexts
|
|
203
|
-
├── epic-2-context.md
|
|
204
|
-
└── stories/
|
|
205
|
-
├── 1-1-user-authentication.md # Story drafts
|
|
206
|
-
├── 1-1-user-authentication-context.md # Story contexts
|
|
207
|
-
├── 1-2-account-management.md
|
|
208
|
-
├── 1-2-account-management-context.md
|
|
209
|
-
└── ...
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
## Next Steps
|
|
213
|
-
|
|
214
|
-
After Phase 4 implementation, projects typically move to:
|
|
215
|
-
|
|
216
|
-
- Deployment and release
|
|
217
|
-
- User acceptance testing
|
|
218
|
-
- Production monitoring
|
|
219
|
-
- Maintenance and updates
|
|
220
|
-
|
|
221
|
-
The sprint-status.yaml file provides a complete audit trail of the development process and can be used for project reporting and retrospectives.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Review Story (Senior Developer Code Review)
|
|
2
|
-
|
|
3
|
-
Perform an AI-driven Senior Developer Code Review on a story flagged "Ready for Review". The workflow ingests the story, its Story Context, and the epic’s Tech Spec, consults local docs, uses enabled MCP servers for up-to-date best practices (with web search fallback), and appends structured review notes to the story.
|
|
4
|
-
|
|
5
|
-
## What It Does
|
|
6
|
-
|
|
7
|
-
- Auto-discovers the target story or accepts an explicit `story_path`
|
|
8
|
-
- Verifies the story is in a reviewable state (e.g., Ready for Review/Review)
|
|
9
|
-
- Loads Story Context (from Dev Agent Record → Context Reference or auto-discovery)
|
|
10
|
-
- Locates the epic Tech Spec and relevant architecture/standards docs
|
|
11
|
-
- Uses MCP servers for best-practices and security references; falls back to web search
|
|
12
|
-
- Reviews implementation vs Acceptance Criteria, Tech Spec, and repo standards
|
|
13
|
-
- Evaluates code quality, security, and test coverage
|
|
14
|
-
- Appends a "Senior Developer Review (AI)" section to the story with findings and action items
|
|
15
|
-
- Optionally updates story Status based on outcome
|
|
16
|
-
|
|
17
|
-
## How to Invoke
|
|
18
|
-
|
|
19
|
-
- Tell the Dev Agent to perform a \*code-review after loading the dev agent. This is a context intensive operation so this should not be done in the same context as a just completed dev session - clear the context, reload the dev, then run code-review!
|
|
20
|
-
|
|
21
|
-
## Inputs and Variables
|
|
22
|
-
|
|
23
|
-
- `story_path` (optional): Explicit path to a story file
|
|
24
|
-
- `story_dir` (from config): `{project-root}/bmad/bmm/config.yaml` → `dev_story_location`
|
|
25
|
-
- `allow_status_values`: Defaults include `Ready for Review`, `Review`
|
|
26
|
-
- `auto_discover_context` (default: true)
|
|
27
|
-
- `auto_discover_tech_spec` (default: true)
|
|
28
|
-
- `tech_spec_glob_template`: `tech-spec-epic-{{epic_num}}*.md`
|
|
29
|
-
- `arch_docs_search_dirs`: Defaults to `docs/` and `outputs/`
|
|
30
|
-
- `enable_mcp_doc_search` (default: true)
|
|
31
|
-
- `enable_web_fallback` (default: true)
|
|
32
|
-
- `update_status_on_result` (default: false)
|
|
33
|
-
|
|
34
|
-
## Story Updates
|
|
35
|
-
|
|
36
|
-
- Appends a section titled: `Senior Developer Review (AI)` at the end
|
|
37
|
-
- Adds a Change Log entry: "Senior Developer Review notes appended"
|
|
38
|
-
- If enabled, updates `Status` based on outcome
|
|
39
|
-
|
|
40
|
-
## Persistence and Backlog
|
|
41
|
-
|
|
42
|
-
To ensure review findings become actionable work, the workflow can persist action items to multiple targets (configurable):
|
|
43
|
-
|
|
44
|
-
- Story tasks: Inserts unchecked items under `Tasks / Subtasks` in a "Review Follow-ups (AI)" subsection so `dev-story` can pick them up next.
|
|
45
|
-
- Story review section: Keeps a full list under "Senior Developer Review (AI) → Action Items".
|
|
46
|
-
- Backlog file: Appends normalized rows to `docs/backlog.md` (created if missing) for cross-cutting or longer-term improvements.
|
|
47
|
-
- Epic follow-ups: If an epic Tech Spec is found, appends to its `Post-Review Follow-ups` section.
|
|
48
|
-
|
|
49
|
-
Configure via `workflow.yaml` variables:
|
|
50
|
-
|
|
51
|
-
- `persist_action_items` (default: true)
|
|
52
|
-
- `persist_targets`: `story_tasks`, `story_review_section`, `backlog_file`, `epic_followups`
|
|
53
|
-
- `backlog_file` (default: `{project-root}/docs/backlog.md`)
|
|
54
|
-
- `update_epic_followups` (default: true)
|
|
55
|
-
- `epic_followups_section_title` (default: `Post-Review Follow-ups`)
|
|
56
|
-
|
|
57
|
-
Routing guidance:
|
|
58
|
-
|
|
59
|
-
- Put must-fix items to ship the story into the story’s tasks.
|
|
60
|
-
- Put same-epic but non-blocking improvements into the epic Tech Spec follow-ups.
|
|
61
|
-
- Put cross-cutting, future, or refactor work into the backlog file.
|
|
62
|
-
|
|
63
|
-
## Related Workflows
|
|
64
|
-
|
|
65
|
-
- `dev-story` — Implements tasks/subtasks and can act on review action items
|
|
66
|
-
- `story-context` — Generates Story Context for a single story
|
|
67
|
-
- `tech-spec` — Generates epic Tech Spec documents
|
|
68
|
-
|
|
69
|
-
_Part of the BMAD Method v6 — Implementation Phase_
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
last-redoc-date: 2025-10-01
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Correct Course Workflow
|
|
6
|
-
|
|
7
|
-
The correct-course workflow is v6's adaptive response mechanism for stories that encounter issues during development or review, enabling intelligent course correction without restarting from scratch. Run by the Scrum Master (SM) or Team Lead, this workflow analyzes why a story is blocked or has issues, determines whether the story scope needs adjustment, requirements need clarification, technical approach needs revision, or the story needs to be split or reconsidered. This represents the agile principle of embracing change even late in the development cycle, but doing so in a structured way that captures learning and maintains project coherence.
|
|
8
|
-
|
|
9
|
-
Unlike simply abandoning failed work or blindly pushing forward, correct-course provides a systematic approach to diagnosing issues and determining appropriate remediation. The workflow examines the original story specification, what was actually implemented, what issues arose during development or review, and the broader epic context to recommend the best path forward. This might involve clarifying requirements, adjusting acceptance criteria, revising technical approach, splitting the story into smaller pieces, or even determining the story should be deprioritized.
|
|
10
|
-
|
|
11
|
-
The critical value of this workflow is that it prevents thrashing—endless cycles of implementation and rework without clear direction. By stepping back to analyze what went wrong and charting a clear path forward, the correct-course workflow enables teams to learn from difficulties and adapt intelligently rather than stubbornly proceeding with a flawed approach.
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Analyze issues and recommend course correction
|
|
17
|
-
bmad run correct-course
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
The workflow should be run when:
|
|
21
|
-
|
|
22
|
-
- Review identifies critical issues requiring rethinking
|
|
23
|
-
- Developer encounters blocking issues during implementation
|
|
24
|
-
- Acceptance criteria prove infeasible or unclear
|
|
25
|
-
- Technical approach needs significant revision
|
|
26
|
-
- Story scope needs adjustment based on discoveries
|
|
27
|
-
|
|
28
|
-
## Inputs
|
|
29
|
-
|
|
30
|
-
**Required Context:**
|
|
31
|
-
|
|
32
|
-
- **Story Document**: Original story specification
|
|
33
|
-
- **Implementation Attempts**: Code changes and approaches tried
|
|
34
|
-
- **Review Feedback**: Issues and concerns identified
|
|
35
|
-
- **Epic Context**: Overall epic goals and current progress
|
|
36
|
-
- **Technical Constraints**: Architecture decisions and limitations discovered
|
|
37
|
-
|
|
38
|
-
**Analysis Focus:**
|
|
39
|
-
|
|
40
|
-
- Root cause of issues or blockages
|
|
41
|
-
- Feasibility of current story scope
|
|
42
|
-
- Clarity of requirements and acceptance criteria
|
|
43
|
-
- Appropriateness of technical approach
|
|
44
|
-
- Whether story should be split or revised
|
|
45
|
-
|
|
46
|
-
## Outputs
|
|
47
|
-
|
|
48
|
-
**Primary Deliverable:**
|
|
49
|
-
|
|
50
|
-
- **Course Correction Report** (`[story-id]-correction.md`): Analysis and recommendations including:
|
|
51
|
-
- Issue root cause analysis
|
|
52
|
-
- Impact assessment on epic and project
|
|
53
|
-
- Recommended corrective actions with rationale
|
|
54
|
-
- Revised story specification if applicable
|
|
55
|
-
- Updated acceptance criteria if needed
|
|
56
|
-
- Technical approach adjustments
|
|
57
|
-
- Timeline and effort implications
|
|
58
|
-
|
|
59
|
-
**Possible Outcomes:**
|
|
60
|
-
|
|
61
|
-
1. **Clarify Requirements**: Update story with clearer acceptance criteria
|
|
62
|
-
2. **Revise Scope**: Adjust story scope to be more achievable
|
|
63
|
-
3. **Split Story**: Break into multiple smaller stories
|
|
64
|
-
4. **Change Approach**: Recommend different technical approach
|
|
65
|
-
5. **Deprioritize**: Determine story should be deferred or cancelled
|
|
66
|
-
6. **Unblock**: Identify and address blocking dependencies
|
|
67
|
-
|
|
68
|
-
**Artifacts:**
|
|
69
|
-
|
|
70
|
-
- Updated story document if revision needed
|
|
71
|
-
- New story documents if splitting story
|
|
72
|
-
- Updated epic backlog reflecting changes
|
|
73
|
-
- Lessons learned for retrospective
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
# Create Story Workflow
|
|
2
|
-
|
|
3
|
-
Just-in-time story generation creating one story at a time based on epic backlog state. Run by Scrum Master (SM) agent to ensure planned stories align with approved epics.
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [Usage](#usage)
|
|
8
|
-
- [Key Features](#key-features)
|
|
9
|
-
- [Inputs & Outputs](#inputs--outputs)
|
|
10
|
-
- [Workflow Behavior](#workflow-behavior)
|
|
11
|
-
- [Integration](#integration)
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# SM initiates next story creation
|
|
17
|
-
bmad sm *create-story
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
**When to run:**
|
|
21
|
-
|
|
22
|
-
- Sprint has capacity for new work
|
|
23
|
-
- Previous story is Done/Approved
|
|
24
|
-
- Team ready for next planned story
|
|
25
|
-
|
|
26
|
-
## Key Features
|
|
27
|
-
|
|
28
|
-
### Strict Planning Enforcement
|
|
29
|
-
|
|
30
|
-
- **Only creates stories enumerated in epics.md**
|
|
31
|
-
- Halts if story not found in epic plan
|
|
32
|
-
- Prevents scope creep through validation
|
|
33
|
-
|
|
34
|
-
### Intelligent Document Discovery
|
|
35
|
-
|
|
36
|
-
- Auto-finds tech spec: `tech-spec-epic-{N}-*.md`
|
|
37
|
-
- Discovers architecture docs across directories
|
|
38
|
-
- Builds prioritized requirement sources
|
|
39
|
-
|
|
40
|
-
### Source Document Grounding
|
|
41
|
-
|
|
42
|
-
- Every requirement traced to source
|
|
43
|
-
- No invention of domain facts
|
|
44
|
-
- Citations included in output
|
|
45
|
-
|
|
46
|
-
### Non-Interactive Mode
|
|
47
|
-
|
|
48
|
-
- Default "#yolo" mode minimizes prompts
|
|
49
|
-
- Smooth automated story preparation
|
|
50
|
-
- Only prompts when critical
|
|
51
|
-
|
|
52
|
-
## Inputs & Outputs
|
|
53
|
-
|
|
54
|
-
### Required Files
|
|
55
|
-
|
|
56
|
-
| File | Purpose | Priority |
|
|
57
|
-
| ------------------------ | ----------------------------- | -------- |
|
|
58
|
-
| epics.md | Story enumeration (MANDATORY) | Critical |
|
|
59
|
-
| tech-spec-epic-{N}-\*.md | Epic technical spec | High |
|
|
60
|
-
| PRD.md | Product requirements | Medium |
|
|
61
|
-
| Architecture docs | Technical constraints | Low |
|
|
62
|
-
|
|
63
|
-
### Auto-Discovered Docs
|
|
64
|
-
|
|
65
|
-
- `tech-stack.md`, `unified-project-structure.md`
|
|
66
|
-
- `testing-strategy.md`, `backend/frontend-architecture.md`
|
|
67
|
-
- `data-models.md`, `database-schema.md`, `api-specs.md`
|
|
68
|
-
|
|
69
|
-
### Output
|
|
70
|
-
|
|
71
|
-
**Story Document:** `{story_dir}/story-{epic}.{story}.md`
|
|
72
|
-
|
|
73
|
-
- User story statement (role, action, benefit)
|
|
74
|
-
- Acceptance criteria from tech spec/epics
|
|
75
|
-
- Tasks mapped to ACs
|
|
76
|
-
- Testing requirements
|
|
77
|
-
- Dev notes with sources
|
|
78
|
-
- Status: "Draft"
|
|
79
|
-
|
|
80
|
-
## Workflow Behavior
|
|
81
|
-
|
|
82
|
-
### Story Number Management
|
|
83
|
-
|
|
84
|
-
- Auto-detects next story number
|
|
85
|
-
- No duplicates or skipped numbers
|
|
86
|
-
- Maintains epic.story convention
|
|
87
|
-
|
|
88
|
-
### Update vs Create
|
|
89
|
-
|
|
90
|
-
- **If current story not Done:** Updates existing
|
|
91
|
-
- **If current story Done:** Creates next (if planned)
|
|
92
|
-
|
|
93
|
-
### Validation Safeguards
|
|
94
|
-
|
|
95
|
-
**No Story Found:**
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
"No planned next story found in epics.md for epic {N}.
|
|
99
|
-
Run *correct-course to add/modify epic stories."
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
**Missing Config:**
|
|
103
|
-
Ensure `dev_story_location` set in config.yaml
|
|
104
|
-
|
|
105
|
-
## Integration
|
|
106
|
-
|
|
107
|
-
### v6 Implementation Cycle
|
|
108
|
-
|
|
109
|
-
1. **create-story** ← Current step (defines "what")
|
|
110
|
-
2. story-context (adds technical "how")
|
|
111
|
-
3. dev-story (implementation)
|
|
112
|
-
4. code-review (validation)
|
|
113
|
-
5. correct-course (if needed)
|
|
114
|
-
6. retrospective (after epic)
|
|
115
|
-
|
|
116
|
-
### Document Priority
|
|
117
|
-
|
|
118
|
-
1. **tech_spec_file** - Epic-specific spec
|
|
119
|
-
2. **epics_file** - Story breakdown
|
|
120
|
-
3. **prd_file** - Business requirements
|
|
121
|
-
4. **architecture_docs** - Technical guidance
|
|
122
|
-
|
|
123
|
-
## Configuration
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
# bmad/bmm/config.yaml
|
|
127
|
-
dev_story_location: ./stories
|
|
128
|
-
output_folder: ./output
|
|
129
|
-
|
|
130
|
-
# workflow.yaml defaults
|
|
131
|
-
non_interactive: true
|
|
132
|
-
auto_run_context: true
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
## Troubleshooting
|
|
136
|
-
|
|
137
|
-
| Issue | Solution |
|
|
138
|
-
| ----------------------- | ------------------------------------------ |
|
|
139
|
-
| "No planned next story" | Run `*correct-course` to add story to epic |
|
|
140
|
-
| Missing story_dir | Set `dev_story_location` in config |
|
|
141
|
-
| Tech spec not found | Use naming: `tech-spec-epic-{N}-*.md` |
|
|
142
|
-
| No architecture docs | Add docs to docs/ or output/ folder |
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
For workflow details, see [instructions.md](./instructions.md) and [checklist.md](./checklist.md).
|