bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.14

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 (335) hide show
  1. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  2. package/.github/scripts/discord-helpers.sh +15 -0
  3. package/.github/workflows/discord.yaml +278 -8
  4. package/.github/workflows/quality.yaml +19 -0
  5. package/.markdownlint-cli2.yaml +42 -0
  6. package/.prettierignore +3 -0
  7. package/CHANGELOG.md +95 -0
  8. package/CODE_OF_CONDUCT.md +128 -0
  9. package/bmad-method-6.0.0-alpha.14.tgz +0 -0
  10. package/docs/agent-customization-guide.md +2 -2
  11. package/docs/custom-agent-installation.md +56 -102
  12. package/docs/document-sharding-guide.md +1 -1
  13. package/eslint.config.mjs +14 -0
  14. package/example-custom-content/README.md +4 -0
  15. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +4 -4
  16. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
  17. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +17 -16
  18. package/example-custom-content/custom.yaml +3 -0
  19. package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
  20. package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
  21. package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
  22. package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
  23. package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
  24. package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
  25. package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
  26. package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
  27. package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
  28. package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
  29. package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
  30. package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
  31. package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
  32. package/example-custom-content/workflows/quiz-master/workflow-plan-quiz-master.md +269 -0
  33. package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
  34. package/example-custom-content/workflows/wassup/workflow.md +26 -0
  35. package/example-custom-module/mwm/README.md +4 -0
  36. package/example-custom-module/mwm/_module-installer/install-config.yaml +27 -0
  37. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
  38. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
  39. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +150 -0
  40. package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +137 -0
  41. package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +137 -0
  42. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
  43. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
  44. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
  45. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
  46. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +124 -0
  47. package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
  48. package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
  49. package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
  50. package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
  51. package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
  52. package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
  53. package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
  54. package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
  55. package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
  56. package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
  57. package/package.json +9 -4
  58. package/src/core/_module-installer/install-config.yaml +5 -1
  59. package/src/core/resources/excalidraw/library-loader.md +2 -2
  60. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
  61. package/src/core/workflows/brainstorming/workflow.md +1 -1
  62. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
  63. package/src/core/workflows/party-mode/workflow.md +2 -3
  64. package/src/modules/bmb/README.md +1 -1
  65. package/src/modules/bmb/_module-installer/install-config.yaml +4 -9
  66. package/src/modules/bmb/_module-installer/installer.js +76 -0
  67. package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
  68. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
  69. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
  70. package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
  71. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
  72. package/src/modules/bmb/docs/workflows/architecture.md +1 -1
  73. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
  74. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
  75. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
  76. package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
  77. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
  78. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
  79. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  80. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
  81. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
  82. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
  83. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
  84. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
  85. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
  86. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
  87. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
  88. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
  89. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
  90. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
  91. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
  92. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  93. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
  95. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
  96. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
  97. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
  98. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
  99. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
  100. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
  101. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
  102. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
  103. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
  104. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
  105. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
  106. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
  107. package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
  108. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
  109. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
  110. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
  111. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
  112. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
  113. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
  114. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
  115. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
  116. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
  117. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +308 -0
  118. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +336 -0
  119. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
  120. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
  121. package/src/modules/bmb/workflows/create-module/templates/install-config.template.yaml +53 -0
  122. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
  123. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
  124. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
  125. package/src/modules/bmb/workflows/create-module/validation.md +126 -0
  126. package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
  133. package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +70 -24
  134. package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
  135. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
  136. package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
  137. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
  138. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
  139. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
  140. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
  141. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
  142. package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
  143. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
  144. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
  145. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
  146. package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
  147. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
  148. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
  149. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
  150. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
  151. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
  152. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
  153. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
  154. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
  155. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
  156. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
  157. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
  158. package/src/modules/bmm/_module-installer/install-config.yaml +1 -1
  159. package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
  160. package/src/modules/bmm/agents/architect.agent.yaml +1 -5
  161. package/src/modules/bmm/agents/pm.agent.yaml +5 -5
  162. package/src/modules/bmm/docs/README.md +23 -1
  163. package/src/modules/bmm/docs/agents-guide.md +16 -35
  164. package/src/modules/bmm/docs/brownfield-guide.md +17 -30
  165. package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
  166. package/src/modules/bmm/docs/faq.md +6 -39
  167. package/src/modules/bmm/docs/glossary.md +11 -24
  168. package/src/modules/bmm/docs/images/README.md +37 -0
  169. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
  170. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
  171. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  172. package/src/modules/bmm/docs/quick-start.md +9 -25
  173. package/src/modules/bmm/docs/test-architecture.md +6 -6
  174. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  175. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  176. package/src/modules/bmm/docs/workflows-implementation.md +143 -3
  177. package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
  178. package/src/modules/bmm/tasks/daily-standup.xml +85 -0
  179. package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  180. package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
  181. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
  182. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
  183. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
  184. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
  185. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
  186. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
  187. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
  188. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
  189. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
  190. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
  191. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
  192. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
  193. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
  194. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
  195. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
  196. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
  197. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
  198. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
  199. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
  200. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
  201. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
  202. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
  203. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
  204. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
  205. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
  206. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
  207. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
  208. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
  209. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
  210. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
  211. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
  212. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
  213. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
  214. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
  215. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
  216. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
  217. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
  218. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
  219. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
  220. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
  221. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
  222. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
  223. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
  224. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
  225. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  226. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  227. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  228. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  229. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  230. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  231. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  232. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  233. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  234. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  235. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  236. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  237. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  238. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  239. package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
  240. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
  241. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
  242. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
  243. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  244. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  245. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
  246. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  247. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  248. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
  249. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
  250. package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
  251. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  252. package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
  253. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  254. package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
  255. package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  256. package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  257. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  258. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  259. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
  260. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
  261. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
  262. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
  263. package/tools/cli/README.md +3 -3
  264. package/tools/cli/commands/build.js +9 -184
  265. package/tools/cli/commands/install.js +1 -6
  266. package/tools/cli/installers/lib/core/config-collector.js +70 -10
  267. package/tools/cli/installers/lib/core/installer.js +153 -388
  268. package/tools/cli/installers/lib/core/manifest-generator.js +91 -30
  269. package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
  270. package/tools/cli/installers/lib/custom/handler.js +266 -0
  271. package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
  272. package/tools/cli/installers/lib/ide/auggie.js +19 -7
  273. package/tools/cli/installers/lib/ide/crush.js +19 -6
  274. package/tools/cli/installers/lib/ide/cursor.js +29 -13
  275. package/tools/cli/installers/lib/ide/gemini.js +49 -1
  276. package/tools/cli/installers/lib/ide/iflow.js +20 -1
  277. package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
  278. package/tools/cli/installers/lib/ide/opencode.js +3 -3
  279. package/tools/cli/installers/lib/ide/roo.js +120 -184
  280. package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
  281. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
  282. package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
  283. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
  284. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
  285. package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
  286. package/tools/cli/installers/lib/modules/manager.js +486 -53
  287. package/tools/cli/lib/agent/compiler.js +54 -5
  288. package/tools/cli/lib/agent/installer.js +127 -27
  289. package/tools/cli/lib/config.js +2 -1
  290. package/tools/cli/lib/ui.js +65 -4
  291. package/tools/cli/lib/yaml-xml-builder.js +0 -15
  292. package/tools/schema/agent.js +149 -89
  293. package/tools/validate-svg-changes.sh +356 -0
  294. package/custom/src/agents/commit-poet/installation-guide.md +0 -36
  295. package/custom/src/agents/toolsmith/installation-guide.md +0 -36
  296. package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
  297. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
  298. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
  299. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
  300. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
  301. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
  302. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
  303. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
  304. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
  305. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
  306. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
  307. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
  308. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
  309. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
  310. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
  311. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
  312. package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
  313. package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
  314. package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
  315. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
  316. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
  317. package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
  318. package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
  319. package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
  320. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
  321. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
  322. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
  323. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  324. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  325. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  326. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
  327. package/tools/cli/commands/agent-install.js +0 -409
  328. package/tools/cli/commands/cleanup.js +0 -141
  329. /package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +0 -0
  330. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
  331. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
  332. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
  333. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +0 -0
  334. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +0 -0
  335. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
@@ -68,12 +68,6 @@ development_status:
68
68
  </step>
69
69
 
70
70
  <step n="3" goal="Apply intelligent status detection">
71
- <action>For each epic, check if tech context file exists:</action>
72
-
73
- - Check: `{output_folder}/epic-{num}-context.md`
74
- - If exists → set epic status to `contexted`
75
- - Else → keep as `backlog`
76
-
77
71
  <action>For each story, detect current status by checking files:</action>
78
72
 
79
73
  **Story file detection:**
@@ -93,7 +87,7 @@ development_status:
93
87
 
94
88
  **Status Flow Reference:**
95
89
 
96
- - Epic: `backlog` → `contexted`
90
+ - Epic: `backlog` → `in-progress` → `done`
97
91
  - Story: `backlog` → `drafted` → `ready-for-dev` → `in-progress` → `review` → `done`
98
92
  - Retrospective: `optional` ↔ `completed`
99
93
  </step>
@@ -113,15 +107,20 @@ development_status:
113
107
  # STATUS DEFINITIONS:
114
108
  # ==================
115
109
  # Epic Status:
116
- # - backlog: Epic exists in epic file but not contexted
117
- # - contexted: Epic tech context created (required before drafting stories)
110
+ # - backlog: Epic not yet started
111
+ # - in-progress: Epic actively being worked on
112
+ # - done: All stories in epic completed
113
+ #
114
+ # Epic Status Transitions:
115
+ # - backlog → in-progress: Automatically when first story is created (via create-story)
116
+ # - in-progress → done: Manually when all stories reach 'done' status
118
117
  #
119
118
  # Story Status:
120
119
  # - backlog: Story only exists in epic file
121
120
  # - drafted: Story file created in stories folder
122
121
  # - ready-for-dev: Draft approved and story context created
123
122
  # - in-progress: Developer actively working on implementation
124
- # - review: Under SM review (via code-review workflow)
123
+ # - review: Ready for code review (via Dev's code-review workflow)
125
124
  # - done: Story completed
126
125
  #
127
126
  # Retrospective Status:
@@ -130,10 +129,10 @@ development_status:
130
129
  #
131
130
  # WORKFLOW NOTES:
132
131
  # ===============
133
- # - Epics should be 'contexted' before stories can be 'drafted'
132
+ # - Epic transitions to 'in-progress' automatically when first story is created
134
133
  # - Stories can be worked in parallel if team capacity allows
135
134
  # - SM typically drafts next story after previous one is 'done' to incorporate learnings
136
- # - Dev moves story to 'review', SM reviews, then Dev moves to 'done'
135
+ # - Dev moves story to 'review', then runs code-review (fresh context, different LLM recommended)
137
136
 
138
137
  generated: { date }
139
138
  project: { project_name }
@@ -164,8 +163,7 @@ development_status:
164
163
 
165
164
  - Total epics: {{epic_count}}
166
165
  - Total stories: {{story_count}}
167
- - Epics contexted: {{contexted_count}}
168
- - Stories in progress: {{in_progress_count}}
166
+ - Epics in-progress: {{in_progress_count}}
169
167
  - Stories done: {{done_count}}
170
168
 
171
169
  <action>Display completion summary to {user_name} in {communication_language}:</action>
@@ -175,8 +173,7 @@ development_status:
175
173
  - **File Location:** {status_file}
176
174
  - **Total Epics:** {{epic_count}}
177
175
  - **Total Stories:** {{story_count}}
178
- - **Contexted Epics:** {{contexted_count}}
179
- - **Stories In Progress:** {{in_progress_count}}
176
+ - **Epics In Progress:** {{epics_in_progress_count}}
180
177
  - **Stories Completed:** {{done_count}}
181
178
 
182
179
  **Next Steps:**
@@ -197,11 +194,12 @@ development_status:
197
194
  **Epic Status Flow:**
198
195
 
199
196
  ```
200
- backlog → contexted
197
+ backlog → in-progress → done
201
198
  ```
202
199
 
203
- - **backlog**: Epic exists in epic file but tech context not created
204
- - **contexted**: Epic tech context has been generated (prerequisite for story drafting)
200
+ - **backlog**: Epic not yet started
201
+ - **in-progress**: Epic actively being worked on (stories being drafted/implemented)
202
+ - **done**: All stories in epic completed
205
203
 
206
204
  **Story Status Flow:**
207
205
 
@@ -213,7 +211,7 @@ backlog → drafted → ready-for-dev → in-progress → review → done
213
211
  - **drafted**: Story file created (e.g., `stories/1-3-plant-naming.md`)
214
212
  - **ready-for-dev**: Draft approved + story context created
215
213
  - **in-progress**: Developer actively working
216
- - **review**: Under SM review (via code-review workflow)
214
+ - **review**: Ready for code review (via Dev's code-review workflow)
217
215
  - **done**: Completed
218
216
 
219
217
  **Retrospective Status:**
@@ -227,7 +225,7 @@ optional ↔ completed
227
225
 
228
226
  ### Guidelines
229
227
 
230
- 1. **Epic Context Recommended**: Epics should be `contexted` before stories can be `drafted`
228
+ 1. **Epic Activation**: Mark epic as `in-progress` when starting work on its first story
231
229
  2. **Sequential Default**: Stories are typically worked in order, but parallel work is supported
232
230
  3. **Parallel Work Supported**: Multiple stories can be `in-progress` if team capacity allows
233
231
  4. **Review Before Done**: Stories should pass through `review` before `done`
@@ -11,17 +11,17 @@
11
11
  # STATUS DEFINITIONS:
12
12
  # ==================
13
13
  # Epic Status:
14
- # - backlog: Epic exists in epic file but not contexted
15
- # - contexted or in-progress
16
- # - done: Epic completed
14
+ # - backlog: Epic not yet started
15
+ # - in-progress: Epic actively being worked on
16
+ # - done: All stories in epic completed
17
17
  #
18
18
  # Story Status:
19
19
  # - backlog: Story only exists in epic file
20
- # - drafted: Story file created in stories folder by *create-story
21
- # - ready-for-dev: Draft approved and story context created by *story-ready
22
- # - in-progress: Developer actively working on implementation by *dev-story
23
- # - review: Implementation complete, ready for review by *code-review
24
- # - done: Story completed by *story-done
20
+ # - drafted: Story file created in stories folder
21
+ # - ready-for-dev: Draft approved, ready for development
22
+ # - in-progress: Developer actively working on implementation
23
+ # - review: Implementation complete, ready for review
24
+ # - done: Story completed
25
25
  #
26
26
  # Retrospective Status:
27
27
  # - optional: Can be completed but not required
@@ -29,9 +29,9 @@
29
29
  #
30
30
  # WORKFLOW NOTES:
31
31
  # ===============
32
- # - Epics should be marked `in-progress` before stories can be marked beyond `backlog`
32
+ # - Mark epic as 'in-progress' when starting work on its first story
33
33
  # - SM typically drafts next story ONLY after previous one is 'done' to incorporate learnings
34
- # - Dev moves story to 'review', dev reviews, then Dev moves to 'done'
34
+ # - Dev moves story to 'review', then Dev runs code-review (fresh context, ideally different LLM)
35
35
 
36
36
  # EXAMPLE STRUCTURE (your actual epics/stories will replace these):
37
37
 
@@ -0,0 +1,174 @@
1
+ # Sprint Status - Multi-Mode Service
2
+
3
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
+ <critical>You MUST have already loaded and processed: {project-root}/{bmad_folder}/bmm/workflows/4-implementation/sprint-status/workflow.yaml</critical>
5
+ <critical>Modes: interactive (default), validate, data</critical>
6
+ <critical>⚠️ ABSOLUTELY NO TIME ESTIMATES. Do NOT mention hours, days, weeks, or timelines.</critical>
7
+
8
+ <workflow>
9
+
10
+ <step n="0" goal="Determine execution mode">
11
+ <action>Set mode = {{mode}} if provided by caller; otherwise mode = "interactive"</action>
12
+
13
+ <check if="mode == data">
14
+ <action>Jump to Step 20</action>
15
+ </check>
16
+
17
+ <check if="mode == validate">
18
+ <action>Jump to Step 30</action>
19
+ </check>
20
+
21
+ <check if="mode == interactive">
22
+ <action>Continue to Step 1</action>
23
+ </check>
24
+ </step>
25
+
26
+ <step n="1" goal="Locate sprint status file">
27
+ <action>Try {sprint_status_file}</action>
28
+ <check if="file not found">
29
+ <output>❌ sprint-status.yaml not found.
30
+ Run `/bmad:bmm:workflows:sprint-planning` to generate it, then rerun sprint-status.</output>
31
+ <action>Exit workflow</action>
32
+ </check>
33
+ <action>Continue to Step 2</action>
34
+ </step>
35
+
36
+ <step n="2" goal="Read and parse sprint-status.yaml">
37
+ <action>Read the FULL file: {sprint_status_file}</action>
38
+ <action>Parse fields: generated, project, project_key, tracking_system, story_location</action>
39
+ <action>Parse development_status map. Classify keys:</action>
40
+ - Epics: keys starting with "epic-" (and not ending with "-retrospective")
41
+ - Retrospectives: keys ending with "-retrospective"
42
+ - Stories: everything else (e.g., 1-2-login-form)
43
+ <action>Count story statuses: backlog, drafted, ready-for-dev, in-progress, review, done</action>
44
+ <action>Count epic statuses: backlog, contexted</action>
45
+ <action>Detect risks:</action>
46
+ - Stories in review but no reviewer assigned context → suggest `/bmad:bmm:workflows:code-review`
47
+ - Stories in in-progress with no ready-for-dev items behind them → keep focus on the active story
48
+ - All epics backlog/contexted but no stories drafted → prompt to run `/bmad:bmm:workflows:create-story`
49
+ </step>
50
+
51
+ <step n="3" goal="Select next action recommendation">
52
+ <action>Pick the next recommended workflow using priority:</action>
53
+ 1. If any story status == in-progress → recommend `dev-story` for the first in-progress story
54
+ 2. Else if any story status == review → recommend `code-review` for the first review story
55
+ 3. Else if any story status == ready-for-dev → recommend `dev-story`
56
+ 4. Else if any story status == drafted → recommend `story-ready`
57
+ 5. Else if any story status == backlog → recommend `create-story`
58
+ 6. Else if any epic status == backlog → recommend `epic-tech-context`
59
+ 7. Else if retrospectives are optional → recommend `retrospective`
60
+ 8. Else → All implementation items done; suggest `workflow-status` to plan next phase
61
+ <action>Store selected recommendation as: next_story_id, next_workflow_id, next_agent (SM/DEV as appropriate)</action>
62
+ </step>
63
+
64
+ <step n="4" goal="Display summary">
65
+ <output>
66
+ ## 📊 Sprint Status
67
+
68
+ - Project: {{project}} ({{project_key}})
69
+ - Tracking: {{tracking_system}}
70
+ - Status file: {sprint_status_file}
71
+
72
+ **Stories:** backlog {{count_backlog}}, drafted {{count_drafted}}, ready-for-dev {{count_ready}}, in-progress {{count_in_progress}}, review {{count_review}}, done {{count_done}}
73
+
74
+ **Epics:** backlog {{epic_backlog}}, contexted {{epic_contexted}}
75
+
76
+ **Next Recommendation:** /bmad:bmm:workflows:{{next_workflow_id}} ({{next_story_id}})
77
+
78
+ {{#if risks}}
79
+ **Risks:**
80
+ {{#each risks}}
81
+
82
+ - {{this}}
83
+ {{/each}}
84
+ {{/if}}
85
+
86
+ {{#if by_epic}}
87
+ **Per Epic:**
88
+ {{#each by_epic}}
89
+
90
+ - {{epic_id}}: context={{context_status}}, stories → backlog {{backlog}}, drafted {{drafted}}, ready {{ready_for_dev}}, in-progress {{in_progress}}, review {{review}}, done {{done}}
91
+ {{/each}}
92
+ {{/if}}
93
+ </output>
94
+ </step>
95
+
96
+ <step n="5" goal="Offer actions">
97
+ <ask>Pick an option:
98
+ 1) Run recommended workflow now
99
+ 2) Show all stories grouped by status
100
+ 3) Show raw sprint-status.yaml
101
+ 4) Exit
102
+ Choice:</ask>
103
+
104
+ <check if="choice == 1">
105
+ <output>Run `/bmad:bmm:workflows:{{next_workflow_id}}`.
106
+ If the command targets a story, set `story_key={{next_story_id}}` when prompted.</output>
107
+ </check>
108
+
109
+ <check if="choice == 2">
110
+ <output>
111
+ ### Stories by Status
112
+ - In Progress: {{stories_in_progress}}
113
+ - Review: {{stories_in_review}}
114
+ - Ready for Dev: {{stories_ready_for_dev}}
115
+ - Drafted: {{stories_drafted}}
116
+ - Backlog: {{stories_backlog}}
117
+ - Done: {{stories_done}}
118
+ </output>
119
+ </check>
120
+
121
+ <check if="choice == 3">
122
+ <action>Display the full contents of {sprint_status_file}</action>
123
+ </check>
124
+
125
+ <check if="choice == 4">
126
+ <action>Exit workflow</action>
127
+ </check>
128
+ </step>
129
+
130
+ <!-- ========================= -->
131
+ <!-- Data mode for other flows -->
132
+ <!-- ========================= -->
133
+
134
+ <step n="20" goal="Data mode output">
135
+ <action>Load and parse {sprint_status_file} same as Step 2</action>
136
+ <action>Compute recommendation same as Step 3</action>
137
+ <template-output>next_workflow_id = {{next_workflow_id}}</template-output>
138
+ <template-output>next_story_id = {{next_story_id}}</template-output>
139
+ <template-output>count_backlog = {{count_backlog}}</template-output>
140
+ <template-output>count_drafted = {{count_drafted}}</template-output>
141
+ <template-output>count_ready = {{count_ready}}</template-output>
142
+ <template-output>count_in_progress = {{count_in_progress}}</template-output>
143
+ <template-output>count_review = {{count_review}}</template-output>
144
+ <template-output>count_done = {{count_done}}</template-output>
145
+ <template-output>epic_backlog = {{epic_backlog}}</template-output>
146
+ <template-output>epic_contexted = {{epic_contexted}}</template-output>
147
+ <template-output>warnings = {{risks}}</template-output>
148
+ <action>Return to caller</action>
149
+ </step>
150
+
151
+ <!-- ========================= -->
152
+ <!-- Validate mode -->
153
+ <!-- ========================= -->
154
+
155
+ <step n="30" goal="Validate sprint-status file">
156
+ <action>Check that {sprint_status_file} exists</action>
157
+ <check if="missing">
158
+ <template-output>is_valid = false</template-output>
159
+ <template-output>error = "sprint-status.yaml missing"</template-output>
160
+ <template-output>suggestion = "Run sprint-planning to create it"</template-output>
161
+ <action>Return</action>
162
+ </check>
163
+ <action>Read file and verify it has a development_status section with at least one entry</action>
164
+ <check if="validation fails">
165
+ <template-output>is_valid = false</template-output>
166
+ <template-output>error = "development_status missing or empty"</template-output>
167
+ <template-output>suggestion = "Re-run sprint-planning or repair the file manually"</template-output>
168
+ <action>Return</action>
169
+ </check>
170
+ <template-output>is_valid = true</template-output>
171
+ <template-output>message = "sprint-status.yaml present and parsable"</template-output>
172
+ </step>
173
+
174
+ </workflow>
@@ -0,0 +1,35 @@
1
+ # Sprint Status - Implementation Tracker
2
+ name: sprint-status
3
+ description: "Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow."
4
+ author: "BMad"
5
+
6
+ # Critical variables from config
7
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
8
+ output_folder: "{config_source}:output_folder"
9
+ user_name: "{config_source}:user_name"
10
+ communication_language: "{config_source}:communication_language"
11
+ document_output_language: "{config_source}:document_output_language"
12
+ date: system-generated
13
+ sprint_artifacts: "{config_source}:sprint_artifacts"
14
+
15
+ # Workflow components
16
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/4-implementation/sprint-status"
17
+ instructions: "{installed_path}/instructions.md"
18
+
19
+ # Inputs
20
+ variables:
21
+ sprint_status_file: "{sprint_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
22
+ tracking_system: "file-system"
23
+
24
+ # Smart input file references
25
+ input_file_patterns:
26
+ sprint_status:
27
+ description: "Sprint status file generated by sprint-planning"
28
+ whole: "{sprint_artifacts}/sprint-status.yaml || {output_folder}/sprint-status.yaml"
29
+ load_strategy: "FULL_LOAD"
30
+
31
+ # Standalone so IDE commands get generated
32
+ standalone: true
33
+
34
+ # No web bundle needed
35
+ web_bundle: false
@@ -32,18 +32,115 @@
32
32
  </check>
33
33
 
34
34
  <check if="Mode B">
35
- <ask>**[t] Plan first** - Create tech-spec then implement
35
+
36
+ <!-- Escalation Threshold: Lightweight check - should we invoke scale-adaptive? -->
37
+
38
+ <action>Evaluate escalation threshold against user input (minimal tokens, no file loading):
39
+
40
+ **Triggers escalation** (if 2+ signals present):
41
+
42
+ - Multiple components mentioned (e.g., dashboard + api + database)
43
+ - System-level language (e.g., platform, integration, architecture)
44
+ - Uncertainty about approach (e.g., "how should I", "best way to")
45
+ - Multi-layer scope (e.g., UI + backend + data together)
46
+ - Extended timeframe (e.g., "this week", "over the next few days")
47
+
48
+ **Reduces signal:**
49
+
50
+ - Simplicity markers (e.g., "just", "quickly", "fix", "bug", "typo", "simple", "basic", "minor")
51
+ - Single file/component focus
52
+ - Confident, specific request
53
+
54
+ Use holistic judgment, not mechanical keyword matching.</action>
55
+
56
+ <!-- No Escalation: Simple request, offer existing choice -->
57
+ <check if="escalation threshold NOT triggered">
58
+ <ask>**[t] Plan first** - Create tech-spec then implement
36
59
  **[e] Execute directly** - Start now</ask>
37
60
 
38
- <check if="t">
39
- <action>Load and execute {create_tech_spec_workflow}</action>
40
- <action>Continue to implementation after spec complete</action>
61
+ <check if="t">
62
+ <action>Load and execute {create_tech_spec_workflow}</action>
63
+ <action>Continue to implementation after spec complete</action>
64
+ </check>
65
+
66
+ <check if="e">
67
+ <ask>Any additional guidance before I begin? (patterns, files, constraints) Or "go" to start.</ask>
68
+ <goto>step_2</goto>
69
+ </check>
70
+
41
71
  </check>
42
72
 
43
- <check if="e">
44
- <ask>Any additional guidance before I begin? (patterns, files, constraints) Or "go" to start.</ask>
45
- <goto>step_2</goto>
73
+ <!-- Escalation Triggered: Load scale-adaptive and evaluate level -->
74
+ <check if="escalation threshold triggered">
75
+ <action>Load {project_levels} and evaluate user input against detection_hints.keywords</action>
76
+ <action>Determine level (0-4) using scale-adaptive definitions</action>
77
+
78
+ <!-- Level 0: Scale-adaptive confirms simple, fall back to standard choice -->
79
+ <check if="level 0">
80
+ <ask>**[t] Plan first** - Create tech-spec then implement
81
+
82
+ **[e] Execute directly** - Start now</ask>
83
+
84
+ <check if="t">
85
+ <action>Load and execute {create_tech_spec_workflow}</action>
86
+ <action>Continue to implementation after spec complete</action>
87
+ </check>
88
+
89
+ <check if="e">
90
+ <ask>Any additional guidance before I begin? (patterns, files, constraints) Or "go" to start.</ask>
91
+ <goto>step_2</goto>
92
+ </check>
93
+ </check>
94
+
95
+ <check if="level 1 or 2 or couldn't determine level">
96
+ <ask>This looks like a focused feature with multiple components.
97
+
98
+ **[t] Create tech-spec first** (recommended)
99
+ **[w] Seems bigger than quick-dev** — see what BMad Method recommends (workflow-init)
100
+ **[e] Execute directly**</ask>
101
+
102
+ <check if="t">
103
+ <action>Load and execute {create_tech_spec_workflow}</action>
104
+ <action>Continue to implementation after spec complete</action>
105
+ </check>
106
+
107
+ <check if="w">
108
+ <action>Load and execute {workflow_init}</action>
109
+ <action>EXIT quick-dev - user has been routed to BMad Method</action>
110
+ </check>
111
+
112
+ <check if="e">
113
+ <ask>Any additional guidance before I begin? (patterns, files, constraints) Or "go" to start.</ask>
114
+ <goto>step_2</goto>
115
+ </check>
116
+ </check>
117
+
118
+ <!-- Level 3+: BMad Method territory, recommend workflow-init -->
119
+ <check if="level 3 or higher">
120
+ <ask>This sounds like platform/system work.
121
+
122
+ **[w] Start BMad Method** (recommended) (workflow-init)
123
+ **[t] Create tech-spec** (lighter planning)
124
+ **[e] Execute directly** - feeling lucky</ask>
125
+
126
+ <check if="w">
127
+ <action>Load and execute {workflow_init}</action>
128
+ <action>EXIT quick-dev - user has been routed to BMad Method</action>
129
+ </check>
130
+
131
+ <check if="t">
132
+ <action>Load and execute {create_tech_spec_workflow}</action>
133
+ <action>Continue to implementation after spec complete</action>
134
+ </check>
135
+
136
+ <check if="e">
137
+ <ask>Any additional guidance before I begin? (patterns, files, constraints) Or "go" to start.</ask>
138
+ <goto>step_2</goto>
139
+ </check>
140
+ </check>
141
+
46
142
  </check>
143
+
47
144
  </check>
48
145
 
49
146
  </step>
@@ -25,5 +25,9 @@ create_tech_spec_workflow: "{project-root}/{bmad_folder}/bmm/workflows/bmad-quic
25
25
  party_mode_exec: "{project-root}/{bmad_folder}/core/workflows/party-mode/workflow.md"
26
26
  advanced_elicitation: "{project-root}/{bmad_folder}/core/tasks/advanced-elicitation.xml"
27
27
 
28
+ # Routing resources (lazy-loaded)
29
+ project_levels: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/project-levels.yaml"
30
+ workflow_init: "{project-root}/{bmad_folder}/bmm/workflows/workflow-status/init/workflow.yaml"
31
+
28
32
  standalone: true
29
33
  web_bundle: false
@@ -196,7 +196,7 @@ Your choice [1/2/3]:
196
196
 
197
197
  - Mode: {{workflow_mode}}
198
198
  - Scan Level: {{scan_level}}
199
- - Output: {output_folder}/bmm-index.md and related files
199
+ - Output: {output_folder}/index.md and related files
200
200
 
201
201
  {{#if status_file_found}}
202
202
  **Status Updated:**
@@ -20,7 +20,7 @@
20
20
 
21
21
  {{#if has_api_routes}}
22
22
 
23
- ### API Routes ({{api_route_count}} endpoints found)
23
+ ## API Routes ({{api_route_count}} endpoints found)
24
24
 
25
25
  {{#each api_route_groups}}
26
26
  {{group_index}}. {{group_name}} - {{endpoint_count}} endpoints in `{{path}}`
@@ -29,7 +29,7 @@
29
29
 
30
30
  {{#if has_feature_modules}}
31
31
 
32
- ### Feature Modules ({{feature_count}} features)
32
+ ## Feature Modules ({{feature_count}} features)
33
33
 
34
34
  {{#each feature_modules}}
35
35
  {{module_index}}. {{module_name}} - {{file_count}} files in `{{path}}`
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: Generate Project Context
2
+ name: generate-project-context
3
3
  description: Creates a concise project_context.md file with critical rules and patterns that AI agents must follow when implementing code. Optimized for LLM context efficiency.
4
4
  ---
5
5
 
@@ -296,7 +296,7 @@ test('should do something', async ({ {fixtureName} }) => {
296
296
  4. **Work one test at a time** (red → green for each)
297
297
  5. **Share progress** in daily standup
298
298
  6. **When all tests pass**, refactor code for quality
299
- 7. **When refactoring complete**, run `bmad sm story-done` to move story to DONE
299
+ 7. **When refactoring complete**, manually update story status to 'done' in sprint-status.yaml
300
300
 
301
301
  ---
302
302
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  - [ ] Git repository initialized (`.git/` exists)
6
6
  - [ ] Git remote configured (`git remote -v` shows origin)
7
- - [ ] Test framework configured (playwright.config._ or cypress.config._)
7
+ - [ ] Test framework configured (`playwright.config._` or `cypress.config._`)
8
8
  - [ ] Local tests pass (`npm run test:e2e` succeeds)
9
9
  - [ ] Team agrees on CI platform
10
10
  - [ ] Access to CI platform settings (if updating)
@@ -27,10 +27,21 @@ jobs:
27
27
  steps:
28
28
  - uses: actions/checkout@v4
29
29
 
30
+ - name: Determine Node version
31
+ id: node-version
32
+ run: |
33
+ if [ -f .nvmrc ]; then
34
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
35
+ echo "Using Node from .nvmrc"
36
+ else
37
+ echo "value=24" >> "$GITHUB_OUTPUT"
38
+ echo "Using default Node 24 (current LTS)"
39
+ fi
40
+
30
41
  - name: Setup Node.js
31
42
  uses: actions/setup-node@v4
32
43
  with:
33
- node-version-file: ".nvmrc"
44
+ node-version: ${{ steps.node-version.outputs.value }}
34
45
  cache: "npm"
35
46
 
36
47
  - name: Install dependencies
@@ -54,10 +65,21 @@ jobs:
54
65
  steps:
55
66
  - uses: actions/checkout@v4
56
67
 
68
+ - name: Determine Node version
69
+ id: node-version
70
+ run: |
71
+ if [ -f .nvmrc ]; then
72
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
73
+ echo "Using Node from .nvmrc"
74
+ else
75
+ echo "value=22" >> "$GITHUB_OUTPUT"
76
+ echo "Using default Node 22 (current LTS)"
77
+ fi
78
+
57
79
  - name: Setup Node.js
58
80
  uses: actions/setup-node@v4
59
81
  with:
60
- node-version-file: ".nvmrc"
82
+ node-version: ${{ steps.node-version.outputs.value }}
61
83
  cache: "npm"
62
84
 
63
85
  - name: Cache Playwright browsers
@@ -99,10 +121,21 @@ jobs:
99
121
  steps:
100
122
  - uses: actions/checkout@v4
101
123
 
124
+ - name: Determine Node version
125
+ id: node-version
126
+ run: |
127
+ if [ -f .nvmrc ]; then
128
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
129
+ echo "Using Node from .nvmrc"
130
+ else
131
+ echo "value=22" >> "$GITHUB_OUTPUT"
132
+ echo "Using default Node 22 (current LTS)"
133
+ fi
134
+
102
135
  - name: Setup Node.js
103
136
  uses: actions/setup-node@v4
104
137
  with:
105
- node-version-file: ".nvmrc"
138
+ node-version: ${{ steps.node-version.outputs.value }}
106
139
  cache: "npm"
107
140
 
108
141
  - name: Cache Playwright browsers