agentvibes 2.9.7 → 2.12.0

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 (441) hide show
  1. package/.claude/commands/agent-vibes/agent-vibes.md +1 -1
  2. package/.claude/commands/agent-vibes/bmad.md +3 -3
  3. package/.claude/commands/agent-vibes/set-pretext.md +2 -2
  4. package/.claude/commands/agent-vibes-bmad-voices.md +5 -5
  5. package/.claude/hooks/bmad-speak.sh +1 -1
  6. package/.claude/hooks/bmad-voice-manager.sh +1 -1
  7. package/.claude/hooks/migrate-to-agentvibes.sh +161 -0
  8. package/.claude/hooks/play-tts-elevenlabs.sh +1 -1
  9. package/.claude/output-styles/agent-vibes.md +3 -3
  10. package/README.md +9 -6
  11. package/RELEASE_NOTES.md +341 -0
  12. package/docs/architecture/provider-system.md +3 -3
  13. package/docs/bmad-v6-support.md +1 -1
  14. package/docs/technical-deep-dive.md +1 -1
  15. package/docs/voice-mapping-format.md +1 -1
  16. package/package.json +1 -1
  17. package/src/installer.js +93 -21
  18. package/test-migration.sh +539 -0
  19. package/.bmad/_cfg/agent-manifest.csv +0 -11
  20. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  21. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  22. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  25. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  26. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  27. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  28. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  29. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  30. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  31. package/.bmad/_cfg/files-manifest.csv +0 -243
  32. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  33. package/.bmad/_cfg/manifest.yaml +0 -9
  34. package/.bmad/_cfg/task-manifest.csv +0 -5
  35. package/.bmad/_cfg/tool-manifest.csv +0 -2
  36. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  37. package/.bmad/bmm/README.md +0 -128
  38. package/.bmad/bmm/agents/analyst.md +0 -79
  39. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  40. package/.bmad/bmm/agents/architect.md +0 -80
  41. package/.bmad/bmm/agents/dev.md +0 -70
  42. package/.bmad/bmm/agents/frame-expert.md +0 -72
  43. package/.bmad/bmm/agents/pm.md +0 -84
  44. package/.bmad/bmm/agents/sm.md +0 -93
  45. package/.bmad/bmm/agents/tea.md +0 -80
  46. package/.bmad/bmm/agents/tech-writer.md +0 -84
  47. package/.bmad/bmm/agents/ux-designer.md +0 -79
  48. package/.bmad/bmm/config.yaml +0 -17
  49. package/.bmad/bmm/docs/README.md +0 -236
  50. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  51. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  52. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  53. package/.bmad/bmm/docs/faq.md +0 -588
  54. package/.bmad/bmm/docs/glossary.md +0 -320
  55. package/.bmad/bmm/docs/party-mode.md +0 -224
  56. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  57. package/.bmad/bmm/docs/quick-start.md +0 -376
  58. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  59. package/.bmad/bmm/docs/test-architecture.md +0 -396
  60. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  61. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  62. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  63. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  64. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  65. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  66. package/.bmad/bmm/teams/default-party.csv +0 -20
  67. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  68. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  69. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  70. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  71. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  72. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  73. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  74. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  75. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  76. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  77. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  78. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  79. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  80. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  81. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  82. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  83. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  84. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  85. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  86. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  87. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  88. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  89. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  90. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  91. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  92. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  93. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  94. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  95. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  96. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  97. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  98. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  99. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  100. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  101. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  102. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  103. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  104. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  105. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  106. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  107. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  108. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  109. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  110. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  111. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  112. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  113. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  114. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  115. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  116. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  117. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  118. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  120. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  121. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  122. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  123. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  124. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  125. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  126. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  127. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  128. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  129. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  130. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  131. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  133. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  134. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  135. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  136. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  137. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  138. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  143. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  144. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  145. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  146. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  147. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  148. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  149. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  152. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  153. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  156. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  157. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  158. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  159. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  160. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  161. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  162. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  163. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  164. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  165. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  166. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  167. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  168. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  169. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  170. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  171. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  172. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  173. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  174. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  175. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  176. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  177. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  178. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  179. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  180. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  181. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  182. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  183. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  184. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  185. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  186. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  187. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  188. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  189. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  190. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  191. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  192. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  193. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  194. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  195. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  196. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  197. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  198. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  199. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  200. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  201. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  202. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  203. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  204. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  205. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  206. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  207. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  208. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  209. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  210. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  211. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  212. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  213. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  214. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  215. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  216. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  217. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  218. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  219. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  220. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  221. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  222. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  223. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  224. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  225. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  226. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  227. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  228. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  229. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  230. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  231. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  232. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  233. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  234. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  235. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  236. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  237. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  238. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  239. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  240. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  241. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  242. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  243. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  244. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  245. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  246. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  247. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  248. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  249. package/.bmad/core/agents/bmad-master.md +0 -72
  250. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  251. package/.bmad/core/config.yaml +0 -11
  252. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  253. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  254. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  255. package/.bmad/core/tasks/index-docs.xml +0 -65
  256. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  257. package/.bmad/core/tasks/workflow.xml +0 -270
  258. package/.bmad/core/tools/shard-doc.xml +0 -109
  259. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  260. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  261. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  262. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  263. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  264. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  265. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  266. package/.bmad/docs/claude-code-instructions.md +0 -25
  267. package/.claude/commands/BMad/analyst.md +0 -88
  268. package/.claude/commands/BMad/architect.md +0 -89
  269. package/.claude/commands/BMad/bmad-master.md +0 -114
  270. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  271. package/.claude/commands/BMad/dev.md +0 -85
  272. package/.claude/commands/BMad/pm.md +0 -88
  273. package/.claude/commands/BMad/po.md +0 -83
  274. package/.claude/commands/BMad/qa.md +0 -91
  275. package/.claude/commands/BMad/sm.md +0 -69
  276. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  277. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  278. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  279. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  280. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  281. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  282. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  283. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  284. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  285. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  286. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  287. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  288. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  289. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  290. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  291. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  292. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  293. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  294. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  295. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  296. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  297. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  298. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  299. package/.claude/commands/BMad/ux-expert.md +0 -73
  300. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  301. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  303. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  304. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  305. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  306. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  307. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  308. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  309. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  336. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  337. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  338. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  339. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  340. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  341. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  342. package/.claude/config/README-personality-defaults.md +0 -162
  343. package/.claude/config/agentvibes.json +0 -1
  344. package/.claude/config/bmad-voices-enabled.flag +0 -0
  345. package/.claude/config/bmad-voices.md +0 -68
  346. package/.claude/config/personality-voice-defaults.default.json +0 -21
  347. package/.claude/github-star-reminder.txt +0 -1
  348. package/.claude/hooks/bmad-party-manager.sh +0 -225
  349. package/.claude/hooks/stop.sh +0 -221
  350. package/.claude/piper-voices-dir.txt +0 -1
  351. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  352. package/.mcp.json +0 -88
  353. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  354. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  355. package/docs/2025-11-15_15-14-33.snagx +0 -0
  356. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  357. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  358. package/docs/macos-piper-issue.md +0 -172
  359. package/docs/stargazer-cms-prd.md +0 -1918
  360. package/docs/whatsapp-plugin-github-issue.md +0 -393
  361. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  362. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  363. package/github-profile-draft.md +0 -57
  364. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  365. package/mcp-server/agentvibes.db +0 -0
  366. package/scripts/audio-tunnel.config +0 -17
  367. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  368. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  369. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  370. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  371. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  372. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  373. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  374. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  375. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  376. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  377. package/v4-backup/.bmad-core/agents/po.md +0 -79
  378. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  379. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  380. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  381. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  382. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  383. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  384. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  385. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  386. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  387. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  388. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  389. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  390. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  391. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  392. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  393. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  394. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  395. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  396. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  397. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  398. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  399. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  400. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  401. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  402. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  403. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  404. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  405. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  406. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  407. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  408. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  409. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  410. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  411. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  412. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  413. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  414. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  415. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  416. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  417. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  418. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  419. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  420. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  421. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  422. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  423. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  424. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  425. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  426. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  427. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  428. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  429. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  430. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  431. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  432. package/v4-backup/.bmad-core/user-guide.md +0 -577
  433. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  434. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  435. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  436. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  437. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  438. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  439. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  440. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  441. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,762 +0,0 @@
1
- # BMad Method Brownfield Development Guide
2
-
3
- **Complete guide for working with existing codebases**
4
-
5
- **Reading Time:** ~35 minutes
6
-
7
- ---
8
-
9
- ## Quick Navigation
10
-
11
- **Jump to:**
12
-
13
- - [Quick Reference](#quick-reference) - Commands and files
14
- - [Common Scenarios](#common-scenarios) - Real-world examples
15
- - [Best Practices](#best-practices) - Success tips
16
-
17
- ---
18
-
19
- ## What is Brownfield Development?
20
-
21
- Brownfield projects involve working within existing codebases rather than starting fresh:
22
-
23
- - **Bug fixes** - Single file changes
24
- - **Small features** - Adding to existing modules
25
- - **Feature sets** - Multiple related features
26
- - **Major integrations** - Complex architectural additions
27
- - **System expansions** - Enterprise-scale enhancements
28
-
29
- **Key Difference from Greenfield:** You must understand and respect existing patterns, architecture, and constraints.
30
-
31
- **Core Principle:** AI agents need comprehensive documentation to understand existing code before they can effectively plan or implement changes.
32
-
33
- ---
34
-
35
- ## Getting Started
36
-
37
- ### Understanding Planning Tracks
38
-
39
- For complete track details, see [Scale Adaptive System](./scale-adaptive-system.md).
40
-
41
- **Brownfield tracks at a glance:**
42
-
43
- | Track | Scope | Typical Stories | Key Difference |
44
- | --------------------- | -------------------------- | --------------- | ----------------------------------------------- |
45
- | **Quick Flow** | Bug fixes, small features | 1-15 | Must understand affected code and patterns |
46
- | **BMad Method** | Feature sets, integrations | 10-50+ | Integrate with existing architecture |
47
- | **Enterprise Method** | Enterprise expansions | 30+ | Full system documentation + compliance required |
48
-
49
- **Note:** Story counts are guidance, not definitions. Tracks are chosen based on planning needs.
50
-
51
- ### Track Selection for Brownfield
52
-
53
- When you run `workflow-init`, it handles brownfield intelligently:
54
-
55
- **Step 1: Shows what it found**
56
-
57
- - Old planning docs (PRD, epics, stories)
58
- - Existing codebase
59
-
60
- **Step 2: Asks about YOUR work**
61
-
62
- > "Are these works in progress, previous effort, or proposed work?"
63
-
64
- - **(a) Works in progress** → Uses artifacts to determine level
65
- - **(b) Previous effort** → Asks you to describe NEW work
66
- - **(c) Proposed work** → Uses artifacts as guidance
67
- - **(d) None of these** → You explain your work
68
-
69
- **Step 3: Analyzes your description**
70
-
71
- - Keywords: "fix", "bug" → Quick Flow, "dashboard", "platform" → BMad Method, "enterprise", "multi-tenant" → Enterprise Method
72
- - Complexity assessment
73
- - Confirms suggested track with you
74
-
75
- **Key Principle:** System asks about YOUR current work first, uses old artifacts as context only.
76
-
77
- **Example: Old Complex PRD, New Simple Work**
78
-
79
- ```
80
- System: "Found PRD.md (BMad Method track, 30 stories, 6 months old)"
81
- System: "Is this work in progress or previous effort?"
82
- You: "Previous effort - I'm just fixing a bug now"
83
- System: "Tell me about your current work"
84
- You: "Update payment method enums"
85
- System: "Quick Flow track (tech-spec approach). Correct?"
86
- You: "Yes"
87
- ✅ Creates Quick Flow workflow
88
- ```
89
-
90
- ---
91
-
92
- ## Phase 0: Documentation (Critical First Step)
93
-
94
- 🚨 **For brownfield projects: Always ensure adequate AI-usable documentation before planning**
95
-
96
- ### Default Recommendation: Run document-project
97
-
98
- **Best practice:** Run `document-project` workflow unless you have **confirmed, trusted, AI-optimized documentation**.
99
-
100
- ### Why Document-Project is Almost Always the Right Choice
101
-
102
- Existing documentation often has quality issues that break AI workflows:
103
-
104
- **Common Problems:**
105
-
106
- - **Too Much Information (TMI):** Massive markdown files with 10s or 100s of level 2 sections
107
- - **Out of Date:** Documentation hasn't been updated with recent code changes
108
- - **Wrong Format:** Written for humans, not AI agents (lacks structure, index, clear patterns)
109
- - **Incomplete Coverage:** Missing critical architecture, patterns, or setup info
110
- - **Inconsistent Quality:** Some areas documented well, others not at all
111
-
112
- **Impact on AI Agents:**
113
-
114
- - AI agents hit token limits reading massive files
115
- - Outdated docs cause hallucinations (agent thinks old patterns still apply)
116
- - Missing structure means agents can't find relevant information
117
- - Incomplete coverage leads to incorrect assumptions
118
-
119
- ### Documentation Decision Tree
120
-
121
- **Step 1: Assess Existing Documentation Quality**
122
-
123
- Ask yourself:
124
-
125
- - ✅ Is it **current** (updated in last 30 days)?
126
- - ✅ Is it **AI-optimized** (structured with index.md, clear sections, <500 lines per file)?
127
- - ✅ Is it **comprehensive** (architecture, patterns, setup all documented)?
128
- - ✅ Do you **trust** it completely for AI agent consumption?
129
-
130
- **If ANY answer is NO → Run `document-project`**
131
-
132
- **Step 2: Check for Massive Documents**
133
-
134
- If you have documentation but files are huge (>500 lines, 10+ level 2 sections):
135
-
136
- 1. **First:** Run `shard-doc` tool to split large files:
137
-
138
- ```bash
139
- # Load BMad Master or any agent
140
- .bmad/core/tools/shard-doc.xml --input docs/massive-doc.md
141
- ```
142
-
143
- - Splits on level 2 sections by default
144
- - Creates organized, manageable files
145
- - Preserves content integrity
146
-
147
- 2. **Then:** Run `index-docs` task to create navigation:
148
-
149
- ```bash
150
- .bmad/core/tasks/index-docs.xml --directory ./docs
151
- ```
152
-
153
- 3. **Finally:** Validate quality - if sharded docs still seem incomplete/outdated → Run `document-project`
154
-
155
- ### Four Real-World Scenarios
156
-
157
- | Scenario | You Have | Action | Why |
158
- | -------- | ------------------------------------------ | -------------------------- | --------------------------------------- |
159
- | **A** | No documentation | `document-project` | Only option - generate from scratch |
160
- | **B** | Docs exist but massive/outdated/incomplete | `document-project` | Safer to regenerate than trust bad docs |
161
- | **C** | Good docs but no structure | `shard-doc` → `index-docs` | Structure existing content for AI |
162
- | **D** | Confirmed AI-optimized docs with index.md | Skip Phase 0 | Rare - only if you're 100% confident |
163
-
164
- ### Scenario A: No Documentation (Most Common)
165
-
166
- **Action: Run document-project workflow**
167
-
168
- 1. Load Analyst or Technical Writer (Paige) agent
169
- 2. Run `*document-project`
170
- 3. Choose scan level:
171
- - **Quick** (2-5min): Pattern analysis, no source reading
172
- - **Deep** (10-30min): Reads critical paths - **Recommended**
173
- - **Exhaustive** (30-120min): Reads all files
174
-
175
- **Outputs:**
176
-
177
- - `docs/index.md` - Master AI entry point
178
- - `docs/project-overview.md` - Executive summary
179
- - `docs/architecture.md` - Architecture analysis
180
- - `docs/source-tree-analysis.md` - Directory structure
181
- - Additional files based on project type (API, web app, etc.)
182
-
183
- ### Scenario B: Docs Exist But Quality Unknown/Poor (Very Common)
184
-
185
- **Action: Run document-project workflow (regenerate)**
186
-
187
- Even if `docs/` folder exists, if you're unsure about quality → **regenerate**.
188
-
189
- **Why regenerate instead of index?**
190
-
191
- - Outdated docs → AI makes wrong assumptions
192
- - Incomplete docs → AI invents missing information
193
- - TMI docs → AI hits token limits, misses key info
194
- - Human-focused docs → Missing AI-critical structure
195
-
196
- **document-project** will:
197
-
198
- - Scan actual codebase (source of truth)
199
- - Generate fresh, accurate documentation
200
- - Structure properly for AI consumption
201
- - Include only relevant, current information
202
-
203
- ### Scenario C: Good Docs But Needs Structure
204
-
205
- **Action: Shard massive files, then index**
206
-
207
- If you have **good, current documentation** but it's in massive files:
208
-
209
- **Step 1: Shard large documents**
210
-
211
- ```bash
212
- # For each massive doc (>500 lines or 10+ level 2 sections)
213
- .bmad/core/tools/shard-doc.xml \
214
- --input docs/api-documentation.md \
215
- --output docs/api/ \
216
- --level 2 # Split on ## headers (default)
217
- ```
218
-
219
- **Step 2: Generate index**
220
-
221
- ```bash
222
- .bmad/core/tasks/index-docs.xml --directory ./docs
223
- ```
224
-
225
- **Step 3: Validate**
226
-
227
- - Review generated `docs/index.md`
228
- - Check that sharded files are <500 lines each
229
- - Verify content is current and accurate
230
- - **If anything seems off → Run document-project instead**
231
-
232
- ### Scenario D: Confirmed AI-Optimized Documentation (Rare)
233
-
234
- **Action: Skip Phase 0**
235
-
236
- Only skip if ALL conditions met:
237
-
238
- - ✅ `docs/index.md` exists and is comprehensive
239
- - ✅ Documentation updated within last 30 days
240
- - ✅ All doc files <500 lines with clear structure
241
- - ✅ Covers architecture, patterns, setup, API surface
242
- - ✅ You personally verified quality for AI consumption
243
- - ✅ Previous AI agents used it successfully
244
-
245
- **If unsure → Run document-project** (costs 10-30 minutes, saves hours of confusion)
246
-
247
- ### Why document-project is Critical
248
-
249
- Without AI-optimized documentation, workflows fail:
250
-
251
- - **tech-spec** (Quick Flow) can't auto-detect stack/patterns → Makes wrong assumptions
252
- - **PRD** (BMad Method) can't reference existing code → Designs incompatible features
253
- - **architecture** can't build on existing structure → Suggests conflicting patterns
254
- - **story-context** can't inject existing patterns → Dev agent rewrites working code
255
- - **dev-story** invents implementations → Breaks existing integrations
256
-
257
- ### Key Principle
258
-
259
- **When in doubt, run document-project.**
260
-
261
- It's better to spend 10-30 minutes generating fresh, accurate docs than to waste hours debugging AI agents working from bad documentation.
262
-
263
- ---
264
-
265
- ## Workflow Phases by Track
266
-
267
- ### Phase 1: Analysis (Optional)
268
-
269
- **Workflows:**
270
-
271
- - `brainstorm-project` - Solution exploration
272
- - `research` - Technical/market research
273
- - `product-brief` - Strategic planning (BMad Method/Enterprise tracks only)
274
-
275
- **When to use:** Complex features, technical decisions, strategic additions
276
-
277
- **When to skip:** Bug fixes, well-understood features, time-sensitive changes
278
-
279
- See the [Workflows section in BMM README](../README.md) for details.
280
-
281
- ### Phase 2: Planning (Required)
282
-
283
- **Planning approach adapts by track:**
284
-
285
- **Quick Flow:** Use `tech-spec` workflow
286
-
287
- - Creates tech-spec.md
288
- - Auto-detects existing stack (brownfield)
289
- - Confirms conventions with you
290
- - Generates implementation-ready stories
291
-
292
- **BMad Method/Enterprise:** Use `prd` workflow
293
-
294
- - Creates PRD.md with FRs/NFRs only
295
- - References existing architecture
296
- - Plans integration points
297
- - Epics+Stories created AFTER architecture phase
298
-
299
- **Brownfield-specific:** See [Scale Adaptive System](./scale-adaptive-system.md) for complete workflow paths by track.
300
-
301
- ### Phase 3: Solutioning (BMad Method/Enterprise Only)
302
-
303
- **Critical for brownfield:**
304
-
305
- - Review existing architecture FIRST
306
- - Document integration points explicitly
307
- - Plan backward compatibility
308
- - Consider migration strategy
309
-
310
- **Workflows:**
311
-
312
- - `create-architecture` - Extend architecture docs (BMad Method/Enterprise)
313
- - `create-epics-and-stories` - Create epics and stories AFTER architecture
314
- - `implementation-readiness` - Validate before implementation (BMad Method/Enterprise)
315
-
316
- ### Phase 4: Implementation (All Tracks)
317
-
318
- **Sprint-based development through story iteration:**
319
-
320
- ```mermaid
321
- flowchart TD
322
- SPRINT[sprint-planning<br/>Initialize tracking]
323
- EPIC[epic-tech-context<br/>Per epic]
324
- CREATE[create-story]
325
- CONTEXT[story-context]
326
- DEV[dev-story]
327
- REVIEW[code-review]
328
- CHECK{More stories?}
329
- RETRO[retrospective<br/>Per epic]
330
-
331
- SPRINT --> EPIC
332
- EPIC --> CREATE
333
- CREATE --> CONTEXT
334
- CONTEXT --> DEV
335
- DEV --> REVIEW
336
- REVIEW --> CHECK
337
- CHECK -->|Yes| CREATE
338
- CHECK -->|No| RETRO
339
-
340
- style SPRINT fill:#bfb,stroke:#333,stroke-width:2px,color:#000
341
- style RETRO fill:#fbf,stroke:#333,stroke-width:2px,color:#000
342
- ```
343
-
344
- **Status Progression:**
345
-
346
- - Epic: `backlog → contexted`
347
- - Story: `backlog → drafted → ready-for-dev → in-progress → review → done`
348
-
349
- **Brownfield-Specific Implementation Tips:**
350
-
351
- 1. **Respect existing patterns** - Follow established conventions
352
- 2. **Test integration thoroughly** - Validate interactions with existing code
353
- 3. **Use feature flags** - Enable gradual rollout
354
- 4. **Context injection matters** - epic-tech-context and story-context reference existing patterns
355
-
356
- ---
357
-
358
- ## Best Practices
359
-
360
- ### 1. Always Document First
361
-
362
- Even if you know the code, AI agents need `document-project` output for context. Run it before planning.
363
-
364
- ### 2. Be Specific About Current Work
365
-
366
- When workflow-init asks about your work:
367
-
368
- - ✅ "Update payment method enums to include Apple Pay"
369
- - ❌ "Fix stuff"
370
-
371
- ### 3. Choose Right Documentation Approach
372
-
373
- - **Has good docs, no index?** → Run `index-docs` task (fast)
374
- - **No docs or need codebase analysis?** → Run `document-project` (Deep scan)
375
-
376
- ### 4. Respect Existing Patterns
377
-
378
- Tech-spec and story-context will detect conventions. Follow them unless explicitly modernizing.
379
-
380
- ### 5. Plan Integration Points Explicitly
381
-
382
- Document in tech-spec/architecture:
383
-
384
- - Which existing modules you'll modify
385
- - What APIs/services you'll integrate with
386
- - How data flows between new and existing code
387
-
388
- ### 6. Design for Gradual Rollout
389
-
390
- - Use feature flags for new functionality
391
- - Plan rollback strategies
392
- - Maintain backward compatibility
393
- - Create migration scripts if needed
394
-
395
- ### 7. Test Integration Thoroughly
396
-
397
- - Regression testing of existing features
398
- - Integration point validation
399
- - Performance impact assessment
400
- - API contract verification
401
-
402
- ### 8. Use Sprint Planning Effectively
403
-
404
- - Run `sprint-planning` at Phase 4 start
405
- - Context epics before drafting stories
406
- - Update `sprint-status.yaml` as work progresses
407
-
408
- ### 9. Leverage Context Injection
409
-
410
- - Run `epic-tech-context` before story drafting
411
- - Always create `story-context` before implementation
412
- - These reference existing patterns for consistency
413
-
414
- ### 10. Learn Continuously
415
-
416
- - Run `retrospective` after each epic
417
- - Incorporate learnings into next stories
418
- - Update discovered patterns
419
- - Share insights across team
420
-
421
- ---
422
-
423
- ## Common Scenarios
424
-
425
- ### Scenario 1: Bug Fix (Quick Flow)
426
-
427
- **Situation:** Authentication token expiration causing logout issues
428
-
429
- **Track:** Quick Flow
430
-
431
- **Workflow:**
432
-
433
- 1. **Document:** Skip if auth system documented, else run `document-project` (Quick scan)
434
- 2. **Plan:** Load PM → run `tech-spec`
435
- - Analyzes bug
436
- - Detects stack (Express, Jest)
437
- - Confirms conventions
438
- - Creates tech-spec.md + story
439
- 3. **Implement:** Load DEV → run `dev-story`
440
- 4. **Review:** Load DEV → run `code-review`
441
-
442
- **Time:** 2-4 hours
443
-
444
- ---
445
-
446
- ### Scenario 2: Small Feature (Quick Flow)
447
-
448
- **Situation:** Add "forgot password" to existing auth system
449
-
450
- **Track:** Quick Flow
451
-
452
- **Workflow:**
453
-
454
- 1. **Document:** Run `document-project` (Deep scan of auth module if not documented)
455
- 2. **Plan:** Load PM → run `tech-spec`
456
- - Detects Next.js 13.4, NextAuth.js
457
- - Analyzes existing auth patterns
458
- - Confirms conventions
459
- - Creates tech-spec.md + epic + 3-5 stories
460
- 3. **Implement:** Load SM → `sprint-planning` → `create-story` → `story-context`
461
- Load DEV → `dev-story` for each story
462
- 4. **Review:** Load DEV → `code-review`
463
-
464
- **Time:** 1-3 days
465
-
466
- ---
467
-
468
- ### Scenario 3: Feature Set (BMad Method)
469
-
470
- **Situation:** Add user dashboard with analytics, preferences, activity
471
-
472
- **Track:** BMad Method
473
-
474
- **Workflow:**
475
-
476
- 1. **Document:** Run `document-project` (Deep scan) - Critical for understanding existing UI patterns
477
- 2. **Analyze:** Load Analyst → `research` (if evaluating analytics libraries)
478
- 3. **Plan:** Load PM → `prd` (creates FRs/NFRs)
479
- 4. **Solution:** Load Architect → `create-architecture` → `create-epics-and-stories` → `implementation-readiness`
480
- 5. **Implement:** Sprint-based (10-15 stories)
481
- - Load SM → `sprint-planning`
482
- - Per epic: `epic-tech-context` → stories
483
- - Load DEV → `dev-story` per story
484
- 6. **Review:** Per story completion
485
-
486
- **Time:** 1-2 weeks
487
-
488
- ---
489
-
490
- ### Scenario 4: Complex Integration (BMad Method)
491
-
492
- **Situation:** Add real-time collaboration to document editor
493
-
494
- **Track:** BMad Method
495
-
496
- **Workflow:**
497
-
498
- 1. **Document:** Run `document-project` (Exhaustive if not documented) - **Mandatory**
499
- 2. **Analyze:** Load Analyst → `research` (WebSocket vs WebRTC vs CRDT)
500
- 3. **Plan:** Load PM → `prd` (creates FRs/NFRs)
501
- 4. **Solution:**
502
- - Load Architect → `create-architecture` (extend for real-time layer)
503
- - Load Architect → `create-epics-and-stories`
504
- - Load Architect → `implementation-readiness`
505
- 5. **Implement:** Sprint-based (20-30 stories)
506
-
507
- **Time:** 3-6 weeks
508
-
509
- ---
510
-
511
- ### Scenario 5: Enterprise Expansion (Enterprise Method)
512
-
513
- **Situation:** Add multi-tenancy to single-tenant SaaS platform
514
-
515
- **Track:** Enterprise Method
516
-
517
- **Workflow:**
518
-
519
- 1. **Document:** Run `document-project` (Exhaustive) - **Mandatory**
520
- 2. **Analyze:** **Required**
521
- - `brainstorm-project` - Explore multi-tenancy approaches
522
- - `research` - Database sharding, tenant isolation, pricing
523
- - `product-brief` - Strategic document
524
- 3. **Plan:** Load PM → `prd` (comprehensive FRs/NFRs)
525
- 4. **Solution:**
526
- - `create-architecture` - Full system architecture
527
- - `integration-planning` - Phased migration strategy
528
- - `create-architecture` - Multi-tenancy architecture
529
- - `validate-architecture` - External review
530
- - `create-epics-and-stories` - Create epics and stories
531
- - `implementation-readiness` - Executive approval
532
- 5. **Implement:** Phased sprint-based (50+ stories)
533
-
534
- **Time:** 3-6 months
535
-
536
- ---
537
-
538
- ## Troubleshooting
539
-
540
- ### AI Agents Lack Codebase Understanding
541
-
542
- **Symptoms:**
543
-
544
- - Suggestions don't align with existing patterns
545
- - Ignores available components
546
- - Doesn't reference existing code
547
-
548
- **Solution:**
549
-
550
- 1. Run `document-project` with Deep scan
551
- 2. Verify `docs/index.md` exists
552
- 3. Check documentation completeness
553
- 4. Run deep-dive on specific areas if needed
554
-
555
- ### Have Documentation But Agents Can't Find It
556
-
557
- **Symptoms:**
558
-
559
- - README.md, ARCHITECTURE.md exist
560
- - AI agents ask questions already answered
561
- - No `docs/index.md` file
562
-
563
- **Solution:**
564
-
565
- - **Quick fix:** Run `index-docs` task (2-5min)
566
- - **Comprehensive:** Run `document-project` workflow (10-30min)
567
-
568
- ### Integration Points Unclear
569
-
570
- **Symptoms:**
571
-
572
- - Not sure how to connect new code to existing
573
- - Unsure which files to modify
574
-
575
- **Solution:**
576
-
577
- 1. Ensure `document-project` captured existing architecture
578
- 2. Check `story-context` - should document integration points
579
- 3. In tech-spec/architecture - explicitly document:
580
- - Which existing modules to modify
581
- - What APIs/services to integrate with
582
- - Data flow between new and existing code
583
- 4. Review architecture document for integration guidance
584
-
585
- ### Existing Tests Breaking
586
-
587
- **Symptoms:**
588
-
589
- - Regression test failures
590
- - Previously working functionality broken
591
-
592
- **Solution:**
593
-
594
- 1. Review changes against existing patterns
595
- 2. Verify API contracts unchanged (unless intentionally versioned)
596
- 3. Run `test-review` workflow (TEA agent)
597
- 4. Add regression testing to DoD
598
- 5. Consider feature flags for gradual rollout
599
-
600
- ### Inconsistent Patterns Being Introduced
601
-
602
- **Symptoms:**
603
-
604
- - New code style doesn't match existing
605
- - Different architectural approach
606
-
607
- **Solution:**
608
-
609
- 1. Check convention detection (Quick Spec Flow should detect patterns)
610
- 2. Review documentation - ensure `document-project` captured patterns
611
- 3. Use `story-context` - injects pattern guidance
612
- 4. Add to code-review checklist: pattern adherence, convention consistency
613
- 5. Run retrospective to identify deviations early
614
-
615
- ---
616
-
617
- ## Quick Reference
618
-
619
- ### Commands by Phase
620
-
621
- ```bash
622
- # Phase 0: Documentation (If Needed)
623
- # Analyst agent:
624
- document-project # Create comprehensive docs (10-30min)
625
- # OR load index-docs task for existing docs (2-5min)
626
-
627
- # Phase 1: Analysis (Optional)
628
- # Analyst agent:
629
- brainstorm-project # Explore solutions
630
- research # Gather data
631
- product-brief # Strategic planning (BMad Method/Enterprise only)
632
-
633
- # Phase 2: Planning (Required)
634
- # PM agent:
635
- tech-spec # Quick Flow track
636
- prd # BMad Method/Enterprise tracks
637
-
638
- # Phase 3: Solutioning (BMad Method/Enterprise)
639
- # Architect agent:
640
- create-architecture # Extend architecture
641
- create-epics-and-stories # Create epics and stories (after architecture)
642
- implementation-readiness # Final validation
643
-
644
- # Phase 4: Implementation (All Tracks)
645
- # SM agent:
646
- sprint-planning # Initialize tracking
647
- epic-tech-context # Epic context
648
- create-story # Draft story
649
- story-context # Story context
650
-
651
- # DEV agent:
652
- dev-story # Implement
653
- code-review # Review
654
-
655
- # SM agent:
656
- retrospective # After epic
657
- correct-course # If issues
658
- ```
659
-
660
- ### Key Files
661
-
662
- **Phase 0 Output:**
663
-
664
- - `docs/index.md` - **Master AI entry point (REQUIRED)**
665
- - `docs/project-overview.md`
666
- - `docs/architecture.md`
667
- - `docs/source-tree-analysis.md`
668
-
669
- **Phase 1-3 Tracking:**
670
-
671
- - `docs/bmm-workflow-status.yaml` - Progress tracker
672
-
673
- **Phase 2 Planning:**
674
-
675
- - `docs/tech-spec.md` (Quick Flow track)
676
- - `docs/PRD.md` (BMad Method/Enterprise tracks - FRs/NFRs only)
677
-
678
- **Phase 3 Solutioning:**
679
-
680
- - Epic breakdown (created after architecture)
681
-
682
- **Phase 3 Architecture:**
683
-
684
- - `docs/architecture.md` (BMad Method/Enterprise tracks)
685
-
686
- **Phase 4 Implementation:**
687
-
688
- - `docs/sprint-status.yaml` - **Single source of truth**
689
- - `docs/epic-{n}-context.md`
690
- - `docs/stories/{epic}-{story}-{title}.md`
691
- - `docs/stories/{epic}-{story}-{title}-context.md`
692
-
693
- ### Decision Flowchart
694
-
695
- ```mermaid
696
- flowchart TD
697
- START([Brownfield Project])
698
- CHECK{Has docs/<br/>index.md?}
699
-
700
- START --> CHECK
701
- CHECK -->|No| DOC[document-project<br/>Deep scan]
702
- CHECK -->|Yes| TRACK{What Track?}
703
-
704
- DOC --> TRACK
705
-
706
- TRACK -->|Quick Flow| TS[tech-spec]
707
- TRACK -->|BMad Method| PRD[prd → architecture]
708
- TRACK -->|Enterprise| PRD2[prd → arch + security/devops]
709
-
710
- TS --> IMPL[Phase 4<br/>Implementation]
711
- PRD --> IMPL
712
- PRD2 --> IMPL
713
-
714
- style START fill:#f9f,stroke:#333,stroke-width:2px,color:#000
715
- style DOC fill:#ffb,stroke:#333,stroke-width:2px,color:#000
716
- style IMPL fill:#bfb,stroke:#333,stroke-width:2px,color:#000
717
- ```
718
-
719
- ---
720
-
721
- ## Prevention Tips
722
-
723
- **Avoid issues before they happen:**
724
-
725
- 1. ✅ **Always run document-project for brownfield** - Saves context issues later
726
- 2. ✅ **Use fresh chats for complex workflows** - Prevents hallucinations
727
- 3. ✅ **Verify files exist before workflows** - Check PRD, epics, stories present
728
- 4. ✅ **Read agent menu first** - Confirm agent has the workflow
729
- 5. ✅ **Start with simpler track if unsure** - Easy to upgrade (Quick Flow → BMad Method)
730
- 6. ✅ **Keep status files updated** - Manual updates when needed
731
- 7. ✅ **Run retrospectives after epics** - Catch issues early
732
- 8. ✅ **Follow phase sequence** - Don't skip required phases
733
-
734
- ---
735
-
736
- ## Related Documentation
737
-
738
- - **[Scale Adaptive System](./scale-adaptive-system.md)** - Understanding tracks and complexity
739
- - **[Quick Spec Flow](./quick-spec-flow.md)** - Fast-track for Quick Flow
740
- - **[Quick Start Guide](./quick-start.md)** - Getting started with BMM
741
- - **[Glossary](./glossary.md)** - Key terminology
742
- - **[FAQ](./faq.md)** - Common questions
743
- - **[Workflow Documentation](./README.md#-workflow-guides)** - Complete workflow reference
744
-
745
- ---
746
-
747
- ## Support and Resources
748
-
749
- **Community:**
750
-
751
- - [Discord](https://discord.gg/gk8jAdXWmj) - #general-dev, #bugs-issues
752
- - [GitHub Issues](https://github.com/bmad-code-org/BMAD-METHOD/issues)
753
- - [YouTube Channel](https://www.youtube.com/@BMadCode)
754
-
755
- **Documentation:**
756
-
757
- - [Test Architect Guide](./test-architecture.md) - Comprehensive testing strategy
758
- - [BMM Module README](../README.md) - Complete module and workflow reference
759
-
760
- ---
761
-
762
- _Brownfield development is about understanding and respecting what exists while thoughtfully extending it._