bmad-method 6.0.0-alpha.6 → 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 (367) hide show
  1. package/.claude/settings.local.json +13 -6
  2. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  3. package/.husky/pre-commit +4 -0
  4. package/README.md +59 -1
  5. package/bmad/_cfg/agent-manifest.csv +2 -8
  6. package/bmad/_cfg/files-manifest.csv +8 -202
  7. package/bmad/_cfg/ides/claude-code.yaml +3 -4
  8. package/bmad/_cfg/manifest.yaml +5 -4
  9. package/bmad/_cfg/task-manifest.csv +8 -1
  10. package/bmad/_cfg/tool-manifest.csv +2 -0
  11. package/bmad/_cfg/workflow-manifest.csv +4 -31
  12. package/bmad/bmb/config.yaml +2 -2
  13. package/bmad/bmb/workflows/create-agent/instructions.md +25 -9
  14. package/bmad/bmb/workflows/create-module/module-structure.md +34 -0
  15. package/bmad/core/config.yaml +2 -2
  16. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  17. package/package.json +5 -3
  18. package/src/core/tasks/adv-elicit.xml +1 -1
  19. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -9
  20. package/src/modules/bmb/workflows/create-module/module-structure.md +34 -0
  21. package/src/modules/bmgd/README.md +208 -0
  22. package/src/modules/bmgd/_module-installer/install-config.yaml +66 -0
  23. package/src/modules/{bmm → bmgd}/agents/game-architect.agent.yaml +5 -12
  24. package/src/modules/{bmm → bmgd}/agents/game-designer.agent.yaml +10 -22
  25. package/src/modules/{bmm → bmgd}/agents/game-dev.agent.yaml +9 -10
  26. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +70 -0
  27. package/{bmad/bmm → src/modules/bmgd}/teams/team-gamedev.yaml +3 -1
  28. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +7 -7
  29. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  30. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  31. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  32. package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/workflow.yaml +16 -16
  33. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/workflow.yaml +3 -1
  34. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/workflow.yaml +3 -1
  35. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/workflow.yaml +3 -1
  36. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/workflow.yaml +3 -1
  37. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/workflow.yaml +3 -1
  38. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/workflow.yaml +3 -1
  39. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/workflow.yaml +3 -1
  40. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/workflow.yaml +3 -1
  41. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/workflow.yaml +3 -1
  42. package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/workflow.yaml +3 -1
  43. package/src/modules/bmm/docs/README.md +8 -9
  44. package/src/modules/bmm/docs/agents-guide.md +0 -1
  45. package/src/modules/bmm/docs/brownfield-guide.md +5 -9
  46. package/src/modules/bmm/docs/faq.md +4 -6
  47. package/src/modules/bmm/docs/glossary.md +0 -1
  48. package/src/modules/bmm/docs/quick-spec-flow.md +4 -4
  49. package/src/modules/bmm/docs/quick-start.md +4 -4
  50. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  51. package/src/modules/bmm/docs/test-architecture.md +183 -118
  52. package/src/modules/bmm/docs/workflows-analysis.md +203 -539
  53. package/src/modules/bmm/docs/workflows-planning.md +326 -850
  54. package/src/modules/bmm/docs/workflows-solutioning.md +250 -505
  55. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  56. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +4 -0
  57. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +1 -1
  58. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +34 -5
  59. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +1 -1
  60. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +8 -0
  61. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +6 -0
  62. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +47 -0
  63. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +50 -0
  64. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  65. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  66. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  67. package/test/test-installation-components.js +214 -0
  68. package/tools/cli/bundlers/web-bundler.js +127 -8
  69. package/tools/cli/installers/lib/ide/auggie.js +9 -20
  70. package/tools/cli/installers/lib/ide/claude-code.js +33 -3
  71. package/tools/cli/installers/lib/ide/cursor.js +17 -0
  72. package/tools/cli/installers/lib/modules/manager.js +128 -0
  73. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  74. package/tools/schema/agent.js +1 -0
  75. package/v6-open-items.md +3 -9
  76. package/web-bundles/bmm/agents/analyst.xml +5028 -0
  77. package/web-bundles/bmm/agents/architect.xml +2047 -0
  78. package/web-bundles/bmm/agents/dev.xml +68 -0
  79. package/web-bundles/bmm/agents/pm.xml +3808 -0
  80. package/web-bundles/bmm/agents/sm.xml +77 -0
  81. package/web-bundles/bmm/agents/tea.xml +66 -0
  82. package/web-bundles/bmm/agents/tech-writer.xml +84 -0
  83. package/web-bundles/bmm/agents/ux-designer.xml +2018 -0
  84. package/web-bundles/bmm/teams/team-fullstack.xml +12039 -0
  85. package/.claude/agents/bmad-analysis/api-documenter.md +0 -102
  86. package/.claude/agents/bmad-analysis/codebase-analyzer.md +0 -82
  87. package/.claude/agents/bmad-analysis/data-analyst.md +0 -101
  88. package/.claude/agents/bmad-analysis/pattern-detector.md +0 -84
  89. package/.claude/agents/bmad-planning/dependency-mapper.md +0 -83
  90. package/.claude/agents/bmad-planning/epic-optimizer.md +0 -81
  91. package/.claude/agents/bmad-planning/requirements-analyst.md +0 -61
  92. package/.claude/agents/bmad-planning/technical-decisions-curator.md +0 -168
  93. package/.claude/agents/bmad-planning/trend-spotter.md +0 -115
  94. package/.claude/agents/bmad-planning/user-journey-mapper.md +0 -123
  95. package/.claude/agents/bmad-planning/user-researcher.md +0 -72
  96. package/.claude/agents/bmad-research/market-researcher.md +0 -51
  97. package/.claude/agents/bmad-research/tech-debt-auditor.md +0 -106
  98. package/.claude/agents/bmad-review/document-reviewer.md +0 -102
  99. package/.claude/agents/bmad-review/technical-evaluator.md +0 -68
  100. package/.claude/agents/bmad-review/test-coverage-analyzer.md +0 -108
  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/pm.md +0 -76
  106. package/.claude/commands/bmad/bmm/agents/sm.md +0 -85
  107. package/.claude/commands/bmad/bmm/agents/tea.md +0 -72
  108. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -82
  109. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -71
  110. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  111. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -15
  112. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -15
  113. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -15
  114. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -15
  115. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -15
  116. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -15
  117. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -15
  118. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -15
  119. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -15
  120. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -15
  121. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  122. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -15
  123. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -15
  124. package/.claude/commands/bmad/bmm/workflows/research.md +0 -15
  125. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -15
  126. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +0 -15
  127. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -15
  128. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -15
  129. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -15
  130. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -15
  131. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -15
  132. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -15
  133. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -15
  134. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  135. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  136. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  137. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  138. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  139. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  140. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  141. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  142. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  143. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  144. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  145. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  146. package/bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  147. package/bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  148. package/bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  149. package/bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  150. package/bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  151. package/bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  152. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  153. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  154. package/bmad/bmm/README.md +0 -128
  155. package/bmad/bmm/agents/analyst.md +0 -67
  156. package/bmad/bmm/agents/architect.md +0 -72
  157. package/bmad/bmm/agents/dev.md +0 -69
  158. package/bmad/bmm/agents/pm.md +0 -76
  159. package/bmad/bmm/agents/sm.md +0 -85
  160. package/bmad/bmm/agents/tea.md +0 -72
  161. package/bmad/bmm/agents/tech-writer.md +0 -82
  162. package/bmad/bmm/agents/ux-designer.md +0 -71
  163. package/bmad/bmm/config.yaml +0 -18
  164. package/bmad/bmm/tasks/daily-standup.xml +0 -85
  165. package/bmad/bmm/teams/team-fullstack.yaml +0 -11
  166. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  167. package/bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  168. package/bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  169. package/bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  170. package/bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  171. package/bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  172. package/bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  173. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  174. package/bmad/bmm/testarch/knowledge/network-first.md +0 -486
  175. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  176. package/bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  177. package/bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  178. package/bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  179. package/bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  180. package/bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  181. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  182. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  183. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  184. package/bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  185. package/bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  186. package/bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  187. package/bmad/bmm/testarch/tea-index.csv +0 -22
  188. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -110
  189. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  190. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  191. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -423
  192. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  193. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  194. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  195. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  196. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  197. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  198. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  199. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  200. package/bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  201. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  202. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -439
  203. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -679
  204. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -133
  205. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -538
  206. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  207. package/bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  208. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  209. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  210. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  211. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1301
  212. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  213. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -64
  214. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  215. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -350
  216. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -52
  217. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +0 -169
  218. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +0 -45
  219. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  220. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -408
  221. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -237
  222. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  223. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  224. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -214
  225. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -80
  226. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  227. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  228. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -1115
  229. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  230. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  231. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  232. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  233. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -305
  234. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  235. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  236. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -64
  237. package/bmad/bmm/workflows/document-project/checklist.md +0 -245
  238. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  239. package/bmad/bmm/workflows/document-project/instructions.md +0 -222
  240. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  241. package/bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  242. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  243. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  244. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  245. package/bmad/bmm/workflows/document-project/workflow.yaml +0 -34
  246. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  247. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  248. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  249. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  250. package/bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  251. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  252. package/bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  253. package/bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  254. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -52
  255. package/bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  256. package/bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  257. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -61
  258. package/bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  259. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  260. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  261. package/bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  262. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -53
  263. package/bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  264. package/bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  265. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -53
  266. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  267. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  268. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  269. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -56
  270. package/bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  271. package/bmad/bmm/workflows/testarch/test-design/instructions.md +0 -621
  272. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  273. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -52
  274. package/bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  275. package/bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  276. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  277. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -53
  278. package/bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  279. package/bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  280. package/bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  281. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -66
  282. package/bmad/bmm/workflows/workflow-status/init/instructions.md +0 -771
  283. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -27
  284. package/bmad/bmm/workflows/workflow-status/instructions.md +0 -386
  285. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -120
  286. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -108
  287. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  288. package/bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -97
  289. package/bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -88
  290. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  291. package/bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  292. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  293. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  294. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -31
  295. package/bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  296. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  297. package/src/modules/bmm/teams/team-gamedev.yaml +0 -14
  298. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  299. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  300. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  301. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  302. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  303. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  304. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +0 -0
  305. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  306. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +0 -0
  307. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  308. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  309. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  310. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  311. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  312. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  313. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  314. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  315. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  316. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  317. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  318. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  319. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  320. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  321. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  322. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  323. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  324. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  325. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  326. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  327. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  328. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  329. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  330. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  331. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  332. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  333. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  334. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  335. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +0 -0
  336. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  337. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/instructions-narrative.md +0 -0
  338. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
  339. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-patterns.yaml +0 -0
  340. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/architecture-template.md +0 -0
  341. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/checklist.md +0 -0
  342. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/decision-catalog.yaml +0 -0
  343. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/instructions.md +0 -0
  344. /package/{bmad/bmm/workflows/3-solutioning/architecture → src/modules/bmgd/workflows/3-technical/game-architecture}/pattern-categories.csv +0 -0
  345. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/backlog_template.md +0 -0
  346. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/checklist.md +0 -0
  347. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/code-review/instructions.md +0 -0
  348. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/checklist.md +0 -0
  349. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/correct-course/instructions.md +0 -0
  350. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/checklist.md +0 -0
  351. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/instructions.md +0 -0
  352. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/create-story/template.md +0 -0
  353. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/AUDIT-REPORT.md +0 -0
  354. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/checklist.md +0 -0
  355. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/dev-story/instructions.md +0 -0
  356. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/checklist.md +0 -0
  357. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/instructions.md +0 -0
  358. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/epic-tech-context/template.md +0 -0
  359. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/retrospective/instructions.md +0 -0
  360. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/checklist.md +0 -0
  361. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/instructions.md +0 -0
  362. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/sprint-planning/sprint-status-template.yaml +0 -0
  363. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/checklist.md +0 -0
  364. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/context-template.xml +0 -0
  365. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-context/instructions.md +0 -0
  366. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-done/instructions.md +0 -0
  367. /package/{bmad/bmm/workflows/4-implementation → src/modules/bmgd/workflows/4-production}/story-ready/instructions.md +0 -0
@@ -1,27 +0,0 @@
1
- # Workflow Init - Initial Project Setup
2
- name: workflow-init
3
- description: "Initialize a new BMM project by determining level, type, and creating workflow path"
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/bmad/bmm/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- project_name: "{config_source}:project_name"
11
- communication_language: "{config_source}:communication_language"
12
- document_output_language: "{config_source}:document_output_language"
13
- user_skill_level: "{config_source}:user_skill_level"
14
- date: system-generated
15
-
16
- # Workflow components
17
- installed_path: "{project-root}/bmad/bmm/workflows/workflow-status/init"
18
- instructions: "{installed_path}/instructions.md"
19
- template: "{project-root}/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml"
20
-
21
- # Path data files
22
- path_files: "{project-root}/bmad/bmm/workflows/workflow-status/paths/"
23
-
24
- # Output configuration
25
- default_output_file: "{output_folder}/bmm-workflow-status.yaml"
26
-
27
- standalone: true
@@ -1,386 +0,0 @@
1
- # Workflow Status Check - Multi-Mode Service
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {project-root}/bmad/bmm/workflows/workflow-status/workflow.yaml</critical>
5
- <critical>This workflow operates in multiple modes: interactive (default), validate, data, init-check, update</critical>
6
- <critical>Other workflows can call this as a service to avoid duplicating status logic</critical>
7
-
8
- <workflow>
9
-
10
- <step n="0" goal="Determine execution mode">
11
- <action>Check for {{mode}} parameter passed by calling workflow</action>
12
- <action>Default mode = "interactive" if not specified</action>
13
-
14
- <check if="mode == interactive">
15
- <action>Continue to Step 1 for normal status check flow</action>
16
- </check>
17
-
18
- <check if="mode == validate">
19
- <action>Jump to Step 10 for workflow validation service</action>
20
- </check>
21
-
22
- <check if="mode == data">
23
- <action>Jump to Step 20 for data extraction service</action>
24
- </check>
25
-
26
- <check if="mode == init-check">
27
- <action>Jump to Step 30 for simple init check</action>
28
- </check>
29
-
30
- <check if="mode == update">
31
- <action>Jump to Step 40 for status update service</action>
32
- </check>
33
- </step>
34
-
35
- <step n="1" goal="Check for status file">
36
- <action>Search {output_folder}/ for file: bmm-workflow-status.yaml</action>
37
-
38
- <check if="no status file found">
39
- <output>No workflow status found. To get started:
40
-
41
- Load analyst agent and run: `workflow-init`
42
-
43
- This will guide you through project setup and create your workflow path.</output>
44
- <action>Exit workflow</action>
45
- </check>
46
-
47
- <check if="status file found">
48
- <action>Continue to step 2</action>
49
- </check>
50
- </step>
51
-
52
- <step n="2" goal="Read and parse status">
53
- <action>Read bmm-workflow-status.yaml</action>
54
- <action>Parse YAML file and extract metadata from comments and fields:</action>
55
-
56
- Parse these fields from YAML comments and metadata:
57
-
58
- - project (from YAML field)
59
- - project_type (from YAML field)
60
- - project_level (from YAML field)
61
- - field_type (from YAML field)
62
- - workflow_path (from YAML field)
63
-
64
- <action>Parse workflow_status section:</action>
65
-
66
- - Extract all workflow entries with their statuses
67
- - Identify completed workflows (status = file path)
68
- - Identify pending workflows (status = required/optional/recommended/conditional)
69
- - Identify skipped workflows (status = skipped)
70
-
71
- <action>Determine current state:</action>
72
-
73
- - Find first workflow with status != file path and != skipped
74
- - This is the NEXT workflow to work on
75
- - Look up agent and command from workflow path file
76
- </step>
77
-
78
- <step n="3" goal="Display current status and options">
79
- <action>Load workflow path file based on workflow_path field</action>
80
- <action>Identify current phase from next workflow to be done</action>
81
- <action>Build list of completed, pending, and optional workflows</action>
82
-
83
- <output>
84
- ## 📊 Current Status
85
-
86
- **Project:** {{project}} (Level {{project_level}} {{project_type}})
87
-
88
- **Path:** {{workflow_path}}
89
-
90
- **Progress:**
91
-
92
- {{#each phases}}
93
- {{phase_name}}:
94
- {{#each workflows_in_phase}}
95
-
96
- - {{workflow_name}}: {{status_display}}
97
- {{/each}}
98
- {{/each}}
99
-
100
- ## 🎯 Next Steps
101
-
102
- **Next Workflow:** {{next_workflow_name}}
103
-
104
- **Agent:** {{next_agent}}
105
-
106
- **Command:** /bmad:bmm:workflows:{{next_workflow_id}}
107
-
108
- {{#if optional_workflows_available}}
109
- **Optional Workflows Available:**
110
- {{#each optional_workflows}}
111
-
112
- - {{workflow_name}} ({{agent}}) - {{status}}
113
- {{/each}}
114
- {{/if}}
115
- </output>
116
- </step>
117
-
118
- <step n="4" goal="Offer actions">
119
- <ask>What would you like to do?
120
-
121
- 1. **Start next workflow** - {{next_workflow_name}} ({{next_agent}} agent)
122
- {{#if optional_workflows_available}}
123
- 2. **Run optional workflow** - Choose from available options
124
- {{/if}}
125
- 3. **View full status YAML** - See complete status file
126
- 4. **Update workflow status** - Mark a workflow as completed or skipped
127
- 5. **Exit** - Return to agent
128
-
129
- Your choice:</ask>
130
-
131
- <action>Handle user selection based on available options</action>
132
-
133
- <check if="choice == 1">
134
- <output>Ready to run {{next_workflow_name}}!
135
-
136
- **Command:** /bmad:bmm:workflows:{{next_workflow_id}}
137
-
138
- **Agent:** Load {{next_agent}} agent first
139
-
140
- {{#if next_agent !== current_agent}}
141
- Tip: Start a new chat and load the {{next_agent}} agent before running this workflow.
142
- {{/if}}
143
- </output>
144
- </check>
145
-
146
- <check if="choice == 2 AND optional_workflows_available">
147
- <ask>Which optional workflow?
148
- {{#each optional_workflows numbered}}
149
- {{number}}. {{workflow_name}} ({{agent}})
150
- {{/each}}
151
-
152
- Your choice:</ask>
153
- <action>Display selected workflow command and agent</action>
154
- </check>
155
-
156
- <check if="choice == 3">
157
- <action>Display complete bmm-workflow-status.yaml file contents</action>
158
- </check>
159
-
160
- <check if="choice == 4">
161
- <ask>What would you like to update?
162
-
163
- 1. Mark a workflow as **completed** (provide file path)
164
- 2. Mark a workflow as **skipped**
165
-
166
- Your choice:</ask>
167
-
168
- <check if="update_choice == 1">
169
- <ask>Which workflow? (Enter workflow ID like 'prd' or 'create-architecture')</ask>
170
- <ask>File path created? (e.g., docs/prd.md)</ask>
171
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
172
- <action>Update workflow_status in YAML file: {{workflow_id}}: {{file_path}}</action>
173
- <action>Save updated YAML file preserving ALL structure and comments</action>
174
- <output>✅ Updated {{workflow_id}} to completed: {{file_path}}</output>
175
- </check>
176
-
177
- <check if="update_choice == 2">
178
- <ask>Which workflow to skip? (Enter workflow ID)</ask>
179
- <action>Update workflow_status in YAML file: {{workflow_id}}: skipped</action>
180
- <action>Save updated YAML file</action>
181
- <output>✅ Marked {{workflow_id}} as skipped</output>
182
- </check>
183
- </check>
184
- </step>
185
-
186
- <!-- ============================================= -->
187
- <!-- SERVICE MODES - Called by other workflows -->
188
- <!-- ============================================= -->
189
-
190
- <step n="10" goal="Validate mode - Check if calling workflow should proceed">
191
- <action>Read {output_folder}/bmm-workflow-status.yaml if exists</action>
192
-
193
- <check if="status file not found">
194
- <template-output>status_exists = false</template-output>
195
- <template-output>should_proceed = true</template-output>
196
- <template-output>warning = "No status file found. Running without progress tracking."</template-output>
197
- <template-output>suggestion = "Consider running workflow-init first for progress tracking"</template-output>
198
- <action>Return to calling workflow</action>
199
- </check>
200
-
201
- <check if="status file found">
202
- <action>Parse YAML file to extract project metadata and workflow_status</action>
203
- <action>Load workflow path file from workflow_path field</action>
204
- <action>Find first non-completed workflow in workflow_status (next workflow)</action>
205
- <action>Check if {{calling_workflow}} matches next workflow or is in the workflow list</action>
206
-
207
- <template-output>status_exists = true</template-output>
208
- <template-output>project_level = {{project_level}}</template-output>
209
- <template-output>project_type = {{project_type}}</template-output>
210
- <template-output>field_type = {{field_type}}</template-output>
211
- <template-output>next_workflow = {{next_workflow_id}}</template-output>
212
-
213
- <check if="calling_workflow == next_workflow">
214
- <template-output>should_proceed = true</template-output>
215
- <template-output>warning = ""</template-output>
216
- <template-output>suggestion = "Proceeding with planned next step"</template-output>
217
- </check>
218
-
219
- <check if="calling_workflow in workflow_status list">
220
- <action>Check the status of calling_workflow in YAML</action>
221
-
222
- <check if="status is file path">
223
- <template-output>should_proceed = true</template-output>
224
- <template-output>warning = "⚠️ Workflow already completed: {{calling_workflow}}"</template-output>
225
- <template-output>suggestion = "This workflow was already completed. Re-running will overwrite: {{status}}"</template-output>
226
- </check>
227
-
228
- <check if="status is optional/recommended">
229
- <template-output>should_proceed = true</template-output>
230
- <template-output>warning = "Running optional workflow {{calling_workflow}}"</template-output>
231
- <template-output>suggestion = "This is optional. Expected next: {{next_workflow}}"</template-output>
232
- </check>
233
-
234
- <check if="status is required but not next">
235
- <template-output>should_proceed = true</template-output>
236
- <template-output>warning = "⚠️ Out of sequence: Expected {{next_workflow}}, running {{calling_workflow}}"</template-output>
237
- <template-output>suggestion = "Consider running {{next_workflow}} instead, or continue if intentional"</template-output>
238
- </check>
239
-
240
- </check>
241
-
242
- <check if="calling_workflow NOT in workflow_status list">
243
- <template-output>should_proceed = true</template-output>
244
- <template-output>warning = "⚠️ Unknown workflow: {{calling_workflow}} not in workflow path"</template-output>
245
- <template-output>suggestion = "This workflow is not part of the defined path for this project"</template-output>
246
- </check>
247
-
248
- <template-output>status_file_path = {{path to bmm-workflow-status.yaml}}</template-output>
249
- </check>
250
-
251
- <action>Return control to calling workflow with all template outputs</action>
252
- </step>
253
-
254
- <step n="20" goal="Data mode - Extract specific information">
255
- <action>Read {output_folder}/bmm-workflow-status.yaml if exists</action>
256
-
257
- <check if="status file not found">
258
- <template-output>status_exists = false</template-output>
259
- <template-output>error = "No status file to extract data from"</template-output>
260
- <action>Return to calling workflow</action>
261
- </check>
262
-
263
- <check if="status file found">
264
- <action>Parse YAML file completely</action>
265
- <template-output>status_exists = true</template-output>
266
-
267
- <check if="data_request == project_config">
268
- <template-output>project_name = {{project}}</template-output>
269
- <template-output>project_type = {{project_type}}</template-output>
270
- <template-output>project_level = {{project_level}}</template-output>
271
- <template-output>field_type = {{field_type}}</template-output>
272
- <template-output>workflow_path = {{workflow_path}}</template-output>
273
- </check>
274
-
275
- <check if="data_request == workflow_status">
276
- <action>Parse workflow_status section and return all workflow: status pairs</action>
277
- <template-output>workflow_status = {{workflow_status_object}}</template-output>
278
- <action>Calculate completion stats:</action>
279
- <template-output>total_workflows = {{count all workflows}}</template-output>
280
- <template-output>completed_workflows = {{count file path statuses}}</template-output>
281
- <template-output>pending_workflows = {{count required/optional/etc}}</template-output>
282
- <template-output>skipped_workflows = {{count skipped}}</template-output>
283
- </check>
284
-
285
- <check if="data_request == all">
286
- <action>Return all parsed fields as template outputs</action>
287
- <template-output>project = {{project}}</template-output>
288
- <template-output>project_type = {{project_type}}</template-output>
289
- <template-output>project_level = {{project_level}}</template-output>
290
- <template-output>field_type = {{field_type}}</template-output>
291
- <template-output>workflow_path = {{workflow_path}}</template-output>
292
- <template-output>workflow_status = {{workflow_status_object}}</template-output>
293
- <template-output>generated = {{generated}}</template-output>
294
- </check>
295
-
296
- <template-output>status_file_path = {{path to bmm-workflow-status.yaml}}</template-output>
297
- </check>
298
-
299
- <action>Return control to calling workflow with requested data</action>
300
- </step>
301
-
302
- <step n="30" goal="Init-check mode - Simple existence check">
303
- <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
304
-
305
- <check if="exists">
306
- <template-output>status_exists = true</template-output>
307
- <template-output>suggestion = "Status file found. Ready to proceed."</template-output>
308
- </check>
309
-
310
- <check if="not exists">
311
- <template-output>status_exists = false</template-output>
312
- <template-output>suggestion = "No status file. Run workflow-init to create one (optional for progress tracking)"</template-output>
313
- </check>
314
-
315
- <action>Return immediately to calling workflow</action>
316
- </step>
317
-
318
- <step n="40" goal="Update mode - Centralized status file updates">
319
- <action>Read {output_folder}/bmm-workflow-status.yaml</action>
320
-
321
- <check if="status file not found">
322
- <template-output>success = false</template-output>
323
- <template-output>error = "No status file found. Cannot update."</template-output>
324
- <action>Return to calling workflow</action>
325
- </check>
326
-
327
- <check if="status file found">
328
- <action>Parse YAML file completely</action>
329
- <action>Load workflow path file from workflow_path field</action>
330
- <action>Check {{action}} parameter to determine update type</action>
331
-
332
- <!-- ============================================= -->
333
- <!-- ACTION: complete_workflow -->
334
- <!-- ============================================= -->
335
- <check if="action == complete_workflow">
336
- <action>Get {{workflow_id}} parameter (required)</action>
337
- <action>Get {{output_file}} parameter (required - path to created file)</action>
338
-
339
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
340
- <action>Update workflow status in YAML:</action>
341
- - In workflow_status section, update: {{workflow_id}}: {{output_file}}
342
-
343
- <action>Find {{workflow_id}} in loaded path YAML</action>
344
- <action>Determine next workflow from path sequence</action>
345
- <action>Find first workflow in workflow_status with status != file path and != skipped</action>
346
-
347
- <action>Save updated YAML file preserving ALL structure and comments</action>
348
-
349
- <template-output>success = true</template-output>
350
- <template-output>next_workflow = {{determined next workflow}}</template-output>
351
- <template-output>next_agent = {{determined next agent from path file}}</template-output>
352
- <template-output>completed_workflow = {{workflow_id}}</template-output>
353
- <template-output>output_file = {{output_file}}</template-output>
354
-
355
- </check>
356
-
357
- <!-- ============================================= -->
358
- <!-- ACTION: skip_workflow -->
359
- <!-- ============================================= -->
360
- <check if="action == skip_workflow">
361
- <action>Get {{workflow_id}} parameter (required)</action>
362
-
363
- <action>Update workflow status in YAML:</action>
364
- - In workflow_status section, update: {{workflow_id}}: skipped
365
-
366
- <action>Save updated YAML file</action>
367
-
368
- <template-output>success = true</template-output>
369
- <template-output>skipped_workflow = {{workflow_id}}</template-output>
370
-
371
- </check>
372
-
373
- <!-- ============================================= -->
374
- <!-- Unknown action -->
375
- <!-- ============================================= -->
376
- <check if="action not recognized">
377
- <template-output>success = false</template-output>
378
- <template-output>error = "Unknown action: {{action}}. Valid actions: complete_workflow, skip_workflow"</template-output>
379
- </check>
380
-
381
- </check>
382
-
383
- <action>Return control to calling workflow with template outputs</action>
384
- </step>
385
-
386
- </workflow>
@@ -1,120 +0,0 @@
1
- # BMad Enterprise Method - Brownfield
2
- # Extended enterprise planning for complex brownfield with security/devops/test (30+ stories typically)
3
-
4
- method_name: "BMad Enterprise Method"
5
- track: "enterprise"
6
- field_type: "brownfield"
7
- description: "Enterprise-grade planning for complex brownfield additions with extended requirements"
8
-
9
- phases:
10
- - prerequisite: true
11
- name: "Documentation"
12
- conditional: "if_undocumented"
13
- note: "NOT a phase - prerequisite for brownfield without docs (nearly mandatory for enterprise)"
14
- workflows:
15
- - id: "document-project"
16
- required: true
17
- agent: "analyst"
18
- command: "document-project"
19
- output: "Comprehensive project documentation"
20
- purpose: "Understand existing codebase - critical for enterprise brownfield"
21
-
22
- - phase: 0
23
- name: "Discovery (Required)"
24
- required: true
25
- note: "Analysis phase required for enterprise projects"
26
- workflows:
27
- - id: "brainstorm-project"
28
- optional: true
29
- agent: "analyst"
30
- command: "brainstorm-project"
31
- included_by: "user_choice"
32
-
33
- - id: "research"
34
- recommended: true
35
- agent: "analyst"
36
- command: "research"
37
- included_by: "user_choice"
38
- note: "Highly recommended - compliance, integration, risk research"
39
-
40
- - id: "product-brief"
41
- optional: true
42
- agent: "analyst"
43
- command: "product-brief"
44
- included_by: "user_choice"
45
- note: "Optional for brownfield enterprise"
46
-
47
- - phase: 1
48
- name: "Planning"
49
- required: true
50
- workflows:
51
- - id: "prd"
52
- required: true
53
- agent: "pm"
54
- command: "prd"
55
- output: "Enterprise PRD with compliance requirements"
56
- note: "Must address existing system constraints and migration strategy"
57
-
58
- - id: "validate-prd"
59
- recommended: true
60
- agent: "pm"
61
- command: "validate-prd"
62
-
63
- - id: "create-design"
64
- recommended: true
65
- agent: "ux-designer"
66
- command: "create-design"
67
- note: "Recommended - must integrate with existing UX patterns"
68
-
69
- - phase: 2
70
- name: "Solutioning"
71
- required: true
72
- workflows:
73
- - id: "create-architecture"
74
- required: true
75
- agent: "architect"
76
- command: "create-architecture"
77
- output: "Integration architecture with enterprise considerations"
78
- note: "Distills brownfield context + adds security/scalability/compliance design"
79
-
80
- - id: "create-security-architecture"
81
- required: true
82
- agent: "architect"
83
- command: "create-security-architecture"
84
- output: "Security architecture for brownfield integration"
85
- note: "Future workflow - threat model, auth integration, audit requirements"
86
-
87
- - id: "create-devops-strategy"
88
- required: true
89
- agent: "architect"
90
- command: "create-devops-strategy"
91
- output: "DevOps strategy for brownfield deployment"
92
- note: "Future workflow - CI/CD integration, deployment strategy, monitoring"
93
-
94
- - id: "create-test-strategy"
95
- required: true
96
- agent: "tea"
97
- command: "create-test-strategy"
98
- output: "Test strategy including regression testing"
99
- note: "Future workflow - critical for brownfield to prevent breaking existing functionality"
100
-
101
- - id: "validate-architecture"
102
- optional: true
103
- agent: "architect"
104
- command: "validate-architecture"
105
-
106
- - id: "solutioning-gate-check"
107
- required: true
108
- agent: "architect"
109
- command: "solutioning-gate-check"
110
- note: "Critical gate - validates all planning before touching production system"
111
-
112
- - phase: 3
113
- name: "Implementation"
114
- required: true
115
- workflows:
116
- - id: "sprint-planning"
117
- required: true
118
- agent: "sm"
119
- command: "sprint-planning"
120
- note: "Enterprise brownfield requires careful phasing and feature flags"
@@ -1,108 +0,0 @@
1
- # BMad Enterprise Method - Greenfield
2
- # Extended enterprise planning with security/devops/test for greenfield (30+ stories typically)
3
-
4
- method_name: "BMad Enterprise Method"
5
- track: "enterprise"
6
- field_type: "greenfield"
7
- description: "Complete enterprise-grade planning with security, devops, and test strategy"
8
-
9
- phases:
10
- - phase: 0
11
- name: "Discovery (Required)"
12
- required: true
13
- note: "Analysis phase required for enterprise projects"
14
- workflows:
15
- - id: "brainstorm-project"
16
- optional: true
17
- agent: "analyst"
18
- command: "brainstorm-project"
19
- included_by: "user_choice"
20
-
21
- - id: "research"
22
- recommended: true
23
- agent: "analyst"
24
- command: "research"
25
- included_by: "user_choice"
26
- note: "Highly recommended for enterprise - domain and compliance research"
27
-
28
- - id: "product-brief"
29
- recommended: true
30
- agent: "analyst"
31
- command: "product-brief"
32
- included_by: "user_choice"
33
- note: "Recommended for strategic alignment"
34
-
35
- - phase: 1
36
- name: "Planning"
37
- required: true
38
- workflows:
39
- - id: "prd"
40
- required: true
41
- agent: "pm"
42
- command: "prd"
43
- output: "Comprehensive Product Requirements Document"
44
- note: "Enterprise-level requirements with compliance considerations"
45
-
46
- - id: "validate-prd"
47
- recommended: true
48
- agent: "pm"
49
- command: "validate-prd"
50
-
51
- - id: "create-design"
52
- recommended: true
53
- agent: "ux-designer"
54
- command: "create-design"
55
- note: "Highly recommended for enterprise - design system and patterns"
56
-
57
- - phase: 2
58
- name: "Solutioning"
59
- required: true
60
- workflows:
61
- - id: "create-architecture"
62
- required: true
63
- agent: "architect"
64
- command: "create-architecture"
65
- output: "Enterprise-grade system architecture"
66
- note: "Includes scalability, multi-tenancy, integration architecture"
67
-
68
- - id: "create-security-architecture"
69
- required: true
70
- agent: "architect"
71
- command: "create-security-architecture"
72
- output: "Security architecture and threat model"
73
- note: "Future workflow - security design, auth, compliance"
74
-
75
- - id: "create-devops-strategy"
76
- required: true
77
- agent: "architect"
78
- command: "create-devops-strategy"
79
- output: "DevOps pipeline and infrastructure plan"
80
- note: "Future workflow - CI/CD, deployment, monitoring"
81
-
82
- - id: "create-test-strategy"
83
- required: true
84
- agent: "tea"
85
- command: "create-test-strategy"
86
- output: "Comprehensive test strategy"
87
- note: "Future workflow - test approach, automation, quality gates"
88
-
89
- - id: "validate-architecture"
90
- optional: true
91
- agent: "architect"
92
- command: "validate-architecture"
93
-
94
- - id: "solutioning-gate-check"
95
- required: true
96
- agent: "architect"
97
- command: "solutioning-gate-check"
98
- note: "Validates all planning artifacts align before implementation"
99
-
100
- - phase: 3
101
- name: "Implementation"
102
- required: true
103
- workflows:
104
- - id: "sprint-planning"
105
- required: true
106
- agent: "sm"
107
- command: "sprint-planning"
108
- note: "Creates sprint plan - enterprise projects may require phased rollout"