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
@@ -2,38 +2,65 @@
2
2
 
3
3
  <critical>The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml</critical>
4
4
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
- <critical>This workflow conducts technical research for architecture and technology decisions</critical>
5
+ <critical>This workflow uses ADAPTIVE FACILITATION - adjust your communication style based on {user_skill_level}</critical>
6
+ <critical>This is a HIGHLY INTERACTIVE workflow - make technical decisions WITH user, not FOR them</critical>
7
+ <critical>Web research is MANDATORY - use WebSearch tool with {{current_year}} for current version info and trends</critical>
8
+ <critical>ALWAYS verify current versions - NEVER use hardcoded or outdated version numbers</critical>
9
+ <critical>Communicate all responses in {communication_language} and tailor to {user_skill_level}</critical>
10
+ <critical>Generate all documents in {document_output_language}</critical>
11
+
12
+ <critical>🚨 ANTI-HALLUCINATION PROTOCOL - MANDATORY 🚨</critical>
13
+ <critical>NEVER invent version numbers, features, or technical details - ALWAYS verify with current {{current_year}} sources</critical>
14
+ <critical>Every technical claim (version, feature, performance, compatibility) MUST have a cited source with URL</critical>
15
+ <critical>Version numbers MUST be verified via WebSearch - do NOT rely on training data (it's outdated!)</critical>
16
+ <critical>When comparing technologies, cite sources for each claim (performance benchmarks, community size, etc.)</critical>
17
+ <critical>Mark confidence levels: [Verified {{current_year}} source], [Older source - verify], [Uncertain - needs verification]</critical>
18
+ <critical>Distinguish: FACT (from official docs/sources), OPINION (from community/reviews), SPECULATION (your analysis)</critical>
19
+ <critical>If you cannot find current information about a technology, state: "I could not find recent {{current_year}} data on [X]"</critical>
20
+ <critical>Extract and include source URLs in all technology profiles and comparisons</critical>
6
21
 
7
22
  <workflow>
8
23
 
9
- <step n="1" goal="Technical Research Discovery">
10
- <action>Understand the technical research requirements</action>
24
+ <step n="1" goal="Discover technical research needs through conversation">
11
25
 
12
- **Welcome to Technical/Architecture Research!**
26
+ <action>Engage conversationally based on skill level:
13
27
 
14
- <ask>What technical decision or research do you need?
28
+ <check if="{user_skill_level} == 'expert'">
29
+ "Let's research the technical options for your decision.
15
30
 
16
- Common scenarios:
31
+ I'll gather current data from {{current_year}}, compare approaches, and help you think through trade-offs.
17
32
 
18
- - Evaluate technology stack for a new project
19
- - Compare frameworks or libraries (React vs Vue, Postgres vs MongoDB)
20
- - Research architecture patterns (microservices, event-driven, CQRS)
21
- - Investigate specific technologies or tools
22
- - Best practices for specific use cases
23
- - Performance and scalability considerations
24
- - Security and compliance research</ask>
33
+ What technical question are you wrestling with?"
34
+ </check>
25
35
 
26
- <template-output>technical_question</template-output>
36
+ <check if="{user_skill_level} == 'intermediate'">
37
+ "I'll help you research and evaluate your technical options.
38
+
39
+ We'll look at current technologies (using {{current_year}} data), understand the trade-offs, and figure out what fits your needs best.
40
+
41
+ What technical decision are you trying to make?"
42
+ </check>
43
+
44
+ <check if="{user_skill_level} == 'beginner'">
45
+ "Think of this as having a technical advisor help you research your options.
46
+
47
+ I'll explain what different technologies do, why you might choose one over another, and help you make an informed decision.
48
+
49
+ What technical challenge brought you here?"
50
+ </check>
51
+ </action>
27
52
 
28
- <ask>What's the context for this decision?
53
+ <action>Through conversation, understand:
29
54
 
30
- - New greenfield project
31
- - Adding to existing system (brownfield)
32
- - Refactoring/modernizing legacy system
33
- - Proof of concept / prototype
34
- - Production-ready implementation
35
- - Academic/learning purpose</ask>
55
+ - **The technical question** - What they need to decide or understand
56
+ - **The context** - Greenfield? Brownfield? Learning? Production?
57
+ - **Current constraints** - Languages, platforms, team skills, budget
58
+ - **What they already know** - Do they have candidates in mind?
36
59
 
60
+ Don't interrogate - explore together. If they're unsure, help them articulate the problem.
61
+ </action>
62
+
63
+ <template-output>technical_question</template-output>
37
64
  <template-output>project_context</template-output>
38
65
 
39
66
  </step>
@@ -82,49 +109,70 @@ Consider:
82
109
 
83
110
  </step>
84
111
 
85
- <step n="3" goal="Identify Alternatives and Options">
86
- <action>Research and identify technology options to evaluate</action>
112
+ <step n="3" goal="Discover and evaluate technology options together">
87
113
 
88
- <ask>Do you have specific technologies in mind to compare, or should I discover options?
114
+ <critical>MUST use WebSearch to find current options from {{current_year}}</critical>
89
115
 
90
- If you have specific options, list them. Otherwise, I'll research current leading solutions based on your requirements.</ask>
116
+ <action>Ask if they have candidates in mind:
91
117
 
92
- <template-output if="user provides options">user_provided_options</template-output>
118
+ "Do you already have specific technologies you want to compare, or should I search for the current options?"
119
+ </action>
93
120
 
94
- <check if="discovering options">
95
- <action>Conduct web research to identify current leading solutions</action>
96
- <action>Search for:
121
+ <action if="user has candidates">Great! Let's research: {{user_candidates}}</action>
97
122
 
98
- - "[technical_category] best tools 2025"
99
- - "[technical_category] comparison [use_case]"
100
- - "[technical_category] production experiences reddit"
101
- - "State of [technical_category] 2025"
102
- </action>
123
+ <action if="discovering options">Search for current leading technologies:
103
124
 
104
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
125
+ <WebSearch>{{technical_category}} best tools {{current_year}}</WebSearch>
126
+ <WebSearch>{{technical_category}} comparison {{use_case}} {{current_year}}</WebSearch>
127
+ <WebSearch>{{technical_category}} popular frameworks {{current_year}}</WebSearch>
128
+ <WebSearch>state of {{technical_category}} {{current_year}}</WebSearch>
129
+ </action>
105
130
 
106
- <action>Present discovered options (typically 3-5 main candidates)</action>
107
- <template-output>technology_options</template-output>
131
+ <action>Share findings conversationally:
132
+
133
+ "Based on current {{current_year}} data, here are the main options:
134
+
135
+ {{discovered_options}}
108
136
 
137
+ <check if="{user_skill_level} == 'expert'">
138
+ These are the leaders right now. Which ones make sense to evaluate for your use case?"
109
139
  </check>
110
140
 
141
+ <check if="{user_skill_level} == 'beginner'">
142
+ Each of these is popular for different reasons. Let me know if you want me to explain what makes each one different."
143
+ </check>
144
+ </action>
145
+
146
+ <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
147
+
148
+ <template-output>technology_options</template-output>
149
+
111
150
  </step>
112
151
 
113
- <step n="4" goal="Deep Dive Research on Each Option">
114
- <action>Research each technology option in depth</action>
152
+ <step n="4" goal="Research each technology together in depth">
115
153
 
116
- <critical>For each technology option, research thoroughly</critical>
154
+ <critical>For each option, use WebSearch to gather CURRENT {{current_year}} information</critical>
117
155
 
118
- <step n="4a" title="Technology Profile" repeat="for-each-option">
156
+ <step n="4a" title="Deep dive on each technology" repeat="for-each-option">
119
157
 
120
- Research and document:
158
+ <action>For {{technology_name}}, conduct comprehensive research:
159
+
160
+ <WebSearch>{{technology_name}} overview what is {{current_year}}</WebSearch>
161
+ <WebSearch>{{technology_name}} latest version release notes {{current_year}}</WebSearch>
162
+ <WebSearch>{{technology_name}} pros cons trade-offs {{current_year}}</WebSearch>
163
+ <WebSearch>{{technology_name}} production experience real world {{current_year}}</WebSearch>
164
+ <WebSearch>{{technology_name}} vs alternatives comparison {{current_year}}</WebSearch>
165
+ </action>
166
+
167
+ <action>Share findings conversationally and collaboratively:
168
+
169
+ "Here's what I found about {{technology_name}}:
121
170
 
122
171
  **Overview:**
172
+ {{what_it_is_and_solves}}
123
173
 
124
- - What is it and what problem does it solve?
125
- - Maturity level (experimental, stable, mature, legacy)
126
- - Community size and activity
127
- - Maintenance status and release cadence
174
+ **Current Status ({{current_year}}):**
175
+ {{maturity_community_release_cadence}}
128
176
 
129
177
  **Technical Characteristics:**
130
178
 
@@ -442,60 +490,49 @@ Select option (1-5):</ask>
442
490
 
443
491
  </step>
444
492
 
445
- <step n="FINAL" goal="Update status file on completion">
446
- <action>Search {output_folder}/ for files matching pattern: bmm-workflow-status.md</action>
447
- <action>Find the most recent file (by date in filename)</action>
448
-
449
- <check if="status file exists">
450
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
451
- <param>mode: update</param>
452
- <param>action: complete_workflow</param>
453
- <param>workflow_name: research</param>
454
- </invoke-workflow>
493
+ <step n="FINAL" goal="Update status file on completion" tag="workflow-status">
494
+ <check if="standalone_mode != true">
495
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
496
+ <action>Find workflow_status key "research"</action>
497
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
498
+ <action>Update workflow_status["research"] = "{output_folder}/bmm-research-technical-{{date}}.md"</action>
499
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
455
500
 
456
- <check if="success == true">
457
- <output>Status updated! Next: {{next_workflow}}</output>
458
- </check>
501
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
502
+ <action>Determine next agent from path file based on next workflow</action>
459
503
  </check>
460
504
 
461
505
  <output>**✅ Technical Research Complete**
462
506
 
463
507
  **Research Report:**
464
508
 
465
- - Technical research report generated and saved
509
+ - Technical research report generated and saved to {output_folder}/bmm-research-technical-{{date}}.md
466
510
 
467
- **Status file updated:**
511
+ {{#if standalone_mode != true}}
512
+ **Status Updated:**
468
513
 
469
- - Current step: research (technical)
470
- - Progress: {{new_progress_percentage}}%
514
+ - Progress tracking updated: research marked complete
515
+ - Next workflow: {{next_workflow}}
516
+ {{else}}
517
+ **Note:** Running in standalone mode (no progress tracking)
518
+ {{/if}}
471
519
 
472
520
  **Next Steps:**
473
521
 
474
- - **Next required:** {{next_workflow}} ({{next_agent}} agent)
522
+ {{#if standalone_mode != true}}
523
+
524
+ - **Next workflow:** {{next_workflow}} ({{next_agent}} agent)
475
525
  - **Optional:** Review findings with architecture team, or run additional analysis workflows
476
526
 
477
527
  Check status anytime with: `workflow-status`
478
- </output>
479
- </check>
480
-
481
- <check if="status file not found">
482
- <output>**✅ Technical Research Complete**
483
-
484
- **Research Report:**
485
-
486
- - Technical research report generated and saved
487
-
488
- Note: Running in standalone mode (no status file).
489
-
490
- **Next Steps:**
491
-
528
+ {{else}}
492
529
  Since no workflow is in progress:
493
530
 
494
531
  - Review technical research findings
495
532
  - Refer to the BMM workflow guide if unsure what to do next
496
533
  - Or run `workflow-init` to create a workflow path and get guided next steps
534
+ {{/if}}
497
535
  </output>
498
- </check>
499
536
  </step>
500
537
 
501
538
  </workflow>
@@ -293,6 +293,40 @@
293
293
 
294
294
  ---
295
295
 
296
+ ## References and Sources
297
+
298
+ **CRITICAL: All data in this report must be verifiable through the sources listed below**
299
+
300
+ ### Market Size and Growth Data Sources
301
+
302
+ {{sources_market_size}}
303
+
304
+ ### Competitive Intelligence Sources
305
+
306
+ {{sources_competitive}}
307
+
308
+ ### Customer Research Sources
309
+
310
+ {{sources_customer}}
311
+
312
+ ### Industry Trends and Analysis Sources
313
+
314
+ {{sources_trends}}
315
+
316
+ ### Additional References
317
+
318
+ {{sources_additional}}
319
+
320
+ ### Source Quality Assessment
321
+
322
+ - **High Credibility Sources (2+ corroborating):** {{high_confidence_count}} claims
323
+ - **Medium Credibility (single source):** {{medium_confidence_count}} claims
324
+ - **Low Credibility (needs verification):** {{low_confidence_count}} claims
325
+
326
+ **Note:** Any claim marked [Low Confidence] or [Single source] should be independently verified before making critical business decisions.
327
+
328
+ ---
329
+
296
330
  ## Document Information
297
331
 
298
332
  **Workflow:** BMad Market Research Workflow v1.0
@@ -305,7 +339,9 @@
305
339
  - **Data Freshness:** Current as of {{date}}
306
340
  - **Source Reliability:** {{source_reliability_score}}
307
341
  - **Confidence Level:** {{confidence_level}}
342
+ - **Total Sources Cited:** {{total_sources}}
343
+ - **Web Searches Conducted:** {{search_count}}
308
344
 
309
345
  ---
310
346
 
311
- _This market research report was generated using the BMad Method Market Research Workflow, combining systematic analysis frameworks with real-time market intelligence gathering._
347
+ _This market research report was generated using the BMad Method Market Research Workflow, combining systematic analysis frameworks with real-time market intelligence gathering. All factual claims are backed by cited sources with verification dates._
@@ -198,13 +198,48 @@
198
198
 
199
199
  ---
200
200
 
201
+ ## References and Sources
202
+
203
+ **CRITICAL: All technical claims, versions, and benchmarks must be verifiable through sources below**
204
+
205
+ ### Official Documentation and Release Notes
206
+
207
+ {{sources_official_docs}}
208
+
209
+ ### Performance Benchmarks and Comparisons
210
+
211
+ {{sources_benchmarks}}
212
+
213
+ ### Community Experience and Reviews
214
+
215
+ {{sources_community}}
216
+
217
+ ### Architecture Patterns and Best Practices
218
+
219
+ {{sources_architecture}}
220
+
221
+ ### Additional Technical References
222
+
223
+ {{sources_additional}}
224
+
225
+ ### Version Verification
226
+
227
+ - **Technologies Researched:** {{technology_count}}
228
+ - **Versions Verified ({{current_year}}):** {{verified_versions_count}}
229
+ - **Sources Requiring Update:** {{outdated_sources_count}}
230
+
231
+ **Note:** All version numbers were verified using current {{current_year}} sources. Versions may change - always verify latest stable release before implementation.
232
+
233
+ ---
234
+
201
235
  ## Document Information
202
236
 
203
237
  **Workflow:** BMad Research Workflow - Technical Research v2.0
204
238
  **Generated:** {{date}}
205
239
  **Research Type:** Technical/Architecture Research
206
240
  **Next Review:** [Date for review/update]
241
+ **Total Sources Cited:** {{total_sources}}
207
242
 
208
243
  ---
209
244
 
210
- _This technical research report was generated using the BMad Method Research Workflow, combining systematic technology evaluation frameworks with real-time research and analysis._
245
+ _This technical research report was generated using the BMad Method Research Workflow, combining systematic technology evaluation frameworks with real-time research and analysis. All version numbers and technical claims are backed by current {{current_year}} sources._
@@ -11,6 +11,17 @@ communication_language: "{config_source}:communication_language"
11
11
  document_output_language: "{config_source}:document_output_language"
12
12
  user_skill_level: "{config_source}:user_skill_level"
13
13
  date: system-generated
14
+ current_year: system-generated
15
+ current_month: system-generated
16
+
17
+ # Research behavior - WEB RESEARCH IS DEFAULT
18
+ enable_web_research: true
19
+
20
+ # Source tracking and verification - CRITICAL FOR ACCURACY
21
+ require_citations: true
22
+ require_source_urls: true
23
+ minimum_sources_per_claim: 2
24
+ fact_check_critical_data: true
14
25
 
15
26
  # Workflow components - ROUTER PATTERN
16
27
  installed_path: "{project-root}/bmad/bmm/workflows/1-analysis/research"
@@ -47,3 +58,5 @@ web_bundle:
47
58
  - "bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md"
48
59
  - "bmad/bmm/workflows/1-analysis/research/template-technical.md"
49
60
  - "bmad/bmm/workflows/1-analysis/research/checklist.md"
61
+ - "bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md"
62
+ - "bmad/bmm/workflows/1-analysis/research/checklist-technical.md"
@@ -12,28 +12,60 @@
12
12
 
13
13
  <critical>DOCUMENT OUTPUT: Professional, specific, actionable UX design decisions WITH RATIONALE. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
14
14
 
15
- <step n="0" goal="Validate workflow and extract project configuration">
15
+ ## 📚 Input Document Discovery
16
16
 
17
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
18
- <param>mode: data</param>
19
- <param>data_request: project_config</param>
20
- </invoke-workflow>
17
+ This workflow requires: PRD or product brief, and may reference epics/stories, brainstorming documents, or brownfield project documentation.
21
18
 
22
- <check if="status_exists == false">
23
- <output>**Note: No Workflow Status File Found**
19
+ **Discovery Process** (execute for each referenced document):
24
20
 
25
- Create UX Design can run standalone or as part of the BMM planning workflow.
21
+ 1. **Search for whole document first** - Use fuzzy file matching to find the complete document
22
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
23
+ 3. **If sharded version found**:
24
+ - Read `index.md` to understand the document structure
25
+ - Read ALL section files listed in the index
26
+ - Treat the combined content as if it were a single document
27
+ 4. **Brownfield projects**: The `document-project` workflow always creates `{output_folder}/docs/index.md`
26
28
 
27
- For standalone use, we'll gather requirements as we go.
28
- For integrated use, run `workflow-init` first for better context.
29
- </output>
30
- <action>Set mode: standalone</action>
29
+ **Priority**: If both whole and sharded versions exist, use the whole document.
30
+
31
+ **Fuzzy matching**: Be flexible with document names - users may use variations in naming conventions.
32
+
33
+ <step n="0" goal="Validate workflow readiness" tag="workflow-status">
34
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
35
+
36
+ <check if="status file not found">
37
+ <output>No workflow status file found. Create UX Design can run standalone or as part of BMM planning workflow.</output>
38
+ <output>For standalone use, we'll gather requirements as we go. For integrated use, run `workflow-init` first for better context.</output>
39
+ <action>Set standalone_mode = true</action>
31
40
  </check>
32
41
 
33
- <check if="status_exists == true">
34
- <action>Store {{status_file_path}} for later updates</action>
35
- <action>Store {{project_level}} for scoping decisions</action>
36
- <action>Set mode: integrated</action>
42
+ <check if="status file found">
43
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
44
+ <action>Parse workflow_status section</action>
45
+ <action>Check status of "create-design" workflow</action>
46
+ <action>Get project_level from YAML metadata</action>
47
+ <action>Find first non-completed workflow (next expected workflow)</action>
48
+
49
+ <check if="create-design status is file path (already completed)">
50
+ <output>⚠️ UX Design already completed: {{create-design status}}</output>
51
+ <ask>Re-running will overwrite the existing UX design. Continue? (y/n)</ask>
52
+ <check if="n">
53
+ <output>Exiting. Use workflow-status to see your next step.</output>
54
+ <action>Exit workflow</action>
55
+ </check>
56
+ </check>
57
+
58
+ <check if="create-design is not the next expected workflow">
59
+ <output>⚠️ Next expected workflow: {{next_workflow}}. UX Design is out of sequence.</output>
60
+ <ask>Continue with UX Design anyway? (y/n)</ask>
61
+ <check if="n">
62
+ <output>Exiting. Run {{next_workflow}} instead.</output>
63
+ <action>Exit workflow</action>
64
+ </check>
65
+ </check>
66
+
67
+ <action>Set standalone_mode = false</action>
68
+ <action>Store {{project_level}} for scoping decisions</action>
37
69
  </check>
38
70
  </step>
39
71
 
@@ -1116,12 +1148,16 @@ Based on your deployment intent: {{recommendation}}
1116
1148
 
1117
1149
  <action>Save final document to {default_output_file}</action>
1118
1150
 
1119
- <check if="tracking_mode == true">
1120
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
1121
- <param>mode: update</param>
1122
- <param>action: complete_workflow</param>
1123
- <param>workflow_name: create-ux-design</param>
1124
- </invoke-workflow>
1151
+ <check if="standalone_mode != true">
1152
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
1153
+ <action>Find workflow_status key "create-design"</action>
1154
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
1155
+ <action>Update workflow_status["create-design"] = "{default_output_file}"</action>
1156
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
1157
+
1158
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
1159
+ <action>Determine next agent from path file based on next workflow</action>
1160
+
1125
1161
  </check>
1126
1162
 
1127
1163
  <ask>🎨 **One more thing!** Want to see your design come to life?
@@ -23,6 +23,28 @@ prd_file: "{output_folder}/bmm-PRD.md or PRD.md or product-requirements.md"
23
23
  brief_file: "{output_folder}/product-brief.md or brief.md or project-brief.md"
24
24
  brainstorm_file: "{output_folder}/brainstorming.md or brainstorm.md or ideation.md"
25
25
 
26
+ # Smart input file references - handles both whole docs and sharded docs
27
+ # Priority: Whole document first, then sharded version
28
+ input_file_patterns:
29
+ prd:
30
+ whole: "{output_folder}/*prd*.md"
31
+ sharded: "{output_folder}/*prd*/index.md"
32
+
33
+ product_brief:
34
+ whole: "{output_folder}/*brief*.md"
35
+ sharded: "{output_folder}/*brief*/index.md"
36
+
37
+ epics:
38
+ whole: "{output_folder}/*epic*.md"
39
+ sharded: "{output_folder}/*epic*/index.md"
40
+
41
+ brainstorming:
42
+ whole: "{output_folder}/*brainstorm*.md"
43
+ sharded: "{output_folder}/*brainstorm*/index.md"
44
+
45
+ document_project:
46
+ sharded: "{output_folder}/docs/index.md"
47
+
26
48
  # Module path and component files
27
49
  installed_path: "{project-root}/bmad/bmm/workflows/2-plan-workflows/create-ux-design"
28
50
  instructions: "{installed_path}/instructions.md"
@@ -14,6 +14,24 @@
14
14
 
15
15
  <critical>DOCUMENT OUTPUT: Concise, clear, actionable game design specs. Use tables/lists over prose. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
16
16
 
17
+ ## Input Document Discovery
18
+
19
+ This workflow requires: game brief, and may reference market research or brownfield project documentation.
20
+
21
+ **Discovery Process** (execute for each referenced document):
22
+
23
+ 1. **Search for whole document first** - Use fuzzy file matching to find the complete document
24
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
25
+ 3. **If sharded version found**:
26
+ - Read `index.md` to understand the document structure
27
+ - Read ALL section files listed in the index
28
+ - Treat the combined content as if it were a single document
29
+ 4. **Brownfield projects**: The `document-project` workflow always creates `{output_folder}/docs/index.md`
30
+
31
+ **Priority**: If both whole and sharded versions exist, use the whole document.
32
+
33
+ **Fuzzy matching**: Be flexible with document names - users may use variations in naming conventions.
34
+
17
35
  <step n="0" goal="Validate workflow and extract project configuration">
18
36
 
19
37
  <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
@@ -67,19 +85,27 @@ Use: `prd`
67
85
  </check>
68
86
  </step>
69
87
 
70
- <step n="0.5" goal="Validate workflow sequencing">
88
+ <step n="0.5" goal="Validate workflow sequencing" tag="workflow-status">
71
89
 
72
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
73
- <param>mode: validate</param>
74
- <param>calling_workflow: gdd</param>
75
- </invoke-workflow>
90
+ <check if="standalone_mode != true">
91
+ <action>Check status of "gdd" workflow in loaded status file</action>
92
+
93
+ <check if="gdd status is file path (already completed)">
94
+ <output>⚠️ GDD already completed: {{gdd status}}</output>
95
+ <ask>Re-running will overwrite the existing GDD. Continue? (y/n)</ask>
96
+ <check if="n">
97
+ <output>Exiting. Use workflow-status to see your next step.</output>
98
+ <action>Exit workflow</action>
99
+ </check>
100
+ </check>
76
101
 
77
- <check if="warning != ''">
78
- <output>{{warning}}</output>
79
- <ask>Continue with GDD anyway? (y/n)</ask>
80
- <check if="n">
81
- <output>{{suggestion}}</output>
82
- <action>Exit workflow</action>
102
+ <check if="gdd is not the next expected workflow (latter items are completed already in the list)">
103
+ <output>⚠️ Next expected workflow: {{next_workflow}}. GDD is out of sequence.</output>
104
+ <ask>Continue with GDD anyway? (y/n)</ask>
105
+ <check if="n">
106
+ <output>Exiting. Run {{next_workflow}} instead.</output>
107
+ <action>Exit workflow</action>
108
+ </check>
83
109
  </check>
84
110
  </check>
85
111
  </step>
@@ -328,18 +354,23 @@ For each {{placeholder}} in the fragment, elicit and capture that information.
328
354
 
329
355
  </step>
330
356
 
331
- <step n="15" goal="Update status and populate story sequence">
357
+ <step n="15" goal="Update status and populate story sequence" tag="workflow-status">
332
358
 
333
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
334
- <param>mode: update</param>
335
- <param>action: complete_workflow</param>
336
- <param>workflow_name: gdd</param>
337
- <param>populate_stories_from: {epics_output_file}</param>
338
- </invoke-workflow>
359
+ <check if="standalone_mode != true">
360
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
361
+ <action>Find workflow_status key "gdd"</action>
362
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
363
+ <action>Update workflow_status["gdd"] = "{output_folder}/bmm-gdd-{{game_name}}-{{date}}.md"</action>
364
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
365
+
366
+ <action>Parse {epics_output_file} to extract all stories</action>
367
+ <action>Populate story_sequence section in status file with story IDs</action>
368
+ <action>Set each story status to "not-started"</action>
369
+ <output>Loaded {{total_stories}} stories from epics into story sequence.</output>
339
370
 
340
- <check if="success == true">
341
- <output>Status updated! Next: {{next_workflow}} ({{next_agent}} agent)</output>
342
- <output>Loaded {{total_stories}} stories from epics.</output>
371
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
372
+ <action>Determine next agent from path file based on next workflow</action>
373
+ <output>Next workflow: {{next_workflow}} ({{next_agent}} agent)</output>
343
374
  </check>
344
375
 
345
376
  </step>
@@ -30,6 +30,20 @@ recommended_inputs:
30
30
  - narrative_design: "{output_folder}/narrative-design.md"
31
31
  - market_research: "{output_folder}/market-research.md"
32
32
 
33
+ # Smart input file references - handles both whole docs and sharded docs
34
+ # Priority: Whole document first, then sharded version
35
+ input_file_patterns:
36
+ game_brief:
37
+ whole: "{output_folder}/*game-brief*.md"
38
+ sharded: "{output_folder}/*game-brief*/index.md"
39
+
40
+ research:
41
+ whole: "{output_folder}/*research*.md"
42
+ sharded: "{output_folder}/*research*/index.md"
43
+
44
+ document_project:
45
+ sharded: "{output_folder}/docs/index.md"
46
+
33
47
  standalone: true
34
48
 
35
49
  web_bundle: