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

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 (1278) hide show
  1. package/.coderabbit.yaml +40 -0
  2. package/.github/CODE_OF_CONDUCT.md +128 -0
  3. package/.github/ISSUE_TEMPLATE/idea_submission.md +2 -2
  4. package/.github/scripts/discord-helpers.sh +34 -0
  5. package/.github/workflows/bundle-latest.yaml +329 -0
  6. package/.github/workflows/discord.yaml +302 -8
  7. package/.github/workflows/docs.yaml +72 -0
  8. package/.github/workflows/manual-release.yaml +35 -18
  9. package/.github/workflows/quality.yaml +94 -0
  10. package/.husky/pre-commit +4 -0
  11. package/.markdownlint-cli2.yaml +42 -0
  12. package/.prettierignore +7 -0
  13. package/.vscode/settings.json +4 -2
  14. package/CHANGELOG.md +772 -13
  15. package/CONTRIBUTING.md +2 -16
  16. package/LICENSE +1 -1
  17. package/README.md +159 -177
  18. package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
  19. package/docs/agent-customization-guide.md +208 -0
  20. package/docs/custom-content-installation.md +149 -0
  21. package/docs/custom-content.md +122 -0
  22. package/docs/document-sharding-guide.md +449 -0
  23. package/docs/getting-started/installation.md +76 -0
  24. package/docs/ide-info/crush.md +1 -1
  25. package/docs/ide-info/cursor.md +7 -7
  26. package/docs/ide-info/iflow.md +3 -3
  27. package/docs/ide-info/index.md +24 -0
  28. package/docs/ide-info/opencode.md +1 -1
  29. package/docs/ide-info/rovo-dev.md +22 -0
  30. package/docs/index.md +143 -0
  31. package/docs/v4-to-v6-upgrade.md +38 -36
  32. package/docs/web-bundles-gemini-gpt-guide.md +21 -0
  33. package/eslint.config.mjs +23 -2
  34. package/package.json +25 -10
  35. package/samples/sample-custom-modules/README.md +11 -0
  36. package/samples/sample-custom-modules/sample-unitary-module/README.md +8 -0
  37. package/samples/sample-custom-modules/sample-unitary-module/agents/commit-poet/commit-poet.agent.yaml +129 -0
  38. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  39. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  40. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  41. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  42. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  43. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
  44. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  45. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  46. package/samples/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith.agent.yaml +109 -0
  47. package/samples/sample-custom-modules/sample-unitary-module/module.yaml +8 -0
  48. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-01-init.md +168 -0
  49. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-02-q1.md +155 -0
  50. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-03-q2.md +89 -0
  51. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-04-q3.md +36 -0
  52. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-05-q4.md +36 -0
  53. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-06-q5.md +36 -0
  54. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-07-q6.md +36 -0
  55. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-08-q7.md +36 -0
  56. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-09-q8.md +36 -0
  57. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-10-q9.md +36 -0
  58. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-11-q10.md +36 -0
  59. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-12-results.md +150 -0
  60. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/templates/csv-headers.template +1 -0
  61. package/samples/sample-custom-modules/sample-unitary-module/workflows/quiz-master/workflow.md +54 -0
  62. package/samples/sample-custom-modules/sample-unitary-module/workflows/wassup/workflow.md +26 -0
  63. package/samples/sample-custom-modules/sample-wellness-module/README.md +6 -0
  64. package/samples/sample-custom-modules/sample-wellness-module/agents/meditation-guide.agent.yaml +136 -0
  65. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/foo.md +3 -0
  66. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/addition1.md +1 -0
  67. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
  68. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
  69. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
  70. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
  71. package/samples/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion.agent.yaml +120 -0
  72. package/samples/sample-custom-modules/sample-wellness-module/module.yaml +17 -0
  73. package/samples/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/README.md +32 -0
  74. package/samples/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/workflow.md +45 -0
  75. package/samples/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/README.md +31 -0
  76. package/samples/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/workflow.md +45 -0
  77. package/samples/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/README.md +31 -0
  78. package/samples/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/workflow.md +45 -0
  79. package/src/core/_module-installer/installer.js +1 -9
  80. package/src/core/agents/bmad-master.agent.yaml +9 -18
  81. package/src/core/module.yaml +25 -0
  82. package/src/core/resources/excalidraw/README.md +160 -0
  83. package/src/core/resources/excalidraw/excalidraw-helpers.md +127 -0
  84. package/src/core/resources/excalidraw/library-loader.md +50 -0
  85. package/src/core/resources/excalidraw/validate-json-instructions.md +79 -0
  86. package/src/core/tasks/advanced-elicitation-methods.csv +51 -0
  87. package/src/core/tasks/advanced-elicitation.xml +116 -0
  88. package/src/core/tasks/index-docs.xml +1 -1
  89. package/src/core/tasks/review-adversarial-general.xml +41 -0
  90. package/src/core/tasks/validate-workflow.xml +1 -1
  91. package/src/core/tasks/workflow.xml +126 -57
  92. package/src/core/tools/shard-doc.xml +53 -44
  93. package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
  94. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  95. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  96. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  97. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  98. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  99. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  100. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  101. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  102. package/src/core/workflows/brainstorming/template.md +13 -100
  103. package/src/core/workflows/brainstorming/workflow.md +51 -0
  104. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  105. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  106. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
  107. package/src/core/workflows/party-mode/workflow.md +206 -0
  108. package/src/modules/bmb/README.md +12 -119
  109. package/src/modules/bmb/agents/agent-builder.agent.yaml +36 -0
  110. package/src/modules/bmb/agents/module-builder.agent.yaml +48 -0
  111. package/src/modules/bmb/agents/workflow-builder.agent.yaml +40 -0
  112. package/src/modules/bmb/docs/agents/agent-compilation.md +340 -0
  113. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +523 -0
  114. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +363 -0
  115. package/src/modules/bmb/docs/agents/index.md +55 -0
  116. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  117. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +257 -0
  118. package/src/modules/bmb/docs/agents/understanding-agent-types.md +184 -0
  119. package/src/modules/bmb/docs/index.md +247 -0
  120. package/src/modules/bmb/docs/workflows/architecture.md +220 -0
  121. package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
  122. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
  123. package/src/modules/bmb/docs/workflows/index.md +45 -0
  124. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  125. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  126. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
  127. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
  128. package/src/modules/bmb/docs/workflows/templates/step-file.md +139 -0
  129. package/src/modules/bmb/docs/workflows/templates/step-template.md +290 -0
  130. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
  131. package/src/modules/bmb/docs/workflows/templates/workflow.md +58 -0
  132. package/src/modules/bmb/docs/workflows/terms.md +97 -0
  133. package/src/modules/bmb/module.yaml +16 -0
  134. package/src/modules/bmb/reference/README.md +3 -0
  135. package/src/modules/bmb/reference/agents/simple-examples/README.md +223 -0
  136. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  137. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  138. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  139. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +176 -0
  140. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +120 -0
  141. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  142. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +153 -0
  143. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  144. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  145. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  146. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  147. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  148. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  149. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  150. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  151. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  152. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  153. package/src/modules/bmb/workflows/create-agent/data/agent-validation-checklist.md +174 -0
  154. package/src/modules/bmb/workflows/create-agent/data/brainstorm-context.md +153 -0
  155. package/src/modules/bmb/workflows/create-agent/data/communication-presets.csv +61 -0
  156. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +29 -0
  157. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
  158. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  159. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  160. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  161. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  162. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  163. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +153 -0
  164. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +48 -0
  165. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +48 -0
  166. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +53 -0
  167. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  168. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  169. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  170. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  171. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  172. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  173. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  174. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  175. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  176. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  177. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  178. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  179. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  180. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  181. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  182. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  183. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  184. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  185. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  186. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
  187. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  188. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +206 -0
  189. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  190. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  191. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +232 -0
  192. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +186 -0
  193. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  194. package/src/modules/bmb/workflows/create-agent/steps/step-08-celebrate.md +218 -0
  195. package/src/modules/bmb/workflows/create-agent/templates/agent-plan.template.md +3 -0
  196. package/src/modules/bmb/workflows/create-agent/templates/expert-agent.template.md +364 -0
  197. package/src/modules/bmb/workflows/create-agent/templates/simple-agent.template.md +257 -0
  198. package/src/modules/bmb/workflows/create-agent/workflow.md +58 -0
  199. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
  200. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
  201. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
  202. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
  203. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
  204. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
  205. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
  206. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
  207. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
  208. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +309 -0
  209. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -0
  210. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
  211. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +313 -0
  212. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
  213. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
  214. package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +53 -0
  215. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
  216. package/src/modules/bmb/workflows/create-module/validation.md +126 -0
  217. package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
  218. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +157 -0
  219. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +211 -0
  220. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
  221. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
  222. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
  223. package/src/modules/bmb/workflows/create-workflow/steps/step-06-design.md +271 -0
  224. package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +308 -0
  225. package/src/modules/bmb/workflows/create-workflow/steps/step-08-review.md +284 -0
  226. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
  227. package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
  228. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  229. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  230. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  231. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  232. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  233. package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
  234. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +217 -0
  235. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  236. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  237. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  238. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  239. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  240. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  241. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  242. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  243. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  244. package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
  245. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  246. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  247. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  248. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  249. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  250. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  251. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  252. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  253. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  254. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
  255. package/src/modules/bmb/workflows-legacy/edit-module/README.md +171 -0
  256. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +163 -0
  257. package/src/modules/bmb/workflows-legacy/edit-module/instructions.md +340 -0
  258. package/src/modules/bmb/workflows-legacy/edit-module/workflow.yaml +34 -0
  259. package/src/modules/bmb/workflows-legacy/module-brief/README.md +264 -0
  260. package/src/modules/bmb/workflows-legacy/module-brief/checklist.md +116 -0
  261. package/src/modules/bmb/workflows-legacy/module-brief/instructions.md +268 -0
  262. package/src/modules/bmb/workflows-legacy/module-brief/workflow.yaml +36 -0
  263. package/src/modules/bmgd/_module-installer/installer.js +160 -0
  264. package/src/modules/bmgd/_module-installer/platform-specifics/claude-code.js +23 -0
  265. package/src/modules/bmgd/_module-installer/platform-specifics/windsurf.js +18 -0
  266. package/src/modules/bmgd/agents/game-architect.agent.yaml +43 -0
  267. package/src/modules/bmgd/agents/game-designer.agent.yaml +48 -0
  268. package/src/modules/bmgd/agents/game-dev.agent.yaml +52 -0
  269. package/src/modules/bmgd/agents/game-qa.agent.yaml +60 -0
  270. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +59 -0
  271. package/src/modules/bmgd/agents/game-solo-dev.agent.yaml +52 -0
  272. package/src/modules/bmgd/docs/agents-guide.md +407 -0
  273. package/src/modules/bmgd/docs/game-types-guide.md +503 -0
  274. package/src/modules/bmgd/docs/glossary.md +294 -0
  275. package/src/modules/bmgd/docs/index.md +180 -0
  276. package/src/modules/bmgd/docs/quick-flow-guide.md +288 -0
  277. package/src/modules/bmgd/docs/quick-start.md +250 -0
  278. package/src/modules/bmgd/docs/troubleshooting.md +259 -0
  279. package/src/modules/bmgd/docs/workflow-overview.jpg +0 -0
  280. package/src/modules/bmgd/docs/workflows-guide.md +463 -0
  281. package/src/modules/bmgd/gametest/knowledge/balance-testing.md +220 -0
  282. package/src/modules/bmgd/gametest/knowledge/certification-testing.md +319 -0
  283. package/src/modules/bmgd/gametest/knowledge/compatibility-testing.md +228 -0
  284. package/src/modules/bmgd/gametest/knowledge/godot-testing.md +376 -0
  285. package/src/modules/bmgd/gametest/knowledge/input-testing.md +315 -0
  286. package/src/modules/bmgd/gametest/knowledge/localization-testing.md +304 -0
  287. package/src/modules/bmgd/gametest/knowledge/multiplayer-testing.md +322 -0
  288. package/src/modules/bmgd/gametest/knowledge/performance-testing.md +204 -0
  289. package/src/modules/bmgd/gametest/knowledge/playtesting.md +384 -0
  290. package/src/modules/bmgd/gametest/knowledge/qa-automation.md +190 -0
  291. package/src/modules/bmgd/gametest/knowledge/regression-testing.md +280 -0
  292. package/src/modules/bmgd/gametest/knowledge/save-testing.md +280 -0
  293. package/src/modules/bmgd/gametest/knowledge/smoke-testing.md +404 -0
  294. package/src/modules/bmgd/gametest/knowledge/test-priorities.md +271 -0
  295. package/src/modules/bmgd/gametest/knowledge/unity-testing.md +383 -0
  296. package/src/modules/bmgd/gametest/knowledge/unreal-testing.md +388 -0
  297. package/src/modules/bmgd/gametest/qa-index.csv +17 -0
  298. package/src/modules/bmgd/module.yaml +64 -0
  299. package/src/modules/bmgd/teams/default-party.csv +12 -0
  300. package/src/modules/bmgd/teams/team-gamedev.yaml +29 -0
  301. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +130 -0
  302. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +164 -0
  303. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-02-context.md +210 -0
  304. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-03-ideation.md +289 -0
  305. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +275 -0
  306. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.md +49 -0
  307. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +62 -0
  308. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +373 -0
  309. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01-init.md +223 -0
  310. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-01b-continue.md +151 -0
  311. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-02-vision.md +218 -0
  312. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-03-market.md +218 -0
  313. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md +231 -0
  314. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-05-scope.md +242 -0
  315. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-06-references.md +224 -0
  316. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-07-content.md +282 -0
  317. package/src/modules/bmgd/workflows/1-preproduction/game-brief/steps/step-08-complete.md +296 -0
  318. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.md +62 -0
  319. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +67 -0
  320. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01-init.md +248 -0
  321. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-01b-continue.md +173 -0
  322. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-02-context.md +332 -0
  323. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-03-platforms.md +245 -0
  324. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-04-vision.md +229 -0
  325. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-05-core-gameplay.md +258 -0
  326. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-06-mechanics.md +249 -0
  327. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-07-game-type.md +266 -0
  328. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-08-progression.md +272 -0
  329. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-09-levels.md +264 -0
  330. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-10-art-audio.md +255 -0
  331. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-11-technical.md +275 -0
  332. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-12-epics.md +284 -0
  333. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-13-metrics.md +250 -0
  334. package/src/modules/bmgd/workflows/2-design/gdd/steps/step-14-complete.md +335 -0
  335. package/src/modules/bmgd/workflows/2-design/gdd/workflow.md +61 -0
  336. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +101 -0
  337. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +604 -0
  338. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01-init.md +228 -0
  339. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-01b-continue.md +163 -0
  340. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-02-foundation.md +262 -0
  341. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-03-story.md +238 -0
  342. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-04-characters.md +297 -0
  343. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-05-world.md +262 -0
  344. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-06-dialogue.md +250 -0
  345. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-07-environmental.md +244 -0
  346. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-08-delivery.md +264 -0
  347. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-09-integration.md +254 -0
  348. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-10-production.md +262 -0
  349. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +331 -0
  350. package/src/modules/bmgd/workflows/2-design/narrative/workflow.md +57 -0
  351. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +77 -0
  352. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +321 -0
  353. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +240 -0
  354. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +701 -0
  355. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01-init.md +223 -0
  356. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-01b-continue.md +153 -0
  357. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-02-context.md +262 -0
  358. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-03-starter.md +290 -0
  359. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-04-decisions.md +300 -0
  360. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md +319 -0
  361. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-06-structure.md +304 -0
  362. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-07-patterns.md +349 -0
  363. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-08-validation.md +293 -0
  364. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +356 -0
  365. package/src/modules/bmgd/workflows/3-technical/game-architecture/templates/architecture-template.md +103 -0
  366. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.md +55 -0
  367. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +98 -0
  368. package/src/modules/bmgd/workflows/3-technical/generate-project-context/project-context-template.md +20 -0
  369. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-01-discover.md +201 -0
  370. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-02-generate.md +373 -0
  371. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-03-complete.md +279 -0
  372. package/src/modules/bmgd/workflows/3-technical/generate-project-context/workflow.md +48 -0
  373. package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +23 -0
  374. package/src/modules/bmgd/workflows/4-production/code-review/instructions.xml +225 -0
  375. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +64 -0
  376. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +279 -0
  377. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +206 -0
  378. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +63 -0
  379. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +358 -0
  380. package/src/modules/bmgd/workflows/4-production/create-story/instructions.xml +298 -0
  381. package/src/modules/bmgd/workflows/4-production/create-story/template.md +49 -0
  382. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +79 -0
  383. package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +80 -0
  384. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.xml +409 -0
  385. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +68 -0
  386. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +1443 -0
  387. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +62 -0
  388. package/src/modules/bmgd/workflows/4-production/sprint-planning/checklist.md +33 -0
  389. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +234 -0
  390. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +55 -0
  391. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +56 -0
  392. package/src/modules/bmgd/workflows/4-production/sprint-status/instructions.md +229 -0
  393. package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +35 -0
  394. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/instructions.md +140 -0
  395. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/workflow.yaml +27 -0
  396. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/checklist.md +37 -0
  397. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/instructions.md +220 -0
  398. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +45 -0
  399. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/checklist.md +26 -0
  400. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/instructions.md +156 -0
  401. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +36 -0
  402. package/src/modules/bmgd/workflows/gametest/automate/checklist.md +93 -0
  403. package/src/modules/bmgd/workflows/gametest/automate/instructions.md +317 -0
  404. package/src/modules/bmgd/workflows/gametest/automate/workflow.yaml +50 -0
  405. package/src/modules/bmgd/workflows/gametest/performance/checklist.md +96 -0
  406. package/src/modules/bmgd/workflows/gametest/performance/instructions.md +323 -0
  407. package/src/modules/bmgd/workflows/gametest/performance/performance-template.md +256 -0
  408. package/src/modules/bmgd/workflows/gametest/performance/workflow.yaml +48 -0
  409. package/src/modules/bmgd/workflows/gametest/playtest-plan/checklist.md +93 -0
  410. package/src/modules/bmgd/workflows/gametest/playtest-plan/instructions.md +297 -0
  411. package/src/modules/bmgd/workflows/gametest/playtest-plan/playtest-template.md +208 -0
  412. package/src/modules/bmgd/workflows/gametest/playtest-plan/workflow.yaml +59 -0
  413. package/src/modules/bmgd/workflows/gametest/test-design/checklist.md +98 -0
  414. package/src/modules/bmgd/workflows/gametest/test-design/instructions.md +280 -0
  415. package/src/modules/bmgd/workflows/gametest/test-design/test-design-template.md +205 -0
  416. package/src/modules/bmgd/workflows/gametest/test-design/workflow.yaml +47 -0
  417. package/src/modules/bmgd/workflows/gametest/test-framework/checklist.md +103 -0
  418. package/src/modules/bmgd/workflows/gametest/test-framework/instructions.md +348 -0
  419. package/src/modules/bmgd/workflows/gametest/test-framework/workflow.yaml +48 -0
  420. package/src/modules/bmgd/workflows/gametest/test-review/checklist.md +87 -0
  421. package/src/modules/bmgd/workflows/gametest/test-review/instructions.md +272 -0
  422. package/src/modules/bmgd/workflows/gametest/test-review/test-review-template.md +203 -0
  423. package/src/modules/bmgd/workflows/gametest/test-review/workflow.yaml +48 -0
  424. package/src/modules/bmgd/workflows/workflow-status/init/instructions.md +299 -0
  425. package/src/modules/bmgd/workflows/workflow-status/init/workflow.yaml +29 -0
  426. package/src/modules/bmgd/workflows/workflow-status/instructions.md +395 -0
  427. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-brownfield.yaml +65 -0
  428. package/src/modules/bmgd/workflows/workflow-status/paths/gamedev-greenfield.yaml +71 -0
  429. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-brownfield.yaml +29 -0
  430. package/src/modules/bmgd/workflows/workflow-status/paths/quickflow-greenfield.yaml +39 -0
  431. package/src/modules/bmgd/workflows/workflow-status/project-levels.yaml +63 -0
  432. package/src/modules/bmgd/workflows/workflow-status/workflow-status-template.yaml +24 -0
  433. package/src/modules/bmgd/workflows/workflow-status/workflow.yaml +30 -0
  434. package/src/modules/bmm/README.md +78 -92
  435. package/src/modules/bmm/_module-installer/installer.js +3 -37
  436. package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
  437. package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +1 -1
  438. package/src/modules/bmm/agents/analyst.agent.yaml +27 -30
  439. package/src/modules/bmm/agents/architect.agent.yaml +16 -26
  440. package/src/modules/bmm/agents/dev.agent.yaml +29 -28
  441. package/src/modules/bmm/agents/pm.agent.yaml +27 -36
  442. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +31 -0
  443. package/src/modules/bmm/agents/sm.agent.yaml +31 -52
  444. package/src/modules/bmm/agents/tea.agent.yaml +41 -35
  445. package/src/modules/bmm/agents/tech-writer.agent.yaml +54 -0
  446. package/src/modules/bmm/agents/ux-designer.agent.yaml +21 -18
  447. package/src/modules/bmm/data/README.md +29 -0
  448. package/src/modules/bmm/data/documentation-standards.md +262 -0
  449. package/src/modules/bmm/data/project-context-template.md +40 -0
  450. package/src/modules/bmm/docs/agents-guide.md +144 -0
  451. package/src/modules/bmm/docs/bmad-quick-flow.md +506 -0
  452. package/src/modules/bmm/docs/brownfield-guide.md +748 -0
  453. package/src/modules/bmm/docs/enterprise-agentic-development.md +686 -0
  454. package/src/modules/bmm/docs/faq.md +542 -0
  455. package/src/modules/bmm/docs/glossary.md +306 -0
  456. package/src/modules/bmm/docs/images/README.md +37 -0
  457. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +5034 -0
  458. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +4 -0
  459. package/src/modules/bmm/docs/index.md +168 -0
  460. package/src/modules/bmm/docs/party-mode.md +224 -0
  461. package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
  462. package/src/modules/bmm/docs/quick-spec-flow.md +638 -0
  463. package/src/modules/bmm/docs/quick-start.md +366 -0
  464. package/src/modules/bmm/docs/scale-adaptive-system.md +618 -0
  465. package/src/modules/bmm/docs/test-architecture.md +455 -0
  466. package/src/modules/bmm/docs/troubleshooting.md +661 -0
  467. package/src/modules/bmm/docs/workflow-architecture-reference.md +366 -0
  468. package/src/modules/bmm/docs/workflow-document-project-reference.md +489 -0
  469. package/src/modules/bmm/docs/workflows-analysis.md +266 -0
  470. package/src/modules/bmm/docs/workflows-implementation.md +210 -0
  471. package/src/modules/bmm/docs/workflows-planning.md +451 -0
  472. package/src/modules/bmm/docs/workflows-solutioning.md +509 -0
  473. package/src/modules/bmm/module.yaml +56 -0
  474. package/src/modules/bmm/teams/default-party.csv +21 -0
  475. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  476. package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
  477. package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
  478. package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
  479. package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  480. package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
  481. package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  482. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  483. package/src/modules/bmm/testarch/knowledge/log.md +294 -0
  484. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  485. package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
  486. package/src/modules/bmm/testarch/knowledge/overview.md +283 -0
  487. package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
  488. package/src/modules/bmm/testarch/tea-index.csv +11 -0
  489. package/src/modules/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  490. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +181 -0
  491. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +165 -0
  492. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +203 -0
  493. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +206 -0
  494. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +209 -0
  495. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +223 -0
  496. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +198 -0
  497. package/src/modules/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
  498. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  499. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  500. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  501. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  502. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  503. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
  504. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
  505. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
  506. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
  507. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
  508. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
  509. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
  510. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
  511. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +29 -0
  512. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  513. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
  514. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
  515. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
  516. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
  517. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
  518. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +173 -0
  519. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +134 -0
  520. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  521. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +189 -0
  522. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  523. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  524. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  525. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  526. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  527. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  528. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  529. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  530. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  531. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  532. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  533. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +227 -0
  534. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  535. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +42 -0
  536. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  537. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -58
  538. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  539. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +196 -0
  540. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
  541. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
  542. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
  543. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
  544. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
  545. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
  546. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
  547. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
  548. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
  549. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
  550. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +185 -0
  551. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  552. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +189 -0
  553. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  554. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  555. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  556. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  557. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +132 -0
  558. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  559. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +54 -0
  560. package/src/modules/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  561. package/src/modules/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
  562. package/src/modules/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  563. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  564. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +163 -0
  565. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +223 -0
  566. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +330 -0
  567. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +317 -0
  568. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +358 -0
  569. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +378 -0
  570. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +358 -0
  571. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +351 -0
  572. package/src/modules/bmm/workflows/3-solutioning/create-architecture/workflow.md +49 -0
  573. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  574. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  575. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  576. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  577. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  578. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  579. package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
  580. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +225 -0
  581. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +34 -36
  582. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  583. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +7 -2
  584. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +42 -27
  585. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  586. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +344 -0
  587. package/src/modules/bmm/workflows/4-implementation/create-story/template.md +3 -5
  588. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +38 -27
  589. package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  590. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +409 -0
  591. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +9 -10
  592. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1208 -244
  593. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +38 -26
  594. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +59 -55
  595. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +14 -14
  596. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +21 -8
  597. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  598. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +36 -0
  599. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  600. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +28 -0
  601. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  602. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  603. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  604. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  605. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  606. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  607. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +51 -0
  608. package/src/modules/bmm/workflows/document-project/checklist.md +1 -1
  609. package/src/modules/bmm/workflows/document-project/instructions.md +31 -32
  610. package/src/modules/bmm/workflows/document-project/workflow.yaml +4 -10
  611. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +6 -6
  612. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  613. package/src/modules/bmm/workflows/document-project/workflows/full-scan-instructions.md +13 -13
  614. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  615. package/src/modules/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  616. package/src/modules/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  617. package/src/modules/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  618. package/src/modules/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  619. package/src/modules/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +27 -0
  620. package/src/modules/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  621. package/src/modules/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  622. package/src/modules/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +27 -0
  623. package/src/modules/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  624. package/src/modules/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  625. package/src/modules/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +27 -0
  626. package/src/modules/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  627. package/src/modules/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  628. package/src/modules/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +27 -0
  629. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  630. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +183 -0
  631. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  632. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  633. package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
  634. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +10 -9
  635. package/src/modules/bmm/workflows/testarch/atdd/checklist.md +1 -0
  636. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +26 -5
  637. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -9
  638. package/src/modules/bmm/workflows/testarch/automate/checklist.md +2 -0
  639. package/src/modules/bmm/workflows/testarch/automate/instructions.md +25 -4
  640. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -11
  641. package/src/modules/bmm/workflows/testarch/ci/checklist.md +7 -5
  642. package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  643. package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  644. package/src/modules/bmm/workflows/testarch/ci/instructions.md +23 -4
  645. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -10
  646. package/src/modules/bmm/workflows/testarch/framework/checklist.md +4 -4
  647. package/src/modules/bmm/workflows/testarch/framework/instructions.md +28 -2
  648. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -8
  649. package/src/modules/bmm/workflows/testarch/nfr-assess/checklist.md +2 -0
  650. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  651. package/src/modules/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +2 -0
  652. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -11
  653. package/src/modules/bmm/workflows/testarch/test-design/checklist.md +7 -6
  654. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +182 -15
  655. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +13 -4
  656. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +13 -11
  657. package/src/modules/bmm/workflows/testarch/test-review/checklist.md +2 -0
  658. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +29 -9
  659. package/src/modules/bmm/workflows/testarch/test-review/test-review-template.md +2 -0
  660. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -9
  661. package/src/modules/bmm/workflows/testarch/trace/checklist.md +1 -0
  662. package/src/modules/bmm/workflows/testarch/trace/instructions.md +11 -9
  663. package/src/modules/bmm/workflows/testarch/trace/trace-template.md +2 -0
  664. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -13
  665. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +259 -210
  666. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +6 -5
  667. package/src/modules/bmm/workflows/workflow-status/instructions.md +188 -117
  668. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +122 -0
  669. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +110 -0
  670. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +106 -0
  671. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +96 -0
  672. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  673. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  674. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +7 -5
  675. package/src/modules/cis/_module-installer/installer.js +1 -1
  676. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +7 -10
  677. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +7 -10
  678. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +7 -10
  679. package/src/modules/cis/agents/innovation-strategist.agent.yaml +7 -10
  680. package/src/modules/cis/agents/presentation-master.agent.yaml +52 -0
  681. package/src/modules/cis/agents/storyteller/storyteller-sidecar/stories-told.md +7 -0
  682. package/src/modules/cis/agents/storyteller/storyteller-sidecar/story-preferences.md +7 -0
  683. package/src/modules/cis/agents/storyteller/storyteller.agent.yaml +25 -0
  684. package/src/modules/cis/docs/index.md +149 -0
  685. package/src/modules/cis/module.yaml +11 -0
  686. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  687. package/src/modules/cis/teams/default-party.csv +12 -0
  688. package/src/modules/cis/workflows/README.md +102 -30
  689. package/src/modules/cis/workflows/design-thinking/instructions.md +4 -2
  690. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -12
  691. package/src/modules/cis/workflows/innovation-strategy/instructions.md +7 -5
  692. package/src/modules/cis/workflows/innovation-strategy/template.md +3 -3
  693. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -12
  694. package/src/modules/cis/workflows/problem-solving/instructions.md +4 -2
  695. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -12
  696. package/src/modules/cis/workflows/storytelling/instructions.md +14 -4
  697. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -12
  698. package/src/utility/agent-components/activation-rules.txt +7 -0
  699. package/src/utility/agent-components/activation-steps.txt +13 -0
  700. package/src/utility/agent-components/agent-command-header.md +1 -0
  701. package/src/utility/agent-components/agent.customize.template.yaml +41 -0
  702. package/src/utility/agent-components/handler-action.txt +4 -0
  703. package/src/utility/agent-components/handler-exec.txt +6 -0
  704. package/src/utility/agent-components/handler-multi.txt +14 -0
  705. package/src/utility/agent-components/handler-tmpl.txt +5 -0
  706. package/src/utility/agent-components/handler-validate-workflow.txt +7 -0
  707. package/src/utility/agent-components/handler-workflow.txt +10 -0
  708. package/src/utility/agent-components/menu-handlers.txt +6 -0
  709. package/test/README.md +2 -2
  710. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +24 -0
  711. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +24 -0
  712. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
  713. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +30 -0
  714. package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +23 -0
  715. package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +22 -0
  716. package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +23 -0
  717. package/test/test-agent-schema.js +2 -2
  718. package/test/test-installation-components.js +214 -0
  719. package/tools/build-docs.js +630 -0
  720. package/tools/cli/README.md +1 -588
  721. package/tools/cli/commands/install.js +61 -20
  722. package/tools/cli/installers/install-messages.yaml +52 -0
  723. package/tools/cli/installers/lib/core/config-collector.js +596 -99
  724. package/tools/cli/installers/lib/core/custom-module-cache.js +259 -0
  725. package/tools/cli/installers/lib/core/dependency-resolver.js +2 -2
  726. package/tools/cli/installers/lib/core/detector.js +75 -16
  727. package/tools/cli/installers/lib/core/ide-config-manager.js +12 -8
  728. package/tools/cli/installers/lib/core/installer.js +1279 -724
  729. package/tools/cli/installers/lib/core/manifest-generator.js +285 -142
  730. package/tools/cli/installers/lib/core/manifest.js +74 -20
  731. package/tools/cli/installers/lib/custom/handler.js +363 -0
  732. package/tools/cli/installers/lib/ide/_base-ide.js +94 -12
  733. package/tools/cli/installers/lib/ide/antigravity.js +507 -0
  734. package/tools/cli/installers/lib/ide/auggie.js +148 -240
  735. package/tools/cli/installers/lib/ide/claude-code.js +95 -35
  736. package/tools/cli/installers/lib/ide/cline.js +64 -18
  737. package/tools/cli/installers/lib/ide/codex.js +226 -72
  738. package/tools/cli/installers/lib/ide/crush.js +79 -55
  739. package/tools/cli/installers/lib/ide/cursor.js +144 -20
  740. package/tools/cli/installers/lib/ide/gemini.js +180 -35
  741. package/tools/cli/installers/lib/ide/github-copilot.js +155 -58
  742. package/tools/cli/installers/lib/ide/iflow.js +79 -30
  743. package/tools/cli/installers/lib/ide/kilo.js +94 -16
  744. package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
  745. package/tools/cli/installers/lib/ide/manager.js +50 -0
  746. package/tools/cli/installers/lib/ide/opencode.js +66 -22
  747. package/tools/cli/installers/lib/ide/qwen.js +93 -11
  748. package/tools/cli/installers/lib/ide/roo.js +158 -176
  749. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  750. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +96 -0
  751. package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
  752. package/tools/cli/installers/lib/ide/shared/module-injections.js +2 -2
  753. package/tools/cli/installers/lib/ide/shared/task-tool-command-generator.js +119 -0
  754. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +241 -0
  755. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  756. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  757. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  758. package/tools/cli/installers/lib/ide/templates/workflow-command-template.md +13 -0
  759. package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
  760. package/tools/cli/installers/lib/ide/trae.js +67 -32
  761. package/tools/cli/installers/lib/ide/windsurf.js +65 -8
  762. package/tools/cli/installers/lib/message-loader.js +85 -0
  763. package/tools/cli/installers/lib/modules/manager.js +785 -97
  764. package/tools/cli/lib/activation-builder.js +8 -13
  765. package/tools/cli/lib/agent/compiler.js +565 -0
  766. package/tools/cli/lib/agent/installer.js +716 -0
  767. package/tools/cli/lib/agent/template-engine.js +152 -0
  768. package/tools/cli/lib/agent-analyzer.js +48 -20
  769. package/tools/cli/lib/agent-party-generator.js +5 -17
  770. package/tools/cli/lib/cli-utils.js +65 -46
  771. package/tools/cli/lib/config.js +7 -4
  772. package/tools/cli/lib/platform-codes.js +2 -2
  773. package/tools/cli/lib/ui.js +1133 -82
  774. package/tools/cli/lib/xml-handler.js +4 -55
  775. package/tools/cli/lib/yaml-format.js +6 -7
  776. package/tools/cli/lib/yaml-xml-builder.js +196 -56
  777. package/tools/flattener/ignoreRules.js +1 -1
  778. package/tools/flattener/xml.js +1 -7
  779. package/tools/lib/xml-utils.js +13 -0
  780. package/tools/maintainer/review-pr-README.md +55 -0
  781. package/tools/maintainer/review-pr.md +242 -0
  782. package/tools/migrate-custom-module-paths.js +124 -0
  783. package/tools/platform-codes.yaml +24 -0
  784. package/tools/schema/agent.js +312 -53
  785. package/tools/validate-agent-schema.js +2 -2
  786. package/tools/validate-svg-changes.sh +356 -0
  787. package/website/css/custom.css +52 -0
  788. package/website/docusaurus.config.js +179 -0
  789. package/website/sidebars.js +157 -0
  790. package/website/src/pages/downloads.md +81 -0
  791. package/website/src/pages/index.js +50 -0
  792. package/website/static/favicon.ico +0 -0
  793. package/website/static/img/logo.svg +4 -0
  794. package/website/static/robots.txt +37 -0
  795. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +0 -70
  796. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  797. package/.claude/commands/bmad/bmb/workflows/audit-workflow.md +0 -15
  798. package/.claude/commands/bmad/bmb/workflows/convert-legacy.md +0 -15
  799. package/.claude/commands/bmad/bmb/workflows/create-agent.md +0 -15
  800. package/.claude/commands/bmad/bmb/workflows/create-module.md +0 -15
  801. package/.claude/commands/bmad/bmb/workflows/create-workflow.md +0 -15
  802. package/.claude/commands/bmad/bmb/workflows/edit-agent.md +0 -15
  803. package/.claude/commands/bmad/bmb/workflows/edit-module.md +0 -15
  804. package/.claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -15
  805. package/.claude/commands/bmad/bmb/workflows/module-brief.md +0 -15
  806. package/.claude/commands/bmad/bmb/workflows/redoc.md +0 -15
  807. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  808. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  809. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  810. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -71
  811. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  812. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  813. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  814. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -15
  815. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -15
  816. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  817. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  818. package/.claude/hooks/check-output-style.sh +0 -112
  819. package/.claude/hooks/download-extra-voices.sh +0 -244
  820. package/.claude/hooks/github-star-reminder.sh +0 -154
  821. package/.claude/hooks/language-manager.sh +0 -392
  822. package/.claude/hooks/learn-manager.sh +0 -475
  823. package/.claude/hooks/personality-manager.sh +0 -438
  824. package/.claude/hooks/piper-download-voices.sh +0 -165
  825. package/.claude/hooks/piper-installer.sh +0 -178
  826. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  827. package/.claude/hooks/piper-voice-manager.sh +0 -293
  828. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  829. package/.claude/hooks/play-tts-piper.sh +0 -338
  830. package/.claude/hooks/play-tts.sh +0 -100
  831. package/.claude/hooks/provider-commands.sh +0 -540
  832. package/.claude/hooks/provider-manager.sh +0 -298
  833. package/.claude/hooks/replay-target-audio.sh +0 -95
  834. package/.claude/hooks/sentiment-manager.sh +0 -201
  835. package/.claude/hooks/speed-manager.sh +0 -291
  836. package/.claude/hooks/voice-manager.sh +0 -594
  837. package/.claude/hooks/voices-config.sh +0 -70
  838. package/.claude/settings.local.json +0 -41
  839. package/.github/workflows/lint.yaml +0 -61
  840. package/bmad/_cfg/agent-manifest.csv +0 -7
  841. package/bmad/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -42
  842. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  843. package/bmad/_cfg/agents/bmd-doc-keeper.customize.yaml +0 -42
  844. package/bmad/_cfg/agents/bmd-release-chief.customize.yaml +0 -42
  845. package/bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  846. package/bmad/_cfg/files-manifest.csv +0 -83
  847. package/bmad/_cfg/manifest.yaml +0 -12
  848. package/bmad/_cfg/task-manifest.csv +0 -5
  849. package/bmad/_cfg/tool-manifest.csv +0 -2
  850. package/bmad/_cfg/workflow-manifest.csv +0 -15
  851. package/bmad/bmb/README.md +0 -132
  852. package/bmad/bmb/agents/bmad-builder.md +0 -70
  853. package/bmad/bmb/config.yaml +0 -14
  854. package/bmad/bmb/workflows/audit-workflow/checklist.md +0 -143
  855. package/bmad/bmb/workflows/audit-workflow/instructions.md +0 -341
  856. package/bmad/bmb/workflows/audit-workflow/template.md +0 -118
  857. package/bmad/bmb/workflows/audit-workflow/workflow.yaml +0 -23
  858. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +0 -21
  859. package/bmad/bmb/workflows/convert-legacy/README.md +0 -262
  860. package/bmad/bmb/workflows/convert-legacy/checklist.md +0 -205
  861. package/bmad/bmb/workflows/convert-legacy/instructions.md +0 -377
  862. package/bmad/bmb/workflows/convert-legacy/workflow.yaml +0 -32
  863. package/bmad/bmb/workflows/create-agent/README.md +0 -320
  864. package/bmad/bmb/workflows/create-agent/agent-architecture.md +0 -419
  865. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  866. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
  867. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  868. package/bmad/bmb/workflows/create-agent/agent-types.md +0 -292
  869. package/bmad/bmb/workflows/create-agent/brainstorm-context.md +0 -174
  870. package/bmad/bmb/workflows/create-agent/checklist.md +0 -62
  871. package/bmad/bmb/workflows/create-agent/communication-styles.md +0 -202
  872. package/bmad/bmb/workflows/create-agent/instructions.md +0 -430
  873. package/bmad/bmb/workflows/create-agent/workflow.yaml +0 -37
  874. package/bmad/bmb/workflows/create-module/README.md +0 -220
  875. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  876. package/bmad/bmb/workflows/create-module/brainstorm-context.md +0 -137
  877. package/bmad/bmb/workflows/create-module/checklist.md +0 -244
  878. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  879. package/bmad/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
  880. package/bmad/bmb/workflows/create-module/installer-templates/installer.js +0 -231
  881. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  882. package/bmad/bmb/workflows/create-module/instructions.md +0 -581
  883. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  884. package/bmad/bmb/workflows/create-module/module-structure.md +0 -366
  885. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  886. package/bmad/bmb/workflows/create-module/workflow.yaml +0 -42
  887. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +0 -40
  888. package/bmad/bmb/workflows/create-workflow/README.md +0 -277
  889. package/bmad/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  890. package/bmad/bmb/workflows/create-workflow/checklist.md +0 -94
  891. package/bmad/bmb/workflows/create-workflow/instructions.md +0 -716
  892. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1150
  893. package/bmad/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  894. package/bmad/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
  895. package/bmad/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  896. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -39
  897. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml.bak +0 -39
  898. package/bmad/bmb/workflows/create-workflow/workflow.yaml +0 -40
  899. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +0 -38
  900. package/bmad/bmb/workflows/edit-agent/README.md +0 -112
  901. package/bmad/bmb/workflows/edit-agent/checklist.md +0 -112
  902. package/bmad/bmb/workflows/edit-agent/instructions.md +0 -290
  903. package/bmad/bmb/workflows/edit-agent/workflow.yaml +0 -33
  904. package/bmad/bmb/workflows/edit-module/README.md +0 -187
  905. package/bmad/bmb/workflows/edit-module/checklist.md +0 -165
  906. package/bmad/bmb/workflows/edit-module/instructions.md +0 -339
  907. package/bmad/bmb/workflows/edit-module/workflow.yaml +0 -34
  908. package/bmad/bmb/workflows/edit-workflow/README.md +0 -119
  909. package/bmad/bmb/workflows/edit-workflow/checklist.md +0 -70
  910. package/bmad/bmb/workflows/edit-workflow/instructions.md +0 -342
  911. package/bmad/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  912. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +0 -25
  913. package/bmad/bmb/workflows/module-brief/README.md +0 -264
  914. package/bmad/bmb/workflows/module-brief/checklist.md +0 -116
  915. package/bmad/bmb/workflows/module-brief/instructions.md +0 -267
  916. package/bmad/bmb/workflows/module-brief/workflow.yaml +0 -29
  917. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +0 -27
  918. package/bmad/bmb/workflows/redoc/README.md +0 -87
  919. package/bmad/bmb/workflows/redoc/checklist.md +0 -99
  920. package/bmad/bmb/workflows/redoc/instructions.md +0 -265
  921. package/bmad/bmb/workflows/redoc/workflow.yaml +0 -32
  922. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +0 -31
  923. package/bmad/bmd/README.md +0 -193
  924. package/bmad/bmd/README.md.bak +0 -193
  925. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  926. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  927. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  928. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  929. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  930. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  931. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  932. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  933. package/bmad/bmd/agents/cli-chief.md +0 -108
  934. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  935. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  936. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  937. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  938. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  939. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  940. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  941. package/bmad/bmd/agents/doc-keeper.md +0 -115
  942. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  943. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  944. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  945. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  946. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  947. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  948. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  949. package/bmad/bmd/agents/release-chief.md +0 -109
  950. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  951. package/bmad/bmd/config.yaml +0 -10
  952. package/bmad/core/agents/bmad-master.md +0 -71
  953. package/bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -122
  954. package/bmad/core/config.yaml +0 -9
  955. package/bmad/core/tasks/adv-elicit-methods.csv +0 -39
  956. package/bmad/core/tasks/adv-elicit.xml +0 -104
  957. package/bmad/core/tasks/index-docs.xml +0 -65
  958. package/bmad/core/tasks/validate-workflow.xml +0 -89
  959. package/bmad/core/tasks/workflow.xml +0 -174
  960. package/bmad/core/tools/shard-doc.xml +0 -100
  961. package/bmad/core/workflows/brainstorming/README.md +0 -271
  962. package/bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  963. package/bmad/core/workflows/brainstorming/instructions.md +0 -314
  964. package/bmad/core/workflows/brainstorming/template.md +0 -102
  965. package/bmad/core/workflows/brainstorming/workflow.yaml +0 -43
  966. package/bmad/core/workflows/party-mode/instructions.md +0 -188
  967. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  968. package/bmad/docs/claude-code-instructions.md +0 -25
  969. package/bmad/docs/codex-instructions.md +0 -21
  970. package/bmd/README.md +0 -193
  971. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  972. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  973. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  974. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  975. package/bmd/agents/cli-chief.agent.yaml +0 -126
  976. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  977. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  978. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  979. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  980. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  981. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  982. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  983. package/bmd/agents/release-chief.agent.yaml +0 -127
  984. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  985. package/bmd/config.yaml +0 -12
  986. package/docs/bmad-brownfield-guide.md +0 -1260
  987. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  988. package/docs/installers-bundlers/ide-injections.md +0 -186
  989. package/docs/installers-bundlers/installers-modules-platforms-reference.md +0 -327
  990. package/docs/installers-bundlers/web-bundler-usage.md +0 -54
  991. package/src/core/_module-installer/install-config.yaml +0 -28
  992. package/src/core/agents/bmad-web-orchestrator.agent.xml +0 -122
  993. package/src/core/tasks/adv-elicit-methods.csv +0 -39
  994. package/src/core/tasks/adv-elicit.xml +0 -104
  995. package/src/core/workflows/brainstorming/README.md +0 -271
  996. package/src/core/workflows/brainstorming/instructions.md +0 -314
  997. package/src/core/workflows/brainstorming/workflow.yaml +0 -43
  998. package/src/core/workflows/party-mode/instructions.md +0 -188
  999. package/src/core/workflows/party-mode/workflow.yaml +0 -23
  1000. package/src/modules/bmb/_module-installer/install-config.yaml +0 -26
  1001. package/src/modules/bmb/agents/bmad-builder.agent.yaml +0 -58
  1002. package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -143
  1003. package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
  1004. package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
  1005. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
  1006. package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
  1007. package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
  1008. package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
  1009. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -34
  1010. package/src/modules/bmb/workflows/create-agent/README.md +0 -320
  1011. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +0 -419
  1012. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
  1013. package/src/modules/bmb/workflows/create-agent/agent-types.md +0 -292
  1014. package/src/modules/bmb/workflows/create-agent/brainstorm-context.md +0 -174
  1015. package/src/modules/bmb/workflows/create-agent/checklist.md +0 -62
  1016. package/src/modules/bmb/workflows/create-agent/communication-styles.md +0 -202
  1017. package/src/modules/bmb/workflows/create-agent/instructions.md +0 -430
  1018. package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -49
  1019. package/src/modules/bmb/workflows/create-module/README.md +0 -220
  1020. package/src/modules/bmb/workflows/create-module/brainstorm-context.md +0 -137
  1021. package/src/modules/bmb/workflows/create-module/checklist.md +0 -244
  1022. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
  1023. package/src/modules/bmb/workflows/create-module/installer-templates/installer.js +0 -231
  1024. package/src/modules/bmb/workflows/create-module/instructions.md +0 -581
  1025. package/src/modules/bmb/workflows/create-module/module-structure.md +0 -366
  1026. package/src/modules/bmb/workflows/create-module/workflow.yaml +0 -44
  1027. package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
  1028. package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  1029. package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
  1030. package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -716
  1031. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1150
  1032. package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  1033. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
  1034. package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  1035. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -65
  1036. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -42
  1037. package/src/modules/bmb/workflows/edit-agent/README.md +0 -112
  1038. package/src/modules/bmb/workflows/edit-agent/checklist.md +0 -112
  1039. package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -290
  1040. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -35
  1041. package/src/modules/bmb/workflows/edit-module/README.md +0 -187
  1042. package/src/modules/bmb/workflows/edit-module/checklist.md +0 -165
  1043. package/src/modules/bmb/workflows/edit-module/instructions.md +0 -339
  1044. package/src/modules/bmb/workflows/edit-module/workflow.yaml +0 -36
  1045. package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
  1046. package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
  1047. package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
  1048. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -29
  1049. package/src/modules/bmb/workflows/module-brief/README.md +0 -264
  1050. package/src/modules/bmb/workflows/module-brief/checklist.md +0 -116
  1051. package/src/modules/bmb/workflows/module-brief/instructions.md +0 -267
  1052. package/src/modules/bmb/workflows/module-brief/template.md +0 -275
  1053. package/src/modules/bmb/workflows/module-brief/workflow.yaml +0 -31
  1054. package/src/modules/bmb/workflows/redoc/README.md +0 -87
  1055. package/src/modules/bmb/workflows/redoc/checklist.md +0 -99
  1056. package/src/modules/bmb/workflows/redoc/instructions.md +0 -265
  1057. package/src/modules/bmb/workflows/redoc/workflow.yaml +0 -34
  1058. package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
  1059. package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
  1060. package/src/modules/bmm/_module-installer/install-config.yaml +0 -74
  1061. package/src/modules/bmm/agents/game-architect.agent.yaml +0 -35
  1062. package/src/modules/bmm/agents/game-designer.agent.yaml +0 -47
  1063. package/src/modules/bmm/agents/game-dev.agent.yaml +0 -39
  1064. package/src/modules/bmm/sub-modules/claude-code/config.yaml +0 -5
  1065. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +0 -242
  1066. package/src/modules/bmm/sub-modules/claude-code/readme.md +0 -87
  1067. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +0 -102
  1068. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +0 -82
  1069. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +0 -101
  1070. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +0 -84
  1071. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +0 -83
  1072. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +0 -81
  1073. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +0 -61
  1074. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +0 -168
  1075. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +0 -115
  1076. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +0 -123
  1077. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +0 -72
  1078. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +0 -51
  1079. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +0 -106
  1080. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +0 -102
  1081. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +0 -68
  1082. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +0 -108
  1083. package/src/modules/bmm/tasks/daily-standup.xml +0 -85
  1084. package/src/modules/bmm/tasks/retrospective.xml +0 -104
  1085. package/src/modules/bmm/teams/team-gamedev.yaml +0 -14
  1086. package/src/modules/bmm/testarch/README.md +0 -311
  1087. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  1088. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/instructions.md +0 -109
  1089. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/workflow.yaml +0 -41
  1090. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -29
  1091. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -91
  1092. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  1093. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
  1094. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  1095. package/src/modules/bmm/workflows/1-analysis/game-brief/instructions.md +0 -357
  1096. package/src/modules/bmm/workflows/1-analysis/game-brief/workflow.yaml +0 -44
  1097. package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  1098. package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  1099. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -321
  1100. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -165
  1101. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -43
  1102. package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
  1103. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -202
  1104. package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  1105. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  1106. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  1107. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  1108. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  1109. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  1110. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -433
  1111. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -613
  1112. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -125
  1113. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -501
  1114. package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  1115. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -311
  1116. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -210
  1117. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -49
  1118. package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
  1119. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  1120. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1283
  1121. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -42
  1122. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  1123. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +0 -475
  1124. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -67
  1125. package/src/modules/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -557
  1126. package/src/modules/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -38
  1127. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -117
  1128. package/src/modules/bmm/workflows/2-plan-workflows/prd/epics-template.md +0 -63
  1129. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -449
  1130. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  1131. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -107
  1132. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -11
  1133. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -167
  1134. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -278
  1135. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -269
  1136. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -55
  1137. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -56
  1138. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -52
  1139. package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
  1140. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -347
  1141. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  1142. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -244
  1143. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -703
  1144. package/src/modules/bmm/workflows/3-solutioning/architecture/readme.md +0 -318
  1145. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -54
  1146. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  1147. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  1148. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -273
  1149. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  1150. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  1151. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -40
  1152. package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
  1153. package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
  1154. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -391
  1155. package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  1156. package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -129
  1157. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -252
  1158. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
  1159. package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  1160. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -262
  1161. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  1162. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  1163. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -160
  1164. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  1165. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -34
  1166. package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  1167. package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  1168. package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
  1169. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  1170. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  1171. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -201
  1172. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -32
  1173. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  1174. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -27
  1175. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  1176. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -27
  1177. package/src/modules/bmm/workflows/README.md +0 -577
  1178. package/src/modules/bmm/workflows/document-project/README.md +0 -444
  1179. package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
  1180. package/src/modules/bmm/workflows/testarch/README.md +0 -26
  1181. package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
  1182. package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
  1183. package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
  1184. package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
  1185. package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  1186. package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
  1187. package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
  1188. package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
  1189. package/src/modules/bmm/workflows/workflow-status/README.md +0 -241
  1190. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  1191. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml +0 -58
  1192. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  1193. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml +0 -95
  1194. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  1195. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  1196. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  1197. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml +0 -49
  1198. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml +0 -78
  1199. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  1200. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  1201. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.md +0 -30
  1202. package/src/modules/cis/_module-installer/install-config.yaml +0 -14
  1203. package/src/modules/cis/agents/README.md +0 -104
  1204. package/src/modules/cis/agents/storyteller.agent.yaml +0 -23
  1205. package/src/modules/cis/readme.md +0 -86
  1206. package/src/utility/models/agent-activation-ide.xml +0 -51
  1207. package/src/utility/models/agent-activation-web.xml +0 -60
  1208. package/src/utility/models/agent-config-template.md +0 -23
  1209. package/src/utility/models/agent-in-team-activation.xml +0 -3
  1210. package/src/utility/models/fragments/activation-rules.xml +0 -8
  1211. package/src/utility/models/fragments/activation-steps.xml +0 -15
  1212. package/src/utility/models/fragments/handler-action.xml +0 -4
  1213. package/src/utility/models/fragments/handler-exec.xml +0 -5
  1214. package/src/utility/models/fragments/handler-tmpl.xml +0 -5
  1215. package/src/utility/models/fragments/handler-validate-workflow.xml +0 -7
  1216. package/src/utility/models/fragments/handler-workflow.xml +0 -9
  1217. package/src/utility/models/fragments/menu-handlers.xml +0 -6
  1218. package/src/utility/models/fragments/web-bundle-activation-steps.xml +0 -32
  1219. package/src/utility/templates/agent.customize.template.yaml +0 -42
  1220. package/test/fixtures/agent-schema/invalid/metadata/core-agent-with-module.agent.yaml +0 -26
  1221. package/test/fixtures/agent-schema/invalid/metadata/module-agent-missing-module.agent.yaml +0 -25
  1222. package/test/fixtures/agent-schema/invalid/metadata/wrong-module-value.agent.yaml +0 -26
  1223. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  1224. package/tools/cli/bundlers/bundle-web.js +0 -179
  1225. package/tools/cli/bundlers/test-analyst.js +0 -28
  1226. package/tools/cli/bundlers/test-bundler.js +0 -118
  1227. package/tools/cli/bundlers/web-bundler.js +0 -1479
  1228. package/tools/cli/commands/build.js +0 -458
  1229. package/tools/cli/commands/list.js +0 -28
  1230. package/tools/cli/commands/status.js +0 -47
  1231. package/tools/cli/commands/uninstall.js +0 -44
  1232. package/tools/cli/commands/update.js +0 -28
  1233. package/tools/cli/installers/lib/ide/task-tool-command-generator.js +0 -119
  1234. package/tools/cli/installers/lib/ide/workflow-command-generator.js +0 -235
  1235. package/tools/cli/installers/lib/ide/workflow-command-template.md +0 -15
  1236. package/tools/cli/lib/replace-project-root.js +0 -239
  1237. package/tools/cli/regenerate-manifests.js +0 -28
  1238. package/tools/cli/test-yaml-builder.js +0 -43
  1239. package/tools/validate-bundles.js +0 -87
  1240. package/v6-open-items.md +0 -23
  1241. /package/{bmad/bmb/workflows → src/modules/bmb/workflows-legacy}/module-brief/template.md +0 -0
  1242. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  1243. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  1244. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  1245. /package/src/modules/{bmm/workflows/1-analysis/game-brief/template.md → bmgd/workflows/1-preproduction/game-brief/templates/game-brief-template.md} +0 -0
  1246. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  1247. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  1248. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  1249. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  1250. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  1251. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  1252. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  1253. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  1254. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  1255. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  1256. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  1257. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  1258. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  1259. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  1260. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  1261. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  1262. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  1263. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  1264. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  1265. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  1266. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  1267. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  1268. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  1269. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  1270. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  1271. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  1272. /package/src/modules/{bmm/workflows/2-plan-workflows/gdd → bmgd/workflows/2-design/gdd/templates}/gdd-template.md +0 -0
  1273. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  1274. /package/src/modules/{bmm/workflows/2-plan-workflows/narrative → bmgd/workflows/2-design/narrative/templates}/narrative-template.md +0 -0
  1275. /package/src/modules/{bmm/workflows/3-solutioning/architecture → bmgd/workflows/3-technical/game-architecture}/decision-catalog.yaml +0 -0
  1276. /package/src/modules/{bmm/workflows/3-solutioning/architecture → bmgd/workflows/3-technical/game-architecture}/pattern-categories.csv +0 -0
  1277. /package/src/modules/{bmm/workflows/4-implementation/code-review/backlog_template.md → bmgd/workflows/4-production/code-review/backlog-template.md} +0 -0
  1278. /package/src/utility/{models/fragments/handler-data.xml → agent-components/handler-data.txt} +0 -0
@@ -1,391 +0,0 @@
1
- # Senior Developer Review - Workflow Instructions
2
-
3
- ````xml
4
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
5
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
6
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
7
- <critical>Generate all documents in {document_output_language}</critical>
8
- <critical>This workflow performs a SYSTEMATIC Senior Developer Review on a story with status "review", validates EVERY acceptance criterion and EVERY completed task, appends structured review notes with evidence, and updates the story status based on outcome.</critical>
9
- <critical>If story_path is provided, use it. Otherwise, find the first story in sprint-status.yaml with status "review". If none found, offer ad-hoc review option.</critical>
10
- <critical>Ad-hoc review mode: User can specify any files to review and what to review for (quality, security, requirements, etc.). Creates standalone review report.</critical>
11
- <critical>SYSTEMATIC VALIDATION REQUIREMENT: For EVERY acceptance criterion, verify implementation with evidence (file:line). For EVERY task marked complete, verify it was actually done. Tasks marked complete but not done = HIGH SEVERITY finding.</critical>
12
- <critical>⚠️ ZERO TOLERANCE FOR LAZY VALIDATION ⚠️</critical>
13
- <critical>If you FAIL to catch even ONE task marked complete that was NOT actually implemented, or ONE acceptance criterion marked done that is NOT in the code with evidence, you have FAILED YOUR ONLY PURPOSE. This is an IMMEDIATE DISQUALIFICATION. No shortcuts. No assumptions. No "looks good enough." You WILL read every file. You WILL verify every claim. You WILL provide evidence (file:line) for EVERY validation. Failure to catch false completions = you failed humanity and the project. Your job is to be the uncompromising gatekeeper. DO YOUR JOB COMPLETELY OR YOU WILL BE REPLACED.</critical>
14
- <critical>Only modify the story file in these areas: Status, Dev Agent Record (Completion Notes), File List (if corrections needed), Change Log, and the appended "Senior Developer Review (AI)" section.</critical>
15
- <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
16
-
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
-
19
- <workflow>
20
-
21
- <step n="1" goal="Find story ready for review" tag="sprint-status">
22
- <check if="{{story_path}} is provided">
23
- <action>Use {{story_path}} directly</action>
24
- <action>Read COMPLETE story file and parse sections</action>
25
- <action>Extract story_key from filename or story metadata</action>
26
- <action>Verify Status is "review" - if not, HALT with message: "Story status must be 'review' to proceed"</action>
27
- </check>
28
-
29
- <check if="{{story_path}} is NOT provided">
30
- <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
31
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
32
- <action>Read ALL lines from beginning to end - do not skip any content</action>
33
- <action>Parse the development_status section completely</action>
34
-
35
- <action>Find FIRST story (reading in order from top to bottom) where:
36
- - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
37
- - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
38
- - Status value equals "review"
39
- </action>
40
-
41
- <check if="no story with status 'review' found">
42
- <output>📋 No stories with status "review" found
43
-
44
- **What would you like to do?**
45
- 1. Run `dev-story` to implement and mark a story ready for review
46
- 2. Check sprint-status.yaml for current story states
47
- 3. Tell me what code to review and what to review it for
48
- </output>
49
- <ask>Select an option (1/2/3):</ask>
50
-
51
- <check if="option 3 selected">
52
- <ask>What code would you like me to review?
53
-
54
- Provide:
55
- - File path(s) or directory to review
56
- - What to review for:
57
- • General quality and standards
58
- • Requirements compliance
59
- • Security concerns
60
- • Performance issues
61
- • Architecture alignment
62
- • Something else (specify)
63
-
64
- Your input:</ask>
65
-
66
- <action>Parse user input to extract:
67
- - {{review_files}}: file paths or directories to review
68
- - {{review_focus}}: what aspects to focus on
69
- - {{review_context}}: any additional context provided
70
- </action>
71
-
72
- <action>Set ad_hoc_review_mode = true</action>
73
- <action>Skip to step 4 with custom scope</action>
74
- </check>
75
-
76
- <check if="option 1 or 2 or no option 3">
77
- <action>HALT</action>
78
- </check>
79
- </check>
80
-
81
- <action>Use the first story found with status "review"</action>
82
- <action>Resolve story file path in {{story_dir}}</action>
83
- <action>Read the COMPLETE story file</action>
84
- </check>
85
-
86
- <action>Extract {{epic_num}} and {{story_num}} from filename (e.g., story-2.3.*.md) and story metadata</action>
87
- <action>Parse sections: Status, Story, Acceptance Criteria, Tasks/Subtasks (and completion states), Dev Notes, Dev Agent Record (Context Reference, Completion Notes, File List), Change Log</action>
88
- <action if="story cannot be read">HALT with message: "Unable to read story file"</action>
89
- </step>
90
-
91
- <step n="2" goal="Resolve story context file and specification inputs">
92
- <action>Locate story context file: Under Dev Agent Record → Context Reference, read referenced path(s). If missing, search {{output_folder}} for files matching pattern "story-{{epic_num}}.{{story_num}}*.context.xml" and use the most recent.</action>
93
- <action if="no story context file found">Continue but record a WARNING in review notes: "No story context file found"</action>
94
-
95
- <action>Locate Epic Tech Spec: Search {{tech_spec_search_dir}} with glob {{tech_spec_glob_template}} (resolve {{epic_num}})</action>
96
- <action if="no tech spec found">Continue but record a WARNING in review notes: "No Tech Spec found for epic {{epic_num}}"</action>
97
-
98
- <action>Load architecture/standards docs: For each file name in {{arch_docs_file_names}} within {{arch_docs_search_dirs}}, read if exists. Collect testing, coding standards, security, and architectural patterns.</action>
99
- </step>
100
-
101
- <step n="3" goal="Detect tech stack and establish best-practice reference set">
102
- <action>Detect primary ecosystem(s) by scanning for manifests (e.g., package.json, pyproject.toml, go.mod, Dockerfile). Record key frameworks (e.g., Node/Express, React/Vue, Python/FastAPI, etc.).</action>
103
- <action>Synthesize a concise "Best-Practices and References" note capturing any updates or considerations that should influence the review (cite links and versions if available).</action>
104
- </step>
105
-
106
- <step n="4" goal="Systematic validation of implementation against acceptance criteria and tasks">
107
- <check if="ad_hoc_review_mode == true">
108
- <action>Use {{review_files}} as the file list to review</action>
109
- <action>Focus review on {{review_focus}} aspects specified by user</action>
110
- <action>Use {{review_context}} for additional guidance</action>
111
- <action>Skip acceptance criteria checking (no story context)</action>
112
- <action>If architecture docs exist, verify alignment with architectural constraints</action>
113
- </check>
114
-
115
- <check if="ad_hoc_review_mode != true">
116
- <critical>SYSTEMATIC VALIDATION - Check EVERY AC and EVERY task marked complete</critical>
117
-
118
- <action>From the story, read Acceptance Criteria section completely - parse into numbered list</action>
119
- <action>From the story, read Tasks/Subtasks section completely - parse ALL tasks and subtasks with their completion state ([x] = completed, [ ] = incomplete)</action>
120
- <action>From Dev Agent Record → File List, compile list of changed/added files. If File List is missing or clearly incomplete, search repo for recent changes relevant to the story scope (heuristics: filenames matching components/services/routes/tests inferred from ACs/tasks).</action>
121
-
122
- <critical>Step 4A: SYSTEMATIC ACCEPTANCE CRITERIA VALIDATION</critical>
123
- <action>Create AC validation checklist with one entry per AC</action>
124
- <action>For EACH acceptance criterion (AC1, AC2, AC3, etc.):
125
- 1. Read the AC requirement completely
126
- 2. Search changed files for evidence of implementation
127
- 3. Determine: IMPLEMENTED, PARTIAL, or MISSING
128
- 4. Record specific evidence (file:line references where AC is satisfied)
129
- 5. Check for corresponding tests (unit/integration/E2E as applicable)
130
- 6. If PARTIAL or MISSING: Flag as finding with severity based on AC criticality
131
- 7. Document in AC validation checklist
132
- </action>
133
- <action>Generate AC Coverage Summary: "X of Y acceptance criteria fully implemented"</action>
134
-
135
- <critical>Step 4B: SYSTEMATIC TASK COMPLETION VALIDATION</critical>
136
- <action>Create task validation checklist with one entry per task/subtask</action>
137
- <action>For EACH task/subtask marked as COMPLETED ([x]):
138
- 1. Read the task description completely
139
- 2. Search changed files for evidence the task was actually done
140
- 3. Determine: VERIFIED COMPLETE, QUESTIONABLE, or NOT DONE
141
- 4. Record specific evidence (file:line references proving task completion)
142
- 5. **CRITICAL**: If marked complete but NOT DONE → Flag as HIGH SEVERITY finding with message: "Task marked complete but implementation not found: [task description]"
143
- 6. If QUESTIONABLE → Flag as MEDIUM SEVERITY finding: "Task completion unclear: [task description]"
144
- 7. Document in task validation checklist
145
- </action>
146
- <action>For EACH task/subtask marked as INCOMPLETE ([ ]):
147
- 1. Note it was not claimed to be complete
148
- 2. Check if it was actually done anyway (sometimes devs forget to check boxes)
149
- 3. If done but not marked: Note in review (helpful correction, not a finding)
150
- </action>
151
- <action>Generate Task Completion Summary: "X of Y completed tasks verified, Z questionable, W falsely marked complete"</action>
152
-
153
- <critical>Step 4C: CROSS-CHECK EPIC TECH-SPEC REQUIREMENTS</critical>
154
- <action>Cross-check epic tech-spec requirements and architecture constraints against the implementation intent in files.</action>
155
- <action if="critical architecture constraints are violated (e.g., layering, dependency rules)">flag as High Severity finding.</action>
156
-
157
- <critical>Step 4D: COMPILE VALIDATION FINDINGS</critical>
158
- <action>Compile all validation findings into structured list:
159
- - Missing AC implementations (severity based on AC importance)
160
- - Partial AC implementations (MEDIUM severity)
161
- - Tasks falsely marked complete (HIGH severity - this is critical)
162
- - Questionable task completions (MEDIUM severity)
163
- - Missing tests for ACs (severity based on AC criticality)
164
- - Architecture violations (HIGH severity)
165
- </action>
166
- </check>
167
- </step>
168
-
169
- <step n="5" goal="Perform code quality and risk review">
170
- <action>For each changed file, skim for common issues appropriate to the stack: error handling, input validation, logging, dependency injection, thread-safety/async correctness, resource cleanup, performance anti-patterns.</action>
171
- <action>Perform security review: injection risks, authZ/authN handling, secret management, unsafe defaults, un-validated redirects, CORS misconfigured, dependency vulnerabilities (based on manifests).</action>
172
- <action>Check tests quality: assertions are meaningful, edge cases covered, deterministic behavior, proper fixtures, no flakiness patterns.</action>
173
- <action>Capture concrete, actionable suggestions with severity (High/Med/Low) and rationale. When possible, suggest specific code-level changes (filenames + line ranges) without rewriting large sections.</action>
174
- </step>
175
-
176
- <step n="6" goal="Decide review outcome and prepare comprehensive notes">
177
- <action>Determine outcome based on validation results:
178
- - BLOCKED: Any HIGH severity finding (AC missing, task falsely marked complete, critical architecture violation)
179
- - CHANGES REQUESTED: Any MEDIUM severity findings or multiple LOW severity issues
180
- - APPROVE: All ACs implemented, all completed tasks verified, no significant issues
181
- </action>
182
-
183
- <action>Prepare a structured review report with sections:
184
- 1. **Summary**: Brief overview of review outcome and key concerns
185
- 2. **Outcome**: Approve | Changes Requested | Blocked (with justification)
186
- 3. **Key Findings** (by severity):
187
- - HIGH severity issues first (especially falsely marked complete tasks)
188
- - MEDIUM severity issues
189
- - LOW severity issues
190
- 4. **Acceptance Criteria Coverage**:
191
- - Include complete AC validation checklist from Step 4A
192
- - Show: AC# | Description | Status (IMPLEMENTED/PARTIAL/MISSING) | Evidence (file:line)
193
- - Summary: "X of Y acceptance criteria fully implemented"
194
- - List any missing or partial ACs with severity
195
- 5. **Task Completion Validation**:
196
- - Include complete task validation checklist from Step 4B
197
- - Show: Task | Marked As | Verified As | Evidence (file:line)
198
- - **CRITICAL**: Highlight any tasks marked complete but not done in RED/bold
199
- - Summary: "X of Y completed tasks verified, Z questionable, W falsely marked complete"
200
- 6. **Test Coverage and Gaps**:
201
- - Which ACs have tests, which don't
202
- - Test quality issues found
203
- 7. **Architectural Alignment**:
204
- - Tech-spec compliance
205
- - Architecture violations if any
206
- 8. **Security Notes**: Security findings if any
207
- 9. **Best-Practices and References**: With links
208
- 10. **Action Items**:
209
- - CRITICAL: ALL action items requiring code changes MUST have checkboxes for tracking
210
- - Format for actionable items: `- [ ] [Severity] Description (AC #X) [file: path:line]`
211
- - Format for informational notes: `- Note: Description (no action required)`
212
- - Imperative phrasing for action items
213
- - Map to related ACs or files with specific line references
214
- - Include suggested owners if clear
215
- - Example format:
216
- ```
217
- ### Action Items
218
-
219
- **Code Changes Required:**
220
- - [ ] [High] Add input validation on login endpoint (AC #1) [file: src/routes/auth.js:23-45]
221
- - [ ] [Med] Add unit test for invalid email format [file: tests/unit/auth.test.js]
222
-
223
- **Advisory Notes:**
224
- - Note: Consider adding rate limiting for production deployment
225
- - Note: Document the JWT expiration policy in README
226
- ```
227
- </action>
228
-
229
- <critical>The AC validation checklist and task validation checklist MUST be included in the review - this is the evidence trail</critical>
230
- </step>
231
-
232
- <step n="7" goal="Append review to story and update metadata">
233
- <check if="ad_hoc_review_mode == true">
234
- <action>Generate review report as a standalone document</action>
235
- <action>Save to {{output_folder}}/code-review-{{date}}.md</action>
236
- <action>Include sections:
237
- - Review Type: Ad-Hoc Code Review
238
- - Reviewer: {{user_name}}
239
- - Date: {{date}}
240
- - Files Reviewed: {{review_files}}
241
- - Review Focus: {{review_focus}}
242
- - Outcome: (Approve | Changes Requested | Blocked)
243
- - Summary
244
- - Key Findings
245
- - Test Coverage and Gaps
246
- - Architectural Alignment
247
- - Security Notes
248
- - Best-Practices and References (with links)
249
- - Action Items
250
- </action>
251
- <output>Review saved to: {{output_folder}}/code-review-{{date}}.md</output>
252
- </check>
253
-
254
- <check if="ad_hoc_review_mode != true">
255
- <action>Open {{story_path}} and append a new section at the end titled exactly: "Senior Developer Review (AI)".</action>
256
- <action>Insert subsections:
257
- - Reviewer: {{user_name}}
258
- - Date: {{date}}
259
- - Outcome: (Approve | Changes Requested | Blocked) with justification
260
- - Summary
261
- - Key Findings (by severity - HIGH/MEDIUM/LOW)
262
- - **Acceptance Criteria Coverage**:
263
- * Include complete AC validation checklist with table format
264
- * AC# | Description | Status | Evidence
265
- * Summary: X of Y ACs implemented
266
- - **Task Completion Validation**:
267
- * Include complete task validation checklist with table format
268
- * Task | Marked As | Verified As | Evidence
269
- * **Highlight falsely marked complete tasks prominently**
270
- * Summary: X of Y tasks verified, Z questionable, W false completions
271
- - Test Coverage and Gaps
272
- - Architectural Alignment
273
- - Security Notes
274
- - Best-Practices and References (with links)
275
- - Action Items:
276
- * CRITICAL: Format with checkboxes for tracking resolution
277
- * Code changes required: `- [ ] [Severity] Description [file: path:line]`
278
- * Advisory notes: `- Note: Description (no action required)`
279
- * Group by type: "Code Changes Required" and "Advisory Notes"
280
- </action>
281
- <action>Add a Change Log entry with date, version bump if applicable, and description: "Senior Developer Review notes appended".</action>
282
- <action>If {{update_status_on_result}} is true: update Status to {{status_on_approve}} when approved; to {{status_on_changes_requested}} when changes requested; otherwise leave unchanged.</action>
283
- <action>Save the story file.</action>
284
-
285
- <critical>MUST include the complete validation checklists - this is the evidence that systematic review was performed</critical>
286
- </check>
287
- </step>
288
-
289
- <step n="8" goal="Update sprint status based on review outcome" tag="sprint-status">
290
- <check if="ad_hoc_review_mode == true">
291
- <action>Skip sprint status update (no story context)</action>
292
- <output>📋 Ad-hoc review complete - no sprint status to update</output>
293
- </check>
294
-
295
- <check if="ad_hoc_review_mode != true">
296
- <action>Determine target status based on review outcome:
297
- - If {{outcome}} == "Approve" → target_status = "done"
298
- - If {{outcome}} == "Changes Requested" → target_status = "in-progress"
299
- - If {{outcome}} == "Blocked" → target_status = "review" (stay in review)
300
- </action>
301
-
302
- <action>Load the FULL file: {{output_folder}}/sprint-status.yaml</action>
303
- <action>Read all development_status entries to find {{story_key}}</action>
304
- <action>Verify current status is "review" (expected previous state)</action>
305
- <action>Update development_status[{{story_key}}] = {{target_status}}</action>
306
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
307
-
308
- <check if="update successful">
309
- <output>✅ Sprint status updated: review → {{target_status}}</output>
310
- </check>
311
-
312
- <check if="story key not found">
313
- <output>⚠️ Could not update sprint-status: {{story_key}} not found
314
-
315
- Review was saved to story file, but sprint-status.yaml may be out of sync.
316
- </output>
317
- </check>
318
- </check>
319
- </step>
320
-
321
- <step n="9" goal="Persist action items to tasks/backlog/epic">
322
- <check if="ad_hoc_review_mode == true">
323
- <action>All action items are included in the standalone review report</action>
324
- <ask if="action items exist">Would you like me to create tracking items for these action items? (backlog/tasks)</ask>
325
- <action if="user confirms">
326
- If {{backlog_file}} does not exist, copy {installed_path}/backlog_template.md to {{backlog_file}} location.
327
- Append a row per action item with Date={{date}}, Story="Ad-Hoc Review", Epic="N/A", Type, Severity, Owner (or "TBD"), Status="Open", Notes with file refs and context.
328
- </action>
329
- </check>
330
-
331
- <check if="ad_hoc_review_mode != true">
332
- <action>Normalize Action Items into a structured list: description, severity (High/Med/Low), type (Bug/TechDebt/Enhancement), suggested owner (if known), related AC/file references.</action>
333
- <ask if="action items exist and 'story_tasks' in {{persist_targets}}">Add {{action_item_count}} follow-up items to story Tasks/Subtasks?</ask>
334
- <action if="user confirms or no ask needed">
335
- 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)".
336
- </action>
337
- <action if="{{persist_action_items}} == true and 'backlog_file' in {{persist_targets}}">
338
- If {{backlog_file}} does not exist, copy {installed_path}/backlog_template.md to {{backlog_file}} location.
339
- 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.
340
- </action>
341
- <action if="{{persist_action_items}} == true and ('epic_followups' in {{persist_targets}} or {{update_epic_followups}} == true)">
342
- 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}}.
343
- </action>
344
- <action>Save modified files.</action>
345
- <action>Optionally invoke tests or linters to verify quick fixes if any were applied as part of review (requires user approval for any dependency changes).</action>
346
- </check>
347
- </step>
348
-
349
- <step n="10" goal="Validation and completion">
350
- <invoke-task>Run validation checklist at {installed_path}/checklist.md using {project-root}/bmad/core/tasks/validate-workflow.xml</invoke-task>
351
- <action>Report workflow completion.</action>
352
-
353
- <check if="ad_hoc_review_mode == true">
354
- <output>**✅ Ad-Hoc Code Review Complete, {user_name}!**
355
-
356
- **Review Details:**
357
- - Files Reviewed: {{review_files}}
358
- - Review Focus: {{review_focus}}
359
- - Review Outcome: {{outcome}}
360
- - Action Items: {{action_item_count}}
361
- - Review Report: {{output_folder}}/code-review-{{date}}.md
362
-
363
- **Next Steps:**
364
- 1. Review the detailed findings in the review report
365
- 2. If changes requested: Address action items in the code
366
- 3. If blocked: Resolve blockers before proceeding
367
- 4. Re-run review on updated code if needed
368
- </output>
369
- </check>
370
-
371
- <check if="ad_hoc_review_mode != true">
372
- <output>**✅ Story Review Complete, {user_name}!**
373
-
374
- **Story Details:**
375
- - Story: {{epic_num}}.{{story_num}}
376
- - Story Key: {{story_key}}
377
- - Review Outcome: {{outcome}}
378
- - Sprint Status: {{target_status}}
379
- - Action Items: {{action_item_count}}
380
-
381
- **Next Steps:**
382
- 1. Review the Senior Developer Review notes appended to story
383
- 2. If approved: Story is marked done, continue with next story
384
- 3. If changes requested: Address action items and re-run `dev-story`
385
- 4. If blocked: Resolve blockers before proceeding
386
- </output>
387
- </check>
388
- </step>
389
-
390
- </workflow>
391
- ````
@@ -1,73 +0,0 @@
1
- ---
2
- last-redoc-date: 2025-10-01
3
- ---
4
-
5
- # Correct Course Workflow
6
-
7
- The correct-course workflow is v6's adaptive response mechanism for stories that encounter issues during development or review, enabling intelligent course correction without restarting from scratch. Run by the Scrum Master (SM) or Team Lead, this workflow analyzes why a story is blocked or has issues, determines whether the story scope needs adjustment, requirements need clarification, technical approach needs revision, or the story needs to be split or reconsidered. This represents the agile principle of embracing change even late in the development cycle, but doing so in a structured way that captures learning and maintains project coherence.
8
-
9
- Unlike simply abandoning failed work or blindly pushing forward, correct-course provides a systematic approach to diagnosing issues and determining appropriate remediation. The workflow examines the original story specification, what was actually implemented, what issues arose during development or review, and the broader epic context to recommend the best path forward. This might involve clarifying requirements, adjusting acceptance criteria, revising technical approach, splitting the story into smaller pieces, or even determining the story should be deprioritized.
10
-
11
- The critical value of this workflow is that it prevents thrashing—endless cycles of implementation and rework without clear direction. By stepping back to analyze what went wrong and charting a clear path forward, the correct-course workflow enables teams to learn from difficulties and adapt intelligently rather than stubbornly proceeding with a flawed approach.
12
-
13
- ## Usage
14
-
15
- ```bash
16
- # Analyze issues and recommend course correction
17
- bmad run correct-course
18
- ```
19
-
20
- The workflow should be run when:
21
-
22
- - Review identifies critical issues requiring rethinking
23
- - Developer encounters blocking issues during implementation
24
- - Acceptance criteria prove infeasible or unclear
25
- - Technical approach needs significant revision
26
- - Story scope needs adjustment based on discoveries
27
-
28
- ## Inputs
29
-
30
- **Required Context:**
31
-
32
- - **Story Document**: Original story specification
33
- - **Implementation Attempts**: Code changes and approaches tried
34
- - **Review Feedback**: Issues and concerns identified
35
- - **Epic Context**: Overall epic goals and current progress
36
- - **Technical Constraints**: Architecture decisions and limitations discovered
37
-
38
- **Analysis Focus:**
39
-
40
- - Root cause of issues or blockages
41
- - Feasibility of current story scope
42
- - Clarity of requirements and acceptance criteria
43
- - Appropriateness of technical approach
44
- - Whether story should be split or revised
45
-
46
- ## Outputs
47
-
48
- **Primary Deliverable:**
49
-
50
- - **Course Correction Report** (`[story-id]-correction.md`): Analysis and recommendations including:
51
- - Issue root cause analysis
52
- - Impact assessment on epic and project
53
- - Recommended corrective actions with rationale
54
- - Revised story specification if applicable
55
- - Updated acceptance criteria if needed
56
- - Technical approach adjustments
57
- - Timeline and effort implications
58
-
59
- **Possible Outcomes:**
60
-
61
- 1. **Clarify Requirements**: Update story with clearer acceptance criteria
62
- 2. **Revise Scope**: Adjust story scope to be more achievable
63
- 3. **Split Story**: Break into multiple smaller stories
64
- 4. **Change Approach**: Recommend different technical approach
65
- 5. **Deprioritize**: Determine story should be deferred or cancelled
66
- 6. **Unblock**: Identify and address blocking dependencies
67
-
68
- **Artifacts:**
69
-
70
- - Updated story document if revision needed
71
- - New story documents if splitting story
72
- - Updated epic backlog reflecting changes
73
- - Lessons learned for retrospective
@@ -1,129 +0,0 @@
1
- ---
2
- last-redoc-date: 2025-10-01
3
- ---
4
-
5
- # Create Story Workflow
6
-
7
- The create-story workflow is the entry point for v6's just-in-time story generation approach, run exclusively by the Scrum Master (SM) agent. Unlike batch processing methodologies, this workflow generates exactly ONE story at a time based on the current epic backlog state, ensuring stories are created only when needed and with the most current context. The SM analyzes the epic's progress, identifies what needs to be built next based on epics.md enumeration, and generates a complete story specification including acceptance criteria, technical approach, and implementation guidance pulled directly from tech specs, PRD, and architecture documentation.
8
-
9
- This workflow represents a fundamental shift from traditional upfront planning to adaptive story generation. By creating stories one at a time and enforcing strict verification against epics.md, the SM ensures that only planned and approved stories are created. The workflow operates in non-interactive "#yolo" mode by default, minimizing prompts while maintaining quality through rigorous source document grounding. It will HALT if epics.md doesn't explicitly enumerate the next story, forcing proper planning through the correct-course workflow rather than allowing ad-hoc story creation.
10
-
11
- The workflow's intelligent document discovery system automatically finds the relevant tech spec for the current epic (using pattern `tech-spec-epic-{epic_num}-*.md`), loads all architecture documents from both docs/ and output folders, and synthesizes requirements from multiple sources in priority order. After story creation, it can optionally trigger the story-context workflow to generate just-in-time technical expertise for the developer.
12
-
13
- ## Usage
14
-
15
- ```bash
16
- # SM initiates story creation for the next piece of work
17
- bmad sm *create-story
18
- ```
19
-
20
- The SM runs this workflow when:
21
-
22
- - The current sprint has capacity for new work
23
- - The previous story status is "Done" or "Approved"
24
- - The team is ready for the next planned story in the epic
25
- - Story preparation is needed before development
26
-
27
- ## Inputs
28
-
29
- **Required Context Files:**
30
-
31
- - **epics.md**: MANDATORY - Must explicitly enumerate the next story or workflow halts
32
- - **tech-spec-epic-{N}-\*.md**: Epic-specific technical specification (auto-discovered)
33
- - **PRD.md**: Product requirements document (fallback for requirements)
34
- - **Architecture Documents**: Automatically discovered from docs/ and output folders:
35
- - tech-stack.md, unified-project-structure.md, coding-standards.md
36
- - testing-strategy.md, backend-architecture.md, frontend-architecture.md
37
- - data-models.md, database-schema.md, rest-api-spec.md, external-apis.md
38
-
39
- **Workflow Variables:**
40
-
41
- - `story_dir`: From config `dev_story_location` - where stories are saved
42
- - `epic_num`: Current epic number (auto-detected from existing stories)
43
- - `story_num`: Next story number (incremented from last completed story)
44
- - `auto_run_context`: Default true - runs story-context workflow after creation
45
- - `non_interactive`: Default true - operates in "#yolo" mode with minimal prompts
46
-
47
- ## Outputs
48
-
49
- **Primary Deliverable:**
50
-
51
- - **Story Document** (`{story_dir}/story-{epic_num}.{story_num}.md`): Complete story specification including:
52
- - User story statement (role, action, benefit)
53
- - Acceptance criteria extracted from tech spec or epics.md
54
- - Tasks and subtasks mapped to ACs
55
- - Testing requirements per testing strategy
56
- - Dev notes with source citations
57
- - Status: "Draft" (requires approval before development)
58
-
59
- **Validation Safeguards:**
60
-
61
- - **Epic Enumeration Check**: If epics.md doesn't list the next story, workflow HALTS with:
62
- ```
63
- "No planned next story found in epics.md for epic {epic_num}.
64
- Please load either PM or SM agent and run *correct-course to add/modify epic stories."
65
- ```
66
- - **Status Check**: Won't create new story if current story isn't Done/Approved
67
- - **Document Grounding**: All requirements traced to source documents (no invention)
68
-
69
- ## Key Features
70
-
71
- **Strict Planning Enforcement**: The workflow will NOT create stories that aren't explicitly planned in epics.md. This prevents scope creep and ensures all work is properly approved through the planning process.
72
-
73
- **Intelligent Document Discovery**: Automatically finds the latest tech spec for the epic using glob patterns, discovers all architecture documents across multiple directories, and builds a prioritized document set for requirement extraction.
74
-
75
- **Source Document Grounding**: Every requirement, acceptance criterion, and technical constraint is traced to a specific source document. The workflow explicitly forbids inventing domain facts not present in source materials.
76
-
77
- **Non-Interactive by Default**: Operates in "#yolo" mode to minimize interruptions, only prompting when absolutely necessary (like missing critical configuration). This enables smooth automated story preparation.
78
-
79
- **Automatic Context Generation**: When `auto_run_context` is true (default), automatically triggers the story-context workflow to generate developer expertise injection for the newly created story.
80
-
81
- ## Integration with v6 Flow
82
-
83
- The create-story workflow is step 1 in the v6 implementation cycle:
84
-
85
- 1. **SM: create-story** ← You are here
86
- 2. SM: story-context (adds JIT technical expertise)
87
- 3. DEV: dev-story (implements with generated context)
88
- 4. DEV/SR: code-review (validates completion)
89
- 5. If needed: correct-course (adjusts direction)
90
- 6. After epic: retrospective (captures learnings)
91
-
92
- This workflow establishes the "what" that needs to be built, strictly based on planned epics. The story-context workflow will later add the "how" through just-in-time technical expertise injection.
93
-
94
- ## Document Priority Order
95
-
96
- The workflow uses this priority for extracting requirements:
97
-
98
- 1. **tech_spec_file**: Epic-scoped technical specification (highest priority)
99
- 2. **epics_file**: Acceptance criteria and story breakdown
100
- 3. **prd_file**: Business requirements and constraints
101
- 4. **Architecture docs**: Constraints, patterns, and technical guidance
102
-
103
- ## Workflow Behavior
104
-
105
- **Story Number Management:**
106
-
107
- - Automatically detects next story number from existing files
108
- - Won't skip numbers or create duplicates
109
- - Maintains epic.story numbering convention
110
-
111
- **Update vs Create:**
112
-
113
- - If latest story status != Done/Approved: Updates existing story
114
- - If latest story status == Done/Approved: Creates next story (if enumerated in epics.md)
115
-
116
- **Epic Advancement:**
117
-
118
- - In non-interactive mode: Stays within current epic
119
- - Interactive mode: Can prompt for new epic number
120
-
121
- ## Troubleshooting
122
-
123
- **"No planned next story found in epics.md"**: The next story isn't enumerated in epics.md. Run SM or PM agent's `*correct-course` to properly plan and add the story to the epic.
124
-
125
- **Missing story_dir Configuration**: Ensure `dev_story_location` is set in bmad/bmm/config.yaml
126
-
127
- **Tech Spec Not Found**: The workflow looks for `tech-spec-epic-{N}-*.md` pattern. Ensure tech specs follow this naming convention.
128
-
129
- **Architecture Documents Missing**: While not fatal, missing architecture docs reduce story context quality. Ensure key docs exist in docs/ or output folder.