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,15 +1,24 @@
1
- # Decision Architecture Workflow
1
+ # Decision Architecture Workflow - Technical Reference
2
+
3
+ **Module:** BMM (BMAD Method Module)
4
+ **Type:** Solutioning Workflow
5
+
6
+ ---
2
7
 
3
8
  ## Overview
4
9
 
5
10
  The Decision Architecture workflow is a complete reimagining of how architectural decisions are made in the BMAD Method. Instead of template-driven documentation, this workflow facilitates an intelligent conversation that produces a **decision-focused architecture document** optimized for preventing AI agent conflicts during implementation.
6
11
 
12
+ ---
13
+
7
14
  ## Core Philosophy
8
15
 
9
16
  **The Problem**: When multiple AI agents implement different parts of a system, they make conflicting technical decisions leading to incompatible implementations.
10
17
 
11
18
  **The Solution**: A "consistency contract" that documents all critical technical decisions upfront, ensuring every agent follows the same patterns and uses the same technologies.
12
19
 
20
+ ---
21
+
13
22
  ## Key Features
14
23
 
15
24
  ### 1. Starter Template Intelligence ⭐ NEW
@@ -56,6 +65,8 @@ The Decision Architecture workflow is a complete reimagining of how architectura
56
65
  - Validated against hard requirements
57
66
  - Optimized for AI agent consumption
58
67
 
68
+ ---
69
+
59
70
  ## Workflow Structure
60
71
 
61
72
  ```
@@ -75,6 +86,8 @@ Step 11: Validate document completeness
75
86
  Step 12: Final review and update workflow status
76
87
  ```
77
88
 
89
+ ---
90
+
78
91
  ## Files in This Workflow
79
92
 
80
93
  - **workflow.yaml** - Configuration and metadata
@@ -85,6 +98,8 @@ Step 12: Final review and update workflow status
85
98
  - **checklist.md** - Validation requirements for the output document
86
99
  - **architecture-template.md** - Strict format for the final document
87
100
 
101
+ ---
102
+
88
103
  ## How It's Different from Old architecture
89
104
 
90
105
  | Aspect | Old Workflow | New Workflow |
@@ -98,6 +113,8 @@ Step 12: Final review and update workflow status
98
113
  | **Time** | Confusing and slow | 30-90 minutes depending on skill level |
99
114
  | **Elicitation** | Never used | Integrated at decision points |
100
115
 
116
+ ---
117
+
101
118
  ## Expected Inputs
102
119
 
103
120
  - **PRD** (Product Requirements Document) with:
@@ -117,6 +134,8 @@ Step 12: Final review and update workflow status
117
134
  - Platform-specific UI requirements
118
135
  - Performance expectations for interactions
119
136
 
137
+ ---
138
+
120
139
  ## Output Document
121
140
 
122
141
  A single `architecture.md` file containing:
@@ -128,84 +147,100 @@ A single `architecture.md` file containing:
128
147
  - Integration specifications
129
148
  - Consistency rules for AI agents
130
149
 
150
+ ---
151
+
131
152
  ## How Novel Pattern Design Works
132
153
 
133
154
  Step 7 handles unique or complex patterns that need to be INVENTED:
134
155
 
135
- 1. **Detection**:
136
- The workflow analyzes the PRD for concepts that don't have standard solutions:
137
- - Novel interaction patterns (e.g., "swipe to match" when Tinder doesn't exist)
138
- - Complex multi-epic workflows (e.g., "viral invitation system")
139
- - Unique data relationships (e.g., "social graph" before Facebook)
140
- - New paradigms (e.g., "ephemeral messages" before Snapchat)
141
-
142
- 2. **Design Collaboration**:
143
- Instead of just picking technologies, the workflow helps DESIGN the solution:
144
- - Identifies the core problem to solve
145
- - Explores different approaches with the user
146
- - Documents how components interact
147
- - Creates sequence diagrams for complex flows
148
- - Uses elicitation to find innovative solutions
149
-
150
- 3. **Documentation**:
151
- Novel patterns become part of the architecture with:
152
- - Pattern name and purpose
153
- - Component interactions
154
- - Data flow diagrams
155
- - Which epics/stories are affected
156
- - Implementation guidance for agents
157
-
158
- 4. **Example**:
159
- ```
160
- PRD: "Users can create 'circles' of friends with overlapping membership"
161
-
162
- Workflow detects: This is a novel social structure pattern
163
-
164
- Designs with user: Circle membership model, permission cascading, UI patterns
165
-
166
- Documents: "Circle Pattern" with component design and data flow
167
-
168
- All agents understand how to implement circle-related features consistently
169
- ```
156
+ ### 1. Detection
157
+
158
+ The workflow analyzes the PRD for concepts that don't have standard solutions:
159
+
160
+ - Novel interaction patterns (e.g., "swipe to match" when Tinder doesn't exist)
161
+ - Complex multi-epic workflows (e.g., "viral invitation system")
162
+ - Unique data relationships (e.g., "social graph" before Facebook)
163
+ - New paradigms (e.g., "ephemeral messages" before Snapchat)
164
+
165
+ ### 2. Design Collaboration
166
+
167
+ Instead of just picking technologies, the workflow helps DESIGN the solution:
168
+
169
+ - Identifies the core problem to solve
170
+ - Explores different approaches with the user
171
+ - Documents how components interact
172
+ - Creates sequence diagrams for complex flows
173
+ - Uses elicitation to find innovative solutions
174
+
175
+ ### 3. Documentation
176
+
177
+ Novel patterns become part of the architecture with:
178
+
179
+ - Pattern name and purpose
180
+ - Component interactions
181
+ - Data flow diagrams
182
+ - Which epics/stories are affected
183
+ - Implementation guidance for agents
184
+
185
+ ### 4. Example
186
+
187
+ ```
188
+ PRD: "Users can create 'circles' of friends with overlapping membership"
189
+
190
+ Workflow detects: This is a novel social structure pattern
191
+
192
+ Designs with user: Circle membership model, permission cascading, UI patterns
193
+
194
+ Documents: "Circle Pattern" with component design and data flow
195
+
196
+ All agents understand how to implement circle-related features consistently
197
+ ```
198
+
199
+ ---
170
200
 
171
201
  ## How Implementation Patterns Work
172
202
 
173
203
  Step 8 prevents agent conflicts by defining patterns for consistency:
174
204
 
175
- 1. **The Core Principle**:
176
-
177
- > "Any time multiple agents might make the SAME decision DIFFERENTLY, that's a pattern to capture"
178
-
179
- The LLM asks: "What could an agent encounter where they'd have to guess?"
180
-
181
- 2. **Pattern Categories** (principles, not prescriptions):
182
- - **Naming**: How things are named (APIs, database fields, files)
183
- - **Structure**: How things are organized (folders, modules, layers)
184
- - **Format**: How data is formatted (JSON structures, responses)
185
- - **Communication**: How components talk (events, messages, protocols)
186
- - **Lifecycle**: How states change (workflows, transitions)
187
- - **Location**: Where things go (URLs, paths, storage)
188
- - **Consistency**: Cross-cutting concerns (dates, errors, logs)
189
-
190
- 3. **LLM Intelligence**:
191
- - Uses the principle to identify patterns beyond the 7 categories
192
- - Figures out what specific patterns matter for chosen tech
193
- - Only asks about patterns that could cause conflicts
194
- - Skips obvious patterns that the tech choice determines
195
-
196
- 4. **Example**:
197
- ```
198
- Tech chosen: REST API + PostgreSQL + React
199
-
200
- LLM identifies needs:
201
- - REST: URL structure, response format, status codes
202
- - PostgreSQL: table naming, column naming, FK patterns
203
- - React: component structure, state management, test location
204
-
205
- Facilitates each with user
206
-
207
- Documents as Implementation Patterns in architecture
208
- ```
205
+ ### 1. The Core Principle
206
+
207
+ > "Any time multiple agents might make the SAME decision DIFFERENTLY, that's a pattern to capture"
208
+
209
+ The LLM asks: "What could an agent encounter where they'd have to guess?"
210
+
211
+ ### 2. Pattern Categories (principles, not prescriptions)
212
+
213
+ - **Naming**: How things are named (APIs, database fields, files)
214
+ - **Structure**: How things are organized (folders, modules, layers)
215
+ - **Format**: How data is formatted (JSON structures, responses)
216
+ - **Communication**: How components talk (events, messages, protocols)
217
+ - **Lifecycle**: How states change (workflows, transitions)
218
+ - **Location**: Where things go (URLs, paths, storage)
219
+ - **Consistency**: Cross-cutting concerns (dates, errors, logs)
220
+
221
+ ### 3. LLM Intelligence
222
+
223
+ - Uses the principle to identify patterns beyond the 7 categories
224
+ - Figures out what specific patterns matter for chosen tech
225
+ - Only asks about patterns that could cause conflicts
226
+ - Skips obvious patterns that the tech choice determines
227
+
228
+ ### 4. Example
229
+
230
+ ```
231
+ Tech chosen: REST API + PostgreSQL + React
232
+
233
+ LLM identifies needs:
234
+ - REST: URL structure, response format, status codes
235
+ - PostgreSQL: table naming, column naming, FK patterns
236
+ - React: component structure, state management, test location
237
+
238
+ Facilitates each with user
239
+
240
+ Documents as Implementation Patterns in architecture
241
+ ```
242
+
243
+ ---
209
244
 
210
245
  ## How Starter Templates Work
211
246
 
@@ -234,6 +269,8 @@ Workflow only asks about: Database choice, deployment target, additional service
234
269
  First story becomes: "npx create t3-app@latest my-app --trpc --nextauth --prisma"
235
270
  ```
236
271
 
272
+ ---
273
+
237
274
  ## Usage
238
275
 
239
276
  ```bash
@@ -249,6 +286,8 @@ The AI agent will:
249
286
  4. Generate a comprehensive architecture document
250
287
  5. Validate completeness
251
288
 
289
+ ---
290
+
252
291
  ## Design Principles
253
292
 
254
293
  1. **Facilitation over Prescription** - Guide users to good decisions rather than imposing templates
@@ -257,6 +296,8 @@ The AI agent will:
257
296
  4. **Adaptation over Uniformity** - Meet users where they are while ensuring quality output
258
297
  5. **Collaboration over Output** - The conversation matters as much as the document
259
298
 
299
+ ---
300
+
260
301
  ## For Developers
261
302
 
262
303
  This workflow assumes:
@@ -266,6 +307,8 @@ This workflow assumes:
266
307
  - AI agents need clear constraints to prevent conflicts
267
308
  - The architecture document is for agents, not humans
268
309
 
310
+ ---
311
+
269
312
  ## Migration from architecture
270
313
 
271
314
  Projects using the old `architecture` workflow should:
@@ -274,9 +317,11 @@ Projects using the old `architecture` workflow should:
274
317
  2. Use `architecture` for new projects
275
318
  3. The old workflow remains available but is deprecated
276
319
 
277
- ## Version
320
+ ---
321
+
322
+ ## Version History
278
323
 
279
- 1.3.2 - UX specification integration and fuzzy file matching
324
+ **1.3.2** - UX specification integration and fuzzy file matching
280
325
 
281
326
  - Added UX spec as optional input with fuzzy file matching
282
327
  - Updated workflow.yaml with input file references
@@ -284,7 +329,7 @@ Projects using the old `architecture` workflow should:
284
329
  - Added UX alignment validation to checklist
285
330
  - Instructions use variable references for flexible file names
286
331
 
287
- 1.3.1 - Workflow refinement and standardization
332
+ **1.3.1** - Workflow refinement and standardization
288
333
 
289
334
  - Added workflow status checking at start (Steps 0 and 0.5)
290
335
  - Added workflow status updating at end (Step 12)
@@ -292,7 +337,7 @@ Projects using the old `architecture` workflow should:
292
337
  - Enhanced with intent-based approach throughout
293
338
  - Improved cohesiveness across all workflow components
294
339
 
295
- 1.3.0 - Novel pattern design for unique architectures
340
+ **1.3.0** - Novel pattern design for unique architectures
296
341
 
297
342
  - Added novel pattern design (now Step 7, formerly Step 5.3)
298
343
  - Detects novel concepts in PRD that need architectural invention
@@ -300,7 +345,7 @@ Projects using the old `architecture` workflow should:
300
345
  - Uses elicitation for innovative approaches
301
346
  - Documents custom patterns for multi-epic consistency
302
347
 
303
- 1.2.0 - Implementation patterns for agent consistency
348
+ **1.2.0** - Implementation patterns for agent consistency
304
349
 
305
350
  - Added implementation patterns (now Step 8, formerly Step 5.5)
306
351
  - Created principle-based pattern-categories.csv (7 principles, not 118 prescriptions)
@@ -308,11 +353,19 @@ Projects using the old `architecture` workflow should:
308
353
  - LLM uses principle to identify patterns beyond the categories
309
354
  - Prevents agent conflicts through intelligent pattern discovery
310
355
 
311
- 1.1.0 - Enhanced with starter template discovery and version verification
356
+ **1.1.0** - Enhanced with starter template discovery and version verification
312
357
 
313
358
  - Added intelligent starter template detection and integration (now Step 2)
314
359
  - Added dynamic version verification via web search
315
360
  - Starter decisions are documented as "PROVIDED BY STARTER"
316
361
  - First implementation story uses starter initialization command
317
362
 
318
- 1.0.0 - Initial release replacing architecture workflow
363
+ **1.0.0** - Initial release replacing architecture workflow
364
+
365
+ ---
366
+
367
+ **Related Documentation:**
368
+
369
+ - [Solutioning Workflows](./workflows-solutioning.md)
370
+ - [Planning Workflows](./workflows-planning.md)
371
+ - [Scale Adaptive System](./scale-adaptive-system.md)
@@ -1,15 +1,18 @@
1
- # Document Project Workflow
1
+ # Document Project Workflow - Technical Reference
2
2
 
3
- **Version:** 1.2.0
4
3
  **Module:** BMM (BMAD Method Module)
5
4
  **Type:** Action Workflow (Documentation Generator)
6
5
 
6
+ ---
7
+
7
8
  ## Purpose
8
9
 
9
10
  Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development. Generates a master index and multiple documentation files tailored to project structure and type.
10
11
 
11
12
  **NEW in v1.2.0:** Context-safe architecture with scan levels, resumability, and write-as-you-go pattern to prevent context exhaustion.
12
13
 
14
+ ---
15
+
13
16
  ## Key Features
14
17
 
15
18
  - **Multi-Project Type Support**: Handles web, backend, mobile, CLI, game, embedded, data, infra, library, desktop, and extension projects
@@ -23,6 +26,8 @@ Analyzes and documents brownfield projects by scanning codebase, architecture, a
23
26
  - **Architecture Matching**: Matches projects to 170+ architecture templates from the solutioning registry
24
27
  - **Brownfield PRD Ready**: Generates documentation specifically designed for AI agents planning new features
25
28
 
29
+ ---
30
+
26
31
  ## How to Invoke
27
32
 
28
33
  ```bash
@@ -35,6 +40,8 @@ Or from BMAD CLI:
35
40
  /bmad:bmm:workflows:document-project
36
41
  ```
37
42
 
43
+ ---
44
+
38
45
  ## Scan Levels (NEW in v1.2.0)
39
46
 
40
47
  Choose the right scan depth for your needs:
@@ -79,6 +86,8 @@ Choose the right scan depth for your needs:
79
86
 
80
87
  **Note:** Deep-dive mode ALWAYS uses exhaustive scan (no choice)
81
88
 
89
+ ---
90
+
82
91
  ## Resumability (NEW in v1.2.0)
83
92
 
84
93
  The workflow can be interrupted and resumed without losing progress:
@@ -110,6 +119,8 @@ Would you like to:
110
119
  Your choice [1/2/3]:
111
120
  ```
112
121
 
122
+ ---
123
+
113
124
  ## What It Does
114
125
 
115
126
  ### Step-by-Step Process
@@ -160,6 +171,8 @@ Your choice [1/2/3]:
160
171
  - `project-scan-report.json` - State file for resumability (NEW v1.2.0)
161
172
  - Additional conditional files per part (API, data models, etc.)
162
173
 
174
+ ---
175
+
163
176
  ## Data Files
164
177
 
165
178
  The workflow uses a single comprehensive CSV file:
@@ -175,6 +188,8 @@ The workflow uses a single comprehensive CSV file:
175
188
  - Self-contained: All project detection AND scanning requirements in one file
176
189
  - Architecture patterns inferred from tech stack (no external registry needed)
177
190
 
191
+ ---
192
+
178
193
  ## Use Cases
179
194
 
180
195
  ### Primary Use Case: Brownfield PRD Creation
@@ -197,6 +212,8 @@ PRD Workflow: Loads docs/index.md
197
212
  - **Technical Debt Assessment** - Identify patterns and anti-patterns
198
213
  - **Migration Planning** - Understand current state before refactoring
199
214
 
215
+ ---
216
+
200
217
  ## Requirements
201
218
 
202
219
  ### Recommended Inputs (Optional)
@@ -211,6 +228,8 @@ PRD Workflow: Loads docs/index.md
211
228
  - Code analysis
212
229
  - Git repository analysis (optional)
213
230
 
231
+ ---
232
+
214
233
  ## Configuration
215
234
 
216
235
  ### Default Output Location
@@ -225,6 +244,8 @@ Default: `/docs/` folder in project root
225
244
  - Add new project types to `project-types.csv`
226
245
  - Add new architecture templates to `registry.csv`
227
246
 
247
+ ---
248
+
228
249
  ## Example: Multi-Part Web App
229
250
 
230
251
  **Input:**
@@ -260,6 +281,8 @@ docs/
260
281
  └── project-parts.json
261
282
  ```
262
283
 
284
+ ---
285
+
263
286
  ## Example: Simple CLI Tool
264
287
 
265
288
  **Input:**
@@ -286,6 +309,8 @@ docs/
286
309
  └── source-tree-analysis.md
287
310
  ```
288
311
 
312
+ ---
313
+
289
314
  ## Deep-Dive Mode
290
315
 
291
316
  ### What is Deep-Dive Mode?
@@ -353,6 +378,8 @@ You can deep-dive multiple areas over time:
353
378
 
354
379
  All deep-dive docs are linked from the master index.
355
380
 
381
+ ---
382
+
356
383
  ## Validation
357
384
 
358
385
  The workflow includes a comprehensive 160+ point checklist covering:
@@ -365,6 +392,8 @@ The workflow includes a comprehensive 160+ point checklist covering:
365
392
  - Brownfield PRD readiness
366
393
  - Deep-dive completeness (if applicable)
367
394
 
395
+ ---
396
+
368
397
  ## Next Steps After Completion
369
398
 
370
399
  1. **Review** `docs/index.md` - Your master documentation index
@@ -372,6 +401,8 @@ The workflow includes a comprehensive 160+ point checklist covering:
372
401
  3. **Use for PRD** - Point brownfield PRD workflow to index.md
373
402
  4. **Maintain** - Re-run workflow when architecture changes significantly
374
403
 
404
+ ---
405
+
375
406
  ## File Structure
376
407
 
377
408
  ```
@@ -387,6 +418,8 @@ document-project/
387
418
  └── README.md # This file
388
419
  ```
389
420
 
421
+ ---
422
+
390
423
  ## Troubleshooting
391
424
 
392
425
  **Issue: Project type not detected correctly**
@@ -405,6 +438,8 @@ document-project/
405
438
 
406
439
  - Solution: Check registry.csv; may need to add new template or adjust matching criteria
407
440
 
441
+ ---
442
+
408
443
  ## Architecture Improvements in v1.2.0
409
444
 
410
445
  ### Context-Safe Design
@@ -442,3 +477,11 @@ Optimized JSON (no pretty-printing):
442
477
  "resume_instructions": "..."
443
478
  }
444
479
  ```
480
+
481
+ ---
482
+
483
+ **Related Documentation:**
484
+
485
+ - [Brownfield Development Guide](./brownfield-guide.md)
486
+ - [Implementation Workflows](./workflows-implementation.md)
487
+ - [Scale Adaptive System](./scale-adaptive-system.md)