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

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 (521) hide show
  1. package/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
  2. package/.claude/commands/bmad/bmm/agents/architect.md +73 -0
  3. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  4. package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
  5. package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
  6. package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
  7. package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
  8. package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
  9. package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
  10. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  11. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  12. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  13. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  14. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  15. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  16. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  17. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  18. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  19. package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
  20. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  21. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  23. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  24. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  25. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  26. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  27. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  28. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  29. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
  30. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  31. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  32. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  33. package/.claude/commands/bmad/cis/agents/README.md +104 -0
  34. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
  35. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
  36. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
  37. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
  38. package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
  39. package/.claude/commands/bmad/cis/workflows/README.md +37 -0
  40. package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
  41. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
  42. package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
  43. package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
  44. package/.claude/settings.local.json +10 -31
  45. package/CHANGELOG.md +239 -0
  46. package/README.md +210 -146
  47. package/bmad/_cfg/agent-manifest.csv +13 -4
  48. package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  49. package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
  50. package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  51. package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  52. package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  53. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  54. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
  55. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
  56. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
  57. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
  58. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
  59. package/bmad/_cfg/files-manifest.csv +289 -22
  60. package/bmad/_cfg/ides/claude-code.yaml +6 -0
  61. package/bmad/_cfg/manifest.yaml +5 -6
  62. package/bmad/_cfg/task-manifest.csv +2 -0
  63. package/bmad/_cfg/workflow-manifest.csv +35 -2
  64. package/bmad/bmb/README.md +135 -73
  65. package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
  66. package/bmad/bmb/config.yaml +2 -2
  67. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
  68. package/bmad/bmb/workflows/create-agent/README.md +126 -243
  69. package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
  70. package/bmad/bmb/workflows/create-module/README.md +163 -154
  71. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
  72. package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
  73. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  74. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
  75. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
  76. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
  77. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
  78. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
  79. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
  80. package/bmad/bmm/README.md +169 -0
  81. package/bmad/bmm/agents/analyst.md +67 -0
  82. package/bmad/bmm/agents/architect.md +73 -0
  83. package/bmad/bmm/agents/dev.md +69 -0
  84. package/bmad/bmm/agents/paige.md +82 -0
  85. package/bmad/bmm/agents/pm.md +76 -0
  86. package/bmad/bmm/agents/sm.md +85 -0
  87. package/bmad/bmm/agents/tea.md +72 -0
  88. package/bmad/bmm/agents/ux-designer.md +71 -0
  89. package/bmad/bmm/config.yaml +17 -0
  90. package/bmad/bmm/docs/quick-spec-flow.md +645 -0
  91. package/bmad/bmm/docs/quick-start.md +341 -0
  92. package/bmad/bmm/docs/scale-adaptive-system.md +1045 -0
  93. package/bmad/bmm/tasks/daily-standup.xml +85 -0
  94. package/bmad/bmm/teams/team-fullstack.yaml +11 -0
  95. package/bmad/bmm/teams/team-gamedev.yaml +14 -0
  96. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  97. package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  98. package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  99. package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  100. package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  101. package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  102. package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  103. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  104. package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
  105. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  106. package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  107. package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  108. package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  109. package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  110. package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  111. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  112. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  113. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  114. package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  115. package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  116. package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  117. package/bmad/bmm/testarch/tea-index.csv +22 -0
  118. package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +113 -0
  119. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  120. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  121. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  122. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  123. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  124. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  125. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  126. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  127. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  128. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  129. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  130. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  131. package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  132. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  133. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  134. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  135. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  136. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  137. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  138. package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  139. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  140. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  141. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  142. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
  143. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  144. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
  145. package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
  146. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
  147. package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
  148. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
  149. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
  150. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  151. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
  152. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  153. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
  154. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  155. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  156. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  157. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  158. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
  159. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  160. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  161. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
  162. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  163. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
  164. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  165. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  166. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  167. package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  168. package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  169. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
  170. package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  171. package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
  172. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  173. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
  174. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  175. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  176. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  177. package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  178. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  179. package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  180. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
  181. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  182. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  183. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  184. package/bmad/bmm/workflows/4-implementation/create-story/README.md +146 -0
  185. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  186. package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  187. package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  188. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  189. package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  190. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  191. package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  192. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  193. package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  194. package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  195. package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  196. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  197. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  198. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  199. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  200. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  201. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  202. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  203. package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  204. package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  205. package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  206. package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  207. package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  208. package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  209. package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  210. package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  211. package/bmad/bmm/workflows/README.md +256 -0
  212. package/bmad/bmm/workflows/document-project/checklist.md +245 -0
  213. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  214. package/bmad/bmm/workflows/document-project/instructions.md +222 -0
  215. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  216. package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  217. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  218. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  219. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  220. package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  221. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  222. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  223. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  224. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  225. package/bmad/bmm/workflows/techdoc/documentation-standards.md +238 -0
  226. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  227. package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  228. package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  229. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  230. package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  231. package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  232. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  233. package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  234. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  235. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  236. package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  237. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  238. package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  239. package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  240. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  241. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  242. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  243. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  244. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  245. package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  246. package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  247. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  248. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  249. package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  250. package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  251. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  252. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  253. package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  254. package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  255. package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  256. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  257. package/{src/modules → bmad}/bmm/workflows/workflow-status/README.md +38 -19
  258. package/bmad/bmm/workflows/workflow-status/init/instructions.md +390 -0
  259. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  260. package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
  261. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +54 -0
  262. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml +58 -0
  263. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +76 -0
  264. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml +95 -0
  265. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +88 -0
  266. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
  267. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +45 -0
  268. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml +49 -0
  269. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml +78 -0
  270. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +73 -0
  271. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +75 -0
  272. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  273. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  274. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  275. package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  276. package/bmad/cis/README.md +153 -0
  277. package/bmad/cis/agents/README.md +104 -0
  278. package/bmad/cis/agents/brainstorming-coach.md +62 -0
  279. package/bmad/cis/agents/creative-problem-solver.md +62 -0
  280. package/bmad/cis/agents/design-thinking-coach.md +62 -0
  281. package/bmad/cis/agents/innovation-strategist.md +62 -0
  282. package/bmad/cis/agents/storyteller.md +59 -0
  283. package/bmad/{bmd → cis}/config.yaml +3 -3
  284. package/bmad/cis/teams/creative-squad.yaml +6 -0
  285. package/bmad/cis/workflows/README.md +139 -0
  286. package/bmad/cis/workflows/design-thinking/README.md +56 -0
  287. package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  288. package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
  289. package/bmad/cis/workflows/design-thinking/template.md +111 -0
  290. package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
  291. package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
  292. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  293. package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
  294. package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
  295. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
  296. package/bmad/cis/workflows/problem-solving/README.md +56 -0
  297. package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
  298. package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  299. package/bmad/cis/workflows/problem-solving/template.md +165 -0
  300. package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
  301. package/bmad/cis/workflows/storytelling/README.md +58 -0
  302. package/bmad/cis/workflows/storytelling/instructions.md +291 -0
  303. package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
  304. package/bmad/cis/workflows/storytelling/template.md +113 -0
  305. package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
  306. package/bmad/core/agents/bmad-master.md.bak +69 -0
  307. package/bmad/core/config.yaml +2 -2
  308. package/bmad/core/tasks/workflow.xml +0 -8
  309. package/bmad/core/tools/shard-doc.xml +8 -43
  310. package/docs/document-sharding-guide.md +447 -0
  311. package/docs/index.md +225 -0
  312. package/docs/v4-to-v6-upgrade.md +9 -7
  313. package/package.json +1 -1
  314. package/src/core/tools/shard-doc.xml +8 -43
  315. package/src/modules/bmb/README.md +135 -73
  316. package/src/modules/bmb/workflows/create-agent/README.md +126 -243
  317. package/src/modules/bmb/workflows/create-agent/instructions.md +25 -12
  318. package/src/modules/bmb/workflows/create-module/README.md +163 -154
  319. package/src/modules/bmb/workflows/create-workflow/instructions.md +16 -8
  320. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  321. package/src/modules/bmm/README.md +79 -92
  322. package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
  323. package/src/modules/bmm/agents/paige.agent.yaml +69 -0
  324. package/src/modules/bmm/agents/pm.agent.yaml +11 -1
  325. package/src/modules/bmm/docs/README.md +235 -0
  326. package/src/modules/bmm/docs/agents-guide.md +1109 -0
  327. package/src/modules/bmm/docs/brownfield-guide.md +638 -0
  328. package/src/modules/bmm/docs/brownfield-guide.md.backup +1324 -0
  329. package/src/modules/bmm/docs/enterprise-agentic-development.md +1040 -0
  330. package/src/modules/bmm/docs/faq.md +589 -0
  331. package/src/modules/bmm/docs/glossary.md +327 -0
  332. package/src/modules/bmm/docs/party-mode.md +1236 -0
  333. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  334. package/src/modules/bmm/docs/quick-start.md +366 -0
  335. package/src/modules/bmm/docs/scale-adaptive-system.md +749 -0
  336. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  337. package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
  338. package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
  339. package/src/modules/bmm/docs/workflows-analysis.md +670 -0
  340. package/src/modules/bmm/docs/workflows-implementation.md +1759 -0
  341. package/src/modules/bmm/docs/workflows-planning.md +1086 -0
  342. package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
  343. package/src/modules/bmm/docs/workflows-testing.md +1572 -0
  344. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/instructions.md +45 -26
  345. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +42 -23
  346. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  347. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  348. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  349. package/src/modules/bmm/workflows/1-analysis/game-brief/instructions.md +42 -28
  350. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +434 -231
  351. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
  352. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
  353. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  354. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  355. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
  356. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +68 -62
  357. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +203 -137
  358. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +53 -45
  359. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +116 -79
  360. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
  361. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
  362. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
  363. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +58 -22
  364. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
  365. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +52 -21
  366. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
  367. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +73 -22
  368. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +295 -63
  369. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +63 -0
  370. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  371. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +43 -0
  372. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  373. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +295 -321
  374. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
  375. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  376. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +24 -6
  377. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
  378. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +51 -4
  379. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
  380. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
  381. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1005 -141
  382. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
  383. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +36 -5
  384. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +21 -0
  385. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
  386. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +91 -79
  387. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
  388. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +94 -45
  389. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +26 -0
  390. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
  391. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
  392. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +31 -0
  393. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
  394. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
  395. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +31 -5
  396. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
  397. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
  398. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
  399. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
  400. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +34 -1
  401. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
  402. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
  403. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +117 -24
  404. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +2 -2
  405. package/src/modules/bmm/workflows/workflow-status/instructions.md +173 -111
  406. package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  407. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  408. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +3 -3
  409. package/src/modules/cis/README.md +153 -0
  410. package/src/modules/cis/workflows/README.md +102 -30
  411. package/src/modules/cis/workflows/storytelling/instructions.md +10 -2
  412. package/tools/cli/commands/install.js +1 -1
  413. package/tools/cli/installers/lib/core/manifest-generator.js +4 -1
  414. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  415. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  416. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  417. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  418. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  419. package/.claude/hooks/check-output-style.sh +0 -112
  420. package/.claude/hooks/download-extra-voices.sh +0 -244
  421. package/.claude/hooks/github-star-reminder.sh +0 -154
  422. package/.claude/hooks/language-manager.sh +0 -392
  423. package/.claude/hooks/learn-manager.sh +0 -475
  424. package/.claude/hooks/personality-manager.sh +0 -438
  425. package/.claude/hooks/piper-download-voices.sh +0 -165
  426. package/.claude/hooks/piper-installer.sh +0 -178
  427. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  428. package/.claude/hooks/piper-voice-manager.sh +0 -293
  429. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  430. package/.claude/hooks/play-tts-piper.sh +0 -338
  431. package/.claude/hooks/play-tts.sh +0 -100
  432. package/.claude/hooks/provider-commands.sh +0 -540
  433. package/.claude/hooks/provider-manager.sh +0 -298
  434. package/.claude/hooks/replay-target-audio.sh +0 -95
  435. package/.claude/hooks/sentiment-manager.sh +0 -201
  436. package/.claude/hooks/speed-manager.sh +0 -291
  437. package/.claude/hooks/voice-manager.sh +0 -594
  438. package/.claude/hooks/voices-config.sh +0 -70
  439. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  440. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  441. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  442. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  443. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  444. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  445. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  446. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  447. package/bmad/bmd/README.md +0 -193
  448. package/bmad/bmd/README.md.bak +0 -193
  449. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  450. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  451. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  452. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  453. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  454. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  455. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  456. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  457. package/bmad/bmd/agents/cli-chief.md +0 -108
  458. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  459. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  460. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  461. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  462. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  463. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  464. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  465. package/bmad/bmd/agents/doc-keeper.md +0 -115
  466. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  467. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  468. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  469. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  470. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  471. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  472. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  473. package/bmad/bmd/agents/release-chief.md +0 -109
  474. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  475. package/bmad/docs/codex-instructions.md +0 -21
  476. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  477. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  478. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -29
  479. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  480. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  481. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  482. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  483. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  484. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  485. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  486. package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -129
  487. package/src/modules/bmm/workflows/README.md +0 -577
  488. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.md +0 -30
  489. package/src/modules/cis/readme.md +0 -86
  490. /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
  491. /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
  492. /package/{docs/bmad-brownfield-guide.md → bmad/bmm/docs/brownfield-guide.md} +0 -0
  493. /package/{src/modules → bmad}/bmm/tasks/retrospective.xml +0 -0
  494. /package/{src/modules → bmad}/bmm/testarch/README.md +0 -0
  495. /package/{src/modules → bmad}/bmm/workflows/1-analysis/product-brief/README.md +0 -0
  496. /package/{src/modules → bmad}/bmm/workflows/1-analysis/research/README.md +0 -0
  497. /package/{src/modules → bmad}/bmm/workflows/2-plan-workflows/README.md +0 -0
  498. /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
  499. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/README.md +0 -0
  500. /package/{src/modules/bmm/workflows/3-solutioning/architecture/readme.md → bmad/bmm/workflows/3-solutioning/architecture/README.md} +0 -0
  501. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -0
  502. /package/{src/modules → bmad}/bmm/workflows/4-implementation/README.md +0 -0
  503. /package/{src/modules → bmad}/bmm/workflows/4-implementation/code-review/README.md +0 -0
  504. /package/{src/modules → bmad}/bmm/workflows/4-implementation/correct-course/README.md +0 -0
  505. /package/{src/modules → bmad}/bmm/workflows/4-implementation/dev-story/README.md +0 -0
  506. /package/{src/modules → bmad}/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -0
  507. /package/{src/modules → bmad}/bmm/workflows/4-implementation/retrospective/README.md +0 -0
  508. /package/{src/modules → bmad}/bmm/workflows/4-implementation/sprint-planning/README.md +0 -0
  509. /package/{src/modules → bmad}/bmm/workflows/4-implementation/story-context/README.md +0 -0
  510. /package/{src/modules → bmad}/bmm/workflows/document-project/README.md +0 -0
  511. /package/{src/modules → bmad}/bmm/workflows/document-project/templates/README.md +0 -0
  512. /package/{src/modules → bmad}/bmm/workflows/testarch/README.md +0 -0
  513. /package/{src/modules → bmad}/bmm/workflows/testarch/atdd/README.md +0 -0
  514. /package/{src/modules → bmad}/bmm/workflows/testarch/automate/README.md +0 -0
  515. /package/{src/modules → bmad}/bmm/workflows/testarch/ci/README.md +0 -0
  516. /package/{src/modules → bmad}/bmm/workflows/testarch/framework/README.md +0 -0
  517. /package/{src/modules → bmad}/bmm/workflows/testarch/nfr-assess/README.md +0 -0
  518. /package/{src/modules → bmad}/bmm/workflows/testarch/test-design/README.md +0 -0
  519. /package/{src/modules → bmad}/bmm/workflows/testarch/test-review/README.md +0 -0
  520. /package/{src/modules → bmad}/bmm/workflows/testarch/trace/README.md +0 -0
  521. /package/src/modules/bmm/sub-modules/claude-code/{readme.md → README.md} +0 -0
@@ -10,20 +10,40 @@
10
10
  <critical>If users mention gameplay mechanics, note them but keep focus on narrative</critical>
11
11
  <critical>Facilitate good brainstorming techniques throughout with the user, pushing them to come up with much of the narrative you will help weave together. The goal is for the user to feel that they crafted the narrative and story arc unless they push you to do it all or indicate YOLO</critical>
12
12
 
13
- <step n="0" goal="Check for workflow status">
13
+ <step n="0" goal="Check for workflow status" tag="workflow-status">
14
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
14
15
 
15
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
16
- <param>mode: init-check</param>
17
- </invoke-workflow>
18
-
19
- <check if="status_exists == true">
20
- <action>Store {{status_file_path}} for later updates</action>
21
- <action>Set tracking_mode = true</action>
16
+ <check if="status file not found">
17
+ <output>No workflow status file found. Narrative workflow is optional - you can continue without status tracking.</output>
18
+ <action>Set standalone_mode = true</action>
22
19
  </check>
23
20
 
24
- <check if="status_exists == false">
25
- <action>Set tracking_mode = false</action>
26
- <output>Note: Running without workflow tracking. Run `workflow-init` to enable progress tracking.</output>
21
+ <check if="status file found">
22
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
23
+ <action>Parse workflow_status section</action>
24
+ <action>Check status of "narrative" workflow</action>
25
+ <action>Get project_level from YAML metadata</action>
26
+ <action>Find first non-completed workflow (next expected workflow)</action>
27
+
28
+ <check if="narrative status is file path (already completed)">
29
+ <output>⚠️ Narrative Design Document already completed: {{narrative status}}</output>
30
+ <ask>Re-running will overwrite the existing narrative document. Continue? (y/n)</ask>
31
+ <check if="n">
32
+ <output>Exiting. Use workflow-status to see your next step.</output>
33
+ <action>Exit workflow</action>
34
+ </check>
35
+ </check>
36
+
37
+ <check if="narrative is not the next expected workflow (latter items are completed already in the list)">
38
+ <output>⚠️ Next expected workflow: {{next_workflow}}. Narrative is out of sequence.</output>
39
+ <ask>Continue with Narrative Design anyway? (y/n)</ask>
40
+ <check if="n">
41
+ <output>Exiting. Run {{next_workflow}} instead.</output>
42
+ <action>Exit workflow</action>
43
+ </check>
44
+ </check>
45
+
46
+ <action>Set standalone_mode = false</action>
27
47
  </check>
28
48
  </step>
29
49
 
@@ -539,19 +559,50 @@ Which would you like?</ask>
539
559
 
540
560
  </step>
541
561
 
542
- <step n="17" goal="Update status if tracking enabled">
562
+ <step n="17" goal="Update status if tracking enabled" tag="workflow-status">
543
563
 
544
- <check if="tracking_mode == true">
545
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
546
- <param>mode: update</param>
547
- <param>action: complete_workflow</param>
548
- <param>workflow_name: narrative</param>
549
- </invoke-workflow>
564
+ <check if="standalone_mode != true">
565
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
566
+ <action>Find workflow_status key "narrative"</action>
567
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
568
+ <action>Update workflow_status["narrative"] = "{output_folder}/bmm-narrative-{{game_name}}-{{date}}.md"</action>
569
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
550
570
 
551
- <check if="success == true">
552
- <output>✅ Status updated! Next: {{next_workflow}}</output>
553
- </check>
571
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
572
+ <action>Determine next agent from path file based on next workflow</action>
554
573
  </check>
555
- </step>
574
+
575
+ <output>**✅ Narrative Design Complete, {user_name}!**
576
+
577
+ **Narrative Document:**
578
+
579
+ - Narrative design saved to {output_folder}/bmm-narrative-{{game_name}}-{{date}}.md
580
+
581
+ {{#if standalone_mode != true}}
582
+ **Status Updated:**
583
+
584
+ - Progress tracking updated: narrative marked complete
585
+ - Next workflow: {{next_workflow}}
586
+ {{else}}
587
+ **Note:** Running in standalone mode (no progress tracking)
588
+ {{/if}}
589
+
590
+ **Next Steps:**
591
+
592
+ {{#if standalone_mode != true}}
593
+
594
+ - **Next workflow:** {{next_workflow}} ({{next_agent}} agent)
595
+ - **Optional:** Review narrative with writing team or stakeholders
596
+
597
+ Check status anytime with: `workflow-status`
598
+ {{else}}
599
+ Since no workflow is in progress:
600
+
601
+ - Review narrative design with team
602
+ - Refer to the BMM workflow guide if unsure what to do next
603
+ - Or run `workflow-init` to create a workflow path and get guided next steps
604
+ {{/if}}
605
+ </output>
606
+ </step>
556
607
 
557
608
  </workflow>
@@ -1,117 +1,349 @@
1
- # PRD Workflow Validation Checklist
1
+ # PRD + Epics + Stories Validation Checklist
2
2
 
3
- **Purpose**: Validate PRD workflow outputs are complete, consistent, and ready for next phase.
3
+ **Purpose**: Comprehensive validation that PRD, epics, and stories form a complete, implementable product plan.
4
4
 
5
- **Scope**: Levels 2-4 software projects
5
+ **Scope**: Validates the complete planning output (PRD.md + epics.md) for Levels 2-4 software projects
6
6
 
7
- **Expected Outputs**: PRD.md, epics.md, updated bmm-workflow-status.md
7
+ **Expected Outputs**:
8
+
9
+ - PRD.md with complete requirements
10
+ - epics.md with detailed epic and story breakdown
11
+ - Updated bmm-workflow-status.yaml
8
12
 
9
13
  ---
10
14
 
11
- ## 1. Output Files Exist
15
+ ## 1. PRD Document Completeness
16
+
17
+ ### Core Sections Present
18
+
19
+ - [ ] Executive Summary with vision alignment
20
+ - [ ] Product magic essence clearly articulated
21
+ - [ ] Project classification (type, domain, complexity)
22
+ - [ ] Success criteria defined
23
+ - [ ] Product scope (MVP, Growth, Vision) clearly delineated
24
+ - [ ] Functional requirements comprehensive and numbered
25
+ - [ ] Non-functional requirements (when applicable)
26
+ - [ ] References section with source documents
27
+
28
+ ### Project-Specific Sections
12
29
 
13
- - [ ] PRD.md created in output folder
14
- - [ ] epics.md created in output folder (separate file)
15
- - [ ] bmm-workflow-status.md updated
16
- - [ ] No unfilled {{template_variables}}
30
+ - [ ] **If complex domain:** Domain context and considerations documented
31
+ - [ ] **If innovation:** Innovation patterns and validation approach documented
32
+ - [ ] **If API/Backend:** Endpoint specification and authentication model included
33
+ - [ ] **If Mobile:** Platform requirements and device features documented
34
+ - [ ] **If SaaS B2B:** Tenant model and permission matrix included
35
+ - [ ] **If UI exists:** UX principles and key interactions documented
36
+
37
+ ### Quality Checks
38
+
39
+ - [ ] No unfilled template variables ({{variable}})
40
+ - [ ] All variables properly populated with meaningful content
41
+ - [ ] Product magic woven throughout (not just stated once)
42
+ - [ ] Language is clear, specific, and measurable
43
+ - [ ] Project type correctly identified and sections match
44
+ - [ ] Domain complexity appropriately addressed
17
45
 
18
46
  ---
19
47
 
20
- ## 2. PRD.md Core Quality
48
+ ## 2. Functional Requirements Quality
21
49
 
22
- ### Requirements Coverage
50
+ ### FR Format and Structure
23
51
 
24
- - [ ] Functional requirements describe WHAT capabilities (not HOW to implement)
25
- - [ ] Each FR has unique identifier (FR001, FR002, etc.)
26
- - [ ] Non-functional requirements (if any) have business justification
27
- - [ ] Requirements are testable and verifiable
52
+ - [ ] Each FR has unique identifier (FR-001, FR-002, etc.)
53
+ - [ ] FRs describe WHAT capabilities, not HOW to implement
54
+ - [ ] FRs are specific and measurable
55
+ - [ ] FRs are testable and verifiable
56
+ - [ ] FRs focus on user/business value
57
+ - [ ] No technical implementation details in FRs (those belong in architecture)
28
58
 
29
- ### User Journeys
59
+ ### FR Completeness
30
60
 
31
- - [ ] User journeys reference specific FR numbers
32
- - [ ] Journeys show complete user paths through system
33
- - [ ] Success outcomes are clear
61
+ - [ ] All MVP scope features have corresponding FRs
62
+ - [ ] Growth features documented (even if deferred)
63
+ - [ ] Vision features captured for future reference
64
+ - [ ] Domain-mandated requirements included
65
+ - [ ] Innovation requirements captured with validation needs
66
+ - [ ] Project-type specific requirements complete
34
67
 
35
- ### Strategic Focus
68
+ ### FR Organization
36
69
 
37
- - [ ] PRD focuses on WHAT and WHY (not technical HOW)
38
- - [ ] No specific technology choices in PRD (those belong in technical-decisions.md)
39
- - [ ] Goals are outcome-focused, not implementation-focused
70
+ - [ ] FRs organized by capability/feature area (not by tech stack)
71
+ - [ ] Related FRs grouped logically
72
+ - [ ] Dependencies between FRs noted when critical
73
+ - [ ] Priority/phase indicated (MVP vs Growth vs Vision)
40
74
 
41
75
  ---
42
76
 
43
- ## 3. epics.md Story Quality
77
+ ## 3. Epics Document Completeness
78
+
79
+ ### Required Files
80
+
81
+ - [ ] epics.md exists in output folder
82
+ - [ ] Epic list in PRD.md matches epics in epics.md (titles and count)
83
+ - [ ] All epics have detailed breakdown sections
44
84
 
45
- ### Story Format
85
+ ### Epic Quality
46
86
 
47
- - [ ] All stories follow user story format: "As a [role], I want [capability], so that [benefit]"
87
+ - [ ] Each epic has clear goal and value proposition
88
+ - [ ] Each epic includes complete story breakdown
89
+ - [ ] Stories follow proper user story format: "As a [role], I want [goal], so that [benefit]"
48
90
  - [ ] Each story has numbered acceptance criteria
49
- - [ ] Prerequisites/dependencies explicitly stated
91
+ - [ ] Prerequisites/dependencies explicitly stated per story
92
+ - [ ] Stories are AI-agent sized (completable in 2-4 hour session)
93
+
94
+ ---
50
95
 
51
- ### Story Sequencing (CRITICAL)
96
+ ## 4. FR Coverage Validation (CRITICAL)
52
97
 
53
- - [ ] **Epic 1 establishes foundation** (infrastructure, initial deployable functionality)
54
- - Exception noted if adding to existing app
55
- - [ ] **Vertical slices**: Each story delivers complete, testable functionality (not horizontal layers)
56
- - [ ] **No forward dependencies**: No story depends on work from a LATER story or epic
57
- - [ ] Stories are sequentially ordered within each epic
58
- - [ ] Each story leaves system in working state
98
+ ### Complete Traceability
59
99
 
60
- ### Coverage
100
+ - [ ] **Every FR from PRD.md is covered by at least one story in epics.md**
101
+ - [ ] Each story references relevant FR numbers
102
+ - [ ] No orphaned FRs (requirements without stories)
103
+ - [ ] No orphaned stories (stories without FR connection)
104
+ - [ ] Coverage matrix verified (can trace FR → Epic → Stories)
61
105
 
62
- - [ ] All FRs from PRD.md are covered by stories in epics.md
63
- - [ ] Epic list in PRD.md matches epics in epics.md (titles and count)
106
+ ### Coverage Quality
107
+
108
+ - [ ] Stories sufficiently decompose FRs into implementable units
109
+ - [ ] Complex FRs broken into multiple stories appropriately
110
+ - [ ] Simple FRs have appropriately scoped single stories
111
+ - [ ] Non-functional requirements reflected in story acceptance criteria
112
+ - [ ] Domain requirements embedded in relevant stories
113
+
114
+ ---
115
+
116
+ ## 5. Story Sequencing Validation (CRITICAL)
117
+
118
+ ### Epic 1 Foundation Check
119
+
120
+ - [ ] **Epic 1 establishes foundational infrastructure**
121
+ - [ ] Epic 1 delivers initial deployable functionality
122
+ - [ ] Epic 1 creates baseline for subsequent epics
123
+ - [ ] Exception: If adding to existing app, foundation requirement adapted appropriately
124
+
125
+ ### Vertical Slicing
126
+
127
+ - [ ] **Each story delivers complete, testable functionality** (not horizontal layers)
128
+ - [ ] No "build database" or "create UI" stories in isolation
129
+ - [ ] Stories integrate across stack (data + logic + presentation when applicable)
130
+ - [ ] Each story leaves system in working/deployable state
131
+
132
+ ### No Forward Dependencies
133
+
134
+ - [ ] **No story depends on work from a LATER story or epic**
135
+ - [ ] Stories within each epic are sequentially ordered
136
+ - [ ] Each story builds only on previous work
137
+ - [ ] Dependencies flow backward only (can reference earlier stories)
138
+ - [ ] Parallel tracks clearly indicated if stories are independent
139
+
140
+ ### Value Delivery Path
141
+
142
+ - [ ] Each epic delivers significant end-to-end value
143
+ - [ ] Epic sequence shows logical product evolution
144
+ - [ ] User can see value after each epic completion
145
+ - [ ] MVP scope clearly achieved by end of designated epics
146
+
147
+ ---
148
+
149
+ ## 6. Scope Management
150
+
151
+ ### MVP Discipline
152
+
153
+ - [ ] MVP scope is genuinely minimal and viable
154
+ - [ ] Core features list contains only true must-haves
155
+ - [ ] Each MVP feature has clear rationale for inclusion
156
+ - [ ] No obvious scope creep in "must-have" list
157
+
158
+ ### Future Work Captured
159
+
160
+ - [ ] Growth features documented for post-MVP
161
+ - [ ] Vision features captured to maintain long-term direction
162
+ - [ ] Out-of-scope items explicitly listed
163
+ - [ ] Deferred features have clear reasoning for deferral
164
+
165
+ ### Clear Boundaries
166
+
167
+ - [ ] Stories marked as MVP vs Growth vs Vision
168
+ - [ ] Epic sequencing aligns with MVP → Growth progression
169
+ - [ ] No confusion about what's in vs out of initial scope
170
+
171
+ ---
172
+
173
+ ## 7. Research and Context Integration
174
+
175
+ ### Source Document Integration
176
+
177
+ - [ ] **If product brief exists:** Key insights incorporated into PRD
178
+ - [ ] **If domain brief exists:** Domain requirements reflected in FRs and stories
179
+ - [ ] **If research documents exist:** Research findings inform requirements
180
+ - [ ] **If competitive analysis exists:** Differentiation strategy clear in PRD
181
+ - [ ] All source documents referenced in PRD References section
182
+
183
+ ### Research Continuity to Architecture
184
+
185
+ - [ ] Domain complexity considerations documented for architects
186
+ - [ ] Technical constraints from research captured
187
+ - [ ] Regulatory/compliance requirements clearly stated
188
+ - [ ] Integration requirements with existing systems documented
189
+ - [ ] Performance/scale requirements informed by research data
190
+
191
+ ### Information Completeness for Next Phase
192
+
193
+ - [ ] PRD provides sufficient context for architecture decisions
194
+ - [ ] Epics provide sufficient detail for technical design
195
+ - [ ] Stories have enough acceptance criteria for implementation
196
+ - [ ] Non-obvious business rules documented
197
+ - [ ] Edge cases and special scenarios captured
64
198
 
65
199
  ---
66
200
 
67
- ## 4. Cross-Document Consistency
201
+ ## 8. Cross-Document Consistency
68
202
 
69
- - [ ] Epic titles consistent between PRD.md and epics.md
70
- - [ ] FR references in user journeys exist in requirements section
71
- - [ ] Terminology consistent across documents
203
+ ### Terminology Consistency
204
+
205
+ - [ ] Same terms used across PRD and epics for concepts
206
+ - [ ] Feature names consistent between documents
207
+ - [ ] Epic titles match between PRD and epics.md
72
208
  - [ ] No contradictions between PRD and epics
73
209
 
210
+ ### Alignment Checks
211
+
212
+ - [ ] Success metrics in PRD align with story outcomes
213
+ - [ ] Product magic articulated in PRD reflected in epic goals
214
+ - [ ] Technical preferences in PRD align with story implementation hints
215
+ - [ ] Scope boundaries consistent across all documents
216
+
217
+ ---
218
+
219
+ ## 9. Readiness for Implementation
220
+
221
+ ### Architecture Readiness (Next Phase)
222
+
223
+ - [ ] PRD provides sufficient context for architecture workflow
224
+ - [ ] Technical constraints and preferences documented
225
+ - [ ] Integration points identified
226
+ - [ ] Performance/scale requirements specified
227
+ - [ ] Security and compliance needs clear
228
+
229
+ ### Development Readiness
230
+
231
+ - [ ] Stories are specific enough to estimate
232
+ - [ ] Acceptance criteria are testable
233
+ - [ ] Technical unknowns identified and flagged
234
+ - [ ] Dependencies on external systems documented
235
+ - [ ] Data requirements specified
236
+
237
+ ### Level-Appropriate Detail
238
+
239
+ **If Level 2:**
240
+
241
+ - [ ] PRD supports lightweight tech-spec workflow
242
+ - [ ] 5-15 story scope reasonable for project size
243
+ - [ ] Complexity appropriate for small team/solo dev
244
+
245
+ **If Level 3-4:**
246
+
247
+ - [ ] PRD supports full architecture workflow
248
+ - [ ] Epic structure supports phased delivery
249
+ - [ ] Scope appropriate for team-based development
250
+ - [ ] Clear value delivery through epic sequence
251
+
74
252
  ---
75
253
 
76
- ## 5. Readiness for Next Phase
254
+ ## 10. Quality and Polish
255
+
256
+ ### Writing Quality
77
257
 
78
- **Adapt based on project level from bmm-workflow-status.md:**
258
+ - [ ] Language is clear and free of jargon (or jargon is defined)
259
+ - [ ] Sentences are concise and specific
260
+ - [ ] No vague statements ("should be fast", "user-friendly")
261
+ - [ ] Measurable criteria used throughout
262
+ - [ ] Professional tone appropriate for stakeholder review
79
263
 
80
- ### If Level 2:
264
+ ### Document Structure
81
265
 
82
- - [ ] PRD provides sufficient context for tech-spec workflow (lightweight solutioning)
83
- - [ ] Epic structure supports 5-15 story implementation scope
266
+ - [ ] Sections flow logically
267
+ - [ ] Headers and numbering consistent
268
+ - [ ] Cross-references accurate (FR numbers, section references)
269
+ - [ ] Formatting consistent throughout
270
+ - [ ] Tables/lists formatted properly
84
271
 
85
- ### If Level 3-4:
272
+ ### Completeness Indicators
86
273
 
87
- - [ ] PRD provides sufficient context for create-architecture workflow
88
- - [ ] Epic structure supports phased delivery approach
89
- - [ ] Clear value delivery path through epic sequence
274
+ - [ ] No [TODO] or [TBD] markers remain
275
+ - [ ] No placeholder text
276
+ - [ ] All sections have substantive content
277
+ - [ ] Optional sections either complete or omitted (not half-done)
90
278
 
91
279
  ---
92
280
 
93
- ## 6. Critical Failures (Auto-Fail)
281
+ ## Critical Failures (Auto-Fail)
94
282
 
95
- - [ ] **No epics.md file** (two-file output is required)
96
- - [ ] ❌ **Epic 1 doesn't establish foundation** (violates core principle)
97
- - [ ] ❌ **Stories have forward dependencies** (would break sequential implementation)
283
+ If ANY of these are true, validation FAILS:
284
+
285
+ - [ ] ❌ **No epics.md file exists** (two-file output required)
286
+ - [ ] ❌ **Epic 1 doesn't establish foundation** (violates core sequencing principle)
287
+ - [ ] ❌ **Stories have forward dependencies** (breaks sequential implementation)
98
288
  - [ ] ❌ **Stories not vertically sliced** (horizontal layers block value delivery)
99
- - [ ] ❌ **Technical decisions in PRD** (should be in technical-decisions.md)
100
289
  - [ ] ❌ **Epics don't cover all FRs** (orphaned requirements)
101
- - [ ] ❌ **User journeys don't reference FR numbers** (missing traceability)
290
+ - [ ] ❌ **FRs contain technical implementation details** (should be in architecture)
291
+ - [ ] ❌ **No FR traceability to stories** (can't validate coverage)
292
+ - [ ] ❌ **Template variables unfilled** (incomplete document)
102
293
 
103
294
  ---
104
295
 
105
- ## Validation Notes
296
+ ## Validation Summary
297
+
298
+ **Total Validation Points:** ~85
106
299
 
107
- **Document any findings:**
300
+ ### Scoring Guide
108
301
 
109
- - Strengths:
110
- - Issues to address:
111
- - Recommended actions:
302
+ - **Pass Rate ≥ 95% (81+/85):** ✅ EXCELLENT - Ready for architecture phase
303
+ - **Pass Rate 85-94% (72-80/85):** ⚠️ GOOD - Minor fixes needed
304
+ - **Pass Rate 70-84% (60-71/85):** ⚠️ FAIR - Important issues to address
305
+ - **Pass Rate < 70% (<60/85):** ❌ POOR - Significant rework required
306
+
307
+ ### Critical Issue Threshold
308
+
309
+ - **0 Critical Failures:** Proceed to fixes
310
+ - **1+ Critical Failures:** STOP - Must fix critical issues first
311
+
312
+ ---
112
313
 
113
- **Ready for next phase?** [Yes / No - explain]
314
+ ## Validation Execution Notes
315
+
316
+ **When validating:**
317
+
318
+ 1. **Load ALL documents:**
319
+ - PRD.md (required)
320
+ - epics.md (required)
321
+ - product-brief.md (if exists)
322
+ - domain-brief.md (if exists)
323
+ - research documents (if referenced)
324
+
325
+ 2. **Validate in order:**
326
+ - Check critical failures first (immediate stop if any found)
327
+ - Verify PRD completeness
328
+ - Verify epics completeness
329
+ - Cross-reference FR coverage (most important)
330
+ - Check sequencing (second most important)
331
+ - Validate research integration
332
+ - Check polish and quality
333
+
334
+ 3. **Report findings:**
335
+ - List critical failures prominently
336
+ - Group issues by severity
337
+ - Provide specific line numbers/sections
338
+ - Suggest concrete fixes
339
+ - Highlight what's working well
340
+
341
+ 4. **Provide actionable next steps:**
342
+ - If validation passes: "Ready for architecture workflow"
343
+ - If minor issues: "Fix [X] items then re-validate"
344
+ - If major issues: "Rework [sections] then re-validate"
345
+ - If critical failures: "Must fix critical items before proceeding"
114
346
 
115
347
  ---
116
348
 
117
- _Adapt this checklist based on actual outputs. Not all sections may apply to every project._
349
+ **Remember:** This validation ensures the entire planning phase is complete and the implementation phase has everything needed to succeed. Be thorough but fair - the goal is quality, not perfection.
@@ -0,0 +1,63 @@
1
+ # {{project_name}} - Epic Breakdown
2
+
3
+ **Author:** {{user_name}}
4
+ **Date:** {{date}}
5
+ **Project Level:** {{project_level}}
6
+ **Target Scale:** {{target_scale}}
7
+
8
+ ---
9
+
10
+ ## Overview
11
+
12
+ This document provides the detailed epic breakdown for {{project_name}}, expanding on the high-level epic list in the [PRD](./PRD.md).
13
+
14
+ Each epic includes:
15
+
16
+ - Expanded goal and value proposition
17
+ - Complete story breakdown with user stories
18
+ - Acceptance criteria for each story
19
+ - Story sequencing and dependencies
20
+
21
+ **Epic Sequencing Principles:**
22
+
23
+ - Epic 1 establishes foundational infrastructure and initial functionality
24
+ - Subsequent epics build progressively, each delivering significant end-to-end value
25
+ - Stories within epics are vertically sliced and sequentially ordered
26
+ - No forward dependencies - each story builds only on previous work
27
+
28
+ ---
29
+
30
+ {{epic_details}}
31
+
32
+ ---
33
+
34
+ ## Story Guidelines Reference
35
+
36
+ **Story Format:**
37
+
38
+ ```
39
+ **Story [EPIC.N]: [Story Title]**
40
+
41
+ As a [user type],
42
+ I want [goal/desire],
43
+ So that [benefit/value].
44
+
45
+ **Acceptance Criteria:**
46
+ 1. [Specific testable criterion]
47
+ 2. [Another specific criterion]
48
+ 3. [etc.]
49
+
50
+ **Prerequisites:** [Dependencies on previous stories, if any]
51
+ ```
52
+
53
+ **Story Requirements:**
54
+
55
+ - **Vertical slices** - Complete, testable functionality delivery
56
+ - **Sequential ordering** - Logical progression within epic
57
+ - **No forward dependencies** - Only depend on previous work
58
+ - **AI-agent sized** - Completable in 2-4 hour focused session
59
+ - **Value-focused** - Integrate technical enablers into value-delivering stories
60
+
61
+ ---
62
+
63
+ **For implementation:** Use the `create-story` workflow to generate individual story implementation plans from this epic breakdown.