agentvibes 2.12.4 → 2.12.6

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 (429) hide show
  1. package/.claude/hooks/bmad-voice-manager.sh +21 -5
  2. package/.claude/hooks/play-tts.sh +12 -0
  3. package/.claude/hooks/tts-queue.sh +34 -6
  4. package/README.md +17 -10
  5. package/RELEASE_NOTES.md +320 -697
  6. package/mcp-server/install-deps.js +19 -0
  7. package/mcp-server/server.py +58 -36
  8. package/package.json +1 -1
  9. package/scripts/fix-audio-tunnel.sh +22 -6
  10. package/src/commands/bmad-voices.js +14 -1
  11. package/src/installer.js +157 -72
  12. package/test/unit/play-tts.bats +1 -1
  13. package/.bmad/_cfg/agent-manifest.csv +0 -11
  14. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  15. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  16. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  17. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  18. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  19. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  20. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  21. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  22. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  25. package/.bmad/_cfg/files-manifest.csv +0 -243
  26. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  27. package/.bmad/_cfg/manifest.yaml +0 -9
  28. package/.bmad/_cfg/task-manifest.csv +0 -5
  29. package/.bmad/_cfg/tool-manifest.csv +0 -2
  30. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  31. package/.bmad/bmm/README.md +0 -128
  32. package/.bmad/bmm/agents/analyst.md +0 -79
  33. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  34. package/.bmad/bmm/agents/architect.md +0 -80
  35. package/.bmad/bmm/agents/dev.md +0 -70
  36. package/.bmad/bmm/agents/frame-expert.md +0 -72
  37. package/.bmad/bmm/agents/pm.md +0 -84
  38. package/.bmad/bmm/agents/sm.md +0 -93
  39. package/.bmad/bmm/agents/tea.md +0 -80
  40. package/.bmad/bmm/agents/tech-writer.md +0 -84
  41. package/.bmad/bmm/agents/ux-designer.md +0 -79
  42. package/.bmad/bmm/config.yaml +0 -17
  43. package/.bmad/bmm/docs/README.md +0 -236
  44. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  45. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  46. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  47. package/.bmad/bmm/docs/faq.md +0 -588
  48. package/.bmad/bmm/docs/glossary.md +0 -320
  49. package/.bmad/bmm/docs/party-mode.md +0 -224
  50. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  51. package/.bmad/bmm/docs/quick-start.md +0 -376
  52. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  53. package/.bmad/bmm/docs/test-architecture.md +0 -396
  54. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  55. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  56. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  57. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  58. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  59. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  60. package/.bmad/bmm/teams/default-party.csv +0 -20
  61. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  62. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  63. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  64. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  65. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  66. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  67. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  68. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  69. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  70. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  71. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  72. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  73. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  74. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  75. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  76. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  77. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  78. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  79. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  80. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  81. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  82. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  83. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  84. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  85. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  86. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  87. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  88. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  89. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  90. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  91. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  92. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  93. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  94. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  95. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  96. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  97. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  98. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  99. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  100. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  101. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  102. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  103. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  104. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  105. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  106. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  107. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  108. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  109. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  110. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  111. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  112. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  116. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  117. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  118. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  119. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  120. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  121. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  122. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  123. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  124. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  125. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  130. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  131. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  133. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  134. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  135. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  136. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  137. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  138. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  139. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  140. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  141. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  142. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  143. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  144. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  145. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  146. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  147. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  148. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  149. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  150. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  151. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  152. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  153. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  154. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  155. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  156. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  158. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  159. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  160. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  161. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  162. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  163. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  164. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  165. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  166. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  167. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  168. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  169. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  170. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  171. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  172. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  173. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  174. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  175. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  176. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  177. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  178. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  179. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  180. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  181. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  182. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  183. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  184. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  185. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  186. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  187. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  188. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  189. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  190. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  191. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  192. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  193. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  194. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  195. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  196. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  197. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  198. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  199. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  200. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  201. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  202. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  203. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  204. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  205. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  206. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  207. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  208. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  209. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  210. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  211. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  212. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  213. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  214. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  215. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  216. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  217. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  218. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  219. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  220. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  221. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  222. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  223. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  224. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  225. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  226. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  227. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  228. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  229. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  230. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  231. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  232. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  233. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  234. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  235. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  236. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  237. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  238. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  239. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  240. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  241. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  242. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  243. package/.bmad/core/agents/bmad-master.md +0 -72
  244. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  245. package/.bmad/core/config.yaml +0 -11
  246. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  247. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  248. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  249. package/.bmad/core/tasks/index-docs.xml +0 -65
  250. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  251. package/.bmad/core/tasks/workflow.xml +0 -270
  252. package/.bmad/core/tools/shard-doc.xml +0 -109
  253. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  254. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  255. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  256. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  257. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  258. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  259. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  260. package/.bmad/docs/claude-code-instructions.md +0 -25
  261. package/.claude/commands/BMad/analyst.md +0 -88
  262. package/.claude/commands/BMad/architect.md +0 -89
  263. package/.claude/commands/BMad/bmad-master.md +0 -114
  264. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  265. package/.claude/commands/BMad/dev.md +0 -85
  266. package/.claude/commands/BMad/pm.md +0 -88
  267. package/.claude/commands/BMad/po.md +0 -83
  268. package/.claude/commands/BMad/qa.md +0 -91
  269. package/.claude/commands/BMad/sm.md +0 -69
  270. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  271. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  272. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  273. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  274. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  275. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  276. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  277. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  278. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  279. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  280. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  281. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  282. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  283. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  284. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  285. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  286. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  287. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  288. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  289. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  290. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  291. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  292. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  293. package/.claude/commands/BMad/ux-expert.md +0 -73
  294. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  295. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  296. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  297. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  298. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  299. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  300. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  301. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  303. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  304. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  305. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  306. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  307. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  308. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  309. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  330. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  331. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  332. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  333. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  334. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  335. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  336. package/.claude/github-star-reminder.txt +0 -1
  337. package/.claude/hooks/bmad-party-manager.sh +0 -225
  338. package/.claude/hooks/stop.sh +0 -221
  339. package/.claude/piper-voices-dir.txt +0 -1
  340. package/.mcp.json +0 -88
  341. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  342. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  343. package/docs/2025-11-15_15-14-33.snagx +0 -0
  344. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  345. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  346. package/docs/macos-piper-issue.md +0 -172
  347. package/docs/stargazer-cms-prd.md +0 -1918
  348. package/docs/whatsapp-plugin-github-issue.md +0 -393
  349. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  350. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  351. package/github-profile-draft.md +0 -57
  352. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  353. package/mcp-server/agentvibes.db +0 -0
  354. package/scripts/audio-tunnel.config +0 -17
  355. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  356. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  357. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  358. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  359. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  360. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  361. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  362. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  363. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  364. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  365. package/v4-backup/.bmad-core/agents/po.md +0 -79
  366. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  367. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  368. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  369. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  370. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  371. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  372. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  373. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  374. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  375. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  376. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  377. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  378. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  379. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  380. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  381. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  382. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  383. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  384. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  385. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  386. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  387. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  388. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  389. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  390. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  391. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  392. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  393. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  394. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  395. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  396. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  397. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  398. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  399. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  400. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  401. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  402. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  403. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  404. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  405. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  406. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  407. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  408. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  409. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  410. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  411. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  412. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  413. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  414. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  415. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  416. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  417. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  418. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  419. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  420. package/v4-backup/.bmad-core/user-guide.md +0 -577
  421. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  422. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  423. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  424. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  425. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  426. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  427. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  428. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  429. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,606 +0,0 @@
1
- # Working in the Brownfield: A Complete Guide
2
-
3
- ## Critical Tip
4
-
5
- Regardless of what you plan for your existing project you want to start agentic coding with, producing contextual artifacts for agents is of the highest importance.
6
-
7
- If using Claude Code - it is recommended to use the document-project task with the architect to systematically produce important key artifacts for your codebase.
8
-
9
- Optionally you can product context information and understanding for your repo utilizing web agents like Gemini. If its already in github, you can provide the project URL in gemini and use the agents to help analyze or document the project with the team fullstack or the architect specific gem.
10
-
11
- If your project is too large, you can also flatten your codebase - which can make it easier to upload or use with some tools. You can read more about the optional tool in the [Flattener Guide](./flattener.md)
12
-
13
- ## What is Brownfield Development?
14
-
15
- Brownfield development refers to adding features, fixing bugs, or modernizing existing software projects. Unlike greenfield (new) projects, brownfield work requires understanding existing code, respecting constraints, and ensuring new changes integrate seamlessly without breaking existing functionality.
16
-
17
- ## When to Use BMad for Brownfield
18
-
19
- - Add significant new features to existing applications
20
- - Modernize legacy codebases
21
- - Integrate new technologies or services
22
- - Refactor complex systems
23
- - Fix bugs that require architectural understanding
24
- - Document undocumented systems
25
-
26
- ## When NOT to use a Brownfield Flow
27
-
28
- If you have just completed an MVP with BMad, and you want to continue with post-MVP, its easier to just talk to the PM and ask it to work with you to create a new epic to add into the PRD, shard out the epic, update any architecture documents with the architect, and just go from there.
29
-
30
- ## The Complete Brownfield Workflow
31
-
32
- Starting in the Web Option (potentially save some cost but a potentially more frustrating experience):
33
-
34
- 1. **Follow the [<ins>User Guide - Installation</ins>](user-guide.md#installation) steps to setup your agent in the web.**
35
- 2. **Generate a 'flattened' single file of your entire codebase** run: `npx bmad-method flatten`
36
-
37
- Starting in an IDE with large context and good models (Its important to use quality models for this process for the best results)
38
-
39
- 1. In Claude Code or a similar IDE, select the architect agent and then use the \*document-project task. You will want to ensure you are validating and directing the agent to produce the best possible documents for LLMs to understand your code base, and not include any misleading or unnecessary info.
40
-
41
- ### Choose Your Approach
42
-
43
- #### Approach A: PRD-First (Recommended if adding very large and complex new features, single or multiple epics or massive changes)
44
-
45
- **Best for**: Large codebases, monorepos, or when you know exactly what you want to build
46
-
47
- 1. **Create PRD First** to define requirements
48
- 2. **Document only relevant areas** based on PRD needs
49
- 3. **More efficient** - avoids documenting unused code
50
-
51
- #### Approach B: Document-First (Good for Smaller Projects)
52
-
53
- **Best for**: Smaller codebases, unknown systems, or exploratory changes
54
-
55
- 1. **Document entire system** first
56
- 2. **Create PRD** with full context
57
- 3. **More thorough** - captures everything
58
-
59
- ### Approach A: PRD-First Workflow (Recommended)
60
-
61
- #### Phase 1: Define Requirements First
62
-
63
- **In Gemini Web (with your flattened-codebase.xml uploaded):**
64
-
65
- ```bash
66
- @pm
67
- *create-brownfield-prd
68
- ```
69
-
70
- The PM will:
71
-
72
- - **Ask about your enhancement** requirements
73
- - **Explore the codebase** to understand current state
74
- - **Identify affected areas** that need documentation
75
- - **Create focused PRD** with clear scope
76
-
77
- **Key Advantage**: The PRD identifies which parts of your monorepo/large codebase actually need documentation!
78
-
79
- #### Phase 2: Focused Documentation
80
-
81
- **Still in Gemini Web, now with PRD context:**
82
-
83
- ```bash
84
- @architect
85
- *document-project
86
- ```
87
-
88
- The architect will:
89
-
90
- - **Ask about your focus** if no PRD was provided
91
- - **Offer options**: Create PRD, provide requirements, or describe the enhancement
92
- - **Reference the PRD/description** to understand scope
93
- - **Focus on relevant modules** identified in PRD or your description
94
- - **Skip unrelated areas** to keep docs lean
95
- - **Generate ONE architecture document** for all environments
96
-
97
- The architect creates:
98
-
99
- - **One comprehensive architecture document** following fullstack-architecture template
100
- - **Covers all system aspects** in a single file
101
- - **Easy to copy and save** as `docs/architecture.md`
102
- - **Can be sharded later** in IDE if desired
103
-
104
- For example, if you say "Add payment processing to user service":
105
-
106
- - Documents only: user service, API endpoints, database schemas, payment integrations
107
- - Creates focused source tree showing only payment-related code paths
108
- - Skips: admin panels, reporting modules, unrelated microservices
109
-
110
- ### Approach B: Document-First Workflow
111
-
112
- #### Phase 1: Document the Existing System
113
-
114
- **Best Approach - Gemini Web with 1M+ Context**:
115
-
116
- 1. **Go to Gemini Web** (gemini.google.com)
117
- 2. **Upload your project**:
118
- - **Option A**: Paste your GitHub repository URL directly
119
- - **Option B**: Upload your flattened-codebase.xml file
120
- 3. **Load the architect agent**: Upload `dist/agents/architect.txt`
121
- 4. **Run documentation**: Type `*document-project`
122
-
123
- The architect will generate comprehensive documentation of everything.
124
-
125
- #### Phase 2: Plan Your Enhancement
126
-
127
- ##### Option A: Full Brownfield Workflow (Recommended for Major Changes)
128
-
129
- **1. Create Brownfield PRD**:
130
-
131
- ```bash
132
- @pm
133
- *create-brownfield-prd
134
- ```
135
-
136
- The PM agent will:
137
-
138
- - **Analyze existing documentation** from Phase 1
139
- - **Request specific enhancement details** from you
140
- - **Assess complexity** and recommend approach
141
- - **Create epic/story structure** for the enhancement
142
- - **Identify risks and integration points**
143
-
144
- **How PM Agent Gets Project Context**:
145
-
146
- - In Gemini Web: Already has full project context from Phase 1 documentation
147
- - In IDE: Will ask "Please provide the path to your existing project documentation"
148
-
149
- **Key Prompts You'll Encounter**:
150
-
151
- - "What specific enhancement or feature do you want to add?"
152
- - "Are there any existing systems or APIs this needs to integrate with?"
153
- - "What are the critical constraints we must respect?"
154
- - "What is your timeline and team size?"
155
-
156
- **2. Create Brownfield Architecture**:
157
-
158
- ```bash
159
- @architect
160
- *create-brownfield-architecture
161
- ```
162
-
163
- The architect will:
164
-
165
- - **Review the brownfield PRD**
166
- - **Design integration strategy**
167
- - **Plan migration approach** if needed
168
- - **Identify technical risks**
169
- - **Define compatibility requirements**
170
-
171
- ##### Option B: Quick Enhancement (For Focused Changes)
172
-
173
- **For Single Epic Without Full PRD**:
174
-
175
- ```bash
176
- @pm
177
- *create-brownfield-epic
178
- ```
179
-
180
- Use when:
181
-
182
- - Enhancement is well-defined and isolated
183
- - Existing documentation is comprehensive
184
- - Changes don't impact multiple systems
185
- - You need quick turnaround
186
-
187
- **For Single Story**:
188
-
189
- ```bash
190
- @pm
191
- *create-brownfield-story
192
- ```
193
-
194
- Use when:
195
-
196
- - Bug fix or tiny feature
197
- - Very isolated change
198
- - No architectural impact
199
- - Clear implementation path
200
-
201
- ### Phase 3: Validate Planning Artifacts
202
-
203
- ```bash
204
- @po
205
- *execute-checklist-po
206
- ```
207
-
208
- The PO ensures:
209
-
210
- - Compatibility with existing system
211
- - No breaking changes planned
212
- - Risk mitigation strategies in place
213
- - Clear integration approach
214
-
215
- ### Phase 4: Save and Shard Documents
216
-
217
- 1. Save your PRD and Architecture as:
218
- docs/prd.md
219
- docs/architecture.md
220
- (Note: You can optionally prefix with 'brownfield-' if managing multiple versions)
221
- 2. Shard your docs:
222
- In your IDE
223
-
224
- ```bash
225
- @po
226
- shard docs/prd.md
227
- ```
228
-
229
- ```bash
230
- @po
231
- shard docs/architecture.md
232
- ```
233
-
234
- ### Phase 5: Transition to Development
235
-
236
- **Follow the [<ins>Enhanced IDE Development Workflow</ins>](enhanced-ide-development-workflow.md)**
237
-
238
- ## Brownfield Best Practices
239
-
240
- ### 1. Always Document First
241
-
242
- Even if you think you know the codebase:
243
-
244
- - Run `document-project` to capture current state
245
- - AI agents need this context
246
- - Discovers undocumented patterns
247
-
248
- ### 2. Respect Existing Patterns
249
-
250
- The brownfield templates specifically look for:
251
-
252
- - Current coding conventions
253
- - Existing architectural patterns
254
- - Technology constraints
255
- - Team preferences
256
-
257
- ### 3. Plan for Gradual Rollout
258
-
259
- Brownfield changes should:
260
-
261
- - Support feature flags
262
- - Plan rollback strategies
263
- - Include migration scripts
264
- - Maintain backwards compatibility
265
-
266
- ### 4. Test Integration Thoroughly
267
-
268
- #### Why the Test Architect is Critical for Brownfield
269
-
270
- In brownfield projects, the Test Architect (Quinn) becomes your safety net against breaking existing functionality. Unlike greenfield where you're building fresh, brownfield requires careful validation that new changes don't destabilize what already works.
271
-
272
- #### Brownfield-Specific Testing Challenges
273
-
274
- The Test Architect addresses unique brownfield complexities:
275
-
276
- | **Challenge** | **How Test Architect Helps** | **Command** |
277
- | --------------------------- | ------------------------------------------------- | ------------------- |
278
- | **Regression Risks** | Identifies which existing features might break | `*risk` |
279
- | **Legacy Dependencies** | Maps integration points and hidden dependencies | `*trace` |
280
- | **Performance Degradation** | Validates no slowdown in existing flows | `*nfr` |
281
- | **Coverage Gaps** | Finds untested legacy code that new changes touch | `*design` |
282
- | **Breaking Changes** | Detects API/contract violations | `*review` |
283
- | **Migration Safety** | Validates data transformations and rollback plans | `*risk` + `*review` |
284
-
285
- #### Complete Test Architect Workflow for Brownfield
286
-
287
- ##### Stage 1: Before Development (Risk & Strategy)
288
-
289
- **CRITICAL FOR BROWNFIELD - Run These First:**
290
-
291
- ```bash
292
- # 1. RISK ASSESSMENT (Run IMMEDIATELY after story creation)
293
- @qa *risk {brownfield-story}
294
- # Identifies: Legacy dependencies, breaking changes, integration points
295
- # Output: docs/qa/assessments/{epic}.{story}-risk-{YYYYMMDD}.md
296
- # Brownfield Focus:
297
- # - Regression probability scoring
298
- # - Affected downstream systems
299
- # - Data migration risks
300
- # - Rollback complexity
301
-
302
- # 2. TEST DESIGN (After risk assessment)
303
- @qa *design {brownfield-story}
304
- # Creates: Regression test strategy + new feature tests
305
- # Output: docs/qa/assessments/{epic}.{story}-test-design-{YYYYMMDD}.md
306
- # Brownfield Focus:
307
- # - Existing functionality that needs regression tests
308
- # - Integration test requirements
309
- # - Performance benchmarks to maintain
310
- # - Feature flag test scenarios
311
- ```
312
-
313
- ##### Stage 2: During Development (Continuous Validation)
314
-
315
- **Monitor Integration Health While Coding:**
316
-
317
- ```bash
318
- # 3. REQUIREMENTS TRACING (Mid-development checkpoint)
319
- @qa *trace {brownfield-story}
320
- # Maps: New requirements + existing functionality preservation
321
- # Output: docs/qa/assessments/{epic}.{story}-trace-{YYYYMMDD}.md
322
- # Brownfield Focus:
323
- # - Existing features that must still work
324
- # - New/old feature interactions
325
- # - API contract preservation
326
- # - Missing regression test coverage
327
-
328
- # 4. NFR VALIDATION (Before considering "done")
329
- @qa *nfr {brownfield-story}
330
- # Validates: Performance, security, reliability unchanged
331
- # Output: docs/qa/assessments/{epic}.{story}-nfr-{YYYYMMDD}.md
332
- # Brownfield Focus:
333
- # - Performance regression detection
334
- # - Security implications of integrations
335
- # - Backward compatibility validation
336
- # - Load/stress on legacy components
337
- ```
338
-
339
- ##### Stage 3: Code Review (Deep Integration Analysis)
340
-
341
- **Comprehensive Brownfield Review:**
342
-
343
- ```bash
344
- # 5. FULL REVIEW (When development complete)
345
- @qa *review {brownfield-story}
346
- # Performs: Deep analysis + active refactoring
347
- # Outputs:
348
- # - QA Results in story file
349
- # - Gate file: docs/qa/gates/{epic}.{story}-{slug}.yml
350
- ```
351
-
352
- The review specifically analyzes:
353
-
354
- - **API Breaking Changes**: Validates all existing contracts maintained
355
- - **Data Migration Safety**: Checks transformation logic and rollback procedures
356
- - **Performance Regression**: Compares against baseline metrics
357
- - **Integration Points**: Validates all touchpoints with legacy code
358
- - **Feature Flag Logic**: Ensures proper toggle behavior
359
- - **Dependency Impacts**: Maps affected downstream systems
360
-
361
- ##### Stage 4: Post-Review (Gate Updates)
362
-
363
- ```bash
364
- # 6. GATE STATUS UPDATE (After addressing issues)
365
- @qa *gate {brownfield-story}
366
- # Updates: Quality gate decision after fixes
367
- # Output: docs/qa/gates/{epic}.{story}-{slug}.yml
368
- # Brownfield Considerations:
369
- # - May WAIVE certain legacy code issues
370
- # - Documents technical debt acceptance
371
- # - Tracks migration progress
372
- ```
373
-
374
- #### Brownfield-Specific Risk Scoring
375
-
376
- The Test Architect uses enhanced risk scoring for brownfield:
377
-
378
- | **Risk Category** | **Brownfield Factors** | **Impact on Gate** |
379
- | ---------------------- | ------------------------------------------ | ------------------- |
380
- | **Regression Risk** | Number of integration points × Age of code | Score ≥9 = FAIL |
381
- | **Data Risk** | Migration complexity × Data volume | Score ≥6 = CONCERNS |
382
- | **Performance Risk** | Current load × Added complexity | Score ≥6 = CONCERNS |
383
- | **Compatibility Risk** | API consumers × Contract changes | Score ≥9 = FAIL |
384
-
385
- #### Brownfield Testing Standards
386
-
387
- Quinn enforces additional standards for brownfield:
388
-
389
- - **Regression Test Coverage**: Every touched legacy module needs tests
390
- - **Performance Baselines**: Must maintain or improve current metrics
391
- - **Rollback Procedures**: Every change needs a rollback plan
392
- - **Feature Flags**: All risky changes behind toggles
393
- - **Integration Tests**: Cover all legacy touchpoints
394
- - **Contract Tests**: Validate API compatibility
395
- - **Data Validation**: Migration correctness checks
396
-
397
- #### Quick Reference: Brownfield Test Commands
398
-
399
- | **Scenario** | **Commands to Run** | **Order** | **Why Critical** |
400
- | --------------------------------- | ---------------------------------------------------- | ---------- | ----------------------------- |
401
- | **Adding Feature to Legacy Code** | `*risk` → `*design` → `*trace` → `*review` | Sequential | Map all dependencies first |
402
- | **API Modification** | `*risk` → `*design` → `*nfr` → `*review` | Sequential | Prevent breaking consumers |
403
- | **Performance-Critical Change** | `*nfr` early and often → `*review` | Continuous | Catch degradation immediately |
404
- | **Data Migration** | `*risk` → `*design` → `*trace` → `*review` → `*gate` | Full cycle | Ensure data integrity |
405
- | **Bug Fix in Complex System** | `*risk` → `*trace` → `*review` | Focused | Prevent side effects |
406
-
407
- #### Integration with Brownfield Scenarios
408
-
409
- **Scenario-Specific Guidance:**
410
-
411
- 1. **Legacy Code Modernization**
412
- - Start with `*risk` to map all dependencies
413
- - Use `*design` to plan strangler fig approach
414
- - Run `*trace` frequently to ensure nothing breaks
415
- - `*review` with focus on gradual migration
416
-
417
- 2. **Adding Features to Monolith**
418
- - `*risk` identifies integration complexity
419
- - `*design` plans isolation strategies
420
- - `*nfr` monitors performance impact
421
- - `*review` validates no monolith degradation
422
-
423
- 3. **Microservice Extraction**
424
- - `*risk` maps service boundaries
425
- - `*trace` ensures functionality preservation
426
- - `*nfr` validates network overhead acceptable
427
- - `*gate` documents accepted trade-offs
428
-
429
- 4. **Database Schema Changes**
430
- - `*risk` assesses migration complexity
431
- - `*design` plans backward-compatible approach
432
- - `*trace` maps all affected queries
433
- - `*review` validates migration safety
434
-
435
- ### 5. Communicate Changes
436
-
437
- Document:
438
-
439
- - What changed and why
440
- - Migration instructions
441
- - New patterns introduced
442
- - Deprecation notices
443
-
444
- ## Common Brownfield Scenarios
445
-
446
- ### Scenario 1: Adding a New Feature
447
-
448
- 1. Document existing system
449
- 2. Create brownfield PRD focusing on integration
450
- 3. **Test Architect Early Involvement**:
451
- - Run `@qa *risk` on draft stories to identify integration risks
452
- - Use `@qa *design` to plan regression test strategy
453
- 4. Architecture emphasizes compatibility
454
- 5. Stories include integration tasks with test requirements
455
- 6. **During Development**:
456
- - Developer runs `@qa *trace` to verify coverage
457
- - Use `@qa *nfr` to monitor performance impact
458
- 7. **Review Stage**: `@qa *review` validates integration safety
459
-
460
- ### Scenario 2: Modernizing Legacy Code
461
-
462
- 1. Extensive documentation phase
463
- 2. PRD includes migration strategy
464
- 3. **Test Architect Strategy Planning**:
465
- - `@qa *risk` assesses modernization complexity
466
- - `@qa *design` plans parallel testing approach
467
- 4. Architecture plans gradual transition (strangler fig pattern)
468
- 5. Stories follow incremental modernization with:
469
- - Regression tests for untouched legacy code
470
- - Integration tests for new/old boundaries
471
- - Performance benchmarks at each stage
472
- 6. **Continuous Validation**: Run `@qa *trace` after each increment
473
- 7. **Gate Management**: Use `@qa *gate` to track technical debt acceptance
474
-
475
- ### Scenario 3: Bug Fix in Complex System
476
-
477
- 1. Document relevant subsystems
478
- 2. Use `create-brownfield-story` for focused fix
479
- 3. **Test Architect Risk Assessment**: Run `@qa *risk` to identify side effect potential
480
- 4. Include regression test requirements from `@qa *design` output
481
- 5. **During Fix**: Use `@qa *trace` to map affected functionality
482
- 6. **Before Commit**: Run `@qa *review` for comprehensive validation
483
- 7. Test Architect validates no side effects using:
484
- - Risk profiling for side effect analysis (probability × impact scoring)
485
- - Trace matrix to ensure fix doesn't break related features
486
- - NFR assessment to verify performance/security unchanged
487
- - Gate decision documents fix safety
488
-
489
- ### Scenario 4: API Integration
490
-
491
- 1. Document existing API patterns
492
- 2. PRD defines integration requirements
493
- 3. **Test Architect Contract Analysis**:
494
- - `@qa *risk` identifies breaking change potential
495
- - `@qa *design` creates contract test strategy
496
- 4. Architecture ensures consistent patterns
497
- 5. **API Testing Focus**:
498
- - Contract tests for backward compatibility
499
- - Integration tests for new endpoints
500
- - Performance tests for added load
501
- 6. Stories include API documentation updates
502
- 7. **Validation Checkpoints**:
503
- - `@qa *trace` maps all API consumers
504
- - `@qa *nfr` validates response times
505
- - `@qa *review` ensures no breaking changes
506
- 8. **Gate Decision**: Document any accepted breaking changes with migration path
507
-
508
- ## Troubleshooting
509
-
510
- ### "The AI doesn't understand my codebase"
511
-
512
- **Solution**: Re-run `document-project` with more specific paths to critical files
513
-
514
- ### "Generated plans don't fit our patterns"
515
-
516
- **Solution**: Update generated documentation with your specific conventions before planning phase
517
-
518
- ### "Too much boilerplate for small changes"
519
-
520
- **Solution**: Use `create-brownfield-story` instead of full workflow
521
-
522
- ### "Integration points unclear"
523
-
524
- **Solution**: Provide more context during PRD creation, specifically highlighting integration systems
525
-
526
- ## Quick Reference
527
-
528
- ### Brownfield-Specific Commands
529
-
530
- ```bash
531
- # Document existing project
532
- @architect *document-project
533
-
534
- # Create enhancement PRD
535
- @pm *create-brownfield-prd
536
-
537
- # Create architecture with integration focus
538
- @architect *create-brownfield-architecture
539
-
540
- # Quick epic creation
541
- @pm *create-brownfield-epic
542
-
543
- # Single story creation
544
- @pm *create-brownfield-story
545
- ```
546
-
547
- ### Test Architect Commands for Brownfield
548
-
549
- Note: Short forms shown below. Full commands: `*risk-profile`, `*test-design`, `*nfr-assess`, `*trace-requirements`
550
-
551
- ```bash
552
- # BEFORE DEVELOPMENT (Planning)
553
- @qa *risk {story} # Assess regression & integration risks
554
- @qa *design {story} # Plan regression + new feature tests
555
-
556
- # DURING DEVELOPMENT (Validation)
557
- @qa *trace {story} # Verify coverage of old + new
558
- @qa *nfr {story} # Check performance degradation
559
-
560
- # AFTER DEVELOPMENT (Review)
561
- @qa *review {story} # Deep integration analysis
562
- @qa *gate {story} # Update quality decision
563
- ```
564
-
565
- ### Decision Tree
566
-
567
- ```text
568
- Do you have a large codebase or monorepo?
569
- ├─ Yes → PRD-First Approach
570
- │ └─ Create PRD → Document only affected areas
571
- └─ No → Is the codebase well-known to you?
572
- ├─ Yes → PRD-First Approach
573
- └─ No → Document-First Approach
574
-
575
- Is this a major enhancement affecting multiple systems?
576
- ├─ Yes → Full Brownfield Workflow
577
- │ └─ ALWAYS run Test Architect *risk + *design first
578
- └─ No → Is this more than a simple bug fix?
579
- ├─ Yes → *create-brownfield-epic
580
- │ └─ Run Test Architect *risk for integration points
581
- └─ No → *create-brownfield-story
582
- └─ Still run *risk if touching critical paths
583
-
584
- Does the change touch legacy code?
585
- ├─ Yes → Test Architect is MANDATORY
586
- │ ├─ *risk → Identify regression potential
587
- │ ├─ *design → Plan test coverage
588
- │ └─ *review → Validate no breakage
589
- └─ No → Test Architect is RECOMMENDED
590
- └─ *review → Ensure quality standards
591
- ```
592
-
593
- ## Conclusion
594
-
595
- Brownfield development with BMad Method provides structure and safety when modifying existing systems. The Test Architect becomes your critical safety net, using risk assessment, regression testing, and continuous validation to ensure new changes don't destabilize existing functionality.
596
-
597
- **The Brownfield Success Formula:**
598
-
599
- 1. **Document First** - Understand what exists
600
- 2. **Assess Risk Early** - Use Test Architect `*risk` before coding
601
- 3. **Plan Test Strategy** - Design regression + new feature tests
602
- 4. **Validate Continuously** - Check integration health during development
603
- 5. **Review Comprehensively** - Deep analysis before committing
604
- 6. **Gate Decisively** - Document quality decisions
605
-
606
- Remember: **In brownfield, the Test Architect isn't optional - it's your insurance policy against breaking production.**