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
@@ -138,12 +138,12 @@ Epic/Release Gate → TEA: *nfr-assess, *trace Phase 2 (release decision)
138
138
  **Standard agents**: 1-3 workflows per phase
139
139
  **TEA**: 8 workflows across Phase 3, Phase 4, and Release Gate
140
140
 
141
- | Phase | TEA Workflows | Frequency | Purpose |
142
- | ----------- | ----------------------------------------------------- | ---------------- | ---------------------------------------------- |
143
- | **Phase 2** | (none) | - | Planning phase - PM defines requirements |
144
- | **Phase 3** | *framework, *ci | Once per project | Setup test infrastructure AFTER architecture |
145
- | **Phase 4** | *test-design, *atdd, *automate, *test-review, \*trace | Per epic/story | Test planning per epic, then per-story testing |
146
- | **Release** | *nfr-assess, *trace (Phase 2: gate) | Per epic/release | Go/no-go decision |
141
+ | Phase | TEA Workflows | Frequency | Purpose |
142
+ | ----------- | --------------------------------------------------------- | ---------------- | ---------------------------------------------- |
143
+ | **Phase 2** | (none) | - | Planning phase - PM defines requirements |
144
+ | **Phase 3** | \*framework, \*ci | Once per project | Setup test infrastructure AFTER architecture |
145
+ | **Phase 4** | \*test-design, \*atdd, \*automate, \*test-review, \*trace | Per epic/story | Test planning per epic, then per-story testing |
146
+ | **Release** | \*nfr-assess, \*trace (Phase 2: gate) | Per epic/release | Go/no-go decision |
147
147
 
148
148
  **Note**: `*trace` is a two-phase workflow: Phase 1 (traceability) + Phase 2 (gate decision). This reduces cognitive load while maintaining natural workflow.
149
149
 
@@ -0,0 +1,680 @@
1
+ # BMM Troubleshooting Guide
2
+
3
+ Common issues and solutions for the BMad Method Module.
4
+
5
+ ---
6
+
7
+ ## Quick Diagnosis
8
+
9
+ **Use this flowchart to find your issue:**
10
+
11
+ ```mermaid
12
+ flowchart TD
13
+ START{What's the problem?}
14
+
15
+ START -->|Can't get started| SETUP[Setup & Installation Issues]
16
+ START -->|Wrong level detected| LEVEL[Level Detection Problems]
17
+ START -->|Workflow not working| WORKFLOW[Workflow Issues]
18
+ START -->|Agent lacks context| CONTEXT[Context & Documentation Issues]
19
+ START -->|Implementation problems| IMPL[Implementation Issues]
20
+ START -->|Files/paths wrong| FILES[File & Path Issues]
21
+
22
+ style START fill:#ffb,stroke:#333,stroke-width:2px
23
+ style SETUP fill:#bfb,stroke:#333,stroke-width:2px
24
+ style LEVEL fill:#bbf,stroke:#333,stroke-width:2px
25
+ style WORKFLOW fill:#fbf,stroke:#333,stroke-width:2px
26
+ style CONTEXT fill:#f9f,stroke:#333,stroke-width:2px
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Table of Contents
32
+
33
+ - [Setup and Installation Issues](#setup-and-installation-issues)
34
+ - [Level Detection Problems](#level-detection-problems)
35
+ - [Workflow Issues](#workflow-issues)
36
+ - [Context and Documentation Issues](#context-and-documentation-issues)
37
+ - [Implementation Issues](#implementation-issues)
38
+ - [File and Path Issues](#file-and-path-issues)
39
+ - [Agent Behavior Issues](#agent-behavior-issues)
40
+ - [Integration Issues (Brownfield)](#integration-issues-brownfield)
41
+
42
+ ---
43
+
44
+ ## Setup and Installation Issues
45
+
46
+ ### Problem: BMM not found after installation
47
+
48
+ **Symptoms:**
49
+
50
+ - `bmad` command not recognized
51
+ - Agent files not accessible
52
+ - Workflows don't load
53
+
54
+ **Solution:**
55
+
56
+ ```bash
57
+ # Check if BMM is installed
58
+ ls bmad/
59
+
60
+ # If not present, run installer
61
+ npx bmad-method@alpha install
62
+
63
+ # For fresh install
64
+ npx bmad-method@alpha install --skip-version-prompt
65
+ ```
66
+
67
+ ### Problem: Agents don't have menu
68
+
69
+ **Symptoms:**
70
+
71
+ - Load agent file but no menu appears
72
+ - Agent doesn't respond to commands
73
+
74
+ **Solution:**
75
+
76
+ 1. Ensure you're loading the correct agent file path: `bmad/bmm/agents/[agent-name].md`
77
+ 2. Wait a few seconds for agent to initialize
78
+ 3. Try asking "show menu" or "help"
79
+ 4. Check IDE supports Markdown rendering with context
80
+ 5. For Claude Code: Ensure agent file is open in chat context
81
+
82
+ ### Problem: Workflows not found
83
+
84
+ **Symptoms:**
85
+
86
+ - Agent says workflow doesn't exist
87
+ - Menu shows workflow but won't run
88
+
89
+ **Solution:**
90
+
91
+ 1. Check workflow exists: `ls bmad/bmm/workflows/`
92
+ 2. Verify agent has access to workflow (check agent's workflow list)
93
+ 3. Try using menu number instead of workflow name
94
+ 4. Restart chat with agent in fresh session
95
+
96
+ ---
97
+
98
+ ## Level Detection Problems
99
+
100
+ ### Problem: workflow-init suggests wrong level
101
+
102
+ **Symptoms:**
103
+
104
+ - Detects Level 3 but you only need Level 1
105
+ - Suggests Level 1 but project is actually Level 2
106
+ - Can't figure out appropriate level
107
+
108
+ **Solution:**
109
+
110
+ 1. **Override the suggestion** - workflow-init always asks for confirmation, just say "no" and choose correct level
111
+ 2. **Be specific in description** - Use level keywords when describing:
112
+ - "fix bug" → Level 0
113
+ - "add small feature" → Level 1
114
+ - "build dashboard" → Level 2
115
+ 3. **Manual override** - You can always switch levels later if needed
116
+
117
+ **Example:**
118
+
119
+ ```
120
+ workflow-init: "Level 3 project?"
121
+ You: "No, this is just adding OAuth login - Level 1"
122
+ workflow-init: "Got it, creating Level 1 workflow"
123
+ ```
124
+
125
+ ### Problem: Project level unclear
126
+
127
+ **Symptoms:**
128
+
129
+ - Between Level 1 and Level 2
130
+ - Not sure if architecture needed
131
+ - Story count uncertain
132
+
133
+ **Solution:**
134
+ **When in doubt, start smaller:**
135
+
136
+ - Choose Level 1 instead of Level 2
137
+ - You can always run `create-prd` later if needed
138
+ - Level 1 is faster, less overhead
139
+ - Easy to upgrade, hard to downgrade
140
+
141
+ **Decision criteria:**
142
+
143
+ - Single epic with related stories? → Level 1
144
+ - Multiple independent epics? → Level 2
145
+ - Need product-level planning? → Level 2
146
+ - Just need technical plan? → Level 1
147
+
148
+ ### Problem: Old planning docs influencing level detection
149
+
150
+ **Symptoms:**
151
+
152
+ - Old Level 3 PRD in folder
153
+ - Working on new Level 0 bug fix
154
+ - workflow-init suggests Level 3
155
+
156
+ **Solution:**
157
+ workflow-init asks: "Is this work in progress or previous effort?"
158
+
159
+ - Answer: "Previous effort"
160
+ - Then describe your NEW work clearly
161
+ - System will detect level based on NEW work, not old artifacts
162
+
163
+ ---
164
+
165
+ ## Workflow Issues
166
+
167
+ ### Problem: Workflow fails or hangs
168
+
169
+ **Symptoms:**
170
+
171
+ - Workflow starts but doesn't complete
172
+ - Agent stops responding mid-workflow
173
+ - Progress stalls
174
+
175
+ **Solution:**
176
+
177
+ 1. **Check context limits** - Start fresh chat for complex workflows
178
+ 2. **Verify prerequisites**:
179
+ - Phase 2 needs Phase 1 complete (if used)
180
+ - Phase 3 needs Phase 2 complete
181
+ - Phase 4 needs Phase 3 complete (if Level 3-4)
182
+ 3. **Restart workflow** - Load agent in new chat and restart
183
+ 4. **Check status file** - Verify `bmm-workflow-status.md` or `sprint-status.yaml` is present and valid
184
+
185
+ ### Problem: Agent says "workflow not found"
186
+
187
+ **Symptoms:**
188
+
189
+ - Request workflow by name
190
+ - Agent doesn't recognize it
191
+ - Menu doesn't show workflow
192
+
193
+ **Solution:**
194
+
195
+ 1. Check spelling/format - Use exact workflow name or menu shortcut (`*prd` not `*PRD`)
196
+ 2. Verify agent has workflow:
197
+ - PM agent: prd, tech-spec
198
+ - Architect agent: create-architecture, validate-architecture
199
+ - SM agent: sprint-planning, create-story, story-context
200
+ 3. Try menu number instead of name
201
+ 4. Check you're using correct agent for workflow
202
+
203
+ ### Problem: Sprint-planning workflow fails
204
+
205
+ **Symptoms:**
206
+
207
+ - Can't create sprint-status.yaml
208
+ - Epics not extracted from files
209
+ - Status file empty or incorrect
210
+
211
+ **Solution:**
212
+
213
+ 1. **Verify epic files exist**:
214
+ - Level 1: tech-spec with epic
215
+ - Level 2-4: epics.md or sharded epic files
216
+ 2. **Check file format**:
217
+ - Epic files should be valid Markdown
218
+ - Epic headers should be clear (## Epic Name)
219
+ 3. **Run in Phase 4 only** - Ensure Phase 2/3 complete first
220
+ 4. **Check file paths** - Epic files should be in correct output folder
221
+
222
+ ### Problem: story-context generates empty or wrong context
223
+
224
+ **Symptoms:**
225
+
226
+ - Context file created but has no useful content
227
+ - Context doesn't reference existing code
228
+ - Missing technical guidance
229
+
230
+ **Solution:**
231
+
232
+ 1. **Run epic-tech-context first** - story-context builds on epic context
233
+ 2. **Check story file exists** - Verify story was created by create-story
234
+ 3. **For brownfield**:
235
+ - Ensure document-project was run
236
+ - Verify docs/index.md exists with codebase context
237
+ 4. **Try regenerating** - Sometimes needs fresh attempt with more specific story details
238
+
239
+ ---
240
+
241
+ ## Context and Documentation Issues
242
+
243
+ ### Problem: AI agents lack codebase understanding (Brownfield)
244
+
245
+ **Symptoms:**
246
+
247
+ - Suggestions don't align with existing patterns
248
+ - Ignores available components
249
+ - Proposes approaches that conflict with architecture
250
+ - Doesn't reference existing code
251
+
252
+ **Solution:**
253
+
254
+ 1. **Run document-project** - Critical for brownfield projects
255
+ ```
256
+ Load Analyst agent → run document-project
257
+ Choose scan level: Deep (recommended for PRD prep)
258
+ ```
259
+ 2. **Verify docs/index.md exists** - This is master entry point for AI agents
260
+ 3. **Check documentation completeness**:
261
+ - Review generated docs/index.md
262
+ - Ensure key systems are documented
263
+ 4. **Run deep-dive on specific areas** if needed
264
+
265
+ ### Problem: Have documentation but agents can't find it
266
+
267
+ **Symptoms:**
268
+
269
+ - README.md, ARCHITECTURE.md exist
270
+ - AI agents still ask questions answered in docs
271
+ - No docs/index.md file
272
+
273
+ **Solution:**
274
+ **Option 1: Quick fix (2-5min)**
275
+ Run `index-docs` task:
276
+
277
+ - Located at `bmad/core/tasks/index-docs.xml`
278
+ - Scans existing docs and generates index.md
279
+ - Lightweight, just creates navigation
280
+
281
+ **Option 2: Comprehensive (10-30min)**
282
+ Run document-project workflow:
283
+
284
+ - Discovers existing docs in Step 2
285
+ - Generates NEW AI-friendly documentation from codebase
286
+ - Creates index.md linking to BOTH existing and new docs
287
+
288
+ **Why this matters:** AI agents need structured entry point (index.md) to navigate docs efficiently.
289
+
290
+ ### Problem: document-project takes too long
291
+
292
+ **Symptoms:**
293
+
294
+ - Exhaustive scan running for hours
295
+ - Impatient to start planning
296
+
297
+ **Solution:**
298
+ **Choose appropriate scan level:**
299
+
300
+ - **Quick (2-5min)** - Pattern analysis, no source reading - Good for initial overview
301
+ - **Deep (10-30min)** - Reads critical paths - **Recommended for most brownfield projects**
302
+ - **Exhaustive (30-120min)** - Reads all files - Only for migration planning or complete understanding
303
+
304
+ For most brownfield projects, **Deep scan is sufficient**.
305
+
306
+ ---
307
+
308
+ ## Implementation Issues
309
+
310
+ ### Problem: Existing tests breaking (Brownfield)
311
+
312
+ **Symptoms:**
313
+
314
+ - Regression test failures
315
+ - Previously working functionality broken
316
+ - Integration tests failing
317
+
318
+ **Solution:**
319
+
320
+ 1. **Review changes against existing patterns**:
321
+ - Check if new code follows existing conventions
322
+ - Verify API contracts unchanged (unless intentionally versioned)
323
+ 2. **Run test-review workflow** (TEA agent):
324
+ - Analyzes test coverage
325
+ - Identifies regression risks
326
+ - Suggests fixes
327
+ 3. **Add regression testing to DoD**:
328
+ - All existing tests must pass
329
+ - Add integration tests for new code
330
+ 4. **Consider feature flags** for gradual rollout
331
+
332
+ ### Problem: Story takes much longer than estimated
333
+
334
+ **Symptoms:**
335
+
336
+ - Story estimated 4 hours, took 12 hours
337
+ - Acceptance criteria harder than expected
338
+ - Hidden complexity discovered
339
+
340
+ **Solution:**
341
+ **This is normal!** Estimates are estimates. To handle:
342
+
343
+ 1. **Continue until DoD met** - Don't compromise quality
344
+ 2. **Document learnings in retrospective**:
345
+ - What caused the overrun?
346
+ - What should we watch for next time?
347
+ 3. **Consider splitting story** if it's truly two stories
348
+ 4. **Adjust future estimates** based on this data
349
+
350
+ **Don't stress about estimate accuracy** - use them for learning, not judgment.
351
+
352
+ ### Problem: Integration points unclear
353
+
354
+ **Symptoms:**
355
+
356
+ - Not sure how to connect new code to existing
357
+ - Unsure which files to modify
358
+ - Multiple possible integration approaches
359
+
360
+ **Solution:**
361
+
362
+ 1. **For brownfield**:
363
+ - Ensure document-project captured existing architecture
364
+ - Review architecture docs before implementing
365
+ 2. **Check story-context** - Should document integration points
366
+ 3. **In tech-spec/architecture** - Explicitly document:
367
+ - Which existing modules to modify
368
+ - What APIs/services to integrate with
369
+ - Data flow between new and existing code
370
+ 4. **Run integration-planning workflow** (Level 3-4):
371
+ - Architect agent creates integration strategy
372
+
373
+ ### Problem: Inconsistent patterns being introduced
374
+
375
+ **Symptoms:**
376
+
377
+ - New code style doesn't match existing
378
+ - Different architectural approach
379
+ - Not following team conventions
380
+
381
+ **Solution:**
382
+
383
+ 1. **Check convention detection** (Quick Spec Flow):
384
+ - Should detect existing patterns
385
+ - Asks for confirmation before proceeding
386
+ 2. **Review documentation** - Ensure document-project captured patterns
387
+ 3. **Use story-context** - Injects pattern guidance per story
388
+ 4. **Add to code-review checklist**:
389
+ - Pattern adherence
390
+ - Convention consistency
391
+ - Style matching
392
+ 5. **Run retrospective** to identify pattern deviations early
393
+
394
+ ---
395
+
396
+ ## File and Path Issues
397
+
398
+ ### Problem: Output files in wrong location
399
+
400
+ **Symptoms:**
401
+
402
+ - PRD created in wrong folder
403
+ - Story files not where expected
404
+ - Documentation scattered
405
+
406
+ **Solution:**
407
+ Check `bmad/bmm/config.yaml` for configured paths:
408
+
409
+ ```yaml
410
+ output_folder: '{project-root}/docs'
411
+ dev_story_location: '{project-root}/docs/stories'
412
+ ```
413
+
414
+ Default locations:
415
+
416
+ - Planning docs (PRD, epics, architecture): `{output_folder}/`
417
+ - Stories: `{dev_story_location}/`
418
+ - Status files: `{output_folder}/bmm-workflow-status.md`, `{output_folder}/sprint-status.yaml`
419
+
420
+ To change locations, edit config.yaml then re-run workflows.
421
+
422
+ ### Problem: Can't find status file
423
+
424
+ **Symptoms:**
425
+
426
+ - workflow-status says no status file
427
+ - Can't track progress
428
+ - Lost place in workflow
429
+
430
+ **Solution:**
431
+
432
+ 1. **Check default location**: `docs/bmm-workflow-status.md`
433
+ 2. **If missing, reinitialize**:
434
+ ```
435
+ Load Analyst agent → run workflow-init
436
+ ```
437
+ 3. **For Phase 4**: Look for `sprint-status.yaml` in same folder as PRD
438
+ 4. **Search for it**:
439
+ ```bash
440
+ find . -name "bmm-workflow-status.md"
441
+ find . -name "sprint-status.yaml"
442
+ ```
443
+
444
+ ### Problem: Sprint-status.yaml not updating
445
+
446
+ **Symptoms:**
447
+
448
+ - Workflows complete but status unchanged
449
+ - Stories stuck in old status
450
+ - Epic status not progressing
451
+
452
+ **Solution:**
453
+
454
+ 1. **Manual update required** - Most status changes are manual:
455
+ ```yaml
456
+ stories:
457
+ - id: epic-1-story-1
458
+ status: done # Change this manually
459
+ ```
460
+ 2. **Some workflows auto-update**:
461
+ - sprint-planning creates file
462
+ - epic-tech-context changes epic to "contexted"
463
+ - create-story changes story to "drafted"
464
+ - story-context changes to "ready-for-dev"
465
+ - dev-story may auto-update (check workflow)
466
+ 3. **Re-run sprint-planning** to resync if needed
467
+
468
+ ---
469
+
470
+ ## Agent Behavior Issues
471
+
472
+ ### Problem: Agent provides vague or generic responses
473
+
474
+ **Symptoms:**
475
+
476
+ - "Use appropriate framework"
477
+ - "Follow best practices"
478
+ - Generic advice without specifics
479
+
480
+ **Solution:**
481
+
482
+ 1. **Provide more context** - Be specific in your description:
483
+ - "Add OAuth using passport.js to Express server"
484
+ - Not: "Add authentication"
485
+ 2. **For brownfield**:
486
+ - Ensure document-project was run
487
+ - Agent needs codebase context for specific advice
488
+ 3. **Reference existing docs**:
489
+ - "Based on the existing auth system in UserService..."
490
+ 4. **Start fresh chat** - Context overload can cause generic responses
491
+
492
+ ### Problem: Agent hallucinating or making up information
493
+
494
+ **Symptoms:**
495
+
496
+ - References files that don't exist
497
+ - Suggests APIs that aren't in your stack
498
+ - Creates imaginary requirements
499
+
500
+ **Solution:**
501
+
502
+ 1. **Use fresh chat** - Context overflow main cause of hallucinations
503
+ 2. **Provide concrete constraints**:
504
+ - "We use Express 4.18.2, not Next.js"
505
+ - "Our database is PostgreSQL, not MongoDB"
506
+ 3. **For brownfield**:
507
+ - Document-project provides factual grounding
508
+ - Agent sees actual code, not assumptions
509
+ 4. **Correct immediately**:
510
+ - "No, we don't have UserService, we have AuthenticationModule"
511
+
512
+ ### Problem: Agent won't follow instructions
513
+
514
+ **Symptoms:**
515
+
516
+ - Ignores specific requests
517
+ - Does something different than asked
518
+ - Doesn't respect constraints
519
+
520
+ **Solution:**
521
+
522
+ 1. **Be more explicit** - Agents respond to clear, specific instructions:
523
+ - "Use EXACTLY these three steps..."
524
+ - "Do NOT include database migrations in this story"
525
+ 2. **Check agent capabilities** - Agent might not have access to requested workflow
526
+ 3. **Try different phrasing** - Rephrase request to be more direct
527
+ 4. **Use menu system** - Numbers are clearer than text commands
528
+
529
+ ---
530
+
531
+ ## Integration Issues (Brownfield)
532
+
533
+ ### Problem: New code conflicts with existing architecture
534
+
535
+ **Symptoms:**
536
+
537
+ - Integration approach doesn't fit existing structure
538
+ - Would require major refactoring
539
+ - Conflicts with established patterns
540
+
541
+ **Solution:**
542
+
543
+ 1. **Check if document-project was run** - Agents need architecture context
544
+ 2. **Review existing architecture docs**:
545
+ - Read docs/architecture.md (from document-project)
546
+ - Understand current system design
547
+ 3. **For Level 3-4**:
548
+ - Run validate-architecture workflow before planning
549
+ - Use integration-planning workflow
550
+ 4. **Explicitly document integration strategy** in architecture:
551
+ - How new components fit existing structure
552
+ - What modifications needed to existing code
553
+ - Migration path if changing patterns
554
+
555
+ ### Problem: Breaking changes to existing APIs
556
+
557
+ **Symptoms:**
558
+
559
+ - Changing API breaks consumers
560
+ - Downstream services affected
561
+ - Need backward compatibility
562
+
563
+ **Solution:**
564
+
565
+ 1. **Identify all API consumers** (document-project should show this)
566
+ 2. **Plan versioning strategy**:
567
+ - API v1 (existing) + v2 (new)
568
+ - Deprecation timeline
569
+ 3. **Use feature flags** for gradual rollout
570
+ 4. **Document migration guide** for API consumers
571
+ 5. **Add to testing strategy**:
572
+ - Existing consumers still work (v1)
573
+ - New functionality works (v2)
574
+
575
+ ### Problem: Data migration required
576
+
577
+ **Symptoms:**
578
+
579
+ - Schema changes needed
580
+ - Existing data needs transformation
581
+ - Risk of data loss
582
+
583
+ **Solution:**
584
+
585
+ 1. **Create explicit migration strategy** in architecture:
586
+ - Forward migration (old → new schema)
587
+ - Rollback plan (new → old schema)
588
+ - Data validation approach
589
+ 2. **Test migrations thoroughly**:
590
+ - On copy of production data
591
+ - Measure performance impact
592
+ 3. **Plan rollout**:
593
+ - Staging environment first
594
+ - Gradual production rollout
595
+ - Monitoring for issues
596
+ 4. **Document in tech-spec/architecture**:
597
+ - Migration scripts
598
+ - Rollback procedures
599
+ - Expected downtime
600
+
601
+ ---
602
+
603
+ ## Still Stuck?
604
+
605
+ ### Getting More Help
606
+
607
+ If your issue isn't covered here:
608
+
609
+ 1. **Check other documentation**:
610
+ - [FAQ](./faq.md) - Common questions
611
+ - [Glossary](./glossary.md) - Terminology
612
+ - [Quick Start](./quick-start.md) - Basic usage
613
+ - [Brownfield Guide](./brownfield-guide.md) - Existing codebases
614
+ - [Scale Adaptive System](./scale-adaptive-system.md) - Understanding levels
615
+
616
+ 2. **Community support**:
617
+ - [Discord](https://discord.gg/gk8jAdXWmj) - #general-dev, #bugs-issues
618
+ - Active community, fast responses
619
+ - Share your specific situation
620
+
621
+ 3. **Report bugs**:
622
+ - [GitHub Issues](https://github.com/bmad-code-org/BMAD-METHOD/issues)
623
+ - Include version, steps to reproduce, expected vs actual behavior
624
+
625
+ 4. **Video tutorials**:
626
+ - [YouTube Channel](https://www.youtube.com/@BMadCode)
627
+ - Visual walkthroughs of common workflows
628
+
629
+ ---
630
+
631
+ ## Common Error Messages
632
+
633
+ ### "No workflow status file found"
634
+
635
+ **Cause:** Haven't run workflow-init yet
636
+ **Fix:** Load Analyst agent → run workflow-init
637
+
638
+ ### "Epic file not found"
639
+
640
+ **Cause:** PRD/epics not created, or wrong path
641
+ **Fix:** Verify PRD/epics exist in output folder, check config.yaml paths
642
+
643
+ ### "Story not in sprint-status.yaml"
644
+
645
+ **Cause:** Sprint-planning not run, or story file not created
646
+ **Fix:** Run sprint-planning workflow, verify story files exist
647
+
648
+ ### "Documentation insufficient for brownfield"
649
+
650
+ **Cause:** No docs/index.md or document-project not run
651
+ **Fix:** Run document-project workflow with Deep scan
652
+
653
+ ### "Level detection failed"
654
+
655
+ **Cause:** Ambiguous project description
656
+ **Fix:** Be more specific, use level keywords (fix, feature, platform, etc.)
657
+
658
+ ### "Context generation failed"
659
+
660
+ **Cause:** Missing prerequisites (epic context, story file, or docs)
661
+ **Fix:** Verify epic-tech-context run, story file exists, docs present
662
+
663
+ ---
664
+
665
+ ## Prevention Tips
666
+
667
+ **Avoid common issues before they happen:**
668
+
669
+ 1. ✅ **Always run document-project for brownfield** - Saves hours of context issues later
670
+ 2. ✅ **Use fresh chats for complex workflows** - Prevents hallucinations and context overflow
671
+ 3. ✅ **Verify files exist before running workflows** - Check PRD, epics, stories are present
672
+ 4. ✅ **Read agent menu before requesting workflows** - Confirm agent has the workflow
673
+ 5. ✅ **Start with smaller level if unsure** - Easy to upgrade (Level 1 → 2), hard to downgrade
674
+ 6. ✅ **Keep status files updated** - Manual updates when needed, don't let them drift
675
+ 7. ✅ **Run retrospectives after epics** - Catch issues early, improve next epic
676
+ 8. ✅ **Follow phase sequence** - Don't skip required phases (Phase 2 before 3, 3 before 4)
677
+
678
+ ---
679
+
680
+ **Issue not listed?** Please [report it](https://github.com/bmad-code-org/BMAD-METHOD/issues) so we can add it to this guide!
@@ -57,7 +57,7 @@ Choose the right scan depth for your needs:
57
57
  - Initial understanding of project structure
58
58
  - Planning next steps before deeper analysis
59
59
 
60
- **Does NOT read:** Source code files (_.js, _.ts, _.py, _.go, etc.)
60
+ **Does NOT read:** Source code files (`_.js`, `_.ts`, `_.py`, `_.go`, etc.)
61
61
 
62
62
  ### 2. Deep Scan
63
63