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

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 (449) hide show
  1. package/.claude/settings.local.json +12 -6
  2. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  3. package/.husky/pre-commit +4 -0
  4. package/CONTRIBUTING.md +1 -13
  5. package/README.md +59 -1
  6. package/bmad/_cfg/agent-manifest.csv +1 -13
  7. package/bmad/_cfg/files-manifest.csv +10 -256
  8. package/bmad/_cfg/ides/claude-code.yaml +2 -2
  9. package/bmad/_cfg/manifest.yaml +4 -5
  10. package/bmad/_cfg/task-manifest.csv +4 -1
  11. package/bmad/_cfg/tool-manifest.csv +1 -0
  12. package/bmad/_cfg/workflow-manifest.csv +2 -35
  13. package/bmad/bmb/config.yaml +2 -2
  14. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  15. package/bmad/bmb/workflows/create-agent/instructions.md +25 -9
  16. package/bmad/bmb/workflows/create-module/module-structure.md +34 -0
  17. package/bmad/core/config.yaml +2 -2
  18. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  19. package/package.json +5 -3
  20. package/src/core/tasks/adv-elicit.xml +1 -1
  21. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -9
  22. package/src/modules/bmb/workflows/create-module/module-structure.md +34 -0
  23. package/src/modules/bmgd/README.md +208 -0
  24. package/src/modules/bmgd/_module-installer/install-config.yaml +66 -0
  25. package/src/modules/{bmm → bmgd}/agents/game-architect.agent.yaml +5 -12
  26. package/src/modules/{bmm → bmgd}/agents/game-designer.agent.yaml +10 -22
  27. package/src/modules/{bmm → bmgd}/agents/game-dev.agent.yaml +9 -10
  28. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +70 -0
  29. package/{bmad/bmm → src/modules/bmgd}/teams/team-gamedev.yaml +3 -1
  30. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +7 -7
  31. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  32. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  33. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  34. package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/instructions.md +7 -18
  35. package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/workflow.yaml +16 -16
  36. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/workflow.yaml +3 -1
  37. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/workflow.yaml +3 -1
  38. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/workflow.yaml +3 -1
  39. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/workflow.yaml +3 -1
  40. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/workflow.yaml +3 -1
  41. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/workflow.yaml +3 -1
  42. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/workflow.yaml +3 -1
  43. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/workflow.yaml +3 -1
  44. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/workflow.yaml +3 -1
  45. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/workflow.yaml +3 -1
  46. package/src/modules/bmm/_module-installer/install-config.yaml +5 -0
  47. package/src/modules/bmm/docs/README.md +18 -18
  48. package/src/modules/bmm/docs/agents-guide.md +1 -2
  49. package/src/modules/bmm/docs/brownfield-guide.md +10 -15
  50. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  51. package/src/modules/bmm/docs/faq.md +10 -12
  52. package/src/modules/bmm/docs/glossary.md +8 -9
  53. package/src/modules/bmm/docs/quick-spec-flow.md +7 -7
  54. package/src/modules/bmm/docs/quick-start.md +9 -9
  55. package/src/modules/bmm/docs/scale-adaptive-system.md +6 -6
  56. package/src/modules/bmm/docs/test-architecture.md +394 -0
  57. package/src/modules/bmm/docs/workflows-analysis.md +229 -529
  58. package/src/modules/bmm/docs/workflows-implementation.md +196 -1670
  59. package/src/modules/bmm/docs/workflows-planning.md +364 -849
  60. package/src/modules/bmm/docs/workflows-solutioning.md +268 -493
  61. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  62. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +4 -0
  63. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +1 -1
  64. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +34 -5
  65. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +1 -1
  66. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +8 -0
  67. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +6 -0
  68. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +47 -0
  69. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +24 -1
  70. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +2 -2
  71. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +50 -0
  72. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  73. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  74. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  75. package/test/test-installation-components.js +214 -0
  76. package/tools/cli/bundlers/web-bundler.js +127 -8
  77. package/tools/cli/installers/lib/core/config-collector.js +39 -11
  78. package/tools/cli/installers/lib/core/ide-config-manager.js +3 -1
  79. package/tools/cli/installers/lib/core/installer.js +20 -9
  80. package/tools/cli/installers/lib/core/manifest-generator.js +3 -1
  81. package/tools/cli/installers/lib/core/manifest.js +6 -2
  82. package/tools/cli/installers/lib/ide/auggie.js +9 -20
  83. package/tools/cli/installers/lib/ide/claude-code.js +33 -3
  84. package/tools/cli/installers/lib/ide/cursor.js +17 -0
  85. package/tools/cli/installers/lib/modules/manager.js +134 -0
  86. package/tools/cli/lib/config.js +3 -1
  87. package/tools/cli/lib/ui.js +5 -5
  88. package/tools/cli/lib/yaml-format.js +2 -1
  89. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  90. package/tools/schema/agent.js +3 -0
  91. package/v6-open-items.md +3 -9
  92. package/web-bundles/bmm/agents/analyst.xml +5028 -0
  93. package/web-bundles/bmm/agents/architect.xml +2047 -0
  94. package/web-bundles/bmm/agents/dev.xml +68 -0
  95. package/web-bundles/bmm/agents/pm.xml +3808 -0
  96. package/web-bundles/bmm/agents/sm.xml +77 -0
  97. package/web-bundles/bmm/agents/tea.xml +66 -0
  98. package/web-bundles/bmm/agents/tech-writer.xml +84 -0
  99. package/web-bundles/bmm/agents/ux-designer.xml +2018 -0
  100. package/web-bundles/bmm/teams/team-fullstack.xml +12039 -0
  101. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  102. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -67
  103. package/.claude/commands/bmad/bmm/agents/architect.md +0 -72
  104. package/.claude/commands/bmad/bmm/agents/dev.md +0 -69
  105. package/.claude/commands/bmad/bmm/agents/paige.md +0 -82
  106. package/.claude/commands/bmad/bmm/agents/pm.md +0 -76
  107. package/.claude/commands/bmad/bmm/agents/sm.md +0 -85
  108. package/.claude/commands/bmad/bmm/agents/tea.md +0 -72
  109. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -82
  110. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -71
  111. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  112. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -15
  113. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -15
  114. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -15
  115. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -15
  116. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -15
  117. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -15
  118. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -15
  119. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -15
  120. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -15
  121. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -15
  122. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  123. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -15
  124. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -15
  125. package/.claude/commands/bmad/bmm/workflows/research.md +0 -15
  126. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -15
  127. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +0 -15
  128. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -15
  129. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -15
  130. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -15
  131. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -15
  132. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +0 -15
  133. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -15
  134. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -15
  135. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -15
  136. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  137. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  138. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  139. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  140. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  141. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  142. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  143. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  144. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  145. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  146. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  147. package/.claude/commands/bmad/core/workflows/README.md +0 -37
  148. package/bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  149. package/bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  150. package/bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  151. package/bmad/_cfg/agents/bmm-paige.customize.yaml +0 -42
  152. package/bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  153. package/bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  154. package/bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  155. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  156. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  157. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +0 -42
  158. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +0 -42
  159. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +0 -42
  160. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +0 -42
  161. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +0 -42
  162. package/bmad/bmb/agents/bmad-builder.md.bak +0 -70
  163. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -23
  164. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -42
  165. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
  166. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -40
  167. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +0 -33
  168. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +0 -34
  169. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -27
  170. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -29
  171. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -32
  172. package/bmad/bmm/README.md +0 -128
  173. package/bmad/bmm/README.md.bak +0 -169
  174. package/bmad/bmm/agents/analyst.md +0 -67
  175. package/bmad/bmm/agents/analyst.md.bak +0 -67
  176. package/bmad/bmm/agents/architect.md +0 -72
  177. package/bmad/bmm/agents/architect.md.bak +0 -73
  178. package/bmad/bmm/agents/dev.md +0 -69
  179. package/bmad/bmm/agents/dev.md.bak +0 -69
  180. package/bmad/bmm/agents/paige.md.bak +0 -82
  181. package/bmad/bmm/agents/pm.md +0 -76
  182. package/bmad/bmm/agents/pm.md.bak +0 -76
  183. package/bmad/bmm/agents/sm.md +0 -85
  184. package/bmad/bmm/agents/sm.md.bak +0 -85
  185. package/bmad/bmm/agents/tea.md +0 -72
  186. package/bmad/bmm/agents/tea.md.bak +0 -72
  187. package/bmad/bmm/agents/tech-writer.md +0 -82
  188. package/bmad/bmm/agents/ux-designer.md +0 -71
  189. package/bmad/bmm/agents/ux-designer.md.bak +0 -71
  190. package/bmad/bmm/config.yaml +0 -17
  191. package/bmad/bmm/docs/README.md +0 -235
  192. package/bmad/bmm/docs/agents-guide.md +0 -1057
  193. package/bmad/bmm/docs/brownfield-guide.md +0 -759
  194. package/bmad/bmm/docs/enterprise-agentic-development.md +0 -680
  195. package/bmad/bmm/docs/faq.md +0 -589
  196. package/bmad/bmm/docs/glossary.md +0 -321
  197. package/bmad/bmm/docs/party-mode.md +0 -224
  198. package/bmad/bmm/docs/quick-spec-flow.md +0 -652
  199. package/bmad/bmm/docs/quick-start.md +0 -366
  200. package/bmad/bmm/docs/scale-adaptive-system.md +0 -599
  201. package/bmad/bmm/docs/troubleshooting.md +0 -680
  202. package/bmad/bmm/docs/workflow-architecture-reference.md +0 -371
  203. package/bmad/bmm/docs/workflow-document-project-reference.md +0 -487
  204. package/bmad/bmm/docs/workflows-analysis.md +0 -670
  205. package/bmad/bmm/docs/workflows-implementation.md +0 -1758
  206. package/bmad/bmm/docs/workflows-planning.md +0 -1086
  207. package/bmad/bmm/docs/workflows-solutioning.md +0 -726
  208. package/bmad/bmm/tasks/daily-standup.xml +0 -85
  209. package/bmad/bmm/teams/team-fullstack.yaml +0 -11
  210. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  211. package/bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  212. package/bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  213. package/bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  214. package/bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  215. package/bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  216. package/bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  217. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  218. package/bmad/bmm/testarch/knowledge/network-first.md +0 -486
  219. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  220. package/bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  221. package/bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  222. package/bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  223. package/bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  224. package/bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  225. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  226. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  227. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  228. package/bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  229. package/bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  230. package/bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  231. package/bmad/bmm/testarch/tea-index.csv +0 -22
  232. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -110
  233. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  234. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  235. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -423
  236. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  237. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  238. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  239. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  240. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  241. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  242. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  243. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  244. package/bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  245. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  246. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -439
  247. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -679
  248. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -133
  249. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -538
  250. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  251. package/bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  252. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  253. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  254. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  255. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1319
  256. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  257. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -64
  258. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  259. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -349
  260. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -63
  261. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +0 -395
  262. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +0 -33
  263. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  264. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -423
  265. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -237
  266. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  267. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  268. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -214
  269. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -58
  270. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  271. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  272. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -1133
  273. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  274. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -87
  275. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  276. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +0 -60
  277. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  278. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -322
  279. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  280. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  281. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -64
  282. package/bmad/bmm/workflows/document-project/checklist.md +0 -245
  283. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  284. package/bmad/bmm/workflows/document-project/instructions.md +0 -222
  285. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  286. package/bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  287. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  288. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  289. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  290. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -34
  291. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  292. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  293. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  294. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  295. package/bmad/bmm/workflows/techdoc/documentation-standards.md +0 -239
  296. package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +0 -238
  297. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  298. package/bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  299. package/bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  300. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -52
  301. package/bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  302. package/bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  303. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -61
  304. package/bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  305. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  306. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  307. package/bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  308. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -53
  309. package/bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  310. package/bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  311. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -53
  312. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  313. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  314. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  315. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -56
  316. package/bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  317. package/bmad/bmm/workflows/testarch/test-design/instructions.md +0 -621
  318. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  319. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -52
  320. package/bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  321. package/bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  322. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  323. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -53
  324. package/bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  325. package/bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  326. package/bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  327. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -66
  328. package/bmad/bmm/workflows/workflow-status/init/instructions.md +0 -771
  329. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -27
  330. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +0 -27
  331. package/bmad/bmm/workflows/workflow-status/instructions.md +0 -386
  332. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -120
  333. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -108
  334. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  335. package/bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -97
  336. package/bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -88
  337. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  338. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  339. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  340. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  341. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -31
  342. package/bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  343. package/bmad/cis/README.md +0 -153
  344. package/bmad/cis/agents/README.md +0 -104
  345. package/bmad/cis/agents/brainstorming-coach.md +0 -62
  346. package/bmad/cis/agents/brainstorming-coach.md.bak +0 -62
  347. package/bmad/cis/agents/creative-problem-solver.md +0 -62
  348. package/bmad/cis/agents/creative-problem-solver.md.bak +0 -62
  349. package/bmad/cis/agents/design-thinking-coach.md +0 -62
  350. package/bmad/cis/agents/design-thinking-coach.md.bak +0 -62
  351. package/bmad/cis/agents/innovation-strategist.md +0 -62
  352. package/bmad/cis/agents/innovation-strategist.md.bak +0 -62
  353. package/bmad/cis/agents/storyteller.md +0 -59
  354. package/bmad/cis/agents/storyteller.md.bak +0 -59
  355. package/bmad/cis/config.yaml +0 -10
  356. package/bmad/cis/teams/creative-squad.yaml +0 -6
  357. package/bmad/cis/workflows/README.md +0 -139
  358. package/bmad/cis/workflows/design-thinking/README.md +0 -56
  359. package/bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  360. package/bmad/cis/workflows/design-thinking/instructions.md +0 -200
  361. package/bmad/cis/workflows/design-thinking/template.md +0 -111
  362. package/bmad/cis/workflows/design-thinking/workflow.yaml +0 -32
  363. package/bmad/cis/workflows/innovation-strategy/README.md +0 -56
  364. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  365. package/bmad/cis/workflows/innovation-strategy/instructions.md +0 -274
  366. package/bmad/cis/workflows/innovation-strategy/template.md +0 -189
  367. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -32
  368. package/bmad/cis/workflows/problem-solving/README.md +0 -56
  369. package/bmad/cis/workflows/problem-solving/instructions.md +0 -250
  370. package/bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  371. package/bmad/cis/workflows/problem-solving/template.md +0 -165
  372. package/bmad/cis/workflows/problem-solving/workflow.yaml +0 -32
  373. package/bmad/cis/workflows/storytelling/README.md +0 -58
  374. package/bmad/cis/workflows/storytelling/instructions.md +0 -291
  375. package/bmad/cis/workflows/storytelling/story-types.csv +0 -26
  376. package/bmad/cis/workflows/storytelling/template.md +0 -113
  377. package/bmad/cis/workflows/storytelling/workflow.yaml +0 -32
  378. package/bmad/core/agents/bmad-master.md.bak +0 -71
  379. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  380. package/src/modules/bmm/teams/team-gamedev.yaml +0 -14
  381. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  382. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  383. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  384. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  385. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  386. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  387. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +0 -0
  388. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  389. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +0 -0
  390. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  391. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  392. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  393. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  394. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  395. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  396. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  397. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  398. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  399. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  400. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  401. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  402. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  403. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  404. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  405. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  406. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  407. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  408. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  409. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  410. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  411. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  412. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  413. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  414. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  415. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  416. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  417. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  418. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +0 -0
  419. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  420. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/instructions-narrative.md +0 -0
  421. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
  422. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-patterns.yaml +0 -0
  423. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-template.md +0 -0
  424. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/checklist.md +0 -0
  425. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/decision-catalog.yaml +0 -0
  426. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/pattern-categories.csv +0 -0
  427. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/backlog_template.md +0 -0
  428. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/checklist.md +0 -0
  429. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/instructions.md +0 -0
  430. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/checklist.md +0 -0
  431. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/instructions.md +0 -0
  432. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/checklist.md +0 -0
  433. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/instructions.md +0 -0
  434. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/template.md +0 -0
  435. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/AUDIT-REPORT.md +0 -0
  436. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/checklist.md +0 -0
  437. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/instructions.md +0 -0
  438. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/checklist.md +0 -0
  439. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/instructions.md +0 -0
  440. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/template.md +0 -0
  441. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/instructions.md +0 -0
  442. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/checklist.md +0 -0
  443. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/instructions.md +0 -0
  444. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/sprint-status-template.yaml +0 -0
  445. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/checklist.md +0 -0
  446. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/context-template.xml +0 -0
  447. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/instructions.md +0 -0
  448. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/instructions.md +0 -0
  449. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/instructions.md +0 -0
@@ -4,43 +4,115 @@
4
4
 
5
5
  ## Overview
6
6
 
7
- Phase 3 (Solutioning) workflows translate **what** to build (from Planning) into **how** to build it (technical design). This phase is **required for Levels 3-4** and **optional for Level 2** projects.
7
+ Phase 3 (Solutioning) workflows translate **what** to build (from Planning) into **how** to build it (technical design). This phase prevents agent conflicts in multi-epic projects by documenting architectural decisions before implementation begins.
8
8
 
9
- **Key principle:** Prevent agent conflicts by making architectural decisions explicit and documented before implementation begins.
9
+ **Key principle:** Make technical decisions explicit and documented so all agents implement consistently. Prevent one agent choosing REST while another chooses GraphQL.
10
+
11
+ **Required for:** BMad Method (complex projects), Enterprise Method
12
+
13
+ **Optional for:** BMad Method (simple projects), Quick Flow (skip entirely)
14
+
15
+ ---
16
+
17
+ ## Phase 3 Solutioning Workflow Map
18
+
19
+ ```mermaid
20
+ %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','fontSize':'16px','fontFamily':'arial'}}}%%
21
+ graph TB
22
+ FromPlanning["<b>FROM Phase 2 Planning</b><br/>PRD/GDD/Tech-Spec complete"]
23
+
24
+ subgraph QuickFlow["<b>QUICK FLOW PATH</b>"]
25
+ direction TB
26
+ SkipArch["<b>Skip Phase 3</b><br/>Go directly to Implementation"]
27
+ end
28
+
29
+ subgraph BMadEnterprise["<b>BMAD METHOD + ENTERPRISE (Same Start)</b>"]
30
+ direction TB
31
+ Architecture["<b>Architect: architecture</b><br/>System design + ADRs"]
32
+
33
+ subgraph Optional["<b>ENTERPRISE ADDITIONS (Optional)</b>"]
34
+ direction LR
35
+ SecArch["<b>Architect: security-architecture</b><br/>(Future)"]
36
+ DevOps["<b>Architect: devops-strategy</b><br/>(Future)"]
37
+ end
38
+
39
+ GateCheck["<b>Architect: solutioning-gate-check</b><br/>Validation before Phase 4"]
40
+
41
+ Architecture -.->|Enterprise only| Optional
42
+ Architecture --> GateCheck
43
+ Optional -.-> GateCheck
44
+ end
45
+
46
+ subgraph Result["<b>GATE CHECK RESULTS</b>"]
47
+ direction LR
48
+ Pass["✅ PASS<br/>Proceed to Phase 4"]
49
+ Concerns["⚠️ CONCERNS<br/>Proceed with caution"]
50
+ Fail["❌ FAIL<br/>Resolve issues first"]
51
+ end
52
+
53
+ FromPlanning -->|Quick Flow| QuickFlow
54
+ FromPlanning -->|BMad Method<br/>or Enterprise| Architecture
55
+
56
+ QuickFlow --> Phase4["<b>Phase 4: Implementation</b>"]
57
+ GateCheck --> Result
58
+ Pass --> Phase4
59
+ Concerns --> Phase4
60
+ Fail -.->|Fix issues| Architecture
61
+
62
+ style FromPlanning fill:#e1bee7,stroke:#6a1b9a,stroke-width:2px,color:#000
63
+ style QuickFlow fill:#c5e1a5,stroke:#33691e,stroke-width:3px,color:#000
64
+ style BMadEnterprise fill:#90caf9,stroke:#0d47a1,stroke-width:3px,color:#000
65
+ style Optional fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#000
66
+ style Result fill:#fff9c4,stroke:#f57f17,stroke-width:3px,color:#000
67
+ style Phase4 fill:#ffcc80,stroke:#e65100,stroke-width:2px,color:#000
68
+
69
+ style SkipArch fill:#aed581,stroke:#1b5e20,stroke-width:2px,color:#000
70
+ style Architecture fill:#42a5f5,stroke:#0d47a1,stroke-width:2px,color:#000
71
+ style SecArch fill:#ef9a9a,stroke:#c62828,stroke-width:2px,color:#000
72
+ style DevOps fill:#ef9a9a,stroke:#c62828,stroke-width:2px,color:#000
73
+ style GateCheck fill:#42a5f5,stroke:#0d47a1,stroke-width:2px,color:#000
74
+ style Pass fill:#81c784,stroke:#388e3c,stroke-width:2px,color:#000
75
+ style Concerns fill:#ffb74d,stroke:#f57f17,stroke-width:2px,color:#000
76
+ style Fail fill:#e57373,stroke:#d32f2f,stroke-width:2px,color:#000
77
+ ```
78
+
79
+ ---
10
80
 
11
81
  ## Quick Reference
12
82
 
13
- | Workflow | Project Levels | Duration | Purpose |
14
- | -------------------------- | -------------- | --------- | ------------------------------------------- |
15
- | **architecture** | 2-4 | 2-6 hours | Technical architecture and design decisions |
16
- | **solutioning-gate-check** | 3-4 | 15-30 min | Validate planning/solutioning completeness |
83
+ | Workflow | Agent | Track | Purpose |
84
+ | -------------------------- | --------- | ------------------------ | ------------------------------------------- |
85
+ | **architecture** | Architect | BMad Method, Enterprise | Technical architecture and design decisions |
86
+ | **solutioning-gate-check** | Architect | BMad Complex, Enterprise | Validate planning/solutioning completeness |
17
87
 
18
88
  **When to Skip Solutioning:**
19
89
 
20
- - **Level 0-1**: Simple changes don't need architecture → Skip to Phase 4 (Implementation)
21
- - **Level 2**: Optional - use if technically complex, skip if straightforward
90
+ - **Quick Flow:** Simple changes don't need architecture → Skip to Phase 4
22
91
 
23
92
  **When Solutioning is Required:**
24
93
 
25
- - **Level 3-4**: Multi-epic, multi-agent projects Architecture prevents conflicts
94
+ - **BMad Method:** Multi-epic projects need architecture to prevent conflicts
95
+ - **Enterprise:** Same as BMad Method, plus optional extended workflows (test architecture, security architecture, devops strategy) added AFTER architecture but BEFORE gate check
26
96
 
27
97
  ---
28
98
 
29
- ## Understanding the Solutioning Phase
30
-
31
- ### Why Solutioning Matters
99
+ ## Why Solutioning Matters
32
100
 
33
- **Problem Without Solutioning:**
101
+ ### The Problem Without Solutioning
34
102
 
35
- 1. DEV agent implements Epic 1 using REST API
36
- 2. DEV agent implements Epic 2 using GraphQL
37
- 3. **Conflict**: Inconsistent API design, integration nightmare
103
+ ```
104
+ Agent 1 implements Epic 1 using REST API
105
+ Agent 2 implements Epic 2 using GraphQL
106
+ Result: Inconsistent API design, integration nightmare
107
+ ```
38
108
 
39
- **Solution With Solutioning:**
109
+ ### The Solution With Solutioning
40
110
 
41
- 1. **architecture** workflow decides: "Use GraphQL for all APIs"
42
- 2. All DEV agents follow architecture decisions
43
- 3. **Result**: Consistent implementation, no conflicts
111
+ ```
112
+ architecture workflow decides: "Use GraphQL for all APIs"
113
+ All agents follow architecture decisions
114
+ Result: Consistent implementation, no conflicts
115
+ ```
44
116
 
45
117
  ### Solutioning vs Planning
46
118
 
@@ -53,226 +125,81 @@ Phase 3 (Solutioning) workflows translate **what** to build (from Planning) into
53
125
  | Document | PRD/GDD | Architecture + Tech Spec |
54
126
  | Level | Business logic | Implementation detail |
55
127
 
56
- ### Scale-Adaptive Solutioning
57
-
58
- **Level 0-1 (Skip Solutioning):**
59
-
60
- - Planning: Quick Spec (tech-spec workflow)
61
- - Solutioning: **None**
62
- - Implementation: dev-story directly
63
-
64
- **Level 2 (Optional Solutioning):**
65
-
66
- - Planning: Lightweight PRD
67
- - Solutioning: **Optional** architecture
68
- - Implementation: dev-story with or without architecture
69
-
70
- **Level 3-4 (Required Solutioning):**
71
-
72
- - Planning: Standard/Comprehensive PRD
73
- - Solutioning: **Required** architecture + epic-tech-context
74
- - Gate Check: **Required** solutioning-gate-check
75
- - Implementation: dev-story guided by architecture
76
-
77
128
  ---
78
129
 
79
- ## architecture
130
+ ## Workflow Descriptions
80
131
 
81
- ### Purpose
132
+ ### architecture
82
133
 
83
- Collaborative architectural decision facilitation that produces a decision-focused architecture document optimized for preventing agent conflicts. Replaces template-driven architecture with intelligent, adaptive conversation.
134
+ **Purpose:** Make technical decisions explicit to prevent agent conflicts. Produces decision-focused architecture document optimized for AI consistency.
84
135
 
85
136
  **Agent:** Architect
86
- **Phase:** 3 (Solutioning)
87
- **Project Levels:** 2-4
88
- **Required:** Level 3-4, Optional Level 2
89
- **Typical Duration:**
90
-
91
- - Level 2: 1-2 hours (Simple architecture)
92
- - Level 3: 2-4 hours (Standard architecture)
93
- - Level 4: 4-8 hours (Complex architecture with ADRs)
94
137
 
95
- ### When to Use
138
+ **When to Use:**
96
139
 
97
- - Multi-epic projects (Level 3-4)
140
+ - Multi-epic projects (BMad Complex, Enterprise)
98
141
  - Cross-cutting technical concerns
99
- - Multiple agents will implement different parts
142
+ - Multiple agents implementing different parts
100
143
  - Integration complexity exists
101
144
  - Technology choices need alignment
102
145
 
103
146
  **When to Skip:**
104
147
 
105
- - Level 0-1 (simple changes)
106
- - Level 2 with straightforward tech stack
148
+ - Quick Flow (simple changes)
149
+ - BMad Method Simple with straightforward tech stack
107
150
  - Single epic with clear technical approach
108
151
 
109
- ### Adaptive Conversation Approach
152
+ **Adaptive Conversation Approach:**
110
153
 
111
- **This is NOT a template filler.** The architecture workflow:
154
+ This is NOT a template filler. The architecture workflow:
112
155
 
113
- 1. **Discovers** your technical needs through conversation
156
+ 1. **Discovers** technical needs through conversation
114
157
  2. **Proposes** architectural options with trade-offs
115
158
  3. **Documents** decisions that prevent agent conflicts
116
159
  4. **Focuses** on decision points, not exhaustive documentation
117
160
 
118
- ### Process Overview
119
-
120
- **Phase 1: Context Discovery (Steps 1-3)**
121
-
122
- - Load PRD/GDD for requirements
123
- - Understand project level and complexity
124
- - Identify technical constraints
125
- - Determine existing architecture (if brownfield)
126
-
127
- **Phase 2: Architecture Definition (Steps 4-10)**
128
-
129
- - System architecture (monolith, microservices, etc.)
130
- - Data architecture (database, state management)
131
- - API design (REST, GraphQL, gRPC)
132
- - Frontend architecture (if applicable)
133
- - Integration patterns
134
- - Security architecture
135
- - Deployment architecture
136
-
137
- **Phase 3: Decision Documentation (Steps 11-13)**
138
-
139
- - Architecture Decision Records (ADRs)
140
- - Trade-off analysis
141
- - Technology selections with rationale
142
- - Non-negotiable standards
143
-
144
- **Phase 4: Implementation Guidance (Step 14)**
145
-
146
- - Epic-specific technical notes
147
- - Directory structure
148
- - Coding standards
149
- - Testing strategy
150
-
151
- ### Inputs
152
-
153
- Required:
154
-
155
- - **PRD.md** or **GDD.md** (from Phase 2)
156
- - **epics.md** (epic breakdown)
157
-
158
- Optional:
161
+ **Key Outputs:**
159
162
 
160
- - Existing architecture documentation (brownfield)
161
- - Technical constraints document
162
- - Infrastructure requirements
163
- - Security requirements
163
+ **architecture.md** containing:
164
164
 
165
- ### Outputs
165
+ 1. **Architecture Overview** - System context, principles, style
166
+ 2. **System Architecture** - High-level diagram, component interactions, communication patterns
167
+ 3. **Data Architecture** - Database design, state management, caching, data flow
168
+ 4. **API Architecture** - API style (REST/GraphQL/gRPC), auth, versioning, error handling
169
+ 5. **Frontend Architecture** (if applicable) - Framework, state management, component architecture, routing
170
+ 6. **Integration Architecture** - Third-party integrations, message queuing, event-driven patterns
171
+ 7. **Security Architecture** - Auth/authorization, data protection, security boundaries
172
+ 8. **Deployment Architecture** - Deployment model, CI/CD, environment strategy, monitoring
173
+ 9. **Architecture Decision Records (ADRs)** - Key decisions with context, options, trade-offs, rationale
174
+ 10. **Epic-Specific Guidance** - Technical notes per epic, implementation priorities, dependencies
175
+ 11. **Standards and Conventions** - Directory structure, naming conventions, code organization, testing
166
176
 
167
- **Primary Output:** `architecture-{project-name}-{date}.md`
168
-
169
- **Document Structure:**
170
-
171
- **1. Architecture Overview**
172
-
173
- - System context
174
- - Key principles
175
- - Architectural style
176
-
177
- **2. System Architecture**
178
-
179
- - High-level system diagram
180
- - Component interactions
181
- - Communication patterns
182
-
183
- **3. Data Architecture**
184
-
185
- - Database design approach
186
- - State management
187
- - Caching strategy
188
- - Data flow
189
-
190
- **4. API Architecture**
191
-
192
- - API style (REST/GraphQL/gRPC)
193
- - Authentication/authorization
194
- - Versioning strategy
195
- - Error handling patterns
196
-
197
- **5. Frontend Architecture** (if applicable)
198
-
199
- - Framework selection
200
- - State management
201
- - Component architecture
202
- - Routing approach
203
-
204
- **6. Integration Architecture**
205
-
206
- - Third-party integrations
207
- - Message queuing
208
- - Event-driven patterns
209
- - API gateways
210
-
211
- **7. Security Architecture**
212
-
213
- - Authentication/authorization
214
- - Data protection
215
- - Security boundaries
216
- - Compliance requirements
217
-
218
- **8. Deployment Architecture**
219
-
220
- - Deployment model
221
- - CI/CD pipeline
222
- - Environment strategy
223
- - Monitoring and observability
224
-
225
- **9. Architecture Decision Records (ADRs)**
226
-
227
- - Key decisions with context
228
- - Options considered
229
- - Trade-off analysis
230
- - Rationale for choices
231
-
232
- **10. Epic-Specific Guidance**
233
-
234
- - Technical notes per epic
235
- - Implementation priorities
236
- - Dependency sequencing
237
-
238
- **11. Standards and Conventions**
239
-
240
- - Directory structure
241
- - Naming conventions
242
- - Code organization
243
- - Testing requirements
244
-
245
- ### Architecture Decision Records (ADRs)
246
-
247
- **Purpose:** Document **why** decisions were made, not just what was decided.
248
-
249
- **ADR Template:**
177
+ **ADR Format (Brief):**
250
178
 
251
179
  ```markdown
252
180
  ## ADR-001: Use GraphQL for All APIs
253
181
 
254
- **Status:** Accepted
255
- **Date:** 2025-11-02
182
+ **Status:** Accepted | **Date:** 2025-11-02
183
+
256
184
  **Context:** PRD requires flexible querying across multiple epics
257
185
 
258
186
  **Decision:** Use GraphQL for all client-server communication
259
187
 
260
188
  **Options Considered:**
261
189
 
262
- 1. REST API - Familiar, well-understood, but requires multiple endpoints
263
- 2. GraphQL - Flexible querying, single endpoint, learning curve
264
- 3. gRPC - High performance, but poor browser support
190
+ 1. REST - Familiar but requires multiple endpoints
191
+ 2. GraphQL - Flexible querying, learning curve
192
+ 3. gRPC - High performance, poor browser support
265
193
 
266
194
  **Rationale:**
267
195
 
268
- - PRD requires flexible data fetching (Epic 1, Epic 3)
196
+ - PRD requires flexible data fetching (Epic 1, 3)
269
197
  - Mobile app needs bandwidth optimization (Epic 2)
270
- - Team has GraphQL experience from previous project
271
- - Allows frontend flexibility without backend changes
198
+ - Team has GraphQL experience
272
199
 
273
200
  **Consequences:**
274
201
 
275
- - Positive: Flexible querying, reduced API versioning
202
+ - Positive: Flexible querying, reduced versioning
276
203
  - Negative: Caching complexity, N+1 query risk
277
204
  - Mitigation: Use DataLoader for batching
278
205
 
@@ -280,94 +207,40 @@ Optional:
280
207
 
281
208
  - Epic 1: User Management → GraphQL mutations
282
209
  - Epic 2: Mobile App → Optimized queries
283
- - Epic 3: Admin Dashboard → Complex nested queries
284
- ```
285
-
286
- ### Example: Level 3 Architecture for E-Commerce Platform
287
-
288
- **System Architecture:**
289
-
290
- - Monolith (early stage, < 50K users)
291
- - PostgreSQL database
292
- - Redis for caching and sessions
293
- - Next.js for frontend
294
- - Deployed on Vercel + Railway
295
-
296
- **Key ADRs:**
297
-
298
- 1. **ADR-001**: Use Next.js (vs React + Express)
299
- - Rationale: SEO critical, SSR needed, unified codebase
300
- 2. **ADR-002**: Use GraphQL (vs REST)
301
- - Rationale: Flexible querying for dashboard, mobile optimization
302
- 3. **ADR-003**: Use Stripe (vs PayPal + Stripe)
303
- - Rationale: Simpler integration, lower fees, better UX
304
-
305
- **Epic Guidance:**
306
-
307
- - **Epic 1 (Auth)**: NextAuth.js with PostgreSQL adapter
308
- - **Epic 2 (Products)**: GraphQL with DataLoader for categories
309
- - **Epic 3 (Cart)**: Redis for session-based cart (no DB writes)
310
- - **Epic 4 (Checkout)**: Stripe webhooks for payment confirmation
311
-
312
- **Standards:**
313
-
314
- ```
315
- Directory Structure:
316
- /pages - Next.js routes
317
- /components - Reusable UI components
318
- /lib - Business logic
319
- /graphql - GraphQL schema and resolvers
320
- /db - Prisma models and migrations
321
- /services - Third-party integrations
322
- /tests - Test files mirror /lib
323
210
  ```
324
211
 
325
- ### Related Workflows
212
+ **Example:** E-commerce platform → Monolith + PostgreSQL + Redis + Next.js + GraphQL, with ADRs explaining each choice and epic-specific guidance.
326
213
 
327
- - **prd/gdd** (Phase 2) - Requirements input
328
- - **solutioning-gate-check** (Phase 3) - Validate completeness
329
- - **tech-spec** (Phase 3) - Epic-level specifications (optional)
330
- - **sprint-planning** (Phase 4) - Implementation tracking
214
+ **Integration:** Feeds into Phase 4 (Implementation). All dev agents reference architecture during implementation.
331
215
 
332
216
  ---
333
217
 
334
- ## solutioning-gate-check
335
-
336
- ### Purpose
337
-
338
- Systematically validate that all planning and solutioning phases are complete and properly aligned before transitioning to Phase 4 implementation. Ensures PRD, architecture, and stories are cohesive with no gaps or contradictions.
339
-
340
- **Agent:** SM (Scrum Master)
341
- **Phase:** 3 (Solutioning)
342
- **Project Levels:** 3-4
343
- **Required:** Level 3-4 only
344
- **Typical Duration:** 15-30 minutes
218
+ ### solutioning-gate-check
345
219
 
346
- ### When to Use
220
+ **Purpose:** Systematically validate that planning and solutioning are complete and aligned before Phase 4 implementation. Ensures PRD, architecture, and stories are cohesive with no gaps.
347
221
 
348
- **Always run before starting Phase 4** for Level 3-4 projects.
222
+ **Agent:** Architect
349
223
 
350
- **Trigger Points:**
224
+ **When to Use:**
351
225
 
226
+ - **Always** before Phase 4 for BMad Complex and Enterprise projects
352
227
  - After architecture workflow completes
353
228
  - Before sprint-planning workflow
354
229
  - When stakeholders request readiness check
355
- - Before kicking off implementation
356
230
 
357
- **Skip if:**
231
+ **When to Skip:**
358
232
 
359
- - Level 0-2 (no solutioning phase)
360
- - Exploratory prototype (no formal planning)
233
+ - Quick Flow (no solutioning)
234
+ - BMad Simple (no gate check required)
361
235
 
362
- ### Purpose of Gate Check
236
+ **Purpose of Gate Check:**
363
237
 
364
- **Prevents Common Issues:**
238
+ **Prevents:**
365
239
 
366
240
  - ❌ Architecture doesn't address all epics
367
241
  - ❌ Stories conflict with architecture decisions
368
242
  - ❌ Requirements ambiguous or contradictory
369
243
  - ❌ Missing critical dependencies
370
- - ❌ Unclear success criteria
371
244
 
372
245
  **Ensures:**
373
246
 
@@ -375,269 +248,151 @@ Systematically validate that all planning and solutioning phases are complete an
375
248
  - ✅ All epics have clear technical approach
376
249
  - ✅ No contradictions or gaps
377
250
  - ✅ Team ready to implement
378
- - ✅ Stakeholders aligned
379
-
380
- ### Process Overview
381
-
382
- **Phase 1: Document Loading (Step 1)**
383
-
384
- - Load PRD/GDD
385
- - Load architecture document
386
- - Load epic files
387
- - Load story files (if created)
388
-
389
- **Phase 2: Completeness Check (Steps 2-4)**
390
-
391
- - **PRD Completeness**: All required sections present
392
- - **Architecture Completeness**: All technical areas addressed
393
- - **Epic Completeness**: All epics from PRD have stories
394
-
395
- **Phase 3: Alignment Check (Steps 5-7)**
396
251
 
397
- - **PRD ↔ Architecture**: Architecture addresses all requirements
398
- - **Architecture ↔ Epics**: Epics align with architecture decisions
399
- - **Cross-Epic**: No contradictions between epics
400
-
401
- **Phase 4: Quality Check (Steps 8-10)**
402
-
403
- - **Acceptance Criteria**: All stories have clear AC
404
- - **Dependencies**: Dependencies identified and sequenced
405
- - **Risks**: High-risk items have mitigation plans
406
-
407
- **Phase 5: Reporting (Step 11)**
408
-
409
- - Generate gate check report
410
- - List gaps and blockers
411
- - Provide recommendations
412
- - Issue PASS/CONCERNS/FAIL decision
413
-
414
- ### Gate Check Criteria
252
+ **Check Criteria:**
415
253
 
416
254
  **PRD/GDD Completeness:**
417
255
 
418
- - [ ] Problem statement clear and evidence-based
419
- - [ ] Success metrics defined
420
- - [ ] User personas identified
421
- - [ ] Feature requirements complete
422
- - [ ] All epics defined with objectives
423
- - [ ] Non-functional requirements (NFRs) specified
424
- - [ ] Risks and assumptions documented
256
+ - Problem statement clear and evidence-based
257
+ - Success metrics defined
258
+ - User personas identified
259
+ - Feature requirements complete
260
+ - All epics defined with objectives
261
+ - Non-functional requirements (NFRs) specified
262
+ - Risks and assumptions documented
425
263
 
426
264
  **Architecture Completeness:**
427
265
 
428
- - [ ] System architecture defined
429
- - [ ] Data architecture specified
430
- - [ ] API architecture decided
431
- - [ ] Key ADRs documented
432
- - [ ] Security architecture addressed
433
- - [ ] Epic-specific guidance provided
434
- - [ ] Standards and conventions defined
266
+ - System architecture defined
267
+ - Data architecture specified
268
+ - API architecture decided
269
+ - Key ADRs documented
270
+ - Security architecture addressed
271
+ - Epic-specific guidance provided
272
+ - Standards and conventions defined
435
273
 
436
274
  **Epic/Story Completeness:**
437
275
 
438
- - [ ] All PRD features mapped to stories
439
- - [ ] Stories have acceptance criteria
440
- - [ ] Stories prioritized (P0/P1/P2/P3)
441
- - [ ] Dependencies identified
442
- - [ ] Story sequencing logical
276
+ - All PRD features mapped to stories
277
+ - Stories have acceptance criteria
278
+ - Stories prioritized (P0/P1/P2/P3)
279
+ - Dependencies identified
280
+ - Story sequencing logical
443
281
 
444
282
  **Alignment Checks:**
445
283
 
446
- - [ ] Architecture addresses all PRD requirements
447
- - [ ] Stories align with architecture decisions
448
- - [ ] No contradictions between epics
449
- - [ ] NFRs have technical approach
450
- - [ ] Integration points clear
451
-
452
- **Quality Checks:**
284
+ - Architecture addresses all PRD requirements
285
+ - Stories align with architecture decisions
286
+ - No contradictions between epics
287
+ - NFRs have technical approach
288
+ - Integration points clear
453
289
 
454
- - [ ] Acceptance criteria testable
455
- - [ ] Stories appropriately sized (<5 days)
456
- - [ ] High-risk items have mitigation
457
- - [ ] Success metrics measurable
290
+ **Gate Decision Logic:**
458
291
 
459
- ### Gate Decision Logic
292
+ **✅ PASS**
460
293
 
461
- **PASS**
462
-
463
- - All critical criteria met (PRD, Architecture, Epic completeness)
294
+ - All critical criteria met
464
295
  - Minor gaps acceptable with documented plan
465
- - **Action**: Proceed to Phase 4 (Implementation)
296
+ - **Action:** Proceed to Phase 4
466
297
 
467
- **CONCERNS** ⚠️
298
+ **⚠️ CONCERNS**
468
299
 
469
300
  - Some criteria not met but not blockers
470
301
  - Gaps identified with clear resolution path
471
- - Risks documented with mitigation
472
- - **Action**: Proceed with caution, address gaps in parallel
302
+ - **Action:** Proceed with caution, address gaps in parallel
473
303
 
474
- **FAIL**
304
+ **❌ FAIL**
475
305
 
476
306
  - Critical gaps or contradictions
477
307
  - Architecture missing key decisions
478
308
  - Stories conflict with PRD/architecture
479
- - **Action**: BLOCK Phase 4, resolve issues first
480
-
481
- ### Inputs
309
+ - **Action:** BLOCK Phase 4, resolve issues first
482
310
 
483
- Required:
311
+ **Key Outputs:**
484
312
 
485
- - PRD.md or GDD.md
486
- - architecture.md
487
- - epics.md
488
- - Epic files (epic-1-_.md, epic-2-_.md, etc.)
489
-
490
- Optional:
491
-
492
- - Story files (if already created)
493
- - Tech spec documents
494
-
495
- ### Outputs
496
-
497
- **Primary Output:** `solutioning-gate-check-{date}.md`
498
-
499
- **Document Structure:**
313
+ **solutioning-gate-check.md** containing:
500
314
 
501
315
  1. Executive Summary (PASS/CONCERNS/FAIL)
502
- 2. Completeness Assessment
503
- - PRD/GDD Score
504
- - Architecture Score
505
- - Epic/Story Score
506
- 3. Alignment Assessment
507
- - PRD ↔ Architecture alignment
508
- - Architecture ↔ Epic alignment
509
- - Cross-epic consistency
510
- 4. Quality Assessment
511
- - Story quality
512
- - Dependency clarity
513
- - Risk mitigation
514
- 5. Gaps and Recommendations
515
- - Critical gaps (blockers)
516
- - Minor gaps (address in parallel)
517
- - Recommendations for remediation
518
- 6. Gate Decision (PASS/CONCERNS/FAIL)
316
+ 2. Completeness Assessment (scores for PRD, Architecture, Epics)
317
+ 3. Alignment Assessment (PRD↔Architecture, Architecture↔Epics, cross-epic consistency)
318
+ 4. Quality Assessment (story quality, dependencies, risks)
319
+ 5. Gaps and Recommendations (critical/minor gaps, remediation)
320
+ 6. Gate Decision with rationale
519
321
  7. Next Steps
520
322
 
521
- ### Example: Gate Check for E-Commerce Platform
522
-
523
- **Result:** CONCERNS ⚠️
524
-
525
- **Completeness:**
526
-
527
- - ✅ PRD complete (18/18 criteria)
528
- - ⚠️ Architecture missing security section (15/18 criteria)
529
- - ✅ Epics complete (24/24 criteria)
530
-
531
- **Alignment:**
532
-
533
- - ✅ PRD ↔ Architecture aligned
534
- - ⚠️ Epic 4 (Checkout) has payment gateway undefined in architecture
535
- - ✅ No cross-epic contradictions
536
-
537
- **Quality:**
538
-
539
- - ✅ Stories have acceptance criteria
540
- - ⚠️ Epic 2, Story 3 is too large (10 day estimate)
541
- - ✅ Dependencies identified
542
-
543
- **Gaps Identified:**
544
-
545
- 1. **Critical**: Architecture missing security architecture section
546
- - **Impact**: Epic 1 (Auth) and Epic 4 (Checkout) lack security guidance
547
- - **Recommendation**: Complete security architecture (2 hours)
548
-
549
- 2. **High**: Payment gateway not selected
550
- - **Impact**: Epic 4 (Checkout) cannot proceed
551
- - **Recommendation**: Add ADR for payment gateway selection (1 hour)
552
-
553
- 3. **Medium**: Epic 2, Story 3 too large
554
- - **Impact**: Risk of story scope creep
555
- - **Recommendation**: Split into 2 stories (30 min)
556
-
557
- **Gate Decision:** CONCERNS ⚠️
558
-
559
- - **Rationale**: Critical and high gaps block Epic 1 and Epic 4
560
- - **Action**: Resolve gaps #1 and #2 before starting implementation
561
- - **Timeline**: Address in 3 hours, then re-run gate check
562
-
563
- **Next Steps:**
564
-
565
- 1. Complete security architecture section
566
- 2. Document payment gateway ADR
567
- 3. Split Epic 2, Story 3
568
- 4. Re-run solutioning-gate-check
569
- 5. If PASS → Proceed to sprint-planning
570
-
571
- ### Related Workflows
572
-
573
- - **architecture** (Phase 3) - Must complete before gate check
574
- - **prd/gdd** (Phase 2) - Input to gate check
575
- - **sprint-planning** (Phase 4) - Runs after PASS decision
323
+ **Example:** E-commerce platform → CONCERNS ⚠️ due to missing security architecture and undefined payment gateway. Recommendation: Complete security section and add payment gateway ADR before proceeding.
576
324
 
577
325
  ---
578
326
 
579
- ## Integration with Phase 2 (Planning) and Phase 4 (Implementation)
327
+ ## Integration with Planning and Implementation
580
328
 
581
329
  ### Planning → Solutioning Flow
582
330
 
583
- **Level 0-1:**
331
+ **Quick Flow:**
584
332
 
585
333
  ```
586
- Planning (tech-spec Quick Spec)
334
+ Planning (tech-spec by PM)
587
335
  → Skip Solutioning
588
- Implementation (dev-story)
336
+ Phase 4 (Implementation)
589
337
  ```
590
338
 
591
- **Level 2:**
339
+ **BMad Method:**
592
340
 
593
341
  ```
594
- Planning (prd Lightweight)
595
- Optional: architecture (if complex)
596
- Implementation (sprint-planning → dev-story)
342
+ Planning (prd by PM)
343
+ → architecture (Architect)
344
+ solutioning-gate-check (Architect)
345
+ → Phase 4 (Implementation)
597
346
  ```
598
347
 
599
- **Level 3-4:**
348
+ **Enterprise:**
600
349
 
601
350
  ```
602
- Planning (prd Standard/Comprehensive)
603
- → architecture (Required)
604
- solutioning-gate-check (Required)
605
- Implementation (sprint-planning dev-story)
351
+ Planning (prd by PM - same as BMad Method)
352
+ → architecture (Architect)
353
+ Optional: security-architecture (Architect, future)
354
+ Optional: devops-strategy (Architect, future)
355
+ → solutioning-gate-check (Architect)
356
+ → Phase 4 (Implementation)
606
357
  ```
607
358
 
359
+ **Note on TEA (Test Architect):** TEA is fully operational with 8 workflows across all phases. TEA validates architecture testability during Phase 3 reviews but does not have a dedicated solutioning workflow. TEA's primary setup occurs in Phase 2 (`*framework`, `*ci`, `*test-design`) and testing execution in Phase 4 (`*atdd`, `*automate`, `*test-review`, `*trace`, `*nfr-assess`).
360
+
361
+ **Note:** Enterprise uses the same planning and architecture as BMad Method. The only difference is optional extended workflows added AFTER architecture but BEFORE gate check.
362
+
608
363
  ### Solutioning → Implementation Handoff
609
364
 
610
365
  **Documents Produced:**
611
366
 
612
- 1. `architecture.md` → Guides all dev-story workflows
613
- 2. `ADRs` (in architecture) → Referenced by agents during implementation
614
- 3. `solutioning-gate-check.md` → Confirms readiness
367
+ 1. **architecture.md** → Guides all dev agents during implementation
368
+ 2. **ADRs** (in architecture) → Referenced by agents for technical decisions
369
+ 3. **solutioning-gate-check.md** → Confirms readiness for Phase 4
615
370
 
616
371
  **How Implementation Uses Solutioning:**
617
372
 
618
- - **sprint-planning**: Loads architecture for epic sequencing
619
- - **dev-story**: References architecture decisions and ADRs
620
- - **code-review**: Validates code follows architectural standards
373
+ - **sprint-planning** - Loads architecture for epic sequencing
374
+ - **dev-story** - References architecture decisions and ADRs
375
+ - **code-review** - Validates code follows architectural standards
621
376
 
622
377
  ---
623
378
 
624
- ## Best Practices for Phase 3
379
+ ## Best Practices
625
380
 
626
381
  ### 1. Make Decisions Explicit
627
382
 
628
- Don't leave technology choices implicit. Document decisions with rationale so future agents understand context.
383
+ Don't leave technology choices implicit. Document decisions with rationale in ADRs so agents understand context.
629
384
 
630
385
  ### 2. Focus on Agent Conflicts
631
386
 
632
- Architecture's primary job is preventing conflicting implementations by different agents. Focus on cross-cutting concerns.
387
+ Architecture's primary job is preventing conflicting implementations. Focus on cross-cutting concerns.
633
388
 
634
389
  ### 3. Use ADRs for Key Decisions
635
390
 
636
- Every significant technology choice should have an ADR explaining the "why", not just the "what".
391
+ Every significant technology choice should have an ADR explaining "why", not just "what".
637
392
 
638
393
  ### 4. Keep It Practical
639
394
 
640
- Don't over-architect Level 2 projects. Simple projects need simple architecture.
395
+ Don't over-architect simple projects. BMad Simple projects need simple architecture.
641
396
 
642
397
  ### 5. Run Gate Check Before Implementation
643
398
 
@@ -649,78 +404,98 @@ Architecture documents are living. Update them as you learn during implementatio
649
404
 
650
405
  ---
651
406
 
407
+ ## Decision Guide
408
+
409
+ ### Quick Flow
410
+
411
+ - **Planning:** tech-spec (PM)
412
+ - **Solutioning:** Skip entirely
413
+ - **Implementation:** sprint-planning → dev-story
414
+
415
+ ### BMad Method
416
+
417
+ - **Planning:** prd (PM)
418
+ - **Solutioning:** architecture (Architect) → solutioning-gate-check (Architect)
419
+ - **Implementation:** sprint-planning → epic-tech-context → dev-story
420
+
421
+ ### Enterprise
422
+
423
+ - **Planning:** prd (PM) - same as BMad Method
424
+ - **Solutioning:** architecture (Architect) → Optional extended workflows (security-architecture, devops-strategy) → solutioning-gate-check (Architect)
425
+ - **Implementation:** sprint-planning → epic-tech-context → dev-story
426
+
427
+ **Key Difference:** Enterprise adds optional extended workflows AFTER architecture but BEFORE gate check. Everything else is identical to BMad Method.
428
+
429
+ **Note:** TEA (Test Architect) operates across all phases and validates architecture testability but is not a Phase 3-specific workflow. See [Test Architecture Guide](./test-architecture.md) for TEA's full lifecycle integration.
430
+
431
+ ---
432
+
652
433
  ## Common Anti-Patterns
653
434
 
654
- ### ❌ Skipping Architecture for Level 3-4
435
+ ### ❌ Skipping Architecture for Complex Projects
655
436
 
656
437
  "Architecture slows us down, let's just start coding."
657
- **Result**: Agent conflicts, inconsistent design, rework
438
+ **Result:** Agent conflicts, inconsistent design, massive rework
658
439
 
659
- ### ❌ Over-Architecting Level 2
440
+ ### ❌ Over-Engineering Simple Projects
660
441
 
661
442
  "Let me design this simple feature like a distributed system."
662
- **Result**: Wasted time, over-engineering
443
+ **Result:** Wasted time, over-engineering, analysis paralysis
663
444
 
664
445
  ### ❌ Template-Driven Architecture
665
446
 
666
447
  "Fill out every section of this architecture template."
667
- **Result**: Documentation theater, no real decisions made
448
+ **Result:** Documentation theater, no real decisions made
668
449
 
669
450
  ### ❌ Skipping Gate Check
670
451
 
671
452
  "PRD and architecture look good enough, let's start."
672
- **Result**: Gaps discovered mid-sprint, wasted implementation time
453
+ **Result:** Gaps discovered mid-sprint, wasted implementation time
673
454
 
674
455
  ### ✅ Correct Approach
675
456
 
676
- - Use architecture for Level 3-4 (required)
677
- - Keep Level 2 architecture simple (if used)
457
+ - Use architecture for BMad Method and Enterprise (both required)
678
458
  - Focus on decisions, not documentation volume
459
+ - Enterprise: Add optional extended workflows (test/security/devops) after architecture
679
460
  - Always run gate check before implementation
680
461
 
681
462
  ---
682
463
 
683
- ## Decision Guide: When to Use Solutioning Workflows
684
-
685
- ### Level 0-1 Projects
464
+ ## Related Documentation
686
465
 
687
- - **Planning**: tech-spec (Quick Spec)
688
- - **Solutioning**: **Skip entirely**
689
- - **Implementation**: dev-story directly
466
+ - [Phase 2: Planning Workflows](./workflows-planning.md) - Previous phase
467
+ - [Phase 4: Implementation Workflows](./workflows-implementation.md) - Next phase
468
+ - [Scale Adaptive System](./scale-adaptive-system.md) - Understanding tracks
469
+ - [Agents Guide](./agents-guide.md) - Complete agent reference
690
470
 
691
- ### Level 2 Projects (Simple)
692
-
693
- - **Planning**: prd (Lightweight)
694
- - **Solutioning**: **Skip** if straightforward tech
695
- - **Implementation**: sprint-planning → dev-story
471
+ ---
696
472
 
697
- ### Level 2 Projects (Technically Complex)
473
+ ## Troubleshooting
698
474
 
699
- - **Planning**: prd (Lightweight)
700
- - **Solutioning**: architecture (simplified)
701
- - **Gate Check**: Optional
702
- - **Implementation**: sprint-planning → dev-story
475
+ **Q: Do I always need architecture?**
476
+ A: No. Quick Flow skips it. BMad Method and Enterprise both require it.
703
477
 
704
- ### Level 3-4 Projects
478
+ **Q: How do I know if I need architecture?**
479
+ A: If you chose BMad Method or Enterprise track in planning (workflow-init), you need architecture to prevent agent conflicts.
705
480
 
706
- - **Planning**: prd/gdd (Standard/Comprehensive)
707
- - **Solutioning**: architecture (comprehensive) **Required**
708
- - **Gate Check**: solutioning-gate-check → **Required**
709
- - **Implementation**: sprint-planning → epic-tech-context → dev-story
481
+ **Q: What's the difference between architecture and tech-spec?**
482
+ A: Tech-spec is implementation-focused for simple changes. Architecture is system design for complex multi-epic projects.
710
483
 
711
- ---
484
+ **Q: Can I skip gate check?**
485
+ A: Only for Quick Flow. BMad Method and Enterprise both require gate check before Phase 4.
712
486
 
713
- ## Summary
487
+ **Q: What if gate check fails?**
488
+ A: Resolve the identified gaps (missing architecture sections, conflicting requirements) and re-run gate check.
714
489
 
715
- Phase 3 Solutioning workflows bridge planning and implementation:
490
+ **Q: How long should architecture take?**
491
+ A: BMad Method: 1-2 days for architecture. Enterprise: 2-3 days total (1-2 days architecture + 0.5-1 day optional extended workflows). If taking longer, you may be over-documenting.
716
492
 
717
- | Workflow | Purpose | When Required |
718
- | -------------------------- | ------------------------------------- | ---------------------------------------- |
719
- | **architecture** | Make technical decisions explicit | Level 3-4 (required), Level 2 (optional) |
720
- | **solutioning-gate-check** | Validate readiness for implementation | Level 3-4 only |
493
+ **Q: Do ADRs need to be perfect?**
494
+ A: No. ADRs capture key decisions with rationale. They should be concise (1 page max per ADR).
721
495
 
722
- **Key Takeaway:** Solutioning prevents agent conflicts in multi-epic projects by documenting architectural decisions before implementation begins.
496
+ **Q: Can I update architecture during implementation?**
497
+ A: Yes! Architecture is living. Update it as you learn. Use `correct-course` workflow for significant changes.
723
498
 
724
- **Next Phase:** Implementation (Phase 4) - Sprint-based story development
499
+ ---
725
500
 
726
- See: [workflows-implementation.md](./workflows-implementation.md)
501
+ _Phase 3 Solutioning - Technical decisions before implementation._