bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.5

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 (162) hide show
  1. package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
  2. package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
  3. package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
  4. package/.claude/commands/bmad/bmm/workflows/README.md +1 -1
  5. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  6. package/.claude/commands/bmad/core/workflows/README.md +10 -0
  7. package/.claude/settings.local.json +4 -8
  8. package/CHANGELOG.md +305 -0
  9. package/README.md +88 -39
  10. package/bmad/_cfg/agent-manifest.csv +2 -1
  11. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  12. package/bmad/_cfg/files-manifest.csv +40 -62
  13. package/bmad/_cfg/ides/claude-code.yaml +1 -1
  14. package/bmad/_cfg/manifest.yaml +4 -3
  15. package/bmad/_cfg/task-manifest.csv +4 -1
  16. package/bmad/_cfg/tool-manifest.csv +1 -0
  17. package/bmad/_cfg/workflow-manifest.csv +3 -1
  18. package/bmad/bmb/config.yaml +2 -2
  19. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  20. package/bmad/bmm/README.md +79 -120
  21. package/bmad/bmm/README.md.bak +169 -0
  22. package/bmad/bmm/agents/analyst.md.bak +67 -0
  23. package/bmad/bmm/agents/architect.md +0 -1
  24. package/bmad/bmm/agents/architect.md.bak +73 -0
  25. package/bmad/bmm/agents/dev.md.bak +69 -0
  26. package/bmad/bmm/agents/pm.md.bak +76 -0
  27. package/bmad/bmm/agents/sm.md +1 -1
  28. package/bmad/bmm/agents/sm.md.bak +85 -0
  29. package/bmad/bmm/agents/tea.md.bak +72 -0
  30. package/bmad/bmm/agents/tech-writer.md +82 -0
  31. package/bmad/bmm/agents/ux-designer.md.bak +71 -0
  32. package/bmad/bmm/config.yaml +2 -2
  33. package/bmad/bmm/docs/README.md +235 -0
  34. package/bmad/bmm/docs/agents-guide.md +1057 -0
  35. package/bmad/bmm/docs/brownfield-guide.md +471 -972
  36. package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  37. package/bmad/bmm/docs/faq.md +589 -0
  38. package/bmad/bmm/docs/glossary.md +321 -0
  39. package/bmad/bmm/docs/party-mode.md +224 -0
  40. package/bmad/bmm/docs/quick-spec-flow.md +64 -57
  41. package/bmad/bmm/docs/quick-start.md +72 -47
  42. package/bmad/bmm/docs/scale-adaptive-system.md +332 -778
  43. package/bmad/bmm/docs/troubleshooting.md +680 -0
  44. package/bmad/bmm/{workflows/3-solutioning/architecture/README.md → docs/workflow-architecture-reference.md} +130 -77
  45. package/bmad/bmm/{workflows/document-project/README.md → docs/workflow-document-project-reference.md} +45 -2
  46. package/bmad/bmm/docs/workflows-analysis.md +670 -0
  47. package/bmad/bmm/docs/workflows-implementation.md +1758 -0
  48. package/bmad/bmm/docs/workflows-planning.md +1086 -0
  49. package/bmad/bmm/docs/workflows-solutioning.md +726 -0
  50. package/bmad/bmm/tasks/daily-standup.xml +1 -1
  51. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
  52. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  53. package/bmad/bmm/workflows/techdoc/documentation-standards.md +2 -1
  54. package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
  55. package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
  56. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
  57. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  58. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  59. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  60. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  61. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  62. package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  63. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  64. package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
  65. package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
  66. package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
  67. package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
  68. package/bmad/cis/agents/storyteller.md.bak +59 -0
  69. package/bmad/cis/config.yaml +2 -2
  70. package/bmad/core/agents/bmad-master.md.bak +15 -13
  71. package/bmad/core/config.yaml +2 -2
  72. package/bmad/core/tasks/workflow.xml +1 -11
  73. package/package.json +1 -1
  74. package/src/core/tasks/workflow.xml +1 -11
  75. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  76. package/src/modules/bmm/README.md +1 -1
  77. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  78. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  79. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  80. package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
  81. package/src/modules/bmm/docs/README.md +9 -9
  82. package/src/modules/bmm/docs/agents-guide.md +46 -98
  83. package/src/modules/bmm/docs/brownfield-guide.md +211 -90
  84. package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
  85. package/src/modules/bmm/docs/faq.md +10 -10
  86. package/src/modules/bmm/docs/glossary.md +36 -42
  87. package/src/modules/bmm/docs/party-mode.md +110 -1122
  88. package/src/modules/bmm/docs/quick-spec-flow.md +33 -33
  89. package/src/modules/bmm/docs/quick-start.md +29 -29
  90. package/src/modules/bmm/docs/scale-adaptive-system.md +303 -453
  91. package/src/modules/bmm/docs/troubleshooting.md +1 -1
  92. package/src/modules/bmm/docs/workflows-implementation.md +20 -21
  93. package/src/modules/bmm/docs/workflows-solutioning.md +1 -1
  94. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  95. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  96. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  97. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  98. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  99. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  100. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  101. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  102. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  103. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  104. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  105. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  106. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  107. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  108. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  109. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  110. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +1 -1
  111. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  112. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  113. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  114. package/{bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  115. package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  116. package/{bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  117. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  118. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  119. package/bmad/bmm/tasks/retrospective.xml +0 -104
  120. package/bmad/bmm/testarch/README.md +0 -311
  121. package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  122. package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  123. package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
  124. package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
  125. package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
  126. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  127. package/bmad/bmm/workflows/4-implementation/README.md +0 -221
  128. package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
  129. package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  130. package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
  131. package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  132. package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  133. package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  134. package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  135. package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
  136. package/bmad/bmm/workflows/README.md +0 -256
  137. package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
  138. package/bmad/bmm/workflows/testarch/README.md +0 -26
  139. package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
  140. package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
  141. package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
  142. package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
  143. package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  144. package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
  145. package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
  146. package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
  147. package/bmad/bmm/workflows/workflow-status/README.md +0 -260
  148. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  149. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  150. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  151. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  152. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  153. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  154. package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
  155. package/src/modules/bmm/docs/workflows-testing.md +0 -1572
  156. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  157. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  158. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  159. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  160. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  161. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  162. /package/bmad/bmm/agents/{paige.md → paige.md.bak} +0 -0
@@ -1,417 +1,290 @@
1
1
  # BMad Method Scale Adaptive System
2
2
 
3
- **Automatically adapts workflows to project complexity - from bug fixes to enterprise systems**
3
+ **Automatically adapts workflows to project complexity - from quick fixes to enterprise systems**
4
4
 
5
5
  ---
6
6
 
7
7
  ## Overview
8
8
 
9
- The **Scale Adaptive System** is BMad Method's intelligent workflow orchestration that automatically adjusts planning depth, documentation requirements, and implementation processes based on project size and complexity.
9
+ The **Scale Adaptive System** intelligently routes projects to the right planning methodology based on complexity, not arbitrary story counts.
10
10
 
11
- ### The Problem It Solves
11
+ ### The Problem
12
12
 
13
13
  Traditional methodologies apply the same process to every project:
14
14
 
15
- - ❌ **Overkill:** Bug fix requires full design docs
16
- - ❌ **Insufficient:** Enterprise system built with minimal planning
17
- - ❌ **One-Size-Fits-None:** Same process for 1 story and 100 stories
15
+ - Bug fix requires full design docs
16
+ - Enterprise system built with minimal planning
17
+ - One-size-fits-none approach
18
18
 
19
19
  ### The Solution
20
20
 
21
- BMad Method **adapts workflows to match project scale**:
21
+ BMad Method adapts to three distinct planning tracks:
22
22
 
23
- - **Level 0 (1 story):** Tech-spec only, implement immediately
24
- - **Level 2 (10 stories):** PRD + Architecture, structured approach
25
- - **Level 4 (100+ stories):** Full enterprise planning, comprehensive docs
23
+ - **Quick Flow**: Tech-spec only, implement immediately
24
+ - **BMad Method**: PRD + Architecture, structured approach
25
+ - **Enterprise Method**: Full planning with security/devops/test
26
26
 
27
- **Result:** Right amount of planning for every project - no more, no less.
27
+ **Result**: Right planning depth for every project.
28
28
 
29
29
  ---
30
30
 
31
31
  ## Quick Reference
32
32
 
33
- ### Five Levels at a Glance
33
+ ### Three Tracks at a Glance
34
34
 
35
- | Level | Scope | Stories | Documentation | Timeline |
36
- | ----- | -------------------- | ------- | ------------------- | -------- |
37
- | **0** | Single atomic change | 1 | tech-spec only | Hours |
38
- | **1** | Small feature | 1-10 | tech-spec + epic | Days |
39
- | **2** | Medium project | 5-15 | PRD + optional arch | Weeks |
40
- | **3** | Complex integration | 12-40 | PRD + architecture | Months |
41
- | **4** | Enterprise scale | 40+ | Full methodology | Quarters |
35
+ | Track | Planning Depth | Time Investment | Best For |
36
+ | --------------------- | --------------------- | --------------- | ------------------------------------------ |
37
+ | **Quick Flow** | Tech-spec only | Hours to 1 day | Simple features, bug fixes, clear scope |
38
+ | **BMad Method** | PRD + Arch + UX | 1-3 days | Products, platforms, complex features |
39
+ | **Enterprise Method** | Method + Test/Sec/Ops | 3-7 days | Enterprise needs, compliance, multi-tenant |
42
40
 
43
- ### Level Selection Decision Tree
41
+ ### Decision Tree
44
42
 
45
43
  ```mermaid
46
44
  flowchart TD
47
45
  START{Describe your project}
48
46
 
49
- START -->|Bug fix, typo, patch| L0[Level 0<br/>tech-spec only]
50
- START -->|Small feature, 2-3 stories| L1[Level 1<br/>tech-spec + epic]
51
- START -->|Dashboard, multiple features| L2[Level 2<br/>PRD + optional arch]
52
- START -->|Platform, complex integration| L3[Level 3<br/>PRD + architecture]
53
- START -->|Enterprise, multi-tenant| L4[Level 4<br/>Full methodology]
54
-
55
- style L0 fill:#bfb,stroke:#333,stroke-width:2px
56
- style L1 fill:#bbf,stroke:#333,stroke-width:2px
57
- style L2 fill:#ffb,stroke:#333,stroke-width:2px
58
- style L3 fill:#fbf,stroke:#333,stroke-width:2px
59
- style L4 fill:#f9f,stroke:#333,stroke-width:2px
47
+ START -->|Bug fix, simple feature| Q1{Scope crystal clear?}
48
+ START -->|Product, platform, complex| M[BMad Method<br/>PRD + Architecture]
49
+ START -->|Enterprise, compliance| E[Enterprise Method<br/>Extended Planning]
50
+
51
+ Q1 -->|Yes| QF[Quick Flow<br/>Tech-spec only]
52
+ Q1 -->|Uncertain| M
53
+
54
+ style QF fill:#bfb,stroke:#333,stroke-width:2px
55
+ style M fill:#bbf,stroke:#333,stroke-width:2px
56
+ style E fill:#f9f,stroke:#333,stroke-width:2px
60
57
  ```
61
58
 
62
59
  ### Quick Keywords
63
60
 
64
- - **Level 0:** fix, bug, typo, small change, patch
65
- - **Level 1:** simple, basic, small feature, add, minor
66
- - **Level 2:** dashboard, several features, admin panel, medium
67
- - **Level 3:** platform, integration, complex, system, architecture
68
- - **Level 4:** enterprise, multi-tenant, multiple products, ecosystem, scale
61
+ - **Quick Flow**: fix, bug, simple, add, clear scope
62
+ - **BMad Method**: product, platform, dashboard, complex, multiple features
63
+ - **Enterprise Method**: enterprise, multi-tenant, compliance, security, audit
69
64
 
70
65
  ---
71
66
 
72
- ## How Level Detection Works
67
+ ## How Track Selection Works
73
68
 
74
- When you run `workflow-init`, it analyzes your project using three methods:
69
+ When you run `workflow-init`, it guides you through an educational choice:
75
70
 
76
- ### 1. Keyword Analysis
71
+ ### 1. Description Analysis
77
72
 
78
- Scans your description for level-specific keywords (see Quick Keywords above).
73
+ Analyzes your project description for complexity indicators and suggests an appropriate track.
79
74
 
80
- ### 2. Story Count Estimation
75
+ ### 2. Educational Presentation
81
76
 
82
- Asks about expected scope and matches to ranges:
77
+ Shows all three tracks with:
83
78
 
84
- | Stories | Suggested Level |
85
- | ------- | --------------- |
86
- | 1 | Level 0 |
87
- | 2-10 | Level 1 |
88
- | 5-15 | Level 2 |
89
- | 12-40 | Level 3 |
90
- | 40+ | Level 4 |
79
+ - Time investment
80
+ - Planning approach
81
+ - Benefits and trade-offs
82
+ - AI agent support level
83
+ - Concrete examples
91
84
 
92
- **Note:** Overlap zones (5-10, 12-15) are intentional - choose based on need for product-level planning.
85
+ ### 3. Honest Recommendation
93
86
 
94
- ### 3. Complexity Indicators
87
+ Provides tailored recommendation based on:
95
88
 
96
- Additional factors:
89
+ - Complexity keywords
90
+ - Greenfield vs brownfield
91
+ - User's description
97
92
 
98
- - Multiple teams involved? → Higher level
99
- - External integrations? → Higher level
100
- - Compliance requirements? → Higher level
101
- - Multi-tenant needs? → Level 4
102
- - Existing system modifications? → Consider brownfield path
93
+ ### 4. User Choice
103
94
 
104
- ### Manual Override
105
-
106
- **You can always override the suggested level.** workflow-init asks for confirmation - if you disagree, just say so and choose the appropriate level. Trust your judgment.
95
+ You choose the track that fits your situation. The system guides but never forces.
107
96
 
108
97
  **Example:**
109
98
 
110
99
  ```
111
- workflow-init: "Based on your description: Level 3 project. Is that correct?"
112
- You: "No, this is simpler - Level 2"
113
- workflow-init: "Got it, creating Level 2 workflow"
114
- ```
115
-
116
- ---
117
-
118
- ## The Five Levels
119
-
120
- ### Level 0: Single Atomic Change
121
-
122
- **Definition:** Single-story projects like bug fixes, typos, or small patches.
123
-
124
- **Story Count:** 1 story
125
-
126
- **Timeline:** Hours to 1 day
127
-
128
- **Documentation Requirements:**
129
-
130
- - **tech-spec.md** - Technical specification with implementation details
131
- - Single story file
100
+ workflow-init: "Based on 'Add user dashboard with analytics', I recommend BMad Method.
101
+ This involves multiple features and system design. The PRD + Architecture
102
+ gives AI agents complete context for better code generation."
132
103
 
133
- **Workflow Path:**
104
+ You: "Actually, this is simpler than it sounds. Quick Flow."
134
105
 
106
+ workflow-init: "Got it! Using Quick Flow with tech-spec."
135
107
  ```
136
- (Brownfield: document-project first if needed)
137
-
138
- Tech-Spec → Implement
139
- ```
140
-
141
- **No Architecture:** Skip entirely
142
- **No PRD:** Tech-spec serves as complete planning doc
143
-
144
- **Use For:**
145
-
146
- - Bug fixes
147
- - Single file changes
148
- - Minor configuration updates
149
- - Small refactors
150
- - Typo corrections
151
-
152
- **Example:** "Fix authentication token expiration bug in auth middleware"
153
-
154
- **Keywords:** fix, bug, typo, small change, quick update, patch
155
108
 
156
109
  ---
157
110
 
158
- ### Level 1: Small Feature
111
+ ## The Three Tracks
159
112
 
160
- **Definition:** Small coherent features with 2-10 related stories.
113
+ ### Track 1: Quick Flow
161
114
 
162
- **Story Count:** 1-10 stories (typically 2-5)
115
+ **Definition**: Fast implementation with tech-spec planning.
163
116
 
164
- **Timeline:** 1-3 days
117
+ **Time**: Hours to 1 day of planning
165
118
 
166
- **Documentation Requirements:**
119
+ **Planning Docs**:
167
120
 
168
- - **tech-spec.md** - Technical specification with epic breakdown
169
- - **Epic organization** - Stories grouped by epic
170
- - 2-10 story files
121
+ - Tech-spec.md (implementation-focused)
122
+ - Story files (1-15 typically, auto-detects epic structure)
171
123
 
172
- **Workflow Path:**
124
+ **Workflow Path**:
173
125
 
174
126
  ```
175
127
  (Brownfield: document-project first if needed)
176
128
 
177
- Tech-Spec + Epic (Optional) UX Design → Implement
129
+ Tech-Spec → Implement
178
130
  ```
179
131
 
180
- **No Architecture:** Skip entirely
181
- **No PRD:** Tech-spec with epic is sufficient
132
+ **Use For**:
182
133
 
183
- **Use For:**
134
+ - Bug fixes
135
+ - Simple features
136
+ - Enhancements with clear scope
137
+ - Quick additions
184
138
 
185
- - Single module additions
186
- - Small UI enhancements
187
- - Isolated feature additions
188
- - API endpoint additions (OAuth, forgot password, search)
139
+ **Story Count**: Typically 1-15 stories (guidance, not rule)
189
140
 
190
- **Example:** "Add OAuth social login (Google, GitHub, Facebook)"
141
+ **Example**: "Fix authentication token expiration bug"
191
142
 
192
- **UX Note:** Tech-spec can include UX considerations inline, or run separate UX Design workflow if UI is complex.
143
+ **AI Agent Support**: Basic - minimal context provided
193
144
 
194
- **Keywords:** simple, basic, small feature, add, minor
145
+ **Trade-off**: Less planning = higher rework risk if complexity emerges
195
146
 
196
147
  ---
197
148
 
198
- ### Level 2: Medium Project
149
+ ### Track 2: BMad Method (RECOMMENDED)
199
150
 
200
- **Definition:** Multiple related features across 1-3 epics.
151
+ **Definition**: Full product + system design planning.
201
152
 
202
- **Story Count:** 5-15 stories
153
+ **Time**: 1-3 days of planning
203
154
 
204
- **Timeline:** 1-2 weeks
155
+ **Planning Docs**:
205
156
 
206
- **Documentation Requirements:**
207
-
208
- - **PRD.md** - Product requirements document
209
- - **epics.md** - Epic breakdown with stories
210
- - **tech-spec.md** (optional) - Or use epic-tech-specs during implementation
211
- - **architecture.md** (optional) - Only if system design needed
157
+ - PRD.md (product requirements)
158
+ - Architecture.md (system design)
159
+ - UX Design (if UI components)
160
+ - Epic breakdown with stories
212
161
 
213
- **Workflow Path:**
162
+ **Workflow Path**:
214
163
 
215
164
  ```
216
165
  (Brownfield: document-project first if needed)
217
166
 
218
- Analysis (recommended) PRD + Epics (Optional) UX Design → (Optional) Architecture → Implement
219
-
220
- Epic-tech-spec per epic (recommended)
221
-
222
- Retrospective after each epic (if >1 epic)
167
+ (Optional: Analysis phase - brainstorm, research, product brief)
168
+
169
+ PRD (Optional UX) → Architecture → Gate Check → Implement
223
170
  ```
224
171
 
225
- **Architecture:** Optional - only if system design needed
226
- **Epic-Tech-Specs:** Recommended during implementation
227
-
228
- **Use For:**
172
+ **Use For**:
229
173
 
230
- - Multiple related features
231
- - Cross-module enhancements
232
- - Admin dashboards
233
- - Customer portals
234
- - Reporting systems
174
+ **Greenfield**:
235
175
 
236
- **Example:** "Add user dashboard with analytics, preferences, and activity history"
176
+ - Products
177
+ - Platforms
178
+ - Multi-feature initiatives
237
179
 
238
- **Level 2 Decision:** Choose Level 2 over Level 1 when you need product-level planning, have multiple epics, or require stakeholder alignment.
239
-
240
- **Keywords:** dashboard, several features, admin panel, medium
241
-
242
- ---
180
+ **Brownfield**:
243
181
 
244
- ### Level 3: Complex Integration
182
+ - Complex additions (new UIs + APIs)
183
+ - Major refactors
184
+ - New modules
245
185
 
246
- **Definition:** Complex systems with multiple subsystems and integrations.
186
+ **Story Count**: Typically 10-50+ stories (guidance, not rule)
247
187
 
248
- **Story Count:** 12-40 stories
188
+ **Examples**:
249
189
 
250
- **Timeline:** 3-6 weeks
190
+ - "User dashboard with analytics and preferences"
191
+ - "Add real-time collaboration to existing document editor"
192
+ - "Payment integration system"
251
193
 
252
- **Documentation Requirements:**
194
+ **AI Agent Support**: Exceptional - complete context for coding partnership
253
195
 
254
- - **PRD.md** - Comprehensive product requirements
255
- - **epics.md** - Detailed epic breakdown
256
- - **architecture.md** - Required comprehensive system architecture
257
- - **UX design** (recommended for user-facing systems)
258
-
259
- **Workflow Path:**
260
-
261
- ```
262
- (Brownfield: document-project first if needed)
263
-
264
- Analysis + Research → PRD + Epics → (Recommended) UX Design → Architecture (required) → Gate Check → Implement
265
-
266
- Epic-tech-spec per epic (recommended)
267
-
268
- Retrospective after each epic
269
- ```
196
+ **Why Architecture for Brownfield?**
270
197
 
271
- **Architecture:** Required - comprehensive system design
272
- **Gate Check:** Required - validate cohesion before implementation
273
- **Epic-Tech-Specs:** Highly recommended
198
+ Your brownfield documentation might be huge. Architecture workflow distills massive codebase context into a focused solution design specific to YOUR project. This keeps AI agents focused without getting lost in existing code.
274
199
 
275
- **Use For:**
200
+ **Benefits**:
276
201
 
277
- - Major feature additions
278
- - Architectural integrations
279
- - Multi-system changes
280
- - E-commerce platforms
281
- - SaaS products
282
- - Multi-module systems
283
-
284
- **Example:** "Adding real-time collaboration features to existing document editor"
285
-
286
- **Critical for Level 3:**
287
-
288
- - Architecture review before planning
289
- - Integration strategy document
290
- - Backward compatibility planning
291
- - Phased rollout consideration
292
-
293
- **Keywords:** platform, integration, complex, system, architecture
202
+ - Complete AI agent context
203
+ - Prevents architectural drift
204
+ - Fewer surprises during implementation
205
+ - Better code quality
206
+ - Faster overall delivery (planning pays off)
294
207
 
295
208
  ---
296
209
 
297
- ### Level 4: Enterprise Scale
298
-
299
- **Definition:** Enterprise-scale projects across multiple products or major platform expansions.
210
+ ### Track 3: Enterprise Method
300
211
 
301
- **Story Count:** 40+ stories
212
+ **Definition**: Extended planning with security, devops, and test strategy.
302
213
 
303
- **Timeline:** 3-6 months
214
+ **Time**: 3-7 days of planning
304
215
 
305
- **Documentation Requirements:**
216
+ **Planning Docs**:
306
217
 
307
- - **Product brief** - Strategic planning document
308
- - **PRD.md** - Comprehensive product requirements
309
- - **epics.md** - Detailed epic breakdown
310
- - **architecture.md** - Required enterprise-grade architecture
311
- - **UX design** (recommended) - Design system and patterns
218
+ - All BMad Method docs PLUS:
219
+ - Security Architecture
220
+ - DevOps Strategy
221
+ - Test Strategy
222
+ - Compliance documentation
312
223
 
313
- **Workflow Path:**
224
+ **Workflow Path**:
314
225
 
315
226
  ```
316
- (Brownfield: document-project first - nearly mandatory)
227
+ (Brownfield: document-project nearly mandatory)
228
+
229
+ Analysis (recommended/required) → PRD → UX → Architecture
317
230
 
318
- Analysis + Research PRD + Epics UX Design → Enterprise Architecture → Gate Check → Implement
319
-
320
- Epic-tech-spec per epic (recommended)
321
-
322
- Additional design docs for complex subsystems
323
-
324
- Retrospective after each epic
231
+ Security ArchitectureDevOps StrategyTest Strategy
232
+
233
+ Gate Check Implement
325
234
  ```
326
235
 
327
- **Architecture:** Required - enterprise-grade system design including:
328
-
329
- - Multi-tenancy design
330
- - Security architecture
331
- - Scalability planning
332
- - Integration architecture
333
- - Data architecture
334
- - Deployment architecture
335
-
336
- **Gate Checks:** Required - multiple validation gates
337
- **Additional Design Documents:** Created during implementation as needed
236
+ **Use For**:
338
237
 
339
- **Use For:**
340
-
341
- - Platform expansions
342
- - Multi-team initiatives
343
- - System-wide modernization
238
+ - Enterprise requirements
344
239
  - Multi-tenant systems
345
- - Product ecosystems
346
- - Enterprise platforms
347
-
348
- **Example:** "Adding multi-tenancy to existing single-tenant SaaS platform"
240
+ - Compliance needs (HIPAA, SOC2, etc.)
241
+ - Mission-critical systems
242
+ - Security-sensitive applications
349
243
 
350
- **Critical for Enterprise:**
244
+ **Story Count**: Typically 30+ stories (but defined by enterprise needs, not count)
351
245
 
352
- - Documentation phase nearly mandatory
353
- - Analysis phase (research, product brief) required
354
- - Full architecture review before planning
355
- - Extensive integration testing strategy
356
- - Risk assessment and mitigation planning
357
- - Cross-team coordination
358
- - Feature flag implementation
359
- - Migration strategy for existing data/users
246
+ **Examples**:
360
247
 
361
- **Keywords:** enterprise, multi-tenant, multiple products, ecosystem, scale
362
-
363
- ---
248
+ - "Multi-tenant SaaS platform"
249
+ - "HIPAA-compliant patient portal"
250
+ - "Add SOC2 audit logging to enterprise app"
364
251
 
365
- ## Planning Documents by Level
252
+ **AI Agent Support**: Elite - comprehensive enterprise planning
366
253
 
367
- ### Understanding Document Types
368
-
369
- ```mermaid
370
- flowchart TD
371
- LEVEL{What Level?}
254
+ **Critical for Enterprise**:
372
255
 
373
- LEVEL -->|0-1| TS[tech-spec<br/>Created upfront<br/>Only planning doc]
374
- LEVEL -->|2-4| PRD[PRD<br/>Created upfront<br/>Product planning]
256
+ - Security architecture and threat modeling
257
+ - DevOps pipeline planning
258
+ - Comprehensive test strategy
259
+ - Risk assessment
260
+ - Compliance mapping
375
261
 
376
- PRD --> ARCH{Architecture<br/>needed?}
377
- ARCH -->|Yes<br/>Level 3-4| ARCHD[architecture.md<br/>Created upfront<br/>System design]
378
- ARCH -->|Optional<br/>Level 2| MAYBE[Maybe architecture<br/>if system design needed]
379
-
380
- TS --> IMPL1[Implementation]
381
- ARCHD --> IMPL2[Implementation]
382
- MAYBE --> IMPL2
383
-
384
- IMPL2 --> ETS[epic-tech-spec<br/>Created just-in-time<br/>Per epic during Phase 4]
262
+ ---
385
263
 
386
- style TS fill:#bfb,stroke:#333,stroke-width:2px
387
- style PRD fill:#bbf,stroke:#333,stroke-width:2px
388
- style ARCHD fill:#ffb,stroke:#333,stroke-width:2px
389
- style ETS fill:#fbf,stroke:#333,stroke-width:2px
390
- ```
264
+ ## Planning Documents by Track
391
265
 
392
- ### Tech-Spec (Level 0-1)
266
+ ### Quick Flow Documents
393
267
 
394
- **Created:** Upfront in Planning Phase (Phase 2)
395
- **Serves as:** Primary and only planning document
268
+ **Created**: Upfront in Planning Phase
396
269
 
397
- **Contains:**
270
+ **Tech-Spec**:
398
271
 
399
272
  - Problem statement and solution
400
- - Source tree changes (specific files)
273
+ - Source tree changes
401
274
  - Technical implementation details
402
275
  - Detected stack and conventions (brownfield)
403
276
  - UX/UI considerations (if user-facing)
404
277
  - Testing strategy
405
- - Developer resources
406
278
 
407
- **When Used:** Replaces PRD + Architecture for small projects
279
+ **Serves as**: Complete planning document (replaces PRD + Architecture)
280
+
281
+ ---
408
282
 
409
- ### PRD (Level 2-4)
283
+ ### BMad Method Documents
410
284
 
411
- **Created:** Upfront in Planning Phase (Phase 2)
412
- **Serves as:** Product-level planning document
285
+ **Created**: Upfront in Planning and Solutioning Phases
413
286
 
414
- **Contains:**
287
+ **PRD (Product Requirements Document)**:
415
288
 
416
289
  - Product vision and goals
417
290
  - Feature requirements
@@ -420,20 +293,7 @@ flowchart TD
420
293
  - User experience considerations
421
294
  - Business context
422
295
 
423
- **Complements:** Architecture document (system design)
424
-
425
- ### Architecture Document (Level 2-4)
426
-
427
- **Created:** Upfront in Solutioning Phase (Phase 3)
428
- **Serves as:** System-level design document
429
-
430
- **Scale-Adaptive Complexity:**
431
-
432
- - **Level 2:** Optional, lightweight if needed
433
- - **Level 3:** Required, comprehensive
434
- - **Level 4:** Required, enterprise-grade
435
-
436
- **Contains:**
296
+ **Architecture Document**:
437
297
 
438
298
  - System components and responsibilities
439
299
  - Data models and schemas
@@ -442,44 +302,48 @@ flowchart TD
442
302
  - Performance considerations
443
303
  - Deployment architecture
444
304
 
445
- **Note:** Takes the place of tech-spec for system-level planning in Level 2-4 projects.
305
+ **For Brownfield**: Acts as focused "solution design" that distills existing codebase into integration plan
306
+
307
+ ---
308
+
309
+ ### Enterprise Method Documents
446
310
 
447
- ### Epic-Tech-Spec (Level 2-4)
311
+ **Created**: Extended planning across multiple phases
448
312
 
449
- **Created:** Just-in-time during Implementation Phase (Phase 4)
450
- **Serves as:** Epic-specific implementation guide
313
+ Includes all BMad Method documents PLUS:
451
314
 
452
- **Contains:**
315
+ **Security Architecture**:
453
316
 
454
- - Epic-specific technical details
455
- - Detailed implementation approach for this epic
456
- - Code-level design decisions
457
- - Epic-scoped testing strategy
458
- - Integration points with other epics
317
+ - Threat modeling
318
+ - Authentication/authorization design
319
+ - Data protection strategy
320
+ - Audit requirements
459
321
 
460
- **Key Difference from Tech-Spec:**
322
+ **DevOps Strategy**:
461
323
 
462
- - **Tech-spec (0-1):** Created upfront, primary planning doc
463
- - **Epic-tech-spec (2-4):** Created during implementation, supplements PRD + Architecture
324
+ - CI/CD pipeline design
325
+ - Infrastructure architecture
326
+ - Monitoring and alerting
327
+ - Disaster recovery
464
328
 
465
- **Why Just-In-Time?**
329
+ **Test Strategy**:
466
330
 
467
- - Implementation learnings inform later epic-tech-specs
468
- - Avoids over-planning details that may change
469
- - Keeps specs fresh and relevant
470
- - Retrospectives provide input for next epic-tech-spec
331
+ - Test approach and coverage
332
+ - Automation strategy
333
+ - Quality gates
334
+ - Performance testing
471
335
 
472
336
  ---
473
337
 
474
338
  ## Workflow Comparison
475
339
 
476
- | Level | Analysis | Planning | Architecture | Epic-Tech-Specs | Stories | Retrospectives |
477
- | ----- | ----------- | ---------------- | ------------ | --------------- | ------- | ----------------------- |
478
- | **0** | Optional | Tech-spec | None | N/A | 1 | N/A |
479
- | **1** | Optional | Tech-spec + Epic | None | N/A | 2-10 | N/A |
480
- | **2** | Recommended | PRD | Optional | Recommended | 5-15 | After each epic (if >1) |
481
- | **3** | Required | PRD | Required | Recommended | 12-40 | After each epic |
482
- | **4** | Required | PRD | Required | Recommended | 40+ | After each epic |
340
+ | Track | Analysis | Planning | Architecture | Security/Ops | Typical Stories |
341
+ | --------------- | ----------- | --------- | ------------ | ------------ | --------------- |
342
+ | **Quick Flow** | Optional | Tech-spec | None | None | 1-15 |
343
+ | **BMad Method** | Recommended | PRD + UX | Required | None | 10-50+ |
344
+ | **Enterprise** | Required | PRD + UX | Required | Required | 30+ |
345
+
346
+ **Note**: Story counts are GUIDANCE based on typical usage, NOT definitions of tracks.
483
347
 
484
348
  ---
485
349
 
@@ -487,14 +351,27 @@ flowchart TD
487
351
 
488
352
  ### Critical First Step
489
353
 
490
- 🚨 **For ALL brownfield projects (Level 0-4): Run document-project BEFORE planning workflows**
354
+ For ALL brownfield projects: Run `document-project` BEFORE planning workflows.
491
355
 
492
356
  ### Why document-project is Critical
493
357
 
494
- - **Tech-spec workflow** (Level 0-1) uses this for auto-detection
495
- - **PRD workflow** (Level 2-4) references existing code
496
- - **Architecture workflow** (Level 3-4) builds on existing structure
497
- - **Epic-tech-specs** reference existing implementations
358
+ **Quick Flow** uses it for:
359
+
360
+ - Auto-detecting existing patterns
361
+ - Understanding codebase structure
362
+ - Confirming conventions
363
+
364
+ **BMad Method** uses it for:
365
+
366
+ - Architecture inputs (existing structure)
367
+ - Integration design
368
+ - Pattern consistency
369
+
370
+ **Enterprise Method** uses it for:
371
+
372
+ - Security analysis
373
+ - Integration architecture
374
+ - Risk assessment
498
375
 
499
376
  ### Brownfield Workflow Pattern
500
377
 
@@ -504,109 +381,88 @@ flowchart TD
504
381
  CHECK{Has docs/<br/>index.md?}
505
382
 
506
383
  START --> CHECK
507
- CHECK -->|No| DOC[document-project workflow<br/>Creates comprehensive docs]
508
- CHECK -->|Yes| PLAN[Continue to Planning]
384
+ CHECK -->|No| DOC[document-project workflow<br/>10-30 min]
385
+ CHECK -->|Yes| TRACK[Choose Track]
509
386
 
510
- DOC --> PLAN
511
- PLAN --> IMPL[Implementation]
387
+ DOC --> TRACK
388
+ TRACK -->|Quick| QF[Tech-Spec]
389
+ TRACK -->|Method| M[PRD + Arch]
390
+ TRACK -->|Enterprise| E[PRD + Arch + Sec/Ops]
512
391
 
513
- style START fill:#f9f,stroke:#333,stroke-width:2px
514
392
  style DOC fill:#ffb,stroke:#333,stroke-width:2px
515
- style PLAN fill:#bfb,stroke:#333,stroke-width:2px
393
+ style TRACK fill:#bfb,stroke:#333,stroke-width:2px
516
394
  ```
517
395
 
518
- **Three Options:**
519
-
520
- 1. **No documentation:** Run document-project workflow (10-30 min)
521
- 2. **Has docs, no index.md:** Run index-docs task (2-5 min)
522
- 3. **Complete documentation:** Skip to planning
523
-
524
- **For complete brownfield guidance:** See [Brownfield Development Guide](./brownfield-guide.md)
525
-
526
396
  ---
527
397
 
528
398
  ## Common Scenarios
529
399
 
530
- ### Scenario 1: Bug Fix (Level 0)
400
+ ### Scenario 1: Bug Fix (Quick Flow)
531
401
 
532
- **Input:** "Fix email validation bug in login form"
402
+ **Input**: "Fix email validation bug in login form"
533
403
 
534
- **Detection:**
404
+ **Detection**: Keywords "fix", "bug"
535
405
 
536
- - Keywords: "fix", "bug"
537
- - Estimated stories: 1
406
+ **Track**: Quick Flow
538
407
 
539
- **Result:** Level 0 → Tech-spec only
540
-
541
- **Workflow:**
408
+ **Workflow**:
542
409
 
543
410
  1. (Optional) Brief analysis
544
411
  2. Tech-spec with single story
545
412
  3. Implement immediately
546
413
 
547
- **Time:** ~2-4 hours total
414
+ **Time**: 2-4 hours total
548
415
 
549
416
  ---
550
417
 
551
- ### Scenario 2: Small Feature (Level 1)
552
-
553
- **Input:** "Add OAuth social login (Google, GitHub, Facebook)"
418
+ ### Scenario 2: Small Feature (Quick Flow)
554
419
 
555
- **Detection:**
420
+ **Input**: "Add OAuth social login (Google, GitHub, Facebook)"
556
421
 
557
- - Keywords: "add", "feature"
558
- - Estimated stories: 2-3
422
+ **Detection**: Keywords "add", "feature", clear scope
559
423
 
560
- **Result:** Level 1 → Tech-spec with epic
424
+ **Track**: Quick Flow
561
425
 
562
- **Workflow:**
426
+ **Workflow**:
563
427
 
564
428
  1. (Optional) Research OAuth providers
565
- 2. Tech-spec with epic + 3 stories
566
- 3. (Optional) UX Design if UI is complex
567
- 4. Implement story-by-story
429
+ 2. Tech-spec with 3 stories
430
+ 3. Implement story-by-story
568
431
 
569
- **Time:** 1-3 days
432
+ **Time**: 1-3 days
570
433
 
571
434
  ---
572
435
 
573
- ### Scenario 3: Customer Portal (Level 2)
574
-
575
- **Input:** "Build customer portal with dashboard, tickets, billing"
436
+ ### Scenario 3: Customer Portal (BMad Method)
576
437
 
577
- **Detection:**
438
+ **Input**: "Build customer portal with dashboard, tickets, billing"
578
439
 
579
- - Keywords: "portal", "dashboard"
580
- - Estimated stories: 10-12
440
+ **Detection**: Keywords "portal", "dashboard", multiple features
581
441
 
582
- **Result:** Level 2 → PRD + optional architecture
442
+ **Track**: BMad Method
583
443
 
584
- **Workflow:**
444
+ **Workflow**:
585
445
 
586
- 1. Product Brief (recommended)
446
+ 1. (Recommended) Product Brief
587
447
  2. PRD with epics
588
- 3. (Optional) UX Design
589
- 4. (Optional) Architecture if system design needed
590
- 5. Implement with sprint planning
591
- 6. Create epic-tech-spec for each epic as you implement
592
- 7. Run retrospective after each epic
448
+ 3. (If UI) UX Design
449
+ 4. Architecture (system design)
450
+ 5. Gate Check
451
+ 6. Implement with sprint planning
593
452
 
594
- **Time:** 1-2 weeks
453
+ **Time**: 1-2 weeks
595
454
 
596
455
  ---
597
456
 
598
- ### Scenario 4: E-commerce Platform (Level 3)
457
+ ### Scenario 4: E-commerce Platform (BMad Method)
599
458
 
600
- **Input:** "Build full e-commerce platform with products, cart, checkout, admin, analytics"
459
+ **Input**: "Build e-commerce platform with products, cart, checkout, admin, analytics"
601
460
 
602
- **Detection:**
461
+ **Detection**: Keywords "platform", multiple subsystems
603
462
 
604
- - Keywords: "platform", "full"
605
- - Estimated stories: 30-35
463
+ **Track**: BMad Method
606
464
 
607
- **Result:** Level 3 → PRD + Architecture required
608
-
609
- **Workflow:**
465
+ **Workflow**:
610
466
 
611
467
  1. Research + Product Brief
612
468
  2. Comprehensive PRD
@@ -614,131 +470,125 @@ flowchart TD
614
470
  4. System Architecture (required)
615
471
  5. Gate check
616
472
  6. Implement with phased approach
617
- 7. Create epic-tech-spec per epic before implementing
618
- 8. Run retrospective after each epic
619
- 9. Create additional design docs as needed for complex subsystems
620
473
 
621
- **Time:** 3-6 weeks
474
+ **Time**: 3-6 weeks
622
475
 
623
476
  ---
624
477
 
625
- ### Scenario 5: Adding Feature to Existing App (Brownfield Level 1)
626
-
627
- **Input:** "Add search functionality to existing product catalog"
478
+ ### Scenario 5: Brownfield Addition (BMad Method)
628
479
 
629
- **Detection:**
480
+ **Input**: "Add search functionality to existing product catalog"
630
481
 
631
- - Keywords: "add", "existing"
632
- - Estimated stories: 3-4
633
- - Field type: Brownfield
482
+ **Detection**: Brownfield + moderate complexity
634
483
 
635
- **Result:** Level 1 Brownfield
484
+ **Track**: BMad Method (not Quick Flow)
636
485
 
637
- **Critical First Step:**
486
+ **Critical First Step**:
638
487
 
639
488
  1. **Run document-project** to analyze existing codebase
640
489
 
641
- **Then Workflow:** 2. Tech-spec (uses document-project output for analysis) 3. Auto-detects existing patterns 4. Confirms conventions 5. Implement following existing patterns
642
-
643
- **Time:** 1-3 days (including documentation)
490
+ **Then Workflow**: 2. PRD for search feature 3. Architecture (integration design - highly recommended) 4. Implement following existing patterns
644
491
 
645
- ---
492
+ **Time**: 1-2 weeks
646
493
 
647
- ## Best Practices
494
+ **Why Method not Quick Flow?**: Integration with existing catalog system benefits from architecture planning to ensure consistency.
648
495
 
649
- ### 1. Document-Project First for Brownfield
496
+ ---
650
497
 
651
- Always run document-project before starting any brownfield workflow. Even if you know the code, AI agents need it.
498
+ ### Scenario 6: Multi-tenant Platform (Enterprise Method)
652
499
 
653
- ### 2. Trust the Detection
500
+ **Input**: "Add multi-tenancy to existing single-tenant SaaS platform"
654
501
 
655
- If workflow-init suggests Level 2, there's probably complexity you haven't considered. Review before overriding.
502
+ **Detection**: Keywords "multi-tenant", enterprise scale
656
503
 
657
- ### 3. Start Small, Upgrade Later
504
+ **Track**: Enterprise Method
658
505
 
659
- Uncertain between Level 1 and 2? Start with Level 1. You can always run PRD creation later if needed.
506
+ **Workflow**:
660
507
 
661
- ### 4. Don't Skip Gate Checks
508
+ 1. Document-project (mandatory)
509
+ 2. Research (compliance, security)
510
+ 3. PRD (multi-tenancy requirements)
511
+ 4. Architecture (tenant isolation design)
512
+ 5. Security Architecture (data isolation, auth)
513
+ 6. DevOps Strategy (tenant provisioning, monitoring)
514
+ 7. Test Strategy (tenant isolation testing)
515
+ 8. Gate check
516
+ 9. Phased implementation
662
517
 
663
- For Level 3-4, gate checks prevent costly mistakes. Invest the time upfront.
518
+ **Time**: 3-6 months
664
519
 
665
- ### 5. Create Epic-Tech-Specs Just-Before-Implementation
520
+ ---
666
521
 
667
- For Level 2-4, create epic-tech-spec right before implementing each epic. Don't create all upfront.
522
+ ## Best Practices
668
523
 
669
- ### 6. Run Retrospectives Between Epics
524
+ ### 1. Document-Project First for Brownfield
670
525
 
671
- Capture learnings after each epic. Feed insights into next epic-tech-spec.
526
+ Always run `document-project` before starting brownfield planning. AI agents need existing codebase context.
672
527
 
673
- ### 7. Optional UX for Level 1
528
+ ### 2. Trust the Recommendation
674
529
 
675
- If your Level 1 feature has complex UI, run separate UX Design. Otherwise, include UX notes in tech-spec.
530
+ If `workflow-init` suggests BMad Method, there's probably complexity you haven't considered. Review carefully before overriding.
676
531
 
677
- ### 8. Architecture Scales
532
+ ### 3. Start Smaller if Uncertain
678
533
 
679
- Level 2 architecture is lighter than Level 3, which is lighter than Level 4. Don't over-architect.
534
+ Uncertain between Quick Flow and Method? Start with Quick Flow. You can create PRD later if needed.
680
535
 
681
- ---
536
+ ### 4. Don't Skip Gate Checks
682
537
 
683
- ## Appendix
538
+ For BMad Method and Enterprise, gate checks prevent costly mistakes. Invest the time.
684
539
 
685
- ### A. Terminology Quick Reference
540
+ ### 5. Architecture is Optional but Recommended for Brownfield
686
541
 
687
- For complete definitions, see [Glossary](./glossary.md).
542
+ Brownfield BMad Method makes architecture optional, but it's highly recommended. It distills complex codebase into focused solution design.
688
543
 
689
- **Key Terms:**
544
+ ### 6. Discovery Phase Based on Need
690
545
 
691
- - **Scale-Adaptive:** System that adjusts workflow based on project complexity
692
- - **Tech-Spec:** Technical specification document (Level 0-1, created upfront)
693
- - **Epic-Tech-Spec:** Epic technical specification (Level 2-4, created just-in-time)
694
- - **PRD:** Product Requirements Document
695
- - **Just-In-Time Design:** Creating epic-tech-specs during implementation, not upfront
696
- - **Context Injection:** Dynamic guidance via epic-tech-context and story-context workflows
697
- - **Greenfield:** New project from scratch
698
- - **Brownfield:** Existing codebase
546
+ Brainstorming and research are offered regardless of track. Use them when you need to think through the problem space.
699
547
 
700
- ### B. Workflow Path Configuration
548
+ ### 7. Product Brief for Greenfield Method
701
549
 
702
- The v6 system uses modular path definitions stored in YAML configuration files.
550
+ Product Brief is only offered for greenfield BMad Method and Enterprise. It's optional but helps with strategic thinking.
703
551
 
704
- **Location:** `src/modules/bmm/workflows/workflow-status/paths/`
552
+ ---
705
553
 
706
- **Files:**
554
+ ## Key Differences from Legacy System
707
555
 
708
- - `greenfield-level-0.yaml` through `greenfield-level-4.yaml`
709
- - `brownfield-level-0.yaml` through `brownfield-level-4.yaml`
710
- - `game-design.yaml`
711
- - `project-levels.yaml` (source of truth)
556
+ ### Old System (Levels 0-4)
712
557
 
713
- Each path file defines:
558
+ - Arbitrary story count thresholds
559
+ - Level 2 vs Level 3 based on story count
560
+ - Confusing overlap zones (5-10 stories, 12-40 stories)
561
+ - Tech-spec and PRD shown as conflicting options
714
562
 
715
- - Required vs optional workflows for each phase
716
- - Agent assignments
717
- - Expected outputs
718
- - Phase progression rules
563
+ ### New System (3 Tracks)
719
564
 
720
- ### C. FAQ
565
+ - Methodology-based distinction (not story counts)
566
+ - Story counts as guidance, not definitions
567
+ - Clear track purposes:
568
+ - Quick Flow = Implementation-focused
569
+ - BMad Method = Product + system design
570
+ - Enterprise = Extended with security/ops
571
+ - Mutually exclusive paths chosen upfront
572
+ - Educational decision-making
721
573
 
722
- **Q: What's the difference between tech-spec and epic-tech-spec?**
723
- A: Tech-spec (Level 0-1) is created upfront and serves as the primary planning doc. Epic-tech-spec (Level 2-4) is created during implementation per epic and supplements PRD + Architecture.
574
+ ---
724
575
 
725
- **Q: Why no tech-spec at Level 2+?**
726
- A: Level 2+ needs product-level planning (PRD) and system-level design (Architecture), which tech-spec doesn't provide. Instead, use epic-tech-specs during implementation for detailed technical guidance per epic.
576
+ ## Migration from Old System
727
577
 
728
- **Q: Do I always need Architecture at Level 2?**
729
- A: No, it's optional. Only create Architecture if you need system-level design. Many Level 2 projects work with just PRD + epic-tech-specs.
578
+ If you have existing projects using the old level system:
730
579
 
731
- **Q: Can I change levels mid-project?**
732
- A: Yes! If you started at Level 1 but realize it's Level 2, run create-prd to add proper planning docs. The system is flexible.
580
+ - **Level 0-1** Quick Flow
581
+ - **Level 2-3** BMad Method
582
+ - **Level 4** → Enterprise Method
733
583
 
734
- For more questions, see [FAQ](./faq.md).
584
+ Run `workflow-init` on existing projects to migrate to new tracking system. It detects existing planning artifacts and creates appropriate workflow tracking.
735
585
 
736
586
  ---
737
587
 
738
588
  ## Related Documentation
739
589
 
740
590
  - **[Quick Start Guide](./quick-start.md)** - Get started with BMM
741
- - **[Quick Spec Flow](./quick-spec-flow.md)** - Fast-track for Level 0-1
591
+ - **[Quick Spec Flow](./quick-spec-flow.md)** - Details on Quick Flow track
742
592
  - **[Brownfield Guide](./brownfield-guide.md)** - Existing codebase workflows
743
593
  - **[Glossary](./glossary.md)** - Complete terminology
744
594
  - **[FAQ](./faq.md)** - Common questions
@@ -746,4 +596,4 @@ For more questions, see [FAQ](./faq.md).
746
596
 
747
597
  ---
748
598
 
749
- _Scale Adaptive System - Because one size doesn't fit all._
599
+ _Scale Adaptive System - Right planning depth for every project._