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
@@ -0,0 +1,49 @@
1
+ # Story {{epic_num}}.{{story_num}}: {{story_title}}
2
+
3
+ Status: ready-for-dev
4
+
5
+ <!-- Note: Validation is optional. Run validate-create-story for quality check before dev-story. -->
6
+
7
+ ## Story
8
+
9
+ As a {{role}},
10
+ I want {{action}},
11
+ so that {{benefit}}.
12
+
13
+ ## Acceptance Criteria
14
+
15
+ 1. [Add acceptance criteria from epics/PRD]
16
+
17
+ ## Tasks / Subtasks
18
+
19
+ - [ ] Task 1 (AC: #)
20
+ - [ ] Subtask 1.1
21
+ - [ ] Task 2 (AC: #)
22
+ - [ ] Subtask 2.1
23
+
24
+ ## Dev Notes
25
+
26
+ - Relevant architecture patterns and constraints
27
+ - Source tree components to touch
28
+ - Testing standards summary
29
+
30
+ ### Project Structure Notes
31
+
32
+ - Alignment with unified project structure (paths, modules, naming)
33
+ - Detected conflicts or variances (with rationale)
34
+
35
+ ### References
36
+
37
+ - Cite all technical details with source paths and sections, e.g. [Source: docs/<file>.md#Section]
38
+
39
+ ## Dev Agent Record
40
+
41
+ ### Agent Model Used
42
+
43
+ {{agent_model_name_version}}
44
+
45
+ ### Debug Log References
46
+
47
+ ### Completion Notes List
48
+
49
+ ### File List
@@ -0,0 +1,79 @@
1
+ name: create-story
2
+ description: "Create the next user story markdown from epics/PRD and architecture, using a standard template and saving to the stories folder"
3
+ author: "BMad"
4
+
5
+ # Critical variables from config
6
+ config_source: "{project-root}/_bmad/bmgd/config.yaml"
7
+ output_folder: "{config_source}:output_folder"
8
+ user_name: "{config_source}:user_name"
9
+ communication_language: "{config_source}:communication_language"
10
+ date: system-generated
11
+ implementation_artifacts: "{config_source}:implementation_artifacts"
12
+ story_dir: "{implementation_artifacts}"
13
+
14
+ # Workflow components
15
+ installed_path: "{project-root}/_bmad/bmgd/workflows/4-production/create-story"
16
+ template: "{installed_path}/template.md"
17
+ instructions: "{installed_path}/instructions.xml"
18
+ validation: "{installed_path}/checklist.md"
19
+
20
+ # Variables and inputs
21
+ variables:
22
+ sprint_status: "{implementation_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml" # Primary source for story tracking
23
+ epics_file: "{output_folder}/epics.md" # Preferred source for epic/story breakdown
24
+ prd_file: "{output_folder}/PRD.md" # Fallback for requirements
25
+ architecture_file: "{planning_artifacts}/architecture.md" # Optional architecture context
26
+ tech_spec_file: "" # Will be auto-discovered from docs as tech-spec-epic-{{epic_num}}-*.md
27
+ tech_spec_search_dir: "{project-root}/docs"
28
+ tech_spec_glob_template: "tech-spec-epic-{{epic_num}}*.md"
29
+ arch_docs_search_dirs: |
30
+ - "{project-root}/docs"
31
+ - "{output_folder}"
32
+ arch_docs_file_names: |
33
+ - *architecture*.md
34
+ story_title: "" # Will be elicited if not derivable
35
+
36
+ default_output_file: "{story_dir}/{{story_key}}.md"
37
+
38
+ # Smart input file references - handles both whole docs and sharded docs
39
+ # Priority: Whole document first, then sharded version
40
+ # Strategy: SELECTIVE LOAD - only load the specific epic needed for this story
41
+ input_file_patterns:
42
+ gdd:
43
+ description: "Game Design Document"
44
+ whole: "{output_folder}/*gdd*.md"
45
+ sharded: "{output_folder}/*gdd*/*.md"
46
+ load_strategy: "FULL_LOAD"
47
+ narrative:
48
+ description: "Narrative Design Document (if story-driven)"
49
+ whole: "{output_folder}/*narrative*.md"
50
+ sharded: "{output_folder}/*narrative*/*.md"
51
+ load_strategy: "FULL_LOAD"
52
+ tech_spec:
53
+ description: "Technical specification"
54
+ whole: "{output_folder}/tech-spec.md"
55
+ load_strategy: "FULL_LOAD"
56
+ architecture:
57
+ description: "Game architecture and technical decisions"
58
+ whole: "{output_folder}/*architecture*.md"
59
+ sharded: "{output_folder}/*architecture*/*.md"
60
+ load_strategy: "FULL_LOAD"
61
+ ux_design:
62
+ description: "UX design specification (if UI)"
63
+ whole: "{output_folder}/*ux*.md"
64
+ sharded: "{output_folder}/*ux*/*.md"
65
+ load_strategy: "FULL_LOAD"
66
+ epics:
67
+ description: "All epics with user stories"
68
+ whole: "{output_folder}/*epic*.md"
69
+ sharded_index: "{output_folder}/*epic*/index.md"
70
+ sharded_single: "{output_folder}/*epic*/epic-{{epic_num}}.md"
71
+ load_strategy: "SELECTIVE_LOAD"
72
+ document_project:
73
+ description: "Brownfield project documentation (optional)"
74
+ sharded: "{output_folder}/index.md"
75
+ load_strategy: "INDEX_GUIDED"
76
+
77
+ standalone: true
78
+
79
+ web_bundle: false
@@ -0,0 +1,80 @@
1
+ ---
2
+ title: 'Enhanced Dev Story Definition of Done Checklist'
3
+ validation-target: 'Story markdown ({{story_path}})'
4
+ validation-criticality: 'HIGHEST'
5
+ required-inputs:
6
+ - 'Story markdown file with enhanced Dev Notes containing comprehensive implementation context'
7
+ - 'Completed Tasks/Subtasks section with all items marked [x]'
8
+ - 'Updated File List section with all changed files'
9
+ - 'Updated Dev Agent Record with implementation notes'
10
+ optional-inputs:
11
+ - 'Test results output'
12
+ - 'CI logs'
13
+ - 'Linting reports'
14
+ validation-rules:
15
+ - 'Only permitted story sections modified: Tasks/Subtasks checkboxes, Dev Agent Record, File List, Change Log, Status'
16
+ - 'All implementation requirements from story Dev Notes must be satisfied'
17
+ - 'Definition of Done checklist must pass completely'
18
+ - 'Enhanced story context must contain sufficient technical guidance'
19
+ ---
20
+
21
+ # 🎯 Enhanced Definition of Done Checklist
22
+
23
+ **Critical validation:** Story is truly ready for review only when ALL items below are satisfied
24
+
25
+ ## 📋 Context & Requirements Validation
26
+
27
+ - [ ] **Story Context Completeness:** Dev Notes contains ALL necessary technical requirements, architecture patterns, and implementation guidance
28
+ - [ ] **Architecture Compliance:** Implementation follows all architectural requirements specified in Dev Notes
29
+ - [ ] **Technical Specifications:** All technical specifications (libraries, frameworks, versions) from Dev Notes are implemented correctly
30
+ - [ ] **Previous Story Learnings:** Previous story insights incorporated (if applicable) and build upon appropriately
31
+
32
+ ## ✅ Implementation Completion
33
+
34
+ - [ ] **All Tasks Complete:** Every task and subtask marked complete with [x]
35
+ - [ ] **Acceptance Criteria Satisfaction:** Implementation satisfies EVERY Acceptance Criterion in the story
36
+ - [ ] **No Ambiguous Implementation:** Clear, unambiguous implementation that meets story requirements
37
+ - [ ] **Edge Cases Handled:** Error conditions and edge cases appropriately addressed
38
+ - [ ] **Dependencies Within Scope:** Only uses dependencies specified in story or project-context.md
39
+
40
+ ## 🧪 Testing & Quality Assurance
41
+
42
+ - [ ] **Unit Tests:** Unit tests added/updated for ALL core functionality introduced/changed by this story
43
+ - [ ] **Integration Tests:** Integration tests added/updated for component interactions when story requirements demand them
44
+ - [ ] **End-to-End Tests:** End-to-end tests created for critical user flows when story requirements specify them
45
+ - [ ] **Test Coverage:** Tests cover acceptance criteria and edge cases from story Dev Notes
46
+ - [ ] **Regression Prevention:** ALL existing tests pass (no regressions introduced)
47
+ - [ ] **Code Quality:** Linting and static checks pass when configured in project
48
+ - [ ] **Test Framework Compliance:** Tests use project's testing frameworks and patterns from Dev Notes
49
+
50
+ ## 📝 Documentation & Tracking
51
+
52
+ - [ ] **File List Complete:** File List includes EVERY new, modified, or deleted file (paths relative to repo root)
53
+ - [ ] **Dev Agent Record Updated:** Contains relevant Implementation Notes and/or Debug Log for this work
54
+ - [ ] **Change Log Updated:** Change Log includes clear summary of what changed and why
55
+ - [ ] **Review Follow-ups:** All review follow-up tasks (marked [AI-Review]) completed and corresponding review items marked resolved (if applicable)
56
+ - [ ] **Story Structure Compliance:** Only permitted sections of story file were modified
57
+
58
+ ## 🔚 Final Status Verification
59
+
60
+ - [ ] **Story Status Updated:** Story Status set to "review"
61
+ - [ ] **Sprint Status Updated:** Sprint status updated to "review" (when sprint tracking is used)
62
+ - [ ] **Quality Gates Passed:** All quality checks and validations completed successfully
63
+ - [ ] **No HALT Conditions:** No blocking issues or incomplete work remaining
64
+ - [ ] **User Communication Ready:** Implementation summary prepared for user review
65
+
66
+ ## 🎯 Final Validation Output
67
+
68
+ ```
69
+ Definition of Done: {{PASS/FAIL}}
70
+
71
+ ✅ **Story Ready for Review:** {{story_key}}
72
+ 📊 **Completion Score:** {{completed_items}}/{{total_items}} items passed
73
+ 🔍 **Quality Gates:** {{quality_gates_status}}
74
+ 📋 **Test Results:** {{test_results_summary}}
75
+ 📝 **Documentation:** {{documentation_status}}
76
+ ```
77
+
78
+ **If FAIL:** List specific failures and required actions before story can be marked Ready for Review
79
+
80
+ **If PASS:** Story is fully ready for code review and production consideration
@@ -0,0 +1,409 @@
1
+ <workflow>
2
+ <critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
3
+ <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
4
+ <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
5
+ <critical>Generate all documents in {document_output_language}</critical>
6
+ <critical>Only modify the story file in these areas: Tasks/Subtasks checkboxes, Dev Agent Record (Debug Log, Completion Notes), File List,
7
+ Change Log, and Status</critical>
8
+ <critical>Execute ALL steps in exact order; do NOT skip steps</critical>
9
+ <critical>Absolutely DO NOT stop because of "milestones", "significant progress", or "session boundaries". Continue in a single execution
10
+ until the story is COMPLETE (all ACs satisfied and all tasks/subtasks checked) UNLESS a HALT condition is triggered or the USER gives
11
+ other instruction.</critical>
12
+ <critical>Do NOT schedule a "next session" or request review pauses unless a HALT condition applies. Only Step 6 decides completion.</critical>
13
+ <critical>User skill level ({user_skill_level}) affects conversation style ONLY, not code updates.</critical>
14
+
15
+ <step n="1" goal="Find next ready story and load it" tag="sprint-status">
16
+ <check if="{{story_path}} is provided">
17
+ <action>Use {{story_path}} directly</action>
18
+ <action>Read COMPLETE story file</action>
19
+ <action>Extract story_key from filename or metadata</action>
20
+ <goto> anchor with id task_check</goto>
21
+ </check>
22
+
23
+ <!-- Sprint-based story discovery -->
24
+ <check if="{{sprint_status}} file exists">
25
+ <critical>MUST read COMPLETE sprint-status.yaml file from start to end to preserve order</critical>
26
+ <action>Load the FULL file: {{sprint_status}}</action>
27
+ <action>Read ALL lines from beginning to end - do not skip any content</action>
28
+ <action>Parse the development_status section completely to understand story order</action>
29
+
30
+ <action>Find the FIRST story (by reading in order from top to bottom) where:
31
+ - Key matches pattern: number-number-name (e.g., "1-2-user-auth")
32
+ - NOT an epic key (epic-X) or retrospective (epic-X-retrospective)
33
+ - Status value equals "ready-for-dev"
34
+ </action>
35
+
36
+ <check if="no ready-for-dev or in-progress story found">
37
+ <output>📋 No ready-for-dev stories found in sprint-status.yaml
38
+
39
+ **Current Sprint Status:** {{sprint_status_summary}}
40
+
41
+ **What would you like to do?**
42
+ 1. Run `create-story` to create next story from epics with comprehensive context
43
+ 2. Run `*validate-create-story` to improve existing stories before development (recommended quality check)
44
+ 3. Specify a particular story file to develop (provide full path)
45
+ 4. Check {{sprint_status}} file to see current sprint status
46
+
47
+ 💡 **Tip:** Stories in `ready-for-dev` may not have been validated. Consider running `validate-create-story` first for a quality
48
+ check.
49
+ </output>
50
+ <ask>Choose option [1], [2], [3], or [4], or specify story file path:</ask>
51
+
52
+ <check if="user chooses '1'">
53
+ <action>HALT - Run create-story to create next story</action>
54
+ </check>
55
+
56
+ <check if="user chooses '2'">
57
+ <action>HALT - Run validate-create-story to improve existing stories</action>
58
+ </check>
59
+
60
+ <check if="user chooses '3'">
61
+ <ask>Provide the story file path to develop:</ask>
62
+ <action>Store user-provided story path as {{story_path}}</action>
63
+ <goto anchor="task_check" />
64
+ </check>
65
+
66
+ <check if="user chooses '4'">
67
+ <output>Loading {{sprint_status}} for detailed status review...</output>
68
+ <action>Display detailed sprint status analysis</action>
69
+ <action>HALT - User can review sprint status and provide story path</action>
70
+ </check>
71
+
72
+ <check if="user provides story file path">
73
+ <action>Store user-provided story path as {{story_path}}</action>
74
+ <goto anchor="task_check" />
75
+ </check>
76
+ </check>
77
+ </check>
78
+
79
+ <!-- Non-sprint story discovery -->
80
+ <check if="{{sprint_status}} file does NOT exist">
81
+ <action>Search {story_dir} for stories directly</action>
82
+ <action>Find stories with "ready-for-dev" status in files</action>
83
+ <action>Look for story files matching pattern: *-*-*.md</action>
84
+ <action>Read each candidate story file to check Status section</action>
85
+
86
+ <check if="no ready-for-dev stories found in story files">
87
+ <output>📋 No ready-for-dev stories found
88
+
89
+ **Available Options:**
90
+ 1. Run `create-story` to create next story from epics with comprehensive context
91
+ 2. Run `*validate-create-story` to improve existing stories
92
+ 3. Specify which story to develop
93
+ </output>
94
+ <ask>What would you like to do? Choose option [1], [2], or [3]:</ask>
95
+
96
+ <check if="user chooses '1'">
97
+ <action>HALT - Run create-story to create next story</action>
98
+ </check>
99
+
100
+ <check if="user chooses '2'">
101
+ <action>HALT - Run validate-create-story to improve existing stories</action>
102
+ </check>
103
+
104
+ <check if="user chooses '3'">
105
+ <ask>It's unclear what story you want developed. Please provide the full path to the story file:</ask>
106
+ <action>Store user-provided story path as {{story_path}}</action>
107
+ <action>Continue with provided story file</action>
108
+ </check>
109
+ </check>
110
+
111
+ <check if="ready-for-dev story found in files">
112
+ <action>Use discovered story file and extract story_key</action>
113
+ </check>
114
+ </check>
115
+
116
+ <action>Store the found story_key (e.g., "1-2-user-authentication") for later status updates</action>
117
+ <action>Find matching story file in {story_dir} using story_key pattern: {{story_key}}.md</action>
118
+ <action>Read COMPLETE story file from discovered path</action>
119
+
120
+ <anchor id="task_check" />
121
+
122
+ <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
123
+
124
+ <action>Load comprehensive context from story file's Dev Notes section</action>
125
+ <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
126
+ <action>Use enhanced story context to inform implementation decisions and approaches</action>
127
+
128
+ <action>Identify first incomplete task (unchecked [ ]) in Tasks/Subtasks</action>
129
+
130
+ <action if="no incomplete tasks">
131
+ <goto step="6">Completion sequence</goto>
132
+ </action>
133
+ <action if="story file inaccessible">HALT: "Cannot develop story without access to story file"</action>
134
+ <action if="incomplete task or subtask requirements ambiguous">ASK user to clarify or HALT</action>
135
+ </step>
136
+
137
+ <step n="2" goal="Load project context and story information">
138
+ <critical>Load all available context to inform implementation</critical>
139
+
140
+ <action>Load {project_context} for coding standards and project-wide patterns (if exists)</action>
141
+ <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Dev Agent Record, File List, Change Log, Status</action>
142
+ <action>Load comprehensive context from story file's Dev Notes section</action>
143
+ <action>Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications</action>
144
+ <action>Use enhanced story context to inform implementation decisions and approaches</action>
145
+ <output>✅ **Context Loaded**
146
+ Story and project context available for implementation
147
+ </output>
148
+ </step>
149
+
150
+ <step n="3" goal="Detect review continuation and extract review context">
151
+ <critical>Determine if this is a fresh start or continuation after code review</critical>
152
+
153
+ <action>Check if "Senior Developer Review (AI)" section exists in the story file</action>
154
+ <action>Check if "Review Follow-ups (AI)" subsection exists under Tasks/Subtasks</action>
155
+
156
+ <check if="Senior Developer Review section exists">
157
+ <action>Set review_continuation = true</action>
158
+ <action>Extract from "Senior Developer Review (AI)" section:
159
+ - Review outcome (Approve/Changes Requested/Blocked)
160
+ - Review date
161
+ - Total action items with checkboxes (count checked vs unchecked)
162
+ - Severity breakdown (High/Med/Low counts)
163
+ </action>
164
+ <action>Count unchecked [ ] review follow-up tasks in "Review Follow-ups (AI)" subsection</action>
165
+ <action>Store list of unchecked review items as {{pending_review_items}}</action>
166
+
167
+ <output>⏯️ **Resuming Story After Code Review** ({{review_date}})
168
+
169
+ **Review Outcome:** {{review_outcome}}
170
+ **Action Items:** {{unchecked_review_count}} remaining to address
171
+ **Priorities:** {{high_count}} High, {{med_count}} Medium, {{low_count}} Low
172
+
173
+ **Strategy:** Will prioritize review follow-up tasks (marked [AI-Review]) before continuing with regular tasks.
174
+ </output>
175
+ </check>
176
+
177
+ <check if="Senior Developer Review section does NOT exist">
178
+ <action>Set review_continuation = false</action>
179
+ <action>Set {{pending_review_items}} = empty</action>
180
+
181
+ <output>🚀 **Starting Fresh Implementation**
182
+
183
+ Story: {{story_key}}
184
+ Story Status: {{current_status}}
185
+ First incomplete task: {{first_task_description}}
186
+ </output>
187
+ </check>
188
+ </step>
189
+
190
+ <step n="4" goal="Mark story in-progress" tag="sprint-status">
191
+ <check if="{{sprint_status}} file exists">
192
+ <action>Load the FULL file: {{sprint_status}}</action>
193
+ <action>Read all development_status entries to find {{story_key}}</action>
194
+ <action>Get current status value for development_status[{{story_key}}]</action>
195
+
196
+ <check if="current status == 'ready-for-dev' OR review_continuation == true">
197
+ <action>Update the story in the sprint status report to = "in-progress"</action>
198
+ <output>🚀 Starting work on story {{story_key}}
199
+ Status updated: ready-for-dev → in-progress
200
+ </output>
201
+ </check>
202
+
203
+ <check if="current status == 'in-progress'">
204
+ <output>⏯️ Resuming work on story {{story_key}}
205
+ Story is already marked in-progress
206
+ </output>
207
+ </check>
208
+
209
+ <check if="current status is neither ready-for-dev nor in-progress">
210
+ <output>⚠️ Unexpected story status: {{current_status}}
211
+ Expected ready-for-dev or in-progress. Continuing anyway...
212
+ </output>
213
+ </check>
214
+
215
+ <action>Store {{current_sprint_status}} for later use</action>
216
+ </check>
217
+
218
+ <check if="{{sprint_status}} file does NOT exist">
219
+ <output>ℹ️ No sprint status file exists - story progress will be tracked in story file only</output>
220
+ <action>Set {{current_sprint_status}} = "no-sprint-tracking"</action>
221
+ </check>
222
+ </step>
223
+
224
+ <step n="5" goal="Implement task following red-green-refactor cycle">
225
+ <critical>FOLLOW THE STORY FILE TASKS/SUBTASKS SEQUENCE EXACTLY AS WRITTEN - NO DEVIATION</critical>
226
+
227
+ <action>Review the current task/subtask from the story file - this is your authoritative implementation guide</action>
228
+ <action>Plan implementation following red-green-refactor cycle</action>
229
+
230
+ <!-- RED PHASE -->
231
+ <action>Write FAILING tests first for the task/subtask functionality</action>
232
+ <action>Confirm tests fail before implementation - this validates test correctness</action>
233
+
234
+ <!-- GREEN PHASE -->
235
+ <action>Implement MINIMAL code to make tests pass</action>
236
+ <action>Run tests to confirm they now pass</action>
237
+ <action>Handle error conditions and edge cases as specified in task/subtask</action>
238
+
239
+ <!-- REFACTOR PHASE -->
240
+ <action>Improve code structure while keeping tests green</action>
241
+ <action>Ensure code follows architecture patterns and coding standards from Dev Notes</action>
242
+
243
+ <action>Document technical approach and decisions in Dev Agent Record → Implementation Plan</action>
244
+
245
+ <action if="new dependencies required beyond story specifications">HALT: "Additional dependencies need user approval"</action>
246
+ <action if="3 consecutive implementation failures occur">HALT and request guidance</action>
247
+ <action if="required configuration is missing">HALT: "Cannot proceed without necessary configuration files"</action>
248
+
249
+ <critical>NEVER implement anything not mapped to a specific task/subtask in the story file</critical>
250
+ <critical>NEVER proceed to next task until current task/subtask is complete AND tests pass</critical>
251
+ <critical>Execute continuously without pausing until all tasks/subtasks are complete or explicit HALT condition</critical>
252
+ <critical>Do NOT propose to pause for review until Step 9 completion gates are satisfied</critical>
253
+ </step>
254
+
255
+ <step n="6" goal="Author comprehensive tests">
256
+ <action>Create unit tests for business logic and core functionality introduced/changed by the task</action>
257
+ <action>Add integration tests for component interactions specified in story requirements</action>
258
+ <action>Include end-to-end tests for critical user flows when story requirements demand them</action>
259
+ <action>Cover edge cases and error handling scenarios identified in story Dev Notes</action>
260
+ </step>
261
+
262
+ <step n="7" goal="Run validations and tests">
263
+ <action>Determine how to run tests for this repo (infer test framework from project structure)</action>
264
+ <action>Run all existing tests to ensure no regressions</action>
265
+ <action>Run the new tests to verify implementation correctness</action>
266
+ <action>Run linting and code quality checks if configured in project</action>
267
+ <action>Validate implementation meets ALL story acceptance criteria; enforce quantitative thresholds explicitly</action>
268
+ <action if="regression tests fail">STOP and fix before continuing - identify breaking changes immediately</action>
269
+ <action if="new tests fail">STOP and fix before continuing - ensure implementation correctness</action>
270
+ </step>
271
+
272
+ <step n="8" goal="Validate and mark task complete ONLY when fully done">
273
+ <critical>NEVER mark a task complete unless ALL conditions are met - NO LYING OR CHEATING</critical>
274
+
275
+ <!-- VALIDATION GATES -->
276
+ <action>Verify ALL tests for this task/subtask ACTUALLY EXIST and PASS 100%</action>
277
+ <action>Confirm implementation matches EXACTLY what the task/subtask specifies - no extra features</action>
278
+ <action>Validate that ALL acceptance criteria related to this task are satisfied</action>
279
+ <action>Run full test suite to ensure NO regressions introduced</action>
280
+
281
+ <!-- REVIEW FOLLOW-UP HANDLING -->
282
+ <check if="task is review follow-up (has [AI-Review] prefix)">
283
+ <action>Extract review item details (severity, description, related AC/file)</action>
284
+ <action>Add to resolution tracking list: {{resolved_review_items}}</action>
285
+
286
+ <!-- Mark task in Review Follow-ups section -->
287
+ <action>Mark task checkbox [x] in "Tasks/Subtasks → Review Follow-ups (AI)" section</action>
288
+
289
+ <!-- CRITICAL: Also mark corresponding action item in review section -->
290
+ <action>Find matching action item in "Senior Developer Review (AI) → Action Items" section by matching description</action>
291
+ <action>Mark that action item checkbox [x] as resolved</action>
292
+
293
+ <action>Add to Dev Agent Record → Completion Notes: "✅ Resolved review finding [{{severity}}]: {{description}}"</action>
294
+ </check>
295
+
296
+ <!-- ONLY MARK COMPLETE IF ALL VALIDATION PASS -->
297
+ <check if="ALL validation gates pass AND tests ACTUALLY exist and pass">
298
+ <action>ONLY THEN mark the task (and subtasks) checkbox with [x]</action>
299
+ <action>Update File List section with ALL new, modified, or deleted files (paths relative to repo root)</action>
300
+ <action>Add completion notes to Dev Agent Record summarizing what was ACTUALLY implemented and tested</action>
301
+ </check>
302
+
303
+ <check if="ANY validation fails">
304
+ <action>DO NOT mark task complete - fix issues first</action>
305
+ <action>HALT if unable to fix validation failures</action>
306
+ </check>
307
+
308
+ <check if="review_continuation == true and {{resolved_review_items}} is not empty">
309
+ <action>Count total resolved review items in this session</action>
310
+ <action>Add Change Log entry: "Addressed code review findings - {{resolved_count}} items resolved (Date: {{date}})"</action>
311
+ </check>
312
+
313
+ <action>Save the story file</action>
314
+ <action>Determine if more incomplete tasks remain</action>
315
+ <action if="more tasks remain">
316
+ <goto step="5">Next task</goto>
317
+ </action>
318
+ <action if="no tasks remain">
319
+ <goto step="9">Completion</goto>
320
+ </action>
321
+ </step>
322
+
323
+ <step n="9" goal="Story completion and mark for review" tag="sprint-status">
324
+ <action>Verify ALL tasks and subtasks are marked [x] (re-scan the story document now)</action>
325
+ <action>Run the full regression suite (do not skip)</action>
326
+ <action>Confirm File List includes every changed file</action>
327
+ <action>Execute enhanced definition-of-done validation</action>
328
+ <action>Update the story Status to: "review"</action>
329
+
330
+ <!-- Enhanced Definition of Done Validation -->
331
+ <action>Validate definition-of-done checklist with essential requirements:
332
+ - All tasks/subtasks marked complete with [x]
333
+ - Implementation satisfies every Acceptance Criterion
334
+ - Unit tests for core functionality added/updated
335
+ - Integration tests for component interactions added when required
336
+ - End-to-end tests for critical flows added when story demands them
337
+ - All tests pass (no regressions, new tests successful)
338
+ - Code quality checks pass (linting, static analysis if configured)
339
+ - File List includes every new/modified/deleted file (relative paths)
340
+ - Dev Agent Record contains implementation notes
341
+ - Change Log includes summary of changes
342
+ - Only permitted story sections were modified
343
+ </action>
344
+
345
+ <!-- Mark story ready for review - sprint status conditional -->
346
+ <check if="{sprint_status} file exists AND {{current_sprint_status}} != 'no-sprint-tracking'">
347
+ <action>Load the FULL file: {sprint_status}</action>
348
+ <action>Find development_status key matching {{story_key}}</action>
349
+ <action>Verify current status is "in-progress" (expected previous state)</action>
350
+ <action>Update development_status[{{story_key}}] = "review"</action>
351
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
352
+ <output>✅ Story status updated to "review" in sprint-status.yaml</output>
353
+ </check>
354
+
355
+ <check if="{sprint_status} file does NOT exist OR {{current_sprint_status}} == 'no-sprint-tracking'">
356
+ <output>ℹ️ Story status updated to "review" in story file (no sprint tracking configured)</output>
357
+ </check>
358
+
359
+ <check if="story key not found in sprint status">
360
+ <output>⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found
361
+
362
+ Story status is set to "review" in file, but sprint-status.yaml may be out of sync.
363
+ </output>
364
+ </check>
365
+
366
+ <!-- Final validation gates -->
367
+ <action if="any task is incomplete">HALT - Complete remaining tasks before marking ready for review</action>
368
+ <action if="regression failures exist">HALT - Fix regression issues before completing</action>
369
+ <action if="File List is incomplete">HALT - Update File List with all changed files</action>
370
+ <action if="definition-of-done validation fails">HALT - Address DoD failures before completing</action>
371
+ </step>
372
+
373
+ <step n="10" goal="Completion communication and user support">
374
+ <action>Execute the enhanced definition-of-done checklist using the validation framework</action>
375
+ <action>Prepare a concise summary in Dev Agent Record → Completion Notes</action>
376
+
377
+ <action>Communicate to {user_name} that story implementation is complete and ready for review</action>
378
+ <action>Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified</action>
379
+ <action>Provide the story file path and current status (now "review")</action>
380
+
381
+ <action>Based on {user_skill_level}, ask if user needs any explanations about:
382
+ - What was implemented and how it works
383
+ - Why certain technical decisions were made
384
+ - How to test or verify the changes
385
+ - Any patterns, libraries, or approaches used
386
+ - Anything else they'd like clarified
387
+ </action>
388
+
389
+ <check if="user asks for explanations">
390
+ <action>Provide clear, contextual explanations tailored to {user_skill_level}</action>
391
+ <action>Use examples and references to specific code when helpful</action>
392
+ </check>
393
+
394
+ <action>Once explanations are complete (or user indicates no questions), suggest logical next steps</action>
395
+ <action>Recommended next steps (flexible based on project setup):
396
+ - Review the implemented story and test the changes
397
+ - Verify all acceptance criteria are met
398
+ - Ensure deployment readiness if applicable
399
+ - Run `code-review` workflow for peer review
400
+ </action>
401
+
402
+ <output>💡 **Tip:** For best results, run `code-review` using a **different** LLM than the one that implemented this story.</output>
403
+ <check if="{sprint_status} file exists">
404
+ <action>Suggest checking {sprint_status} to see project progress</action>
405
+ </check>
406
+ <action>Remain flexible - allow user to choose their own path or ask for other assistance</action>
407
+ </step>
408
+
409
+ </workflow>