agentvibes 2.10.0 → 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 (437) 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/migrate-to-agentvibes.sh +161 -0
  7. package/.claude/hooks/play-tts-elevenlabs.sh +1 -1
  8. package/.claude/output-styles/agent-vibes.md +3 -3
  9. package/README.md +9 -6
  10. package/RELEASE_NOTES.md +341 -0
  11. package/docs/architecture/provider-system.md +3 -3
  12. package/docs/bmad-v6-support.md +1 -1
  13. package/docs/technical-deep-dive.md +1 -1
  14. package/docs/voice-mapping-format.md +1 -1
  15. package/package.json +1 -1
  16. package/src/installer.js +88 -16
  17. package/test-migration.sh +539 -0
  18. package/.agentvibes/bmad/bmad-voices-enabled.flag +0 -0
  19. package/.agentvibes/bmad/bmad-voices.md +0 -68
  20. package/.bmad/_cfg/agent-manifest.csv +0 -11
  21. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  22. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  25. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  26. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  27. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  28. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  29. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  30. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  31. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  32. package/.bmad/_cfg/files-manifest.csv +0 -243
  33. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  34. package/.bmad/_cfg/manifest.yaml +0 -9
  35. package/.bmad/_cfg/task-manifest.csv +0 -5
  36. package/.bmad/_cfg/tool-manifest.csv +0 -2
  37. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  38. package/.bmad/bmm/README.md +0 -128
  39. package/.bmad/bmm/agents/analyst.md +0 -79
  40. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  41. package/.bmad/bmm/agents/architect.md +0 -80
  42. package/.bmad/bmm/agents/dev.md +0 -70
  43. package/.bmad/bmm/agents/frame-expert.md +0 -72
  44. package/.bmad/bmm/agents/pm.md +0 -84
  45. package/.bmad/bmm/agents/sm.md +0 -93
  46. package/.bmad/bmm/agents/tea.md +0 -80
  47. package/.bmad/bmm/agents/tech-writer.md +0 -84
  48. package/.bmad/bmm/agents/ux-designer.md +0 -79
  49. package/.bmad/bmm/config.yaml +0 -17
  50. package/.bmad/bmm/docs/README.md +0 -236
  51. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  52. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  53. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  54. package/.bmad/bmm/docs/faq.md +0 -588
  55. package/.bmad/bmm/docs/glossary.md +0 -320
  56. package/.bmad/bmm/docs/party-mode.md +0 -224
  57. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  58. package/.bmad/bmm/docs/quick-start.md +0 -376
  59. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  60. package/.bmad/bmm/docs/test-architecture.md +0 -396
  61. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  62. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  63. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  64. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  65. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  66. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  67. package/.bmad/bmm/teams/default-party.csv +0 -20
  68. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  69. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  70. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  71. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  72. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  73. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  74. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  75. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  76. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  77. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  78. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  79. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  80. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  81. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  82. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  83. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  84. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  85. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  86. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  87. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  88. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  89. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  90. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  91. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  92. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  93. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  94. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  95. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  96. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  97. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  98. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  99. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  100. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  101. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  102. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  103. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  104. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  105. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  106. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  107. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  108. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  109. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  110. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  111. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  112. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  113. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  114. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  115. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  116. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  117. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  118. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  119. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  120. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  121. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  122. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  123. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  124. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  125. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  126. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  127. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  128. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  129. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  130. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  131. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  132. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  133. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  134. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  135. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  136. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  137. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  138. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  139. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  143. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  144. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  145. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  146. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  147. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  148. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  149. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  150. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  151. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  152. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  153. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  154. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  156. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  157. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  158. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  159. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  160. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  161. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  162. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  163. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  164. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  165. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  166. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  167. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  168. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  169. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  170. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  171. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  172. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  173. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  174. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  175. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  176. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  177. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  178. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  179. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  180. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  181. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  182. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  183. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  184. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  185. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  186. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  187. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  188. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  189. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  190. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  191. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  192. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  193. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  194. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  195. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  196. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  197. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  198. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  199. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  200. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  201. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  202. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  203. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  204. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  205. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  206. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  207. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  208. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  209. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  210. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  211. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  212. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  213. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  214. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  215. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  216. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  217. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  218. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  219. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  220. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  221. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  222. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  223. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  224. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  225. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  226. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  227. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  228. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  229. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  230. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  231. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  232. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  233. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  234. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  235. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  236. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  237. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  238. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  239. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  240. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  241. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  242. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  243. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  244. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  245. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  246. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  247. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  248. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  249. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  250. package/.bmad/core/agents/bmad-master.md +0 -72
  251. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  252. package/.bmad/core/config.yaml +0 -11
  253. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  254. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  255. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  256. package/.bmad/core/tasks/index-docs.xml +0 -65
  257. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  258. package/.bmad/core/tasks/workflow.xml +0 -270
  259. package/.bmad/core/tools/shard-doc.xml +0 -109
  260. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  261. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  262. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  263. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  264. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  265. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  266. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  267. package/.bmad/docs/claude-code-instructions.md +0 -25
  268. package/.claude/commands/BMad/analyst.md +0 -88
  269. package/.claude/commands/BMad/architect.md +0 -89
  270. package/.claude/commands/BMad/bmad-master.md +0 -114
  271. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  272. package/.claude/commands/BMad/dev.md +0 -85
  273. package/.claude/commands/BMad/pm.md +0 -88
  274. package/.claude/commands/BMad/po.md +0 -83
  275. package/.claude/commands/BMad/qa.md +0 -91
  276. package/.claude/commands/BMad/sm.md +0 -69
  277. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  278. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  279. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  280. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  281. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  282. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  283. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  284. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  285. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  286. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  287. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  288. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  289. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  290. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  291. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  292. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  293. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  294. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  295. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  296. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  297. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  298. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  299. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  300. package/.claude/commands/BMad/ux-expert.md +0 -73
  301. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  303. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  304. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  305. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  306. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  307. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  308. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  309. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  310. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  336. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  337. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  338. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  339. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  340. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  341. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  342. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  343. package/.claude/github-star-reminder.txt +0 -1
  344. package/.claude/hooks/bmad-party-manager.sh +0 -225
  345. package/.claude/hooks/stop.sh +0 -221
  346. package/.claude/piper-voices-dir.txt +0 -1
  347. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  348. package/.mcp.json +0 -88
  349. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  350. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  351. package/docs/2025-11-15_15-14-33.snagx +0 -0
  352. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  353. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  354. package/docs/macos-piper-issue.md +0 -172
  355. package/docs/stargazer-cms-prd.md +0 -1918
  356. package/docs/whatsapp-plugin-github-issue.md +0 -393
  357. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  358. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  359. package/github-profile-draft.md +0 -57
  360. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  361. package/mcp-server/agentvibes.db +0 -0
  362. package/scripts/audio-tunnel.config +0 -17
  363. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  364. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  365. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  366. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  367. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  368. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  369. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  370. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  371. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  372. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  373. package/v4-backup/.bmad-core/agents/po.md +0 -79
  374. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  375. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  376. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  377. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  378. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  379. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  380. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  381. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  382. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  383. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  384. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  385. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  386. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  387. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  388. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  389. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  390. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  391. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  392. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  393. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  394. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  395. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  396. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  397. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  398. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  399. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  400. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  401. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  402. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  403. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  404. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  405. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  406. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  407. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  408. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  409. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  410. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  411. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  412. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  413. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  414. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  415. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  416. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  417. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  418. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  419. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  420. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  421. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  422. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  423. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  424. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  425. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  426. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  427. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  428. package/v4-backup/.bmad-core/user-guide.md +0 -577
  429. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  430. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  431. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  432. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  433. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  434. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  435. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  436. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  437. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,782 +0,0 @@
1
- <!-- Powered by BMAD-CORE™ -->
2
-
3
- # Test Design and Risk Assessment
4
-
5
- **Workflow ID**: `.bmad/bmm/testarch/test-design`
6
- **Version**: 4.0 (BMad v6)
7
-
8
- ---
9
-
10
- ## Overview
11
-
12
- Plans comprehensive test coverage strategy with risk assessment, priority classification, and execution ordering. This workflow operates in **two modes**:
13
-
14
- - **System-Level Mode (Phase 3)**: Testability review of architecture before solutioning gate check
15
- - **Epic-Level Mode (Phase 4)**: Per-epic test planning with risk assessment (current behavior)
16
-
17
- The workflow auto-detects which mode to use based on project phase.
18
-
19
- ---
20
-
21
- ## Preflight: Detect Mode and Load Context
22
-
23
- **Critical:** Determine mode before proceeding.
24
-
25
- ### Mode Detection
26
-
27
- 1. **Check for sprint-status.yaml**
28
- - If `{output_folder}/bmm-sprint-status.yaml` exists → **Epic-Level Mode** (Phase 4)
29
- - If NOT exists → Check workflow status
30
-
31
- 2. **Check workflow-status.yaml**
32
- - Read `{output_folder}/bmm-workflow-status.yaml`
33
- - If `implementation-readiness: required` or `implementation-readiness: recommended` → **System-Level Mode** (Phase 3)
34
- - Otherwise → **Epic-Level Mode** (Phase 4 without sprint status yet)
35
-
36
- 3. **Mode-Specific Requirements**
37
-
38
- **System-Level Mode (Phase 3 - Testability Review):**
39
- - ✅ Architecture document exists (architecture.md or tech-spec)
40
- - ✅ PRD exists with functional and non-functional requirements
41
- - ✅ Epics documented (epics.md)
42
- - ⚠️ Output: `{output_folder}/test-design-system.md`
43
-
44
- **Epic-Level Mode (Phase 4 - Per-Epic Planning):**
45
- - ✅ Story markdown with acceptance criteria available
46
- - ✅ PRD or epic documentation exists for context
47
- - ✅ Architecture documents available (optional but recommended)
48
- - ✅ Requirements are clear and testable
49
- - ⚠️ Output: `{output_folder}/test-design-epic-{epic_num}.md`
50
-
51
- **Halt Condition:** If mode cannot be determined or required files missing, HALT and notify user with missing prerequisites.
52
-
53
- ---
54
-
55
- ## Step 1: Load Context (Mode-Aware)
56
-
57
- **Mode-Specific Loading:**
58
-
59
- ### System-Level Mode (Phase 3)
60
-
61
- 1. **Read Architecture Documentation**
62
- - Load architecture.md or tech-spec (REQUIRED)
63
- - Load PRD.md for functional and non-functional requirements
64
- - Load epics.md for feature scope
65
- - Identify technology stack decisions (frameworks, databases, deployment targets)
66
- - Note integration points and external system dependencies
67
- - Extract NFR requirements (performance SLOs, security requirements, etc.)
68
-
69
- 2. **Load Knowledge Base Fragments (System-Level)**
70
-
71
- **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to load:
72
- - `nfr-criteria.md` - NFR validation approach (security, performance, reliability, maintainability)
73
- - `test-levels-framework.md` - Test levels strategy guidance
74
- - `risk-governance.md` - Testability risk identification
75
- - `test-quality.md` - Quality standards and Definition of Done
76
-
77
- 3. **Analyze Existing Test Setup (if brownfield)**
78
- - Search for existing test directories
79
- - Identify current test framework (if any)
80
- - Note testability concerns in existing codebase
81
-
82
- ### Epic-Level Mode (Phase 4)
83
-
84
- 1. **Read Requirements Documentation**
85
- - Load PRD.md for high-level product requirements
86
- - Read epics.md or specific epic for feature scope
87
- - Read story markdown for detailed acceptance criteria
88
- - Identify all testable requirements
89
-
90
- 2. **Load Architecture Context**
91
- - Read architecture.md for system design
92
- - Read tech-spec for implementation details
93
- - Read test-design-system.md (if exists from Phase 3)
94
- - Identify technical constraints and dependencies
95
- - Note integration points and external systems
96
-
97
- 3. **Analyze Existing Test Coverage**
98
- - Search for existing test files in `{test_dir}`
99
- - Identify coverage gaps
100
- - Note areas with insufficient testing
101
- - Check for flaky or outdated tests
102
-
103
- 4. **Load Knowledge Base Fragments (Epic-Level)**
104
-
105
- **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to load:
106
- - `risk-governance.md` - Risk classification framework (6 categories: TECH, SEC, PERF, DATA, BUS, OPS), automated scoring, gate decision engine, owner tracking (625 lines, 4 examples)
107
- - `probability-impact.md` - Risk scoring methodology (probability × impact matrix, automated classification, dynamic re-assessment, gate integration, 604 lines, 4 examples)
108
- - `test-levels-framework.md` - Test level selection guidance (E2E vs API vs Component vs Unit with decision matrix, characteristics, when to use each, 467 lines, 4 examples)
109
- - `test-priorities-matrix.md` - P0-P3 prioritization criteria (automated priority calculation, risk-based mapping, tagging strategy, time budgets, 389 lines, 2 examples)
110
-
111
- **Halt Condition (Epic-Level only):** If story data or acceptance criteria are missing, check if brownfield exploration is needed. If neither requirements NOR exploration possible, HALT with message: "Epic-level test design requires clear requirements, acceptance criteria, or brownfield app URL for exploration"
112
-
113
- ---
114
-
115
- ## Step 1.5: System-Level Testability Review (Phase 3 Only)
116
-
117
- **Skip this step if Epic-Level Mode.** This step only executes in System-Level Mode.
118
-
119
- ### Actions
120
-
121
- 1. **Review Architecture for Testability**
122
-
123
- Evaluate architecture against these criteria:
124
-
125
- **Controllability:**
126
- - Can we control system state for testing? (API seeding, factories, database reset)
127
- - Are external dependencies mockable? (interfaces, dependency injection)
128
- - Can we trigger error conditions? (chaos engineering, fault injection)
129
-
130
- **Observability:**
131
- - Can we inspect system state? (logging, metrics, traces)
132
- - Are test results deterministic? (no race conditions, clear success/failure)
133
- - Can we validate NFRs? (performance metrics, security audit logs)
134
-
135
- **Reliability:**
136
- - Are tests isolated? (parallel-safe, stateless, cleanup discipline)
137
- - Can we reproduce failures? (deterministic waits, HAR capture, seed data)
138
- - Are components loosely coupled? (mockable, testable boundaries)
139
-
140
- 2. **Identify Architecturally Significant Requirements (ASRs)**
141
-
142
- From PRD NFRs and architecture decisions, identify quality requirements that:
143
- - Drive architecture decisions (e.g., "Must handle 10K concurrent users" → caching architecture)
144
- - Pose testability challenges (e.g., "Sub-second response time" → performance test infrastructure)
145
- - Require special test environments (e.g., "Multi-region deployment" → regional test instances)
146
-
147
- Score each ASR using risk matrix (probability × impact).
148
-
149
- 3. **Define Test Levels Strategy**
150
-
151
- Based on architecture (mobile, web, API, microservices, monolith):
152
- - Recommend unit/integration/E2E split (e.g., 70/20/10 for API-heavy, 40/30/30 for UI-heavy)
153
- - Identify test environment needs (local, staging, ephemeral, production-like)
154
- - Define testing approach per technology (Playwright for web, Maestro for mobile, k6 for performance)
155
-
156
- 4. **Assess NFR Testing Approach**
157
-
158
- For each NFR category:
159
- - **Security**: Auth/authz tests, OWASP validation, secret handling (Playwright E2E + security tools)
160
- - **Performance**: Load/stress/spike testing with k6, SLO/SLA thresholds
161
- - **Reliability**: Error handling, retries, circuit breakers, health checks (Playwright + API tests)
162
- - **Maintainability**: Coverage targets, code quality gates, observability validation
163
-
164
- 5. **Flag Testability Concerns**
165
-
166
- Identify architecture decisions that harm testability:
167
- - ❌ Tight coupling (no interfaces, hard dependencies)
168
- - ❌ No dependency injection (can't mock external services)
169
- - ❌ Hardcoded configurations (can't test different envs)
170
- - ❌ Missing observability (can't validate NFRs)
171
- - ❌ Stateful designs (can't parallelize tests)
172
-
173
- **Critical:** If testability concerns are blockers (e.g., "Architecture makes performance testing impossible"), document as CONCERNS or FAIL recommendation for gate check.
174
-
175
- 6. **Output System-Level Test Design**
176
-
177
- Write to `{output_folder}/test-design-system.md` containing:
178
-
179
- ```markdown
180
- # System-Level Test Design
181
-
182
- ## Testability Assessment
183
-
184
- - Controllability: [PASS/CONCERNS/FAIL with details]
185
- - Observability: [PASS/CONCERNS/FAIL with details]
186
- - Reliability: [PASS/CONCERNS/FAIL with details]
187
-
188
- ## Architecturally Significant Requirements (ASRs)
189
-
190
- [Risk-scored quality requirements]
191
-
192
- ## Test Levels Strategy
193
-
194
- - Unit: [X%] - [Rationale]
195
- - Integration: [Y%] - [Rationale]
196
- - E2E: [Z%] - [Rationale]
197
-
198
- ## NFR Testing Approach
199
-
200
- - Security: [Approach with tools]
201
- - Performance: [Approach with tools]
202
- - Reliability: [Approach with tools]
203
- - Maintainability: [Approach with tools]
204
-
205
- ## Test Environment Requirements
206
-
207
- [Infrastructure needs based on deployment architecture]
208
-
209
- ## Testability Concerns (if any)
210
-
211
- [Blockers or concerns that should inform solutioning gate check]
212
-
213
- ## Recommendations for Sprint 0
214
-
215
- [Specific actions for *framework and *ci workflows]
216
- ```
217
-
218
- **After System-Level Mode:** Skip to Step 4 (Generate Deliverables) - Steps 2-3 are epic-level only.
219
-
220
- ---
221
-
222
- ## Step 1.6: Exploratory Mode Selection (Epic-Level Only)
223
-
224
- ### Actions
225
-
226
- 1. **Detect Planning Mode**
227
-
228
- Determine mode based on context:
229
-
230
- **Requirements-Based Mode (DEFAULT)**:
231
- - Have clear story/PRD with acceptance criteria
232
- - Uses: Existing workflow (Steps 2-4)
233
- - Appropriate for: Documented features, greenfield projects
234
-
235
- **Exploratory Mode (OPTIONAL - Brownfield)**:
236
- - Missing/incomplete requirements AND brownfield application exists
237
- - Uses: UI exploration to discover functionality
238
- - Appropriate for: Undocumented brownfield apps, legacy systems
239
-
240
- 2. **Requirements-Based Mode (DEFAULT - Skip to Step 2)**
241
-
242
- If requirements are clear:
243
- - Continue with existing workflow (Step 2: Assess and Classify Risks)
244
- - Use loaded requirements from Step 1
245
- - Proceed with risk assessment based on documented requirements
246
-
247
- 3. **Exploratory Mode (OPTIONAL - Brownfield Apps)**
248
-
249
- If exploring brownfield application:
250
-
251
- **A. Check MCP Availability**
252
-
253
- If config.tea_use_mcp_enhancements is true AND Playwright MCP tools available:
254
- - Use MCP-assisted exploration (Step 3.B)
255
-
256
- If MCP unavailable OR config.tea_use_mcp_enhancements is false:
257
- - Use manual exploration fallback (Step 3.C)
258
-
259
- **B. MCP-Assisted Exploration (If MCP Tools Available)**
260
-
261
- Use Playwright MCP browser tools to explore UI:
262
-
263
- **Setup:**
264
-
265
- ```
266
- 1. Use planner_setup_page to initialize browser
267
- 2. Navigate to {exploration_url}
268
- 3. Capture initial state with browser_snapshot
269
- ```
270
-
271
- **Exploration Process:**
272
-
273
- ```
274
- 4. Use browser_navigate to explore different pages
275
- 5. Use browser_click to interact with buttons, links, forms
276
- 6. Use browser_hover to reveal hidden menus/tooltips
277
- 7. Capture browser_snapshot at each significant state
278
- 8. Take browser_screenshot for documentation
279
- 9. Monitor browser_console_messages for JavaScript errors
280
- 10. Track browser_network_requests to identify API calls
281
- 11. Map user flows and interactive elements
282
- 12. Document discovered functionality
283
- ```
284
-
285
- **Discovery Documentation:**
286
- - Create list of discovered features (pages, workflows, forms)
287
- - Identify user journeys (navigation paths)
288
- - Map API endpoints (from network requests)
289
- - Note error states (from console messages)
290
- - Capture screenshots for visual reference
291
-
292
- **Convert to Test Scenarios:**
293
- - Transform discoveries into testable requirements
294
- - Prioritize based on user flow criticality
295
- - Identify risks from discovered functionality
296
- - Continue with Step 2 (Assess and Classify Risks) using discovered requirements
297
-
298
- **C. Manual Exploration Fallback (If MCP Unavailable)**
299
-
300
- If Playwright MCP is not available:
301
-
302
- **Notify User:**
303
-
304
- ```markdown
305
- Exploratory mode enabled but Playwright MCP unavailable.
306
-
307
- **Manual exploration required:**
308
-
309
- 1. Open application at: {exploration_url}
310
- 2. Explore all pages, workflows, and features
311
- 3. Document findings in markdown:
312
- - List of pages/features discovered
313
- - User journeys identified
314
- - API endpoints observed (DevTools Network tab)
315
- - JavaScript errors noted (DevTools Console)
316
- - Critical workflows mapped
317
-
318
- 4. Provide exploration findings to continue workflow
319
-
320
- **Alternative:** Disable exploratory_mode and provide requirements documentation
321
- ```
322
-
323
- Wait for user to provide exploration findings, then:
324
- - Parse user-provided discovery documentation
325
- - Convert to testable requirements
326
- - Continue with Step 2 (risk assessment)
327
-
328
- 4. **Proceed to Risk Assessment**
329
-
330
- After mode selection (Requirements-Based OR Exploratory):
331
- - Continue to Step 2: Assess and Classify Risks
332
- - Use requirements from documentation (Requirements-Based) OR discoveries (Exploratory)
333
-
334
- ---
335
-
336
- ## Step 2: Assess and Classify Risks
337
-
338
- ### Actions
339
-
340
- 1. **Identify Genuine Risks**
341
-
342
- Filter requirements to isolate actual risks (not just features):
343
- - Unresolved technical gaps
344
- - Security vulnerabilities
345
- - Performance bottlenecks
346
- - Data loss or corruption potential
347
- - Business impact failures
348
- - Operational deployment issues
349
-
350
- 2. **Classify Risks by Category**
351
-
352
- Use these standard risk categories:
353
-
354
- **TECH** (Technical/Architecture):
355
- - Architecture flaws
356
- - Integration failures
357
- - Scalability issues
358
- - Technical debt
359
-
360
- **SEC** (Security):
361
- - Missing access controls
362
- - Authentication bypass
363
- - Data exposure
364
- - Injection vulnerabilities
365
-
366
- **PERF** (Performance):
367
- - SLA violations
368
- - Response time degradation
369
- - Resource exhaustion
370
- - Scalability limits
371
-
372
- **DATA** (Data Integrity):
373
- - Data loss
374
- - Data corruption
375
- - Inconsistent state
376
- - Migration failures
377
-
378
- **BUS** (Business Impact):
379
- - User experience degradation
380
- - Business logic errors
381
- - Revenue impact
382
- - Compliance violations
383
-
384
- **OPS** (Operations):
385
- - Deployment failures
386
- - Configuration errors
387
- - Monitoring gaps
388
- - Rollback issues
389
-
390
- 3. **Score Risk Probability**
391
-
392
- Rate likelihood (1-3):
393
- - **1 (Unlikely)**: <10% chance, edge case
394
- - **2 (Possible)**: 10-50% chance, known scenario
395
- - **3 (Likely)**: >50% chance, common occurrence
396
-
397
- 4. **Score Risk Impact**
398
-
399
- Rate severity (1-3):
400
- - **1 (Minor)**: Cosmetic, workaround exists, limited users
401
- - **2 (Degraded)**: Feature impaired, workaround difficult, affects many users
402
- - **3 (Critical)**: System failure, data loss, no workaround, blocks usage
403
-
404
- 5. **Calculate Risk Score**
405
-
406
- ```
407
- Risk Score = Probability × Impact
408
-
409
- Scores:
410
- 1-2: Low risk (monitor)
411
- 3-4: Medium risk (plan mitigation)
412
- 6-9: High risk (immediate mitigation required)
413
- ```
414
-
415
- 6. **Highlight High-Priority Risks**
416
-
417
- Flag all risks with score ≥6 for immediate attention.
418
-
419
- 7. **Request Clarification**
420
-
421
- If evidence is missing or assumptions required:
422
- - Document assumptions clearly
423
- - Request user clarification
424
- - Do NOT speculate on business impact
425
-
426
- 8. **Plan Mitigations**
427
-
428
- For each high-priority risk:
429
- - Define mitigation strategy
430
- - Assign owner (dev, QA, ops)
431
- - Set timeline
432
- - Update residual risk expectation
433
-
434
- ---
435
-
436
- ## Step 3: Design Test Coverage
437
-
438
- ### Actions
439
-
440
- 1. **Break Down Acceptance Criteria**
441
-
442
- Convert each acceptance criterion into atomic test scenarios:
443
- - One scenario per testable behavior
444
- - Scenarios are independent
445
- - Scenarios are repeatable
446
- - Scenarios tie back to risk mitigations
447
-
448
- 2. **Select Appropriate Test Levels**
449
-
450
- **Knowledge Base Reference**: `test-levels-framework.md`
451
-
452
- Map requirements to optimal test levels (avoid duplication):
453
-
454
- **E2E (End-to-End)**:
455
- - Critical user journeys
456
- - Multi-system integration
457
- - Production-like environment
458
- - Highest confidence, slowest execution
459
-
460
- **API (Integration)**:
461
- - Service contracts
462
- - Business logic validation
463
- - Fast feedback
464
- - Good for complex scenarios
465
-
466
- **Component**:
467
- - UI component behavior
468
- - Interaction testing
469
- - Visual regression
470
- - Fast, isolated
471
-
472
- **Unit**:
473
- - Business logic
474
- - Edge cases
475
- - Error handling
476
- - Fastest, most granular
477
-
478
- **Avoid duplicate coverage**: Don't test same behavior at multiple levels unless necessary.
479
-
480
- 3. **Assign Priority Levels**
481
-
482
- **Knowledge Base Reference**: `test-priorities-matrix.md`
483
-
484
- **P0 (Critical)**:
485
- - Blocks core user journey
486
- - High-risk areas (score ≥6)
487
- - Revenue-impacting
488
- - Security-critical
489
- - **Run on every commit**
490
-
491
- **P1 (High)**:
492
- - Important user features
493
- - Medium-risk areas (score 3-4)
494
- - Common workflows
495
- - **Run on PR to main**
496
-
497
- **P2 (Medium)**:
498
- - Secondary features
499
- - Low-risk areas (score 1-2)
500
- - Edge cases
501
- - **Run nightly or weekly**
502
-
503
- **P3 (Low)**:
504
- - Nice-to-have
505
- - Exploratory
506
- - Performance benchmarks
507
- - **Run on-demand**
508
-
509
- 4. **Outline Data and Tooling Prerequisites**
510
-
511
- For each test scenario, identify:
512
- - Test data requirements (factories, fixtures)
513
- - External services (mocks, stubs)
514
- - Environment setup
515
- - Tools and dependencies
516
-
517
- 5. **Define Execution Order**
518
-
519
- Recommend test execution sequence:
520
- 1. **Smoke tests** (P0 subset, <5 min)
521
- 2. **P0 tests** (critical paths, <10 min)
522
- 3. **P1 tests** (important features, <30 min)
523
- 4. **P2/P3 tests** (full regression, <60 min)
524
-
525
- ---
526
-
527
- ## Step 4: Generate Deliverables
528
-
529
- ### Actions
530
-
531
- 1. **Create Risk Assessment Matrix**
532
-
533
- Use template structure:
534
-
535
- ```markdown
536
- | Risk ID | Category | Description | Probability | Impact | Score | Mitigation |
537
- | ------- | -------- | ----------- | ----------- | ------ | ----- | --------------- |
538
- | R-001 | SEC | Auth bypass | 2 | 3 | 6 | Add authz check |
539
- ```
540
-
541
- 2. **Create Coverage Matrix**
542
-
543
- ```markdown
544
- | Requirement | Test Level | Priority | Risk Link | Test Count | Owner |
545
- | ----------- | ---------- | -------- | --------- | ---------- | ----- |
546
- | Login flow | E2E | P0 | R-001 | 3 | QA |
547
- ```
548
-
549
- 3. **Document Execution Order**
550
-
551
- ```markdown
552
- ### Smoke Tests (<5 min)
553
-
554
- - Login successful
555
- - Dashboard loads
556
-
557
- ### P0 Tests (<10 min)
558
-
559
- - [Full P0 list]
560
-
561
- ### P1 Tests (<30 min)
562
-
563
- - [Full P1 list]
564
- ```
565
-
566
- 4. **Include Resource Estimates**
567
-
568
- ```markdown
569
- ### Test Effort Estimates
570
-
571
- - P0 scenarios: 15 tests × 2 hours = 30 hours
572
- - P1 scenarios: 25 tests × 1 hour = 25 hours
573
- - P2 scenarios: 40 tests × 0.5 hour = 20 hours
574
- - **Total:** 75 hours (~10 days)
575
- ```
576
-
577
- 5. **Add Gate Criteria**
578
-
579
- ```markdown
580
- ### Quality Gate Criteria
581
-
582
- - All P0 tests pass (100%)
583
- - P1 tests pass rate ≥95%
584
- - No high-risk (score ≥6) items unmitigated
585
- - Test coverage ≥80% for critical paths
586
- ```
587
-
588
- 6. **Write to Output File**
589
-
590
- Save to `{output_folder}/test-design-epic-{epic_num}.md` using template structure.
591
-
592
- ---
593
-
594
- ## Important Notes
595
-
596
- ### Risk Category Definitions
597
-
598
- **TECH** (Technical/Architecture):
599
-
600
- - Architecture flaws or technical debt
601
- - Integration complexity
602
- - Scalability concerns
603
-
604
- **SEC** (Security):
605
-
606
- - Missing security controls
607
- - Authentication/authorization gaps
608
- - Data exposure risks
609
-
610
- **PERF** (Performance):
611
-
612
- - SLA risk or performance degradation
613
- - Resource constraints
614
- - Scalability bottlenecks
615
-
616
- **DATA** (Data Integrity):
617
-
618
- - Data loss or corruption potential
619
- - State consistency issues
620
- - Migration risks
621
-
622
- **BUS** (Business Impact):
623
-
624
- - User experience harm
625
- - Business logic errors
626
- - Revenue or compliance impact
627
-
628
- **OPS** (Operations):
629
-
630
- - Deployment or runtime failures
631
- - Configuration issues
632
- - Monitoring/observability gaps
633
-
634
- ### Risk Scoring Methodology
635
-
636
- **Probability × Impact = Risk Score**
637
-
638
- Examples:
639
-
640
- - High likelihood (3) × Critical impact (3) = **Score 9** (highest priority)
641
- - Possible (2) × Critical (3) = **Score 6** (high priority threshold)
642
- - Unlikely (1) × Minor (1) = **Score 1** (low priority)
643
-
644
- **Threshold**: Scores ≥6 require immediate mitigation.
645
-
646
- ### Test Level Selection Strategy
647
-
648
- **Avoid duplication:**
649
-
650
- - Don't test same behavior at E2E and API level
651
- - Use E2E for critical paths only
652
- - Use API tests for complex business logic
653
- - Use unit tests for edge cases
654
-
655
- **Tradeoffs:**
656
-
657
- - E2E: High confidence, slow execution, brittle
658
- - API: Good balance, fast, stable
659
- - Unit: Fastest feedback, narrow scope
660
-
661
- ### Priority Assignment Guidelines
662
-
663
- **P0 criteria** (all must be true):
664
-
665
- - Blocks core functionality
666
- - High-risk (score ≥6)
667
- - No workaround exists
668
- - Affects majority of users
669
-
670
- **P1 criteria**:
671
-
672
- - Important feature
673
- - Medium risk (score 3-5)
674
- - Workaround exists but difficult
675
-
676
- **P2/P3**: Everything else, prioritized by value
677
-
678
- ### Knowledge Base Integration
679
-
680
- **Core Fragments (Auto-loaded in Step 1):**
681
-
682
- - `risk-governance.md` - Risk classification (6 categories), automated scoring, gate decision engine, coverage traceability, owner tracking (625 lines, 4 examples)
683
- - `probability-impact.md` - Probability × impact matrix, automated classification thresholds, dynamic re-assessment, gate integration (604 lines, 4 examples)
684
- - `test-levels-framework.md` - E2E vs API vs Component vs Unit decision framework with characteristics matrix (467 lines, 4 examples)
685
- - `test-priorities-matrix.md` - P0-P3 automated priority calculation, risk-based mapping, tagging strategy, time budgets (389 lines, 2 examples)
686
-
687
- **Reference for Test Planning:**
688
-
689
- - `selective-testing.md` - Execution strategy: tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
690
- - `fixture-architecture.md` - Data setup patterns: pure function → fixture → mergeTests, auto-cleanup (406 lines, 5 examples)
691
-
692
- **Manual Reference (Optional):**
693
-
694
- - Use `tea-index.csv` to find additional specialized fragments as needed
695
-
696
- ### Evidence-Based Assessment
697
-
698
- **Critical principle:** Base risk assessment on evidence, not speculation.
699
-
700
- **Evidence sources:**
701
-
702
- - PRD and user research
703
- - Architecture documentation
704
- - Historical bug data
705
- - User feedback
706
- - Security audit results
707
-
708
- **Avoid:**
709
-
710
- - Guessing business impact
711
- - Assuming user behavior
712
- - Inventing requirements
713
-
714
- **When uncertain:** Document assumptions and request clarification from user.
715
-
716
- ---
717
-
718
- ## Output Summary
719
-
720
- After completing this workflow, provide a summary:
721
-
722
- ```markdown
723
- ## Test Design Complete
724
-
725
- **Epic**: {epic_num}
726
- **Scope**: {design_level}
727
-
728
- **Risk Assessment**:
729
-
730
- - Total risks identified: {count}
731
- - High-priority risks (≥6): {high_count}
732
- - Categories: {categories}
733
-
734
- **Coverage Plan**:
735
-
736
- - P0 scenarios: {p0_count} ({p0_hours} hours)
737
- - P1 scenarios: {p1_count} ({p1_hours} hours)
738
- - P2/P3 scenarios: {p2p3_count} ({p2p3_hours} hours)
739
- - **Total effort**: {total_hours} hours (~{total_days} days)
740
-
741
- **Test Levels**:
742
-
743
- - E2E: {e2e_count}
744
- - API: {api_count}
745
- - Component: {component_count}
746
- - Unit: {unit_count}
747
-
748
- **Quality Gate Criteria**:
749
-
750
- - P0 pass rate: 100%
751
- - P1 pass rate: ≥95%
752
- - High-risk mitigations: 100%
753
- - Coverage: ≥80%
754
-
755
- **Output File**: {output_file}
756
-
757
- **Next Steps**:
758
-
759
- 1. Review risk assessment with team
760
- 2. Prioritize mitigation for high-risk items (score ≥6)
761
- 3. Run `atdd` workflow to generate failing tests for P0 scenarios
762
- 4. Allocate resources per effort estimates
763
- 5. Set up test data factories and fixtures
764
- ```
765
-
766
- ---
767
-
768
- ## Validation
769
-
770
- After completing all steps, verify:
771
-
772
- - [ ] Risk assessment complete with all categories
773
- - [ ] All risks scored (probability × impact)
774
- - [ ] High-priority risks (≥6) flagged
775
- - [ ] Coverage matrix maps requirements to test levels
776
- - [ ] Priority levels assigned (P0-P3)
777
- - [ ] Execution order defined
778
- - [ ] Resource estimates provided
779
- - [ ] Quality gate criteria defined
780
- - [ ] Output file created and formatted correctly
781
-
782
- Refer to `checklist.md` for comprehensive validation criteria.