bmad-method 6.0.0-alpha.7 → 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 (637) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +11 -0
  2. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +42 -0
  3. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  4. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  5. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  6. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  7. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  8. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  9. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +42 -0
  10. package/.bmad/_cfg/files-manifest.csv +289 -0
  11. package/.bmad/_cfg/ides/claude-code.yaml +7 -0
  12. package/.bmad/_cfg/manifest.yaml +10 -0
  13. package/.bmad/_cfg/task-manifest.csv +6 -0
  14. package/.bmad/_cfg/tool-manifest.csv +2 -0
  15. package/.bmad/_cfg/workflow-manifest.csv +44 -0
  16. package/{bmad → .bmad}/bmb/agents/bmad-builder.md +12 -12
  17. package/.bmad/bmb/config.yaml +16 -0
  18. package/{bmad → .bmad}/bmb/workflows/audit-workflow/checklist.md +2 -2
  19. package/{bmad → .bmad}/bmb/workflows/audit-workflow/instructions.md +5 -5
  20. package/{bmad → .bmad}/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  21. package/{bmad → .bmad}/bmb/workflows/convert-legacy/README.md +5 -5
  22. package/{bmad → .bmad}/bmb/workflows/convert-legacy/checklist.md +2 -2
  23. package/{bmad → .bmad}/bmb/workflows/convert-legacy/instructions.md +17 -17
  24. package/{bmad → .bmad}/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  25. package/{bmad → .bmad}/bmb/workflows/create-agent/README.md +5 -5
  26. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-architecture.md +15 -15
  27. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  28. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-types.md +15 -15
  29. package/{bmad → .bmad}/bmb/workflows/create-agent/checklist.md +3 -3
  30. package/{bmad → .bmad}/bmb/workflows/create-agent/instructions.md +11 -11
  31. package/{bmad → .bmad}/bmb/workflows/create-agent/workflow.yaml +6 -6
  32. package/{bmad → .bmad}/bmb/workflows/create-module/README.md +1 -1
  33. package/{bmad → .bmad}/bmb/workflows/create-module/checklist.md +1 -1
  34. package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  35. package/{bmad → .bmad}/bmb/workflows/create-module/instructions.md +7 -7
  36. package/{bmad → .bmad}/bmb/workflows/create-module/module-structure.md +4 -4
  37. package/{bmad → .bmad}/bmb/workflows/create-module/workflow.yaml +9 -9
  38. package/{bmad → .bmad}/bmb/workflows/create-workflow/README.md +4 -4
  39. package/{bmad → .bmad}/bmb/workflows/create-workflow/checklist.md +1 -1
  40. package/{bmad → .bmad}/bmb/workflows/create-workflow/instructions.md +29 -29
  41. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-creation-guide.md +36 -36
  42. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  43. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/workflow.yaml +1 -1
  44. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow.yaml +5 -5
  45. package/{bmad → .bmad}/bmb/workflows/edit-agent/checklist.md +1 -1
  46. package/{bmad → .bmad}/bmb/workflows/edit-agent/instructions.md +2 -2
  47. package/{bmad → .bmad}/bmb/workflows/edit-agent/workflow.yaml +8 -8
  48. package/{bmad → .bmad}/bmb/workflows/edit-module/README.md +2 -2
  49. package/{bmad → .bmad}/bmb/workflows/edit-module/checklist.md +2 -2
  50. package/{bmad → .bmad}/bmb/workflows/edit-module/instructions.md +4 -4
  51. package/{bmad → .bmad}/bmb/workflows/edit-module/workflow.yaml +10 -10
  52. package/{bmad → .bmad}/bmb/workflows/edit-workflow/instructions.md +4 -4
  53. package/{bmad → .bmad}/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  54. package/{bmad → .bmad}/bmb/workflows/module-brief/README.md +2 -2
  55. package/{bmad → .bmad}/bmb/workflows/module-brief/instructions.md +2 -2
  56. package/{bmad → .bmad}/bmb/workflows/module-brief/workflow.yaml +4 -4
  57. package/{bmad → .bmad}/bmb/workflows/redoc/README.md +5 -5
  58. package/{bmad → .bmad}/bmb/workflows/redoc/instructions.md +1 -1
  59. package/{bmad → .bmad}/bmb/workflows/redoc/workflow.yaml +1 -1
  60. package/.bmad/bmm/README.md +128 -0
  61. package/.bmad/bmm/agents/analyst.md +75 -0
  62. package/.bmad/bmm/agents/architect.md +80 -0
  63. package/.bmad/bmm/agents/dev.md +69 -0
  64. package/.bmad/bmm/agents/pm.md +84 -0
  65. package/.bmad/bmm/agents/sm.md +93 -0
  66. package/.bmad/bmm/agents/tea.md +80 -0
  67. package/.bmad/bmm/agents/tech-writer.md +90 -0
  68. package/.bmad/bmm/agents/ux-designer.md +79 -0
  69. package/.bmad/bmm/config.yaml +18 -0
  70. package/.bmad/bmm/docs/README.md +235 -0
  71. package/.bmad/bmm/docs/agents-guide.md +1056 -0
  72. package/.bmad/bmm/docs/brownfield-guide.md +754 -0
  73. package/.bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  74. package/.bmad/bmm/docs/faq.md +587 -0
  75. package/.bmad/bmm/docs/glossary.md +320 -0
  76. package/.bmad/bmm/docs/party-mode.md +224 -0
  77. package/.bmad/bmm/docs/quick-spec-flow.md +652 -0
  78. package/.bmad/bmm/docs/quick-start.md +366 -0
  79. package/.bmad/bmm/docs/scale-adaptive-system.md +599 -0
  80. package/.bmad/bmm/docs/test-architecture.md +394 -0
  81. package/.bmad/bmm/docs/workflow-architecture-reference.md +371 -0
  82. package/.bmad/bmm/docs/workflow-document-project-reference.md +487 -0
  83. package/.bmad/bmm/docs/workflows-analysis.md +370 -0
  84. package/.bmad/bmm/docs/workflows-implementation.md +284 -0
  85. package/.bmad/bmm/docs/workflows-planning.md +601 -0
  86. package/.bmad/bmm/docs/workflows-solutioning.md +501 -0
  87. package/.bmad/bmm/tasks/daily-standup.xml +85 -0
  88. package/.bmad/bmm/teams/default-party.csv +19 -0
  89. package/.bmad/bmm/teams/team-fullstack.yaml +12 -0
  90. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  91. package/.bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  92. package/.bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  93. package/.bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  94. package/.bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  95. package/.bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  96. package/.bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  97. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  98. package/.bmad/bmm/testarch/knowledge/network-first.md +486 -0
  99. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  100. package/.bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  101. package/.bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  102. package/.bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  103. package/.bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  104. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  105. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  106. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  107. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  108. package/.bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  109. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  110. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  111. package/.bmad/bmm/testarch/tea-index.csv +22 -0
  112. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  113. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  114. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  115. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  116. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  117. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +40 -0
  118. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  119. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  120. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  121. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  122. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  123. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  124. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  125. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  126. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  127. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  128. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  129. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  130. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  131. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  132. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  133. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  134. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  135. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1301 -0
  136. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  137. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +60 -0
  138. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +350 -0
  139. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
  140. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
  141. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +45 -0
  142. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  143. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +408 -0
  144. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  145. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  146. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  147. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  148. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +80 -0
  149. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  150. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  151. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1115 -0
  152. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  153. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +90 -0
  154. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  155. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  156. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  157. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  158. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  159. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +704 -0
  160. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  161. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +68 -0
  162. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  163. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +305 -0
  164. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  165. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  166. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  167. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  168. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  169. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  170. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +65 -0
  171. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  172. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  173. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  174. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  175. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  176. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  177. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  178. package/.bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  179. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  180. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  181. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  182. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  183. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  184. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  185. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  186. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  187. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  188. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  189. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  190. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  191. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  192. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  193. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  194. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  195. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  196. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  197. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  198. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  199. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  200. package/.bmad/bmm/workflows/document-project/checklist.md +245 -0
  201. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  202. package/.bmad/bmm/workflows/document-project/instructions.md +222 -0
  203. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  204. package/.bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  205. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  206. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  207. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  208. package/.bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  209. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  210. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  211. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  212. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  213. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +262 -0
  214. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  215. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  216. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  217. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  218. package/.bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  219. package/.bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  220. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  221. package/.bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  222. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  223. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  224. package/.bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  225. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  226. package/.bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  227. package/.bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  228. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  229. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  230. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  231. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  232. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  233. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  234. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  235. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  236. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  237. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  238. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  239. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  240. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  241. package/.bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  242. package/.bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  243. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  244. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  245. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +822 -0
  246. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  247. package/.bmad/bmm/workflows/workflow-status/instructions.md +387 -0
  248. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +127 -0
  249. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +115 -0
  250. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +52 -0
  251. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +97 -0
  252. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +88 -0
  253. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +58 -0
  254. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +47 -0
  255. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  256. package/.bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  257. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  258. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  259. package/{bmad → .bmad}/core/agents/bmad-master.md +7 -7
  260. package/{bmad → .bmad}/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  261. package/{bmad → .bmad}/core/config.yaml +4 -2
  262. package/{bmad → .bmad}/core/tasks/adv-elicit.xml +5 -3
  263. package/{bmad → .bmad}/core/tasks/index-docs.xml +1 -1
  264. package/{bmad → .bmad}/core/tasks/validate-workflow.xml +1 -1
  265. package/{bmad → .bmad}/core/tasks/workflow.xml +1 -1
  266. package/{bmad → .bmad}/core/tools/shard-doc.xml +1 -1
  267. package/{bmad → .bmad}/core/workflows/brainstorming/README.md +2 -2
  268. package/{bmad → .bmad}/core/workflows/brainstorming/instructions.md +3 -3
  269. package/{bmad → .bmad}/core/workflows/brainstorming/workflow.yaml +8 -8
  270. package/{bmad → .bmad}/core/workflows/party-mode/instructions.md +2 -7
  271. package/.bmad/core/workflows/party-mode/workflow.yaml +27 -0
  272. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +12 -12
  273. package/.claude/commands/bmad/bmm/agents/analyst.md +75 -0
  274. package/.claude/commands/bmad/bmm/agents/architect.md +80 -0
  275. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  276. package/.claude/commands/bmad/bmm/agents/pm.md +84 -0
  277. package/.claude/commands/bmad/bmm/agents/sm.md +93 -0
  278. package/.claude/commands/bmad/bmm/agents/tea.md +80 -0
  279. package/.claude/commands/bmad/bmm/agents/tech-writer.md +90 -0
  280. package/.claude/commands/bmad/bmm/agents/ux-designer.md +79 -0
  281. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  282. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  283. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  284. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  285. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  286. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  287. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  288. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  289. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  290. package/.claude/commands/bmad/bmm/workflows/domain-research.md +15 -0
  291. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  292. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  293. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  294. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  295. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  296. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  297. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  298. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  299. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  300. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  301. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  302. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  303. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  304. package/.claude/commands/bmad/core/agents/bmad-master.md +7 -7
  305. package/.claude/commands/bmad/core/tasks/adv-elicit.md +9 -0
  306. package/.claude/settings.local.json +6 -12
  307. package/.vscode/settings.json +2 -1
  308. package/package.json +1 -1
  309. package/src/core/_module-installer/install-config.yaml +15 -9
  310. package/src/core/_module-installer/installer.js +0 -8
  311. package/src/core/agents/bmad-master.agent.yaml +5 -5
  312. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  313. package/src/core/tasks/adv-elicit.xml +5 -3
  314. package/src/core/tasks/index-docs.xml +1 -1
  315. package/src/core/tasks/validate-workflow.xml +1 -1
  316. package/src/core/tasks/workflow.xml +1 -1
  317. package/src/core/tools/shard-doc.xml +1 -1
  318. package/src/core/workflows/brainstorming/README.md +2 -2
  319. package/src/core/workflows/brainstorming/instructions.md +3 -3
  320. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  321. package/src/core/workflows/party-mode/instructions.md +2 -7
  322. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  323. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  324. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  325. package/src/modules/bmb/workflows/audit-workflow/checklist.md +2 -2
  326. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  327. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  328. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  329. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  330. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  331. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  332. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  333. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -15
  334. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  335. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  336. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  337. package/src/modules/bmb/workflows/create-agent/instructions.md +11 -11
  338. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  339. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  340. package/src/modules/bmb/workflows/create-module/checklist.md +1 -1
  341. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  342. package/src/modules/bmb/workflows/create-module/instructions.md +7 -7
  343. package/src/modules/bmb/workflows/create-module/module-structure.md +4 -4
  344. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  345. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  346. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  347. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  348. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +42 -42
  349. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  350. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  351. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  352. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  353. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  354. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  355. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  356. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  357. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  358. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  359. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  360. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  361. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  362. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  363. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  364. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  365. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  366. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  367. package/src/modules/bmgd/README.md +1 -1
  368. package/src/modules/bmgd/_module-installer/install-config.yaml +17 -16
  369. package/src/modules/bmgd/agents/game-architect.agent.yaml +15 -10
  370. package/src/modules/bmgd/agents/game-designer.agent.yaml +16 -11
  371. package/src/modules/bmgd/agents/game-dev.agent.yaml +18 -12
  372. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +30 -25
  373. package/src/modules/bmgd/teams/default-party.csv +10 -0
  374. package/src/modules/bmgd/teams/team-gamedev.yaml +2 -0
  375. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
  376. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
  377. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
  378. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
  379. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +8 -8
  380. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
  381. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +6 -6
  382. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
  383. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +6 -6
  384. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
  385. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +4 -4
  386. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +4 -13
  387. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  388. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +2 -2
  389. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +2 -2
  390. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +3 -3
  391. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +3 -3
  392. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +3 -3
  393. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +2 -2
  394. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +3 -3
  395. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
  396. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +2 -2
  397. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +2 -2
  398. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +2 -2
  399. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +4 -4
  400. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +2 -2
  401. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +3 -3
  402. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
  403. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +1 -1
  404. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +2 -2
  405. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +4 -4
  406. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
  407. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +3 -3
  408. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +1 -1
  409. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +3 -3
  410. package/src/modules/bmm/_module-installer/install-config.yaml +10 -24
  411. package/src/modules/bmm/_module-installer/installer.js +2 -2
  412. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  413. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  414. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  415. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  416. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  417. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  418. package/src/modules/bmm/agents/tech-writer.agent.yaml +14 -10
  419. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  420. package/src/modules/bmm/docs/agents-guide.md +4 -4
  421. package/src/modules/bmm/docs/brownfield-guide.md +4 -4
  422. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  423. package/src/modules/bmm/docs/faq.md +1 -1
  424. package/src/modules/bmm/docs/party-mode.md +3 -3
  425. package/src/modules/bmm/docs/quick-start.md +1 -1
  426. package/src/modules/bmm/docs/test-architecture.md +1 -1
  427. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  428. package/src/modules/bmm/sub-modules/claude-code/README.md +1 -1
  429. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +22 -22
  430. package/src/modules/bmm/tasks/daily-standup.xml +2 -2
  431. package/src/modules/bmm/teams/default-party.csv +19 -0
  432. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  433. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  434. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  435. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  436. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +8 -8
  437. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  438. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +9 -9
  439. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  440. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +5 -5
  441. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  442. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  443. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  444. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  445. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +10 -10
  446. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  447. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +6 -6
  448. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +5 -5
  449. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +16 -16
  450. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  451. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  452. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  453. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  454. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +12 -12
  455. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  456. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +19 -19
  457. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  458. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  459. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +38 -38
  460. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +6 -23
  461. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  462. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  463. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  464. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +38 -40
  465. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +6 -19
  466. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  467. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  468. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  469. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  470. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +26 -28
  471. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +6 -18
  472. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +11 -11
  473. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +8 -11
  474. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +6 -15
  475. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +5 -4
  476. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  477. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  478. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +8 -9
  479. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +6 -14
  480. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  481. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +4 -4
  482. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  483. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +4 -4
  484. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  485. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  486. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  487. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  488. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  489. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  490. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  491. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  492. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  493. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  494. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  495. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  496. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  497. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  498. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +2 -2
  499. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  500. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  501. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  502. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  503. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  504. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  505. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +28 -26
  506. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  507. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  508. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  509. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  510. package/src/modules/cis/README.md +1 -1
  511. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  512. package/src/modules/cis/agents/README.md +1 -1
  513. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  514. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  515. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  516. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  517. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  518. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  519. package/src/modules/cis/teams/default-party.csv +11 -0
  520. package/src/modules/cis/workflows/README.md +1 -1
  521. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  522. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  523. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  524. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  525. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  526. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  527. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  528. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  529. package/src/utility/models/action-command-header.md +0 -0
  530. package/src/utility/models/agent-activation-ide.xml +3 -3
  531. package/src/utility/models/agent-activation-web.xml +4 -4
  532. package/src/utility/models/agent-command-header.md +1 -0
  533. package/src/utility/models/fragments/activation-steps.xml +3 -2
  534. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  535. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  536. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  537. package/tools/cli/bundlers/web-bundler.js +85 -16
  538. package/tools/cli/commands/install.js +1 -4
  539. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  540. package/tools/cli/installers/lib/core/detector.js +62 -7
  541. package/tools/cli/installers/lib/core/installer.js +158 -23
  542. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  543. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  544. package/tools/cli/installers/lib/ide/auggie.js +78 -224
  545. package/tools/cli/installers/lib/ide/claude-code.js +14 -22
  546. package/tools/cli/installers/lib/ide/cline.js +15 -18
  547. package/tools/cli/installers/lib/ide/codex.js +17 -48
  548. package/tools/cli/installers/lib/ide/crush.js +14 -50
  549. package/tools/cli/installers/lib/ide/cursor.js +51 -8
  550. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  551. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  552. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  553. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  554. package/tools/cli/installers/lib/ide/manager.js +15 -0
  555. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  556. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  557. package/tools/cli/installers/lib/ide/roo.js +27 -62
  558. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  559. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  560. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  561. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  562. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  563. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  564. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  565. package/tools/cli/installers/lib/ide/trae.js +20 -32
  566. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  567. package/tools/cli/installers/lib/modules/manager.js +89 -17
  568. package/tools/cli/lib/cli-utils.js +52 -50
  569. package/tools/cli/lib/ui.js +15 -8
  570. package/tools/schema/agent.js +7 -3
  571. package/web-bundles/bmgd/agents/game-architect.xml +664 -0
  572. package/web-bundles/bmgd/agents/game-designer.xml +5489 -0
  573. package/web-bundles/bmgd/agents/game-dev.xml +595 -0
  574. package/web-bundles/bmgd/agents/game-scrum-master.xml +699 -0
  575. package/web-bundles/bmgd/teams/team-gamedev.xml +6588 -0
  576. package/web-bundles/bmm/agents/analyst.xml +424 -189
  577. package/web-bundles/bmm/agents/architect.xml +514 -183
  578. package/web-bundles/bmm/agents/dev.xml +185 -5
  579. package/web-bundles/bmm/agents/pm.xml +522 -193
  580. package/web-bundles/bmm/agents/sm.xml +636 -5
  581. package/web-bundles/bmm/agents/tea.xml +697 -4
  582. package/web-bundles/bmm/agents/tech-writer.xml +544 -4
  583. package/web-bundles/bmm/agents/ux-designer.xml +505 -31
  584. package/web-bundles/bmm/teams/team-fullstack.xml +1588 -1258
  585. package/web-bundles/cis/agents/brainstorming-coach.xml +1069 -0
  586. package/web-bundles/cis/agents/creative-problem-solver.xml +1060 -0
  587. package/web-bundles/cis/agents/design-thinking-coach.xml +955 -0
  588. package/web-bundles/cis/agents/innovation-strategist.xml +1108 -0
  589. package/web-bundles/cis/agents/storyteller.xml +598 -0
  590. package/web-bundles/cis/teams/creative-squad.xml +3449 -0
  591. package/bmad/_cfg/agent-manifest.csv +0 -5
  592. package/bmad/_cfg/files-manifest.csv +0 -82
  593. package/bmad/_cfg/ides/claude-code.yaml +0 -6
  594. package/bmad/_cfg/manifest.yaml +0 -11
  595. package/bmad/_cfg/task-manifest.csv +0 -13
  596. package/bmad/_cfg/tool-manifest.csv +0 -4
  597. package/bmad/_cfg/workflow-manifest.csv +0 -17
  598. package/bmad/bmb/config.yaml +0 -14
  599. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  600. package/bmd/README.md +0 -193
  601. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  602. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  603. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  604. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  605. package/bmd/agents/cli-chief.agent.yaml +0 -126
  606. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  607. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  608. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  609. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  610. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  611. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  612. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  613. package/bmd/agents/release-chief.agent.yaml +0 -127
  614. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  615. package/bmd/config.yaml +0 -12
  616. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  617. /package/{bmad → .bmad}/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -0
  618. /package/{bmad/_cfg/agents/core-bmad-master.customize.yaml → .bmad/_cfg/agents/bmm-analyst.customize.yaml} +0 -0
  619. /package/{bmad → .bmad}/bmb/README.md +0 -0
  620. /package/{bmad → .bmad}/bmb/workflows/audit-workflow/template.md +0 -0
  621. /package/{bmad → .bmad}/bmb/workflows/create-agent/brainstorm-context.md +0 -0
  622. /package/{bmad → .bmad}/bmb/workflows/create-agent/communication-styles.md +0 -0
  623. /package/{bmad → .bmad}/bmb/workflows/create-module/brainstorm-context.md +0 -0
  624. /package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/installer.js +0 -0
  625. /package/{bmad → .bmad}/bmb/workflows/create-workflow/brainstorm-context.md +0 -0
  626. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -0
  627. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/template.md +0 -0
  628. /package/{bmad → .bmad}/bmb/workflows/edit-agent/README.md +0 -0
  629. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/README.md +0 -0
  630. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/checklist.md +0 -0
  631. /package/{bmad → .bmad}/bmb/workflows/module-brief/checklist.md +0 -0
  632. /package/{bmad → .bmad}/bmb/workflows/module-brief/template.md +0 -0
  633. /package/{bmad → .bmad}/bmb/workflows/redoc/checklist.md +0 -0
  634. /package/{bmad → .bmad}/core/tasks/adv-elicit-methods.csv +0 -0
  635. /package/{bmad → .bmad}/core/workflows/brainstorming/brain-methods.csv +0 -0
  636. /package/{bmad → .bmad}/core/workflows/brainstorming/template.md +0 -0
  637. /package/{bmad → .bmad}/docs/claude-code-instructions.md +0 -0
@@ -4,7 +4,7 @@ description: "Collaborative architectural decision facilitation for AI-agent con
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables
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"
@@ -37,7 +37,7 @@ input_file_patterns:
37
37
  sharded: "{output_folder}/docs/index.md"
38
38
 
39
39
  # Module path and component files
40
- installed_path: "{project-root}/bmad/bmm/workflows/3-solutioning/architecture"
40
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/architecture"
41
41
  instructions: "{installed_path}/instructions.md"
42
42
  validation: "{installed_path}/checklist.md"
43
43
  template: "{installed_path}/architecture-template.md"
@@ -72,18 +72,18 @@ web_bundle:
72
72
  description: "Collaborative architectural decision facilitation for AI-agent consistency. Replaces template-driven architecture with intelligent, adaptive conversation that produces a decision-focused architecture document optimized for preventing agent conflicts."
73
73
  author: "BMad"
74
74
 
75
- # Core workflow files (bmad/-relative paths)
76
- instructions: "bmad/bmm/workflows/3-solutioning/architecture/instructions.md"
77
- validation: "bmad/bmm/workflows/3-solutioning/architecture/checklist.md"
78
- template: "bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md"
75
+ # Core workflow files ({bmad_folder}/-relative paths)
76
+ instructions: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/instructions.md"
77
+ validation: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/checklist.md"
78
+ template: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/architecture-template.md"
79
79
 
80
80
  # Knowledge base files for decision making
81
- decision_catalog: "bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml"
82
- architecture_patterns: "bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml"
83
- pattern_categories: "bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv"
81
+ decision_catalog: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml"
82
+ architecture_patterns: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml"
83
+ pattern_categories: "{bmad_folder}/bmm/workflows/3-solutioning/architecture/pattern-categories.csv"
84
84
 
85
85
  # Task dependencies
86
- adv_elicit_task: "bmad/core/tasks/adv-elicit.xml"
86
+ adv_elicit_task: "{bmad_folder}/core/tasks/adv-elicit.xml"
87
87
 
88
88
  # Default configuration values (can be overridden during bundle setup)
89
89
  defaults:
@@ -99,16 +99,16 @@ web_bundle:
99
99
  # Complete file list - ALL files this workflow depends on
100
100
  web_bundle_files:
101
101
  # Core workflow files
102
- - "bmad/bmm/workflows/3-solutioning/architecture/instructions.md"
103
- - "bmad/bmm/workflows/3-solutioning/architecture/checklist.md"
104
- - "bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md"
102
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/instructions.md"
103
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/checklist.md"
104
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/architecture-template.md"
105
105
 
106
106
  # Knowledge base data files
107
- - "bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml"
108
- - "bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml"
109
- - "bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv"
107
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml"
108
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml"
109
+ - "{bmad_folder}/bmm/workflows/3-solutioning/architecture/pattern-categories.csv"
110
110
 
111
111
  # Task dependencies (referenced in instructions.md)
112
- - "bmad/core/tasks/workflow.xml"
113
- - "bmad/core/tasks/adv-elicit.xml"
114
- - "bmad/core/tasks/adv-elicit-methods.csv"
112
+ - "{bmad_folder}/core/tasks/workflow.xml"
113
+ - "{bmad_folder}/core/tasks/adv-elicit.xml"
114
+ - "{bmad_folder}/core/tasks/adv-elicit-methods.csv"
@@ -1,7 +1,7 @@
1
1
  # Implementation Ready Check - Workflow 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/3-solutioning/solutioning-gate-check/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/3-solutioning/solutioning-gate-check/workflow.yaml</critical>
5
5
  <critical>Communicate all findings and analysis in {communication_language} throughout the assessment</critical>
6
6
  <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
7
7
 
@@ -4,7 +4,7 @@ description: "Systematically validate that all planning and solutioning phases a
4
4
  author: "BMad Builder"
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"
@@ -12,11 +12,11 @@ document_output_language: "{config_source}:document_output_language"
12
12
  date: system-generated
13
13
 
14
14
  # Workflow status integration
15
- workflow_status_workflow: "{project-root}/bmad/bmm/workflows/workflow-status/workflow.yaml"
16
- workflow_paths_dir: "{project-root}/bmad/bmm/workflows/workflow-status/paths"
15
+ workflow_status_workflow: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/workflow.yaml"
16
+ workflow_paths_dir: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/paths"
17
17
 
18
18
  # Module path and component files
19
- installed_path: "{project-root}/bmad/bmm/workflows/3-solutioning/solutioning-gate-check"
19
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/3-solutioning/solutioning-gate-check"
20
20
  template: "{installed_path}/template.md"
21
21
  instructions: "{installed_path}/instructions.md"
22
22
  validation: "{installed_path}/checklist.md"
@@ -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>