bmad-method 6.0.0-alpha.6 → 6.0.0-alpha.8

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 (716) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +11 -0
  2. package/{bmad → .bmad}/_cfg/files-manifest.csv +170 -157
  3. package/{bmad → .bmad}/_cfg/ides/claude-code.yaml +2 -2
  4. package/.bmad/_cfg/manifest.yaml +10 -0
  5. package/{bmad → .bmad}/_cfg/task-manifest.csv +1 -1
  6. package/{bmad → .bmad}/_cfg/workflow-manifest.csv +1 -1
  7. package/{bmad → .bmad}/bmb/agents/bmad-builder.md +12 -12
  8. package/.bmad/bmb/config.yaml +16 -0
  9. package/{bmad → .bmad}/bmb/workflows/audit-workflow/checklist.md +2 -2
  10. package/{bmad → .bmad}/bmb/workflows/audit-workflow/instructions.md +5 -5
  11. package/{bmad → .bmad}/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  12. package/{bmad → .bmad}/bmb/workflows/convert-legacy/README.md +5 -5
  13. package/{bmad → .bmad}/bmb/workflows/convert-legacy/checklist.md +2 -2
  14. package/{bmad → .bmad}/bmb/workflows/convert-legacy/instructions.md +17 -17
  15. package/{bmad → .bmad}/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  16. package/{bmad → .bmad}/bmb/workflows/create-agent/README.md +5 -5
  17. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-architecture.md +15 -15
  18. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  19. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-types.md +15 -15
  20. package/{bmad → .bmad}/bmb/workflows/create-agent/checklist.md +3 -3
  21. package/{bmad → .bmad}/bmb/workflows/create-agent/instructions.md +34 -18
  22. package/{bmad → .bmad}/bmb/workflows/create-agent/workflow.yaml +6 -6
  23. package/{bmad → .bmad}/bmb/workflows/create-module/README.md +1 -1
  24. package/{bmad → .bmad}/bmb/workflows/create-module/checklist.md +1 -1
  25. package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  26. package/{bmad → .bmad}/bmb/workflows/create-module/instructions.md +7 -7
  27. package/{bmad → .bmad}/bmb/workflows/create-module/module-structure.md +36 -2
  28. package/{bmad → .bmad}/bmb/workflows/create-module/workflow.yaml +9 -9
  29. package/{bmad → .bmad}/bmb/workflows/create-workflow/README.md +4 -4
  30. package/{bmad → .bmad}/bmb/workflows/create-workflow/checklist.md +1 -1
  31. package/{bmad → .bmad}/bmb/workflows/create-workflow/instructions.md +29 -29
  32. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-creation-guide.md +36 -36
  33. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  34. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/workflow.yaml +1 -1
  35. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow.yaml +5 -5
  36. package/{bmad → .bmad}/bmb/workflows/edit-agent/checklist.md +1 -1
  37. package/{bmad → .bmad}/bmb/workflows/edit-agent/instructions.md +2 -2
  38. package/{bmad → .bmad}/bmb/workflows/edit-agent/workflow.yaml +8 -8
  39. package/{bmad → .bmad}/bmb/workflows/edit-module/README.md +2 -2
  40. package/{bmad → .bmad}/bmb/workflows/edit-module/checklist.md +2 -2
  41. package/{bmad → .bmad}/bmb/workflows/edit-module/instructions.md +4 -4
  42. package/{bmad → .bmad}/bmb/workflows/edit-module/workflow.yaml +10 -10
  43. package/{bmad → .bmad}/bmb/workflows/edit-workflow/instructions.md +4 -4
  44. package/{bmad → .bmad}/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  45. package/{bmad → .bmad}/bmb/workflows/module-brief/README.md +2 -2
  46. package/{bmad → .bmad}/bmb/workflows/module-brief/instructions.md +2 -2
  47. package/{bmad → .bmad}/bmb/workflows/module-brief/workflow.yaml +4 -4
  48. package/{bmad → .bmad}/bmb/workflows/redoc/README.md +5 -5
  49. package/{bmad → .bmad}/bmb/workflows/redoc/instructions.md +1 -1
  50. package/{bmad → .bmad}/bmb/workflows/redoc/workflow.yaml +1 -1
  51. package/{bmad → .bmad}/bmm/agents/analyst.md +20 -12
  52. package/{bmad → .bmad}/bmm/agents/architect.md +19 -11
  53. package/{bmad → .bmad}/bmm/agents/dev.md +10 -10
  54. package/{bmad → .bmad}/bmm/agents/pm.md +23 -15
  55. package/{bmad → .bmad}/bmm/agents/sm.md +26 -18
  56. package/{bmad → .bmad}/bmm/agents/tea.md +25 -17
  57. package/{bmad → .bmad}/bmm/agents/tech-writer.md +16 -8
  58. package/{bmad → .bmad}/bmm/agents/ux-designer.md +18 -10
  59. package/{bmad → .bmad}/bmm/config.yaml +7 -7
  60. package/.bmad/bmm/docs/README.md +235 -0
  61. package/.bmad/bmm/docs/agents-guide.md +1056 -0
  62. package/.bmad/bmm/docs/brownfield-guide.md +754 -0
  63. package/.bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  64. package/.bmad/bmm/docs/faq.md +587 -0
  65. package/.bmad/bmm/docs/glossary.md +320 -0
  66. package/.bmad/bmm/docs/party-mode.md +224 -0
  67. package/.bmad/bmm/docs/quick-spec-flow.md +652 -0
  68. package/.bmad/bmm/docs/quick-start.md +366 -0
  69. package/.bmad/bmm/docs/scale-adaptive-system.md +599 -0
  70. package/.bmad/bmm/docs/test-architecture.md +394 -0
  71. package/.bmad/bmm/docs/workflow-architecture-reference.md +371 -0
  72. package/.bmad/bmm/docs/workflow-document-project-reference.md +487 -0
  73. package/.bmad/bmm/docs/workflows-analysis.md +370 -0
  74. package/.bmad/bmm/docs/workflows-implementation.md +284 -0
  75. package/.bmad/bmm/docs/workflows-planning.md +601 -0
  76. package/.bmad/bmm/docs/workflows-solutioning.md +501 -0
  77. package/{bmad → .bmad}/bmm/tasks/daily-standup.xml +2 -2
  78. package/.bmad/bmm/teams/default-party.csv +19 -0
  79. package/{bmad → .bmad}/bmm/teams/team-fullstack.yaml +1 -0
  80. package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  81. package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +3 -3
  82. package/{bmad → .bmad}/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  83. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +40 -0
  84. package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  85. package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/workflow.yaml +2 -2
  86. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  87. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-market.md +6 -6
  88. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  89. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  90. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/workflow.yaml +2 -2
  91. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  92. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +3 -7
  93. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  94. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +2 -2
  95. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/instructions.md +6 -6
  96. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  97. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  98. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  99. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  100. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  101. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  102. package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  103. package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/workflow.yaml +3 -2
  104. package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  105. package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  106. package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/instructions.md +2 -2
  107. package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -13
  108. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  109. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  110. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  111. package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/instructions.md +3 -3
  112. package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/workflow.yaml +3 -3
  113. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  114. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  115. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  116. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  117. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/instructions.md +2 -2
  118. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +2 -2
  119. package/{bmad → .bmad}/bmm/workflows/4-implementation/retrospective/instructions.md +2 -2
  120. package/{bmad → .bmad}/bmm/workflows/4-implementation/retrospective/workflow.yaml +4 -4
  121. package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/instructions.md +2 -2
  122. package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +3 -3
  123. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  124. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  125. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/instructions.md +2 -2
  126. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/workflow.yaml +4 -4
  127. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  128. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-done/workflow.yaml +3 -3
  129. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  130. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-ready/workflow.yaml +3 -3
  131. package/{bmad → .bmad}/bmm/workflows/document-project/instructions.md +5 -5
  132. package/{bmad → .bmad}/bmm/workflows/document-project/workflow.yaml +2 -2
  133. package/{bmad → .bmad}/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  134. package/{bmad → .bmad}/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  135. package/{bmad → .bmad}/bmm/workflows/testarch/atdd/instructions.md +2 -2
  136. package/{bmad → .bmad}/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  137. package/{bmad → .bmad}/bmm/workflows/testarch/automate/instructions.md +2 -2
  138. package/{bmad → .bmad}/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  139. package/{bmad → .bmad}/bmm/workflows/testarch/ci/instructions.md +2 -2
  140. package/{bmad → .bmad}/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  141. package/{bmad → .bmad}/bmm/workflows/testarch/framework/instructions.md +2 -2
  142. package/{bmad → .bmad}/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  143. package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  144. package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  145. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/instructions.md +2 -2
  146. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  147. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  148. package/{bmad → .bmad}/bmm/workflows/testarch/test-review/instructions.md +1 -1
  149. package/{bmad → .bmad}/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  150. package/{bmad → .bmad}/bmm/workflows/testarch/trace/instructions.md +9 -9
  151. package/{bmad → .bmad}/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  152. package/{bmad → .bmad}/bmm/workflows/workflow-status/init/instructions.md +74 -23
  153. package/{bmad → .bmad}/bmm/workflows/workflow-status/init/workflow.yaml +4 -4
  154. package/{bmad → .bmad}/bmm/workflows/workflow-status/instructions.md +5 -4
  155. package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  156. package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  157. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +52 -0
  158. package/{bmad → .bmad}/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  159. package/{bmad → .bmad}/bmm/workflows/workflow-status/workflow.yaml +2 -2
  160. package/{bmad → .bmad}/core/agents/bmad-master.md +7 -7
  161. package/{bmad → .bmad}/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  162. package/{bmad → .bmad}/core/config.yaml +4 -2
  163. package/{bmad → .bmad}/core/tasks/adv-elicit.xml +5 -3
  164. package/{bmad → .bmad}/core/tasks/index-docs.xml +1 -1
  165. package/{bmad → .bmad}/core/tasks/validate-workflow.xml +1 -1
  166. package/{bmad → .bmad}/core/tasks/workflow.xml +1 -1
  167. package/{bmad → .bmad}/core/tools/shard-doc.xml +1 -1
  168. package/{bmad → .bmad}/core/workflows/brainstorming/README.md +2 -2
  169. package/{bmad → .bmad}/core/workflows/brainstorming/instructions.md +3 -3
  170. package/{bmad → .bmad}/core/workflows/brainstorming/workflow.yaml +8 -8
  171. package/{bmad → .bmad}/core/workflows/party-mode/instructions.md +2 -7
  172. package/.bmad/core/workflows/party-mode/workflow.yaml +27 -0
  173. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +12 -12
  174. package/.claude/commands/bmad/bmm/agents/analyst.md +20 -12
  175. package/.claude/commands/bmad/bmm/agents/architect.md +19 -11
  176. package/.claude/commands/bmad/bmm/agents/dev.md +10 -10
  177. package/.claude/commands/bmad/bmm/agents/pm.md +23 -15
  178. package/.claude/commands/bmad/bmm/agents/sm.md +26 -18
  179. package/.claude/commands/bmad/bmm/agents/tea.md +25 -17
  180. package/.claude/commands/bmad/bmm/agents/tech-writer.md +16 -8
  181. package/.claude/commands/bmad/bmm/agents/ux-designer.md +18 -10
  182. package/.claude/commands/bmad/bmm/workflows/domain-research.md +15 -0
  183. package/.claude/commands/bmad/core/agents/bmad-master.md +7 -7
  184. package/.claude/commands/bmad/core/tasks/adv-elicit.md +9 -0
  185. package/.claude/settings.local.json +6 -5
  186. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  187. package/.husky/pre-commit +4 -0
  188. package/.vscode/settings.json +2 -1
  189. package/README.md +59 -1
  190. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  191. package/package.json +5 -3
  192. package/src/core/_module-installer/install-config.yaml +15 -9
  193. package/src/core/_module-installer/installer.js +0 -8
  194. package/src/core/agents/bmad-master.agent.yaml +5 -5
  195. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  196. package/src/core/tasks/adv-elicit.xml +5 -3
  197. package/src/core/tasks/index-docs.xml +1 -1
  198. package/src/core/tasks/validate-workflow.xml +1 -1
  199. package/src/core/tasks/workflow.xml +1 -1
  200. package/src/core/tools/shard-doc.xml +1 -1
  201. package/src/core/workflows/brainstorming/README.md +2 -2
  202. package/src/core/workflows/brainstorming/instructions.md +3 -3
  203. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  204. package/src/core/workflows/party-mode/instructions.md +2 -7
  205. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  206. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  207. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  208. package/src/modules/bmb/workflows/audit-workflow/checklist.md +2 -2
  209. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  210. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  211. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  212. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  213. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  214. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  215. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  216. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -15
  217. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  218. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  219. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  220. package/src/modules/bmb/workflows/create-agent/instructions.md +34 -18
  221. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  222. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  223. package/src/modules/bmb/workflows/create-module/checklist.md +1 -1
  224. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  225. package/src/modules/bmb/workflows/create-module/instructions.md +7 -7
  226. package/src/modules/bmb/workflows/create-module/module-structure.md +36 -2
  227. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  228. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  229. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  230. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  231. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +42 -42
  232. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  233. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  234. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  235. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  236. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  237. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  238. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  239. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  240. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  241. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  242. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  243. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  244. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  245. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  246. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  247. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  248. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  249. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  250. package/src/modules/bmgd/README.md +208 -0
  251. package/src/modules/bmgd/_module-installer/install-config.yaml +67 -0
  252. package/src/modules/bmgd/agents/game-architect.agent.yaml +33 -0
  253. package/src/modules/bmgd/agents/game-designer.agent.yaml +40 -0
  254. package/src/modules/bmgd/agents/game-dev.agent.yaml +40 -0
  255. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +75 -0
  256. package/src/modules/bmgd/teams/default-party.csv +10 -0
  257. package/src/modules/{bmm → bmgd}/teams/team-gamedev.yaml +5 -1
  258. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +1 -1
  259. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +10 -10
  260. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +1 -1
  261. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  262. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +8 -8
  263. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  264. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/instructions-narrative.md +6 -6
  265. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  266. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +347 -0
  267. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-template.md +103 -0
  268. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +244 -0
  269. package/src/modules/bmgd/workflows/3-technical/game-architecture/decision-catalog.yaml +222 -0
  270. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +704 -0
  271. package/src/modules/bmgd/workflows/3-technical/game-architecture/pattern-categories.csv +13 -0
  272. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +67 -0
  273. package/src/modules/bmgd/workflows/4-production/code-review/backlog_template.md +12 -0
  274. package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +22 -0
  275. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +420 -0
  276. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +67 -0
  277. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +279 -0
  278. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +201 -0
  279. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +45 -0
  280. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +240 -0
  281. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +283 -0
  282. package/src/modules/bmgd/workflows/4-production/create-story/template.md +51 -0
  283. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +76 -0
  284. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +367 -0
  285. package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +38 -0
  286. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +262 -0
  287. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +28 -0
  288. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +17 -0
  289. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +189 -0
  290. package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +76 -0
  291. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +60 -0
  292. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +1460 -0
  293. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +73 -0
  294. package/src/modules/bmgd/workflows/4-production/sprint-planning/checklist.md +33 -0
  295. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +238 -0
  296. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +55 -0
  297. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +49 -0
  298. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +16 -0
  299. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +34 -0
  300. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +234 -0
  301. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +59 -0
  302. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +111 -0
  303. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +27 -0
  304. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +117 -0
  305. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +27 -0
  306. package/src/modules/bmm/_module-installer/install-config.yaml +10 -24
  307. package/src/modules/bmm/_module-installer/installer.js +2 -2
  308. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  309. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  310. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  311. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  312. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  313. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  314. package/src/modules/bmm/agents/tech-writer.agent.yaml +14 -10
  315. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  316. package/src/modules/bmm/docs/README.md +8 -9
  317. package/src/modules/bmm/docs/agents-guide.md +4 -5
  318. package/src/modules/bmm/docs/brownfield-guide.md +9 -13
  319. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  320. package/src/modules/bmm/docs/faq.md +5 -7
  321. package/src/modules/bmm/docs/glossary.md +0 -1
  322. package/src/modules/bmm/docs/party-mode.md +3 -3
  323. package/src/modules/bmm/docs/quick-spec-flow.md +4 -4
  324. package/src/modules/bmm/docs/quick-start.md +5 -5
  325. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  326. package/src/modules/bmm/docs/test-architecture.md +184 -119
  327. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  328. package/src/modules/bmm/docs/workflows-analysis.md +203 -539
  329. package/src/modules/bmm/docs/workflows-planning.md +326 -850
  330. package/src/modules/bmm/docs/workflows-solutioning.md +250 -505
  331. package/src/modules/bmm/sub-modules/claude-code/README.md +1 -1
  332. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +22 -22
  333. package/src/modules/bmm/tasks/daily-standup.xml +2 -2
  334. package/src/modules/bmm/teams/default-party.csv +19 -0
  335. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  336. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  337. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  338. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  339. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  340. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  341. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +12 -8
  342. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  343. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +6 -6
  344. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  345. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  346. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  347. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  348. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +36 -7
  349. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  350. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +6 -6
  351. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +6 -6
  352. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +21 -13
  353. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  354. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  355. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  356. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  357. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +15 -9
  358. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  359. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +49 -2
  360. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  361. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  362. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +38 -38
  363. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +6 -23
  364. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  365. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  366. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  367. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +38 -40
  368. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +6 -19
  369. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  370. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  371. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  372. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  373. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +26 -28
  374. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +6 -18
  375. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +11 -11
  376. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +8 -11
  377. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +6 -15
  378. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +5 -4
  379. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  380. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  381. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +8 -9
  382. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +6 -14
  383. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  384. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +4 -4
  385. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  386. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +4 -4
  387. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  388. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  389. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  390. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  391. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  392. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  393. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  394. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  395. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  396. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  397. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  398. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  399. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  400. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  401. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +2 -2
  402. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  403. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  404. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  405. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  406. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  407. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  408. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +78 -26
  409. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  410. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  411. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  412. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  413. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  414. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  415. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  416. package/src/modules/cis/README.md +1 -1
  417. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  418. package/src/modules/cis/agents/README.md +1 -1
  419. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  420. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  421. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  422. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  423. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  424. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  425. package/src/modules/cis/teams/default-party.csv +11 -0
  426. package/src/modules/cis/workflows/README.md +1 -1
  427. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  428. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  429. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  430. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  431. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  432. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  433. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  434. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  435. package/src/utility/models/action-command-header.md +0 -0
  436. package/src/utility/models/agent-activation-ide.xml +3 -3
  437. package/src/utility/models/agent-activation-web.xml +4 -4
  438. package/src/utility/models/agent-command-header.md +1 -0
  439. package/src/utility/models/fragments/activation-steps.xml +3 -2
  440. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  441. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  442. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  443. package/test/test-installation-components.js +214 -0
  444. package/tools/cli/bundlers/web-bundler.js +208 -20
  445. package/tools/cli/commands/install.js +1 -4
  446. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  447. package/tools/cli/installers/lib/core/detector.js +62 -7
  448. package/tools/cli/installers/lib/core/installer.js +158 -23
  449. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  450. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  451. package/tools/cli/installers/lib/ide/auggie.js +81 -238
  452. package/tools/cli/installers/lib/ide/claude-code.js +47 -25
  453. package/tools/cli/installers/lib/ide/cline.js +15 -18
  454. package/tools/cli/installers/lib/ide/codex.js +17 -48
  455. package/tools/cli/installers/lib/ide/crush.js +14 -50
  456. package/tools/cli/installers/lib/ide/cursor.js +68 -8
  457. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  458. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  459. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  460. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  461. package/tools/cli/installers/lib/ide/manager.js +15 -0
  462. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  463. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  464. package/tools/cli/installers/lib/ide/roo.js +27 -62
  465. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  466. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  467. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  468. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  469. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  470. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  471. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  472. package/tools/cli/installers/lib/ide/trae.js +20 -32
  473. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  474. package/tools/cli/installers/lib/modules/manager.js +207 -7
  475. package/tools/cli/lib/cli-utils.js +52 -50
  476. package/tools/cli/lib/ui.js +15 -8
  477. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  478. package/tools/schema/agent.js +8 -3
  479. package/v6-open-items.md +3 -9
  480. package/web-bundles/bmgd/agents/game-architect.xml +664 -0
  481. package/web-bundles/bmgd/agents/game-designer.xml +5489 -0
  482. package/web-bundles/bmgd/agents/game-dev.xml +595 -0
  483. package/web-bundles/bmgd/agents/game-scrum-master.xml +699 -0
  484. package/web-bundles/bmgd/teams/team-gamedev.xml +6588 -0
  485. package/web-bundles/bmm/agents/analyst.xml +5263 -0
  486. package/web-bundles/bmm/agents/architect.xml +2378 -0
  487. package/web-bundles/bmm/agents/dev.xml +248 -0
  488. package/web-bundles/bmm/agents/pm.xml +4137 -0
  489. package/web-bundles/bmm/agents/sm.xml +708 -0
  490. package/web-bundles/bmm/agents/tea.xml +759 -0
  491. package/web-bundles/bmm/agents/tech-writer.xml +624 -0
  492. package/web-bundles/bmm/agents/ux-designer.xml +2492 -0
  493. package/web-bundles/bmm/teams/team-fullstack.xml +12369 -0
  494. package/web-bundles/cis/agents/brainstorming-coach.xml +1069 -0
  495. package/web-bundles/cis/agents/creative-problem-solver.xml +1060 -0
  496. package/web-bundles/cis/agents/design-thinking-coach.xml +955 -0
  497. package/web-bundles/cis/agents/innovation-strategist.xml +1108 -0
  498. package/web-bundles/cis/agents/storyteller.xml +598 -0
  499. package/web-bundles/cis/teams/creative-squad.xml +3449 -0
  500. package/.claude/agents/bmad-analysis/api-documenter.md +0 -102
  501. package/.claude/agents/bmad-analysis/codebase-analyzer.md +0 -82
  502. package/.claude/agents/bmad-analysis/data-analyst.md +0 -101
  503. package/.claude/agents/bmad-analysis/pattern-detector.md +0 -84
  504. package/.claude/agents/bmad-planning/dependency-mapper.md +0 -83
  505. package/.claude/agents/bmad-planning/epic-optimizer.md +0 -81
  506. package/.claude/agents/bmad-planning/requirements-analyst.md +0 -61
  507. package/.claude/agents/bmad-planning/technical-decisions-curator.md +0 -168
  508. package/.claude/agents/bmad-planning/trend-spotter.md +0 -115
  509. package/.claude/agents/bmad-planning/user-journey-mapper.md +0 -123
  510. package/.claude/agents/bmad-planning/user-researcher.md +0 -72
  511. package/.claude/agents/bmad-research/market-researcher.md +0 -51
  512. package/.claude/agents/bmad-research/tech-debt-auditor.md +0 -106
  513. package/.claude/agents/bmad-review/document-reviewer.md +0 -102
  514. package/.claude/agents/bmad-review/technical-evaluator.md +0 -68
  515. package/.claude/agents/bmad-review/test-coverage-analyzer.md +0 -108
  516. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  517. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  518. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  519. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  520. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  521. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  522. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  523. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  524. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  525. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  526. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  527. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  528. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  529. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  530. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  531. package/bmad/_cfg/agent-manifest.csv +0 -11
  532. package/bmad/_cfg/manifest.yaml +0 -10
  533. package/bmad/bmb/config.yaml +0 -14
  534. package/bmad/bmm/teams/team-gamedev.yaml +0 -14
  535. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  536. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  537. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  538. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  539. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  540. package/bmd/README.md +0 -193
  541. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  542. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  543. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  544. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  545. package/bmd/agents/cli-chief.agent.yaml +0 -126
  546. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  547. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  548. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  549. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  550. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  551. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  552. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  553. package/bmd/agents/release-chief.agent.yaml +0 -127
  554. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  555. package/bmd/config.yaml +0 -12
  556. package/src/modules/bmm/agents/game-architect.agent.yaml +0 -35
  557. package/src/modules/bmm/agents/game-designer.agent.yaml +0 -47
  558. package/src/modules/bmm/agents/game-dev.agent.yaml +0 -35
  559. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  560. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  561. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  562. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  563. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  564. /package/{bmad → .bmad}/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -0
  565. /package/{bmad → .bmad}/_cfg/agents/bmm-analyst.customize.yaml +0 -0
  566. /package/{bmad → .bmad}/_cfg/agents/bmm-architect.customize.yaml +0 -0
  567. /package/{bmad → .bmad}/_cfg/agents/bmm-dev.customize.yaml +0 -0
  568. /package/{bmad → .bmad}/_cfg/agents/bmm-pm.customize.yaml +0 -0
  569. /package/{bmad → .bmad}/_cfg/agents/bmm-sm.customize.yaml +0 -0
  570. /package/{bmad → .bmad}/_cfg/agents/bmm-tea.customize.yaml +0 -0
  571. /package/{bmad → .bmad}/_cfg/agents/bmm-tech-writer.customize.yaml +0 -0
  572. /package/{bmad → .bmad}/_cfg/agents/bmm-ux-designer.customize.yaml +0 -0
  573. /package/{bmad → .bmad}/_cfg/agents/core-bmad-master.customize.yaml +0 -0
  574. /package/{bmad → .bmad}/_cfg/tool-manifest.csv +0 -0
  575. /package/{bmad → .bmad}/bmb/README.md +0 -0
  576. /package/{bmad → .bmad}/bmb/workflows/audit-workflow/template.md +0 -0
  577. /package/{bmad → .bmad}/bmb/workflows/create-agent/brainstorm-context.md +0 -0
  578. /package/{bmad → .bmad}/bmb/workflows/create-agent/communication-styles.md +0 -0
  579. /package/{bmad → .bmad}/bmb/workflows/create-module/brainstorm-context.md +0 -0
  580. /package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/installer.js +0 -0
  581. /package/{bmad → .bmad}/bmb/workflows/create-workflow/brainstorm-context.md +0 -0
  582. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -0
  583. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/template.md +0 -0
  584. /package/{bmad → .bmad}/bmb/workflows/edit-agent/README.md +0 -0
  585. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/README.md +0 -0
  586. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/checklist.md +0 -0
  587. /package/{bmad → .bmad}/bmb/workflows/module-brief/checklist.md +0 -0
  588. /package/{bmad → .bmad}/bmb/workflows/module-brief/template.md +0 -0
  589. /package/{bmad → .bmad}/bmb/workflows/redoc/checklist.md +0 -0
  590. /package/{bmad → .bmad}/bmm/README.md +0 -0
  591. /package/{bmad → .bmad}/bmm/testarch/knowledge/ci-burn-in.md +0 -0
  592. /package/{bmad → .bmad}/bmm/testarch/knowledge/component-tdd.md +0 -0
  593. /package/{bmad → .bmad}/bmm/testarch/knowledge/contract-testing.md +0 -0
  594. /package/{bmad → .bmad}/bmm/testarch/knowledge/data-factories.md +0 -0
  595. /package/{bmad → .bmad}/bmm/testarch/knowledge/email-auth.md +0 -0
  596. /package/{bmad → .bmad}/bmm/testarch/knowledge/error-handling.md +0 -0
  597. /package/{bmad → .bmad}/bmm/testarch/knowledge/feature-flags.md +0 -0
  598. /package/{bmad → .bmad}/bmm/testarch/knowledge/fixture-architecture.md +0 -0
  599. /package/{bmad → .bmad}/bmm/testarch/knowledge/network-first.md +0 -0
  600. /package/{bmad → .bmad}/bmm/testarch/knowledge/nfr-criteria.md +0 -0
  601. /package/{bmad → .bmad}/bmm/testarch/knowledge/playwright-config.md +0 -0
  602. /package/{bmad → .bmad}/bmm/testarch/knowledge/probability-impact.md +0 -0
  603. /package/{bmad → .bmad}/bmm/testarch/knowledge/risk-governance.md +0 -0
  604. /package/{bmad → .bmad}/bmm/testarch/knowledge/selective-testing.md +0 -0
  605. /package/{bmad → .bmad}/bmm/testarch/knowledge/selector-resilience.md +0 -0
  606. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-healing-patterns.md +0 -0
  607. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-levels-framework.md +0 -0
  608. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-priorities-matrix.md +0 -0
  609. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-quality.md +0 -0
  610. /package/{bmad → .bmad}/bmm/testarch/knowledge/timing-debugging.md +0 -0
  611. /package/{bmad → .bmad}/bmm/testarch/knowledge/visual-debugging.md +0 -0
  612. /package/{bmad → .bmad}/bmm/testarch/tea-index.csv +0 -0
  613. /package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -0
  614. /package/{bmad → .bmad}/bmm/workflows/1-analysis/domain-research/template.md +0 -0
  615. /package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/checklist.md +0 -0
  616. /package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/template.md +0 -0
  617. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -0
  618. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist-technical.md +0 -0
  619. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist.md +0 -0
  620. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -0
  621. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -0
  622. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-market.md +0 -0
  623. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-technical.md +0 -0
  624. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -0
  625. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -0
  626. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -0
  627. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -0
  628. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -0
  629. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -0
  630. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -0
  631. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -0
  632. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -0
  633. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -0
  634. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -0
  635. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -0
  636. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/checklist.md +0 -0
  637. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -0
  638. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -0
  639. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -0
  640. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -0
  641. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -0
  642. /package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -0
  643. /package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/checklist.md +0 -0
  644. /package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/checklist.md +0 -0
  645. /package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/template.md +0 -0
  646. /package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/checklist.md +0 -0
  647. /package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -0
  648. /package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -0
  649. /package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -0
  650. /package/{bmad → .bmad}/bmm/workflows/document-project/checklist.md +0 -0
  651. /package/{bmad → .bmad}/bmm/workflows/document-project/documentation-requirements.csv +0 -0
  652. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/deep-dive-template.md +0 -0
  653. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/index-template.md +0 -0
  654. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/project-overview-template.md +0 -0
  655. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -0
  656. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/source-tree-template.md +0 -0
  657. /package/{bmad → .bmad}/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -0
  658. /package/{bmad → .bmad}/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -0
  659. /package/{bmad → .bmad}/bmm/workflows/techdoc/documentation-standards.md +0 -0
  660. /package/{bmad → .bmad}/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -0
  661. /package/{bmad → .bmad}/bmm/workflows/testarch/atdd/checklist.md +0 -0
  662. /package/{bmad → .bmad}/bmm/workflows/testarch/automate/checklist.md +0 -0
  663. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/checklist.md +0 -0
  664. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -0
  665. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -0
  666. /package/{bmad → .bmad}/bmm/workflows/testarch/framework/checklist.md +0 -0
  667. /package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/checklist.md +0 -0
  668. /package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -0
  669. /package/{bmad → .bmad}/bmm/workflows/testarch/test-design/checklist.md +0 -0
  670. /package/{bmad → .bmad}/bmm/workflows/testarch/test-review/checklist.md +0 -0
  671. /package/{bmad → .bmad}/bmm/workflows/testarch/test-review/test-review-template.md +0 -0
  672. /package/{bmad → .bmad}/bmm/workflows/testarch/trace/checklist.md +0 -0
  673. /package/{bmad → .bmad}/bmm/workflows/testarch/trace/trace-template.md +0 -0
  674. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -0
  675. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -0
  676. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -0
  677. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -0
  678. /package/{bmad → .bmad}/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -0
  679. /package/{bmad → .bmad}/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -0
  680. /package/{bmad → .bmad}/core/tasks/adv-elicit-methods.csv +0 -0
  681. /package/{bmad → .bmad}/core/workflows/brainstorming/brain-methods.csv +0 -0
  682. /package/{bmad → .bmad}/core/workflows/brainstorming/template.md +0 -0
  683. /package/{bmad → .bmad}/docs/claude-code-instructions.md +0 -0
  684. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  685. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  686. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  687. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  688. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  689. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  690. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  691. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  692. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  693. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  694. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  695. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  696. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  697. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  698. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  699. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  700. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  701. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  702. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  703. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  704. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  705. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  706. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  707. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  708. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  709. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  710. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  711. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  712. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  713. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  714. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  715. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  716. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
@@ -1,7 +1,7 @@
1
1
  # Senior Developer Review - Workflow Instructions
2
2
 
3
3
  ````xml
4
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
5
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
6
  <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
7
7
  <critical>Generate all documents in {document_output_language}</critical>
@@ -16,38 +16,37 @@
16
16
 
17
17
  <critical>DOCUMENT OUTPUT: Technical review reports. Structured findings with severity levels and action items. User skill level ({user_skill_level}) affects conversation style ONLY, not review content.</critical>
18
18
 
19
- ## 📚 Document Discovery - Selective Epic Loading
19
+ <workflow>
20
20
 
21
- **Strategy**: This workflow needs only ONE specific epic and its stories for review context, not all epics. This provides huge efficiency gains when epics are sharded.
21
+ <step n="1" goal="Find story ready for review" tag="sprint-status">
22
+ Document Discovery - Selective Epic Loading
22
23
 
23
- **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
24
+ **Strategy**: This workflow needs only ONE specific epic and its stories for review context, not all epics. This provides huge efficiency gains when epics are sharded.
24
25
 
25
- 1. **Determine which epic** you need (epic_num from story being reviewed - e.g., story "3-2-feature-name" needs Epic 3)
26
- 2. **Check for sharded version**: Look for `epics/index.md`
27
- 3. **If sharded version found**:
28
- - Read `index.md` to understand structure
29
- - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
30
- - DO NOT load all epic files - only the one needed!
31
- - This is the key efficiency optimization for large multi-epic projects
32
- 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
26
+ **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
33
27
 
34
- **Other Documents (architecture, ux-design) - Full Load:**
28
+ 1. **Determine which epic** you need (epic_num from story being reviewed - e.g., story "3-2-feature-name" needs Epic 3)
29
+ 2. **Check for sharded version**: Look for `epics/index.md`
30
+ 3. **If sharded version found**:
31
+ - Read `index.md` to understand structure
32
+ - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
33
+ - DO NOT load all epic files - only the one needed!
34
+ - This is the key efficiency optimization for large multi-epic projects
35
+ 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
35
36
 
36
- 1. **Search for whole document first** - Use fuzzy file matching
37
- 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
38
- 3. **If sharded version found**:
39
- - Read `index.md` to understand structure
40
- - Read ALL section files listed in the index
41
- - Treat combined content as single document
42
- 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
37
+ **Other Documents (architecture, ux-design) - Full Load:**
43
38
 
44
- **Priority**: If both whole and sharded versions exist, use the whole document.
39
+ 1. **Search for whole document first** - Use fuzzy file matching
40
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
41
+ 3. **If sharded version found**:
42
+ - Read `index.md` to understand structure
43
+ - Read ALL section files listed in the index
44
+ - Treat combined content as single document
45
+ 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
45
46
 
46
- **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for reviewing UI-focused stories.
47
+ **Priority**: If both whole and sharded versions exist, use the whole document.
47
48
 
48
- <workflow>
49
-
50
- <step n="1" goal="Find story ready for review" tag="sprint-status">
49
+ **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for reviewing UI-focused stories.
51
50
  <check if="{{story_path}} is provided">
52
51
  <action>Use {{story_path}} directly</action>
53
52
  <action>Read COMPLETE story file and parse sections</action>
@@ -80,17 +79,18 @@
80
79
  <check if="option 3 selected">
81
80
  <ask>What code would you like me to review?
82
81
 
83
- Provide:
84
- - File path(s) or directory to review
85
- - What to review for:
86
- • General quality and standards
87
- • Requirements compliance
88
- • Security concerns
89
- • Performance issues
90
- • Architecture alignment
91
- • Something else (specify)
82
+ Provide:
83
+ - File path(s) or directory to review
84
+ - What to review for:
85
+ • General quality and standards
86
+ • Requirements compliance
87
+ • Security concerns
88
+ • Performance issues
89
+ • Architecture alignment
90
+ • Something else (specify)
92
91
 
93
- Your input:</ask>
92
+ Your input:?
93
+ </ask>
94
94
 
95
95
  <action>Parse user input to extract:
96
96
  - {{review_files}}: file paths or directories to review
@@ -363,11 +363,11 @@ Review was saved to story file, but sprint-status.yaml may be out of sync.
363
363
  <action if="user confirms or no ask needed">
364
364
  Append under the story's "Tasks / Subtasks" a new subsection titled "Review Follow-ups (AI)", adding each item as an unchecked checkbox in imperative form, prefixed with "[AI-Review]" and severity. Example: "- [ ] [AI-Review][High] Add input validation on server route /api/x (AC #2)".
365
365
  </action>
366
- <action if="{{persist_action_items}} == true and 'backlog_file' in {{persist_targets}}">
366
+ <action>
367
367
  If {{backlog_file}} does not exist, copy {installed_path}/backlog_template.md to {{backlog_file}} location.
368
368
  Append a row per action item with Date={{date}}, Story={{epic_num}}.{{story_num}}, Epic={{epic_num}}, Type, Severity, Owner (or "TBD"), Status="Open", Notes with short context and file refs.
369
369
  </action>
370
- <action if="{{persist_action_items}} == true and ('epic_followups' in {{persist_targets}} or {{update_epic_followups}} == true)">
370
+ <action>
371
371
  If an epic Tech Spec was found: open it and create (if missing) a section titled "{{epic_followups_section_title}}". Append a bullet list of action items scoped to this epic with references back to Story {{epic_num}}.{{story_num}}.
372
372
  </action>
373
373
  <action>Save modified files.</action>
@@ -376,7 +376,7 @@ Review was saved to story file, but sprint-status.yaml may be out of sync.
376
376
  </step>
377
377
 
378
378
  <step n="10" goal="Validation and completion">
379
- <invoke-task>Run validation checklist at {installed_path}/checklist.md using {project-root}/bmad/core/tasks/validate-workflow.xml</invoke-task>
379
+ <invoke-task>Run validation checklist at {installed_path}/checklist.md using {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
380
380
  <action>Report workflow completion.</action>
381
381
 
382
382
  <check if="ad_hoc_review_mode == true">
@@ -4,16 +4,18 @@ description: "Perform a Senior Developer code review on a completed story flagge
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables from config
7
- config_source: "{project-root}/bmad/bmm/config.yaml"
7
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
8
8
  output_folder: "{config_source}:output_folder"
9
9
  user_name: "{config_source}:user_name"
10
10
  communication_language: "{config_source}:communication_language"
11
11
  user_skill_level: "{config_source}:user_skill_level"
12
12
  document_output_language: "{config_source}:document_output_language"
13
13
  date: system-generated
14
+ ephemeral_files: "{config_source}:dev_ephemeral_location"
15
+ sprint_status: "{context_dir}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
14
16
 
15
17
  # Workflow components
16
- installed_path: "{project-root}/bmad/bmm/workflows/4-implementation/code-review"
18
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/code-review"
17
19
  instructions: "{installed_path}/instructions.md"
18
20
  validation: "{installed_path}/checklist.md"
19
21
 
@@ -22,8 +24,8 @@ template: false
22
24
 
23
25
  # Variables (can be provided by caller)
24
26
  variables:
25
- story_path: "" # Optional: Explicit path to story file. If not provided, finds first story with status "review"
26
- story_dir: "{config_source}:dev_story_location" # Directory containing story files
27
+ story_path: "{ephemeral_files}/stories" # Optional: Explicit path to story file. If not provided, finds first story with status "review"
28
+ story_dir: "{ephemeral_files}/stories" # Directory containing story files
27
29
  tech_spec_search_dir: "{project-root}/docs"
28
30
  tech_spec_glob_template: "tech-spec-epic-{{epic_num}}*.md"
29
31
  arch_docs_search_dirs: |
@@ -31,26 +33,10 @@ variables:
31
33
  - "{output_folder}"
32
34
  arch_docs_file_names: |
33
35
  - architecture.md
34
- enable_mcp_doc_search: true # Prefer enabled MCP servers for doc/best-practice lookup
35
- enable_web_fallback: true # Fallback to web search/read-url if MCP not available
36
- # Persistence controls for review action items and notes
37
- persist_action_items: true
38
- # Valid targets: story_tasks, story_review_section, backlog_file, epic_followups
39
- persist_targets: |
40
- - story_review_section
41
- - story_tasks
42
- - backlog_file
43
- - epic_followups
44
36
  backlog_file: "{project-root}/docs/backlog.md"
45
37
  update_epic_followups: true
46
38
  epic_followups_section_title: "Post-Review Follow-ups"
47
39
 
48
- # Recommended inputs
49
- recommended_inputs:
50
- - story: "Path to the story file (auto-discovered if omitted - finds first story with status 'review')"
51
- - tech_spec: "Epic technical specification document (auto-discovered)"
52
- - story_context_file: "Story context file (.context.xml) (auto-discovered)"
53
-
54
40
  # Smart input file references - handles both whole docs and sharded docs
55
41
  # Priority: Whole document first, then sharded version
56
42
  # Strategy: SELECTIVE LOAD - only load the specific epic needed for this story review
@@ -58,16 +44,13 @@ input_file_patterns:
58
44
  architecture:
59
45
  whole: "{output_folder}/*architecture*.md"
60
46
  sharded: "{output_folder}/*architecture*/index.md"
61
-
62
47
  ux_design:
63
48
  whole: "{output_folder}/*ux*.md"
64
49
  sharded: "{output_folder}/*ux*/index.md"
65
-
66
50
  epics:
67
51
  whole: "{output_folder}/*epic*.md"
68
52
  sharded_index: "{output_folder}/*epic*/index.md"
69
53
  sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
70
-
71
54
  document_project:
72
55
  sharded: "{output_folder}/docs/index.md"
73
56
 
@@ -1,6 +1,6 @@
1
1
  # Change Navigation Checklist
2
2
 
3
- <critical>This checklist is executed as part of: {project-root}/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml</critical>
3
+ <critical>This checklist is executed as part of: {project-root}/{bmad_folder}/bmm/workflows/4-implementation/correct-course/workflow.yaml</critical>
4
4
  <critical>Work through each section systematically with the user, recording findings and impacts</critical>
5
5
 
6
6
  <checklist>
@@ -1,7 +1,7 @@
1
1
  # Correct Course - Sprint Change Management Instructions
2
2
 
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {project-root}/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml</critical>
3
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
+ <critical>You MUST have already loaded and processed: {project-root}/{bmad_folder}/bmm/workflows/4-implementation/correct-course/workflow.yaml</critical>
5
5
  <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
6
6
  <critical>Generate all documents in {document_output_language}</critical>
7
7
 
@@ -3,7 +3,7 @@ name: "correct-course"
3
3
  description: "Navigate significant changes during sprint execution by analyzing impact, proposing solutions, and routing for implementation"
4
4
  author: "BMad Method"
5
5
 
6
- config_source: "{project-root}/bmad/bmm/config.yaml"
6
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
7
7
  output_folder: "{config_source}:output_folder"
8
8
  user_name: "{config_source}:user_name"
9
9
  communication_language: "{config_source}:communication_language"
@@ -11,7 +11,7 @@ user_skill_level: "{config_source}:user_skill_level"
11
11
  document_output_language: "{config_source}:document_output_language"
12
12
  date: system-generated
13
13
 
14
- installed_path: "{project-root}/bmad/bmm/workflows/4-implementation/correct-course"
14
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/correct-course"
15
15
  template: false
16
16
  instructions: "{installed_path}/instructions.md"
17
17
  validation: "{installed_path}/checklist.md"
@@ -1,51 +1,52 @@
1
1
  # Create Story - Workflow Instructions (Spec-compliant, non-interactive by default)
2
2
 
3
3
  ````xml
4
- <critical>The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml</critical>
4
+ <critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
5
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
6
  <critical>Generate all documents in {document_output_language}</critical>
7
7
  <critical>This workflow creates or updates the next user story from epics/PRD and architecture context, saving to the configured stories directory and optionally invoking Story Context.</critical>
8
8
  <critical>DOCUMENT OUTPUT: Concise, technical, actionable story specifications. Use tables/lists for acceptance criteria and tasks.</critical>
9
9
 
10
- ## 📚 Document Discovery - Selective Epic Loading
11
-
12
- **Strategy**: This workflow needs only ONE specific epic and its stories, not all epics. This provides huge efficiency gains when epics are sharded.
13
-
14
- **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
15
-
16
- 1. **Determine which epic** you need (epic_num from story context - e.g., story "3-2-feature-name" needs Epic 3)
17
- 2. **Check for sharded version**: Look for `epics/index.md`
18
- 3. **If sharded version found**:
19
- - Read `index.md` to understand structure
20
- - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
21
- - DO NOT load all epic files - only the one needed!
22
- - This is the key efficiency optimization for large multi-epic projects
23
- 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
24
-
25
- **Other Documents (prd, architecture, ux-design) - Full Load:**
26
-
27
- 1. **Search for whole document first** - Use fuzzy file matching
28
- 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
29
- 3. **If sharded version found**:
30
- - Read `index.md` to understand structure
31
- - Read ALL section files listed in the index
32
- - Treat combined content as single document
33
- 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
34
-
35
- **Priority**: If both whole and sharded versions exist, use the whole document.
36
-
37
- **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for UI-focused stories.
38
-
39
10
  <workflow>
40
11
 
41
12
  <step n="1" goal="Load config and initialize">
42
- <action>Resolve variables from config_source: story_dir (dev_story_location), output_folder, user_name, communication_language. If story_dir missing and {{non_interactive}} == false → ASK user to provide a stories directory and update variable. If {{non_interactive}} == true and missing, HALT with a clear message.</action>
13
+ <action>Resolve variables from config_source: story_dir (dev_ephemeral_location), output_folder, user_name, communication_language. If story_dir missing → ASK user to provide a stories directory and update variable.</action>
43
14
  <action>Create {{story_dir}} if it does not exist</action>
44
15
  <action>Resolve installed component paths from workflow.yaml: template, instructions, validation</action>
45
16
  <action>Resolve recommended inputs if present: epics_file, prd_file, architecture_file</action>
46
17
  </step>
47
18
 
48
19
  <step n="2" goal="Discover and load source documents">
20
+ <action>
21
+ Selective Epic Loading
22
+
23
+ **Strategy**: This workflow needs only ONE specific epic and its stories, not all epics. This provides huge efficiency gains when epics are sharded.
24
+
25
+ **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
26
+
27
+ 1. **Determine which epic** you need (epic_num from story context - e.g., story "3-2-feature-name" needs Epic 3)
28
+ 2. **Check for sharded version**: Look for `epics/*n*.md` where n is the epic number such as epics/epic-3-foo.md
29
+ 3. **If sharded version found**:
30
+ - Read `index.md` to understand structure
31
+ - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
32
+ - DO NOT load all epic files - only the one needed!
33
+ - This is the key efficiency optimization for large multi-epic projects
34
+ 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
35
+
36
+ **Other Documents (prd, architecture, ux-design) - Full Load:**
37
+
38
+ 1. **Search for whole document first** - Use fuzzy file matching
39
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
40
+ 3. **If sharded version found**:
41
+ - Read `index.md` to understand structure
42
+ - Read ALL section files listed in the index
43
+ - Treat combined content as single document
44
+ 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
45
+
46
+ **Priority**: If both whole and sharded versions exist, use the whole document.
47
+
48
+ **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for UI-focused stories.
49
+ </action>
49
50
  <critical>PREVIOUS STORY CONTINUITY: Essential for maintaining context and learning from prior development</critical>
50
51
 
51
52
  <action>Find the previous completed story to extract dev agent learnings and review findings:
@@ -115,19 +116,17 @@
115
116
  </action>
116
117
 
117
118
  <action>If {{tech_spec_file}} empty: derive from {{tech_spec_glob_template}} with {{epic_num}} and search {{tech_spec_search_dir}} recursively. If multiple, pick most recent by modified time.</action>
118
- <action>Build a prioritized document set for this epic:
119
+ <action>Build a prioritized document set for this epic - search and load from {input_file_patterns} list of potential locations:
119
120
  1) tech_spec_file (epic-scoped)
120
- 2) epics_file (acceptance criteria and breakdown)
121
- 3) prd_file (business requirements and constraints)
122
- 4) architecture_file (architecture constraints)
123
- 5) Architecture docs under docs/ and output_folder/: tech-stack.md, unified-project-structure.md, coding-standards.md, testing-strategy.md, backend-architecture.md, frontend-architecture.md, data-models.md, database-schema.md, rest-api-spec.md, external-apis.md (include if present)
121
+ 2) epics_file (acceptance criteria and breakdown) the specific epic the story will be part of
122
+ 3) prd_file (business requirements and constraints) whole or sharded
123
+ 4) architecture_file (architecture constraints) whole or sharded
124
124
  </action>
125
125
  <action>READ COMPLETE FILES for all items found in the prioritized set. Store content and paths for citation.</action>
126
126
  </step>
127
127
 
128
128
  <step n="3" goal="Find next backlog story to draft" tag="sprint-status">
129
- <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
130
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
129
+ <critical>MUST read COMPLETE {sprint_status} file from start to end to preserve order</critical>
131
130
  <action>Read ALL lines from beginning to end - do not skip any content</action>
132
131
  <action>Parse the development_status section completely to understand story order</action>
133
132
 
@@ -164,7 +163,6 @@ All stories are either already drafted or completed.
164
163
  <action>Check if story file already exists at expected path in {{story_dir}}</action>
165
164
  <check if="story file exists">
166
165
  <output>ℹ️ Story file already exists: {{story_file_path}}
167
-
168
166
  Will update existing story file rather than creating new one.
169
167
  </output>
170
168
  <action>Set update_mode = true</action>
@@ -240,7 +238,7 @@ Will update existing story file rather than creating new one.
240
238
  </step>
241
239
 
242
240
  <step n="8" goal="Validate, save, and mark story drafted" tag="sprint-status">
243
- <invoke-task>Validate against checklist at {installed_path}/checklist.md using bmad/core/tasks/validate-workflow.xml</invoke-task>
241
+ <invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
244
242
  <action>Save document unconditionally (non-interactive default). In interactive mode, allow user confirmation.</action>
245
243
 
246
244
  <!-- Mark story as drafted in sprint status -->
@@ -3,21 +3,22 @@ description: "Create the next user story markdown from epics/PRD and architectur
3
3
  author: "BMad"
4
4
 
5
5
  # Critical variables from config
6
- config_source: "{project-root}/bmad/bmm/config.yaml"
6
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
7
7
  output_folder: "{config_source}:output_folder"
8
8
  user_name: "{config_source}:user_name"
9
9
  communication_language: "{config_source}:communication_language"
10
10
  date: system-generated
11
+ story_dir: "{config_source}:dev_ephemeral_location/stories"
11
12
 
12
13
  # Workflow components
13
- installed_path: "{project-root}/bmad/bmm/workflows/4-implementation/create-story"
14
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/create-story"
14
15
  template: "{installed_path}/template.md"
15
16
  instructions: "{installed_path}/instructions.md"
16
17
  validation: "{installed_path}/checklist.md"
17
18
 
18
19
  # Variables and inputs
19
20
  variables:
20
- story_dir: "{config_source}:dev_story_location" # Directory where stories are stored
21
+ sprint_status: "{config_source}:dev_ephemeral_location/sprint-status.yaml || {output_folder}/sprint-status.yaml" # Primary source for story tracking
21
22
  epics_file: "{output_folder}/epics.md" # Preferred source for epic/story breakdown
22
23
  prd_file: "{output_folder}/PRD.md" # Fallback for requirements
23
24
  architecture_file: "{output_folder}/architecture.md" # Optional architecture context
@@ -28,22 +29,13 @@ variables:
28
29
  - "{project-root}/docs"
29
30
  - "{output_folder}"
30
31
  arch_docs_file_names: |
31
- - architecture.md
32
- - infrastructure-architecture.md
32
+ - *architecture*.md
33
33
  story_title: "" # Will be elicited if not derivable
34
- epic_num: 1
35
- story_num: 1
36
- non_interactive: true # Generate without elicitation; avoid interactive prompts
37
34
 
38
35
  # Output configuration
39
36
  # Uses story_key from sprint-status.yaml (e.g., "1-2-user-authentication")
40
37
  default_output_file: "{story_dir}/{{story_key}}.md"
41
38
 
42
- recommended_inputs:
43
- - epics: "Epic breakdown (epics.md)"
44
- - prd: "PRD document"
45
- - architecture: "Architecture (optional)"
46
-
47
39
  # Smart input file references - handles both whole docs and sharded docs
48
40
  # Priority: Whole document first, then sharded version
49
41
  # Strategy: SELECTIVE LOAD - only load the specific epic needed for this story
@@ -51,25 +43,20 @@ input_file_patterns:
51
43
  prd:
52
44
  whole: "{output_folder}/*prd*.md"
53
45
  sharded: "{output_folder}/*prd*/index.md"
54
-
55
46
  tech_spec:
56
47
  whole: "{output_folder}/tech-spec.md"
57
-
58
48
  architecture:
59
49
  whole: "{output_folder}/*architecture*.md"
60
50
  sharded: "{output_folder}/*architecture*/index.md"
61
-
62
51
  ux_design:
63
52
  whole: "{output_folder}/*ux*.md"
64
53
  sharded: "{output_folder}/*ux*/index.md"
65
-
66
54
  epics:
67
55
  whole: "{output_folder}/*epic*.md"
68
56
  sharded_index: "{output_folder}/*epic*/index.md"
69
57
  sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
70
-
71
58
  document_project:
72
- sharded: "{output_folder}/docs/index.md"
59
+ sharded: "{output_folder}/index.md"
73
60
 
74
61
  standalone: true
75
62
 
@@ -26,7 +26,7 @@ The dev-story workflow is well-structured and follows most BMAD v6 standards. Th
26
26
 
27
27
  The workflow.yaml contains all required standard config variables:
28
28
 
29
- - ✓ `config_source: "{project-root}/bmad/bmm/config.yaml"` - Correctly defined
29
+ - ✓ `config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"` - Correctly defined
30
30
  - ✓ `output_folder: "{config_source}:output_folder"` - Pulls from config_source
31
31
  - ✓ `user_name: "{config_source}:user_name"` - Pulls from config_source
32
32
  - ✓ `communication_language: "{config_source}:communication_language"` - Pulls from config_source
@@ -67,7 +67,7 @@ These variables appear to be pulling from config.yaml but are not explicitly def
67
67
 
68
68
  ### Unused Variables (Bloat)
69
69
 
70
- 1. **context_path** - Defined as `"{config_source}:dev_story_location"` but never used. This duplicates `story_dir` functionality.
70
+ 1. **context_path** - Defined as `"{config_source}:dev_ephemeral_location"` but never used. This duplicates `story_dir` functionality.
71
71
 
72
72
  ---
73
73
 
@@ -140,7 +140,7 @@ The workflow correctly sets `web_bundle: false`. This is the expected configurat
140
140
  ### Unused YAML Fields
141
141
 
142
142
  1. **context_path** (line 11 in workflow.yaml)
143
- - Defined as: `"{config_source}:dev_story_location"`
143
+ - Defined as: `"{config_source}:dev_ephemeral_location"`
144
144
  - Never referenced in instructions.md
145
145
  - Duplicates functionality of `story_dir` variable
146
146
  - **Recommendation:** Remove this variable as `story_dir` serves the same purpose
@@ -1,7 +1,7 @@
1
1
  # Develop Story - Workflow Instructions
2
2
 
3
3
  ```xml
4
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
5
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
6
  <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
7
7
  <critical>Generate all documents in {document_output_language}</critical>
@@ -227,7 +227,7 @@ Story is marked Ready for Review in file, but sprint-status.yaml may be out of s
227
227
  </step>
228
228
 
229
229
  <step n="7" goal="Completion communication and user support">
230
- <action>Optionally run the workflow validation task against the story using {project-root}/bmad/core/tasks/validate-workflow.xml</action>
230
+ <action>Optionally run the workflow validation task against the story using {project-root}/{bmad_folder}/core/tasks/validate-workflow.xml</action>
231
231
  <action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
232
232
 
233
233
  <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
@@ -3,13 +3,13 @@ description: "Execute a story by implementing tasks/subtasks, writing tests, val
3
3
  author: "BMad"
4
4
 
5
5
  # Critical variables from config
6
- config_source: "{project-root}/bmad/bmm/config.yaml"
6
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
7
7
  output_folder: "{config_source}:output_folder"
8
8
  user_name: "{config_source}:user_name"
9
9
  communication_language: "{config_source}:communication_language"
10
10
  user_skill_level: "{config_source}:user_skill_level"
11
11
  document_output_language: "{config_source}:document_output_language"
12
- story_dir: "{config_source}:dev_story_location"
12
+ story_dir: "{config_source}:dev_ephemeral_location"
13
13
  run_until_complete: "{config_source}:run_until_complete"
14
14
  run_tests_command: "{config_source}:run_tests_command"
15
15
  date: system-generated
@@ -19,7 +19,7 @@ story_file: "" # Explicit story path; auto-discovered if empty
19
19
  context_file: "{story_dir}/{{story_key}}.context.xml"
20
20
 
21
21
  # Workflow components
22
- installed_path: "{project-root}/bmad/bmm/workflows/4-implementation/dev-story"
22
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/dev-story"
23
23
  instructions: "{installed_path}/instructions.md"
24
24
  validation: "{installed_path}/checklist.md"
25
25
 
@@ -1,7 +1,7 @@
1
1
  # Tech Spec Validation Checklist
2
2
 
3
3
  ```xml
4
- <checklist id="bmad/bmm/workflows/4-implementation/epic-tech-context/checklist">
4
+ <checklist id="{bmad_folder}/bmm/workflows/4-implementation/epic-tech-context/checklist">
5
5
  <item>Overview clearly ties to PRD goals</item>
6
6
  <item>Scope explicitly lists in-scope and out-of-scope</item>
7
7
  <item>Design lists all services/modules with responsibilities</item>
@@ -1,49 +1,47 @@
1
1
  <!-- BMAD BMM Tech Spec Workflow Instructions (v6) -->
2
2
 
3
3
  ```xml
4
- <critical>The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml</critical>
4
+ <critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
5
5
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
6
  <critical>Communicate all responses in {communication_language}</critical>
7
7
  <critical>This workflow generates a comprehensive Technical Specification from PRD and Architecture, including detailed design, NFRs, acceptance criteria, and traceability mapping.</critical>
8
8
  <critical>If required inputs cannot be auto-discovered HALT with a clear message listing missing documents, allow user to provide them to proceed.</critical>
9
9
 
10
- ## 📚 Document Discovery - Selective Epic Loading
11
-
12
- **Strategy**: This workflow needs only ONE specific epic and its stories, not all epics. This provides huge efficiency gains when epics are sharded.
10
+ <workflow>
11
+ <step n="1" goal="Collect inputs and discover next epic" tag="sprint-status">
12
+ Document Discovery - Selective Epic Loading
13
13
 
14
- **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
14
+ **Strategy**: This workflow needs only ONE specific epic and its stories, not all epics. This provides huge efficiency gains when epics are sharded.
15
15
 
16
- 1. **Determine which epic** you need (epic_num from workflow context or user input)
17
- 2. **Check for sharded version**: Look for `epics/index.md`
18
- 3. **If sharded version found**:
19
- - Read `index.md` to understand structure
20
- - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
21
- - DO NOT load all epic files - only the one needed!
22
- - This is the key efficiency optimization for large multi-epic projects
23
- 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
16
+ **Epic Discovery Process (SELECTIVE OPTIMIZATION):**
24
17
 
25
- **Other Documents (prd, gdd, architecture, ux-design) - Full Load:**
18
+ 1. **Determine which epic** you need (epic_num from workflow context or user input)
19
+ 2. **Check for sharded version**: Look for `epics/index.md`
20
+ 3. **If sharded version found**:
21
+ - Read `index.md` to understand structure
22
+ - **Load ONLY `epic-{epic_num}.md`** (e.g., `epics/epic-3.md` for Epic 3)
23
+ - DO NOT load all epic files - only the one needed!
24
+ - This is the key efficiency optimization for large multi-epic projects
25
+ 4. **If whole document found**: Load the complete `epics.md` file and extract the relevant epic
26
26
 
27
- 1. **Search for whole document first** - Use fuzzy file matching
28
- 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
29
- 3. **If sharded version found**:
30
- - Read `index.md` to understand structure
31
- - Read ALL section files listed in the index
32
- - Treat combined content as single document
33
- 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
27
+ **Other Documents (prd, gdd, architecture, ux-design) - Full Load:**
34
28
 
35
- **Priority**: If both whole and sharded versions exist, use the whole document.
29
+ 1. **Search for whole document first** - Use fuzzy file matching
30
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
31
+ 3. **If sharded version found**:
32
+ - Read `index.md` to understand structure
33
+ - Read ALL section files listed in the index
34
+ - Treat combined content as single document
35
+ 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
36
36
 
37
- **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for UI-focused epics and stories.
37
+ **Priority**: If both whole and sharded versions exist, use the whole document.
38
38
 
39
- <workflow>
40
- <step n="1" goal="Collect inputs and discover next epic" tag="sprint-status">
39
+ **UX-Heavy Projects**: Always check for ux-design documentation as it provides critical context for UI-focused epics and stories.
41
40
  <action>Identify PRD and Architecture documents from recommended_inputs. Attempt to auto-discover at default paths.</action>
42
41
  <ask if="inputs are missing">ask the user for file paths. HALT and wait for docs to proceed</ask>
43
42
 
44
43
  <!-- Intelligent Epic Discovery -->
45
- <critical>MUST read COMPLETE sprint-status.yaml file to discover next epic</critical>
46
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
44
+ <critical>MUST read COMPLETE {sprint-status} file to discover next epic</critical>
47
45
  <action>Read ALL development_status entries</action>
48
46
  <action>Find all epics with status "backlog" (not yet contexted)</action>
49
47
  <action>Identify the FIRST backlog epic as the suggested default</action>
@@ -157,7 +155,7 @@ Continuing to regenerate tech spec...
157
155
  </step>
158
156
 
159
157
  <step n="9" goal="Validate and mark epic contexted" tag="sprint-status">
160
- <invoke-task>Validate against checklist at {installed_path}/checklist.md using bmad/core/tasks/validate-workflow.xml</invoke-task>
158
+ <invoke-task>Validate against checklist at {installed_path}/checklist.md using {bmad_folder}/core/tasks/validate-workflow.xml</invoke-task>
161
159
 
162
160
  <!-- Mark epic as contexted -->
163
161
  <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>