agentvibes 2.9.7 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. package/.claude/commands/agent-vibes/agent-vibes.md +1 -1
  2. package/.claude/commands/agent-vibes/bmad.md +3 -3
  3. package/.claude/commands/agent-vibes/set-pretext.md +2 -2
  4. package/.claude/commands/agent-vibes-bmad-voices.md +5 -5
  5. package/.claude/hooks/bmad-speak.sh +1 -1
  6. package/.claude/hooks/bmad-voice-manager.sh +1 -1
  7. package/.claude/hooks/migrate-to-agentvibes.sh +161 -0
  8. package/.claude/hooks/play-tts-elevenlabs.sh +1 -1
  9. package/.claude/output-styles/agent-vibes.md +3 -3
  10. package/README.md +9 -6
  11. package/RELEASE_NOTES.md +341 -0
  12. package/docs/architecture/provider-system.md +3 -3
  13. package/docs/bmad-v6-support.md +1 -1
  14. package/docs/technical-deep-dive.md +1 -1
  15. package/docs/voice-mapping-format.md +1 -1
  16. package/package.json +1 -1
  17. package/src/installer.js +93 -21
  18. package/test-migration.sh +539 -0
  19. package/.bmad/_cfg/agent-manifest.csv +0 -11
  20. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  21. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  22. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  23. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  24. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  25. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  26. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  27. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  28. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  29. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  30. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  31. package/.bmad/_cfg/files-manifest.csv +0 -243
  32. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  33. package/.bmad/_cfg/manifest.yaml +0 -9
  34. package/.bmad/_cfg/task-manifest.csv +0 -5
  35. package/.bmad/_cfg/tool-manifest.csv +0 -2
  36. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  37. package/.bmad/bmm/README.md +0 -128
  38. package/.bmad/bmm/agents/analyst.md +0 -79
  39. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  40. package/.bmad/bmm/agents/architect.md +0 -80
  41. package/.bmad/bmm/agents/dev.md +0 -70
  42. package/.bmad/bmm/agents/frame-expert.md +0 -72
  43. package/.bmad/bmm/agents/pm.md +0 -84
  44. package/.bmad/bmm/agents/sm.md +0 -93
  45. package/.bmad/bmm/agents/tea.md +0 -80
  46. package/.bmad/bmm/agents/tech-writer.md +0 -84
  47. package/.bmad/bmm/agents/ux-designer.md +0 -79
  48. package/.bmad/bmm/config.yaml +0 -17
  49. package/.bmad/bmm/docs/README.md +0 -236
  50. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  51. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  52. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  53. package/.bmad/bmm/docs/faq.md +0 -588
  54. package/.bmad/bmm/docs/glossary.md +0 -320
  55. package/.bmad/bmm/docs/party-mode.md +0 -224
  56. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  57. package/.bmad/bmm/docs/quick-start.md +0 -376
  58. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  59. package/.bmad/bmm/docs/test-architecture.md +0 -396
  60. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  61. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  62. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  63. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  64. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  65. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  66. package/.bmad/bmm/teams/default-party.csv +0 -20
  67. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  68. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  69. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  70. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  71. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  72. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  73. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  74. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  75. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  76. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  77. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  78. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  79. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  80. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  81. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  82. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  83. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  84. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  85. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  86. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  87. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  88. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  89. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  90. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  91. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  92. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  93. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  94. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  95. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  96. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  97. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  98. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  99. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  100. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  101. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  102. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  103. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  104. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  105. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  106. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  107. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  108. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  109. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  110. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  111. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  112. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  113. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  114. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  115. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  116. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  117. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  118. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  120. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  121. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  122. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  123. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  124. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  125. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  126. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  127. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  128. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  129. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  130. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  131. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  133. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  134. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  135. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  136. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  137. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  138. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  143. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  144. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  145. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  146. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  147. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  148. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  149. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  152. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  153. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  156. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  157. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  158. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  159. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  160. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  161. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  162. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  163. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  164. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  165. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  166. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  167. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  168. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  169. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  170. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  171. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  172. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  173. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  174. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  175. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  176. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  177. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  178. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  179. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  180. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  181. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  182. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  183. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  184. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  185. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  186. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  187. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  188. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  189. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  190. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  191. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  192. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  193. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  194. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  195. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  196. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  197. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  198. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  199. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  200. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  201. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  202. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  203. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  204. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  205. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  206. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  207. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  208. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  209. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  210. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  211. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  212. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  213. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  214. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  215. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  216. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  217. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  218. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  219. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  220. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  221. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  222. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  223. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  224. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  225. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  226. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  227. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  228. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  229. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  230. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  231. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  232. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  233. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  234. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  235. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  236. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  237. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  238. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  239. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  240. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  241. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  242. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  243. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  244. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  245. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  246. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  247. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  248. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  249. package/.bmad/core/agents/bmad-master.md +0 -72
  250. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  251. package/.bmad/core/config.yaml +0 -11
  252. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  253. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  254. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  255. package/.bmad/core/tasks/index-docs.xml +0 -65
  256. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  257. package/.bmad/core/tasks/workflow.xml +0 -270
  258. package/.bmad/core/tools/shard-doc.xml +0 -109
  259. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  260. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  261. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  262. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  263. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  264. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  265. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  266. package/.bmad/docs/claude-code-instructions.md +0 -25
  267. package/.claude/commands/BMad/analyst.md +0 -88
  268. package/.claude/commands/BMad/architect.md +0 -89
  269. package/.claude/commands/BMad/bmad-master.md +0 -114
  270. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  271. package/.claude/commands/BMad/dev.md +0 -85
  272. package/.claude/commands/BMad/pm.md +0 -88
  273. package/.claude/commands/BMad/po.md +0 -83
  274. package/.claude/commands/BMad/qa.md +0 -91
  275. package/.claude/commands/BMad/sm.md +0 -69
  276. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  277. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  278. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  279. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  280. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  281. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  282. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  283. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  284. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  285. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  286. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  287. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  288. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  289. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  290. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  291. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  292. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  293. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  294. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  295. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  296. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  297. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  298. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  299. package/.claude/commands/BMad/ux-expert.md +0 -73
  300. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  301. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  302. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  303. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  304. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  305. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  306. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  307. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  308. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  309. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  327. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  328. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  329. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  330. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  331. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  332. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  333. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  336. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  337. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  338. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  339. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  340. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  341. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  342. package/.claude/config/README-personality-defaults.md +0 -162
  343. package/.claude/config/agentvibes.json +0 -1
  344. package/.claude/config/bmad-voices-enabled.flag +0 -0
  345. package/.claude/config/bmad-voices.md +0 -68
  346. package/.claude/config/personality-voice-defaults.default.json +0 -21
  347. package/.claude/github-star-reminder.txt +0 -1
  348. package/.claude/hooks/bmad-party-manager.sh +0 -225
  349. package/.claude/hooks/stop.sh +0 -221
  350. package/.claude/piper-voices-dir.txt +0 -1
  351. package/.claude/plugins/bmad-voices-enabled.flag +0 -0
  352. package/.mcp.json +0 -88
  353. package/RELEASE_NOTES_v2.4.0_DRAFT.md +0 -116
  354. package/RELEASE_NOTES_v2.4.1_DRAFT.md +0 -61
  355. package/docs/2025-11-15_15-14-33.snagx +0 -0
  356. package/docs/Screenshot 2025-11-15 151325.png +0 -0
  357. package/docs/Screenshot 2025-11-15 151432.png +0 -0
  358. package/docs/macos-piper-issue.md +0 -172
  359. package/docs/stargazer-cms-prd.md +0 -1918
  360. package/docs/whatsapp-plugin-github-issue.md +0 -393
  361. package/docs/whatsapp-tts-plugin-feasibility.md +0 -418
  362. package/docs/whatsapp-tts-standalone-plugin.md +0 -628
  363. package/github-profile-draft.md +0 -57
  364. package/linkedin/vibe-coding-and-pulseaudio.md +0 -121
  365. package/mcp-server/agentvibes.db +0 -0
  366. package/scripts/audio-tunnel.config +0 -17
  367. package/v4-backup/.bmad-core/agent-teams/team-all.yaml +0 -15
  368. package/v4-backup/.bmad-core/agent-teams/team-fullstack.yaml +0 -19
  369. package/v4-backup/.bmad-core/agent-teams/team-ide-minimal.yaml +0 -11
  370. package/v4-backup/.bmad-core/agent-teams/team-no-ui.yaml +0 -14
  371. package/v4-backup/.bmad-core/agents/analyst.md +0 -84
  372. package/v4-backup/.bmad-core/agents/architect.md +0 -85
  373. package/v4-backup/.bmad-core/agents/bmad-master.md +0 -110
  374. package/v4-backup/.bmad-core/agents/bmad-orchestrator.md +0 -147
  375. package/v4-backup/.bmad-core/agents/dev.md +0 -81
  376. package/v4-backup/.bmad-core/agents/pm.md +0 -84
  377. package/v4-backup/.bmad-core/agents/po.md +0 -79
  378. package/v4-backup/.bmad-core/agents/qa.md +0 -87
  379. package/v4-backup/.bmad-core/agents/sm.md +0 -65
  380. package/v4-backup/.bmad-core/agents/ux-expert.md +0 -69
  381. package/v4-backup/.bmad-core/checklists/architect-checklist.md +0 -440
  382. package/v4-backup/.bmad-core/checklists/change-checklist.md +0 -184
  383. package/v4-backup/.bmad-core/checklists/pm-checklist.md +0 -372
  384. package/v4-backup/.bmad-core/checklists/po-master-checklist.md +0 -434
  385. package/v4-backup/.bmad-core/checklists/story-dod-checklist.md +0 -96
  386. package/v4-backup/.bmad-core/checklists/story-draft-checklist.md +0 -155
  387. package/v4-backup/.bmad-core/core-config.yaml +0 -22
  388. package/v4-backup/.bmad-core/data/bmad-kb.md +0 -809
  389. package/v4-backup/.bmad-core/data/brainstorming-techniques.md +0 -38
  390. package/v4-backup/.bmad-core/data/elicitation-methods.md +0 -156
  391. package/v4-backup/.bmad-core/data/technical-preferences.md +0 -5
  392. package/v4-backup/.bmad-core/data/test-levels-framework.md +0 -148
  393. package/v4-backup/.bmad-core/data/test-priorities-matrix.md +0 -174
  394. package/v4-backup/.bmad-core/enhanced-ide-development-workflow.md +0 -248
  395. package/v4-backup/.bmad-core/install-manifest.yaml +0 -230
  396. package/v4-backup/.bmad-core/tasks/advanced-elicitation.md +0 -119
  397. package/v4-backup/.bmad-core/tasks/apply-qa-fixes.md +0 -150
  398. package/v4-backup/.bmad-core/tasks/brownfield-create-epic.md +0 -162
  399. package/v4-backup/.bmad-core/tasks/brownfield-create-story.md +0 -149
  400. package/v4-backup/.bmad-core/tasks/correct-course.md +0 -72
  401. package/v4-backup/.bmad-core/tasks/create-brownfield-story.md +0 -314
  402. package/v4-backup/.bmad-core/tasks/create-deep-research-prompt.md +0 -280
  403. package/v4-backup/.bmad-core/tasks/create-doc.md +0 -103
  404. package/v4-backup/.bmad-core/tasks/create-next-story.md +0 -114
  405. package/v4-backup/.bmad-core/tasks/document-project.md +0 -345
  406. package/v4-backup/.bmad-core/tasks/execute-checklist.md +0 -88
  407. package/v4-backup/.bmad-core/tasks/facilitate-brainstorming-session.md +0 -138
  408. package/v4-backup/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -53
  409. package/v4-backup/.bmad-core/tasks/index-docs.md +0 -175
  410. package/v4-backup/.bmad-core/tasks/kb-mode-interaction.md +0 -77
  411. package/v4-backup/.bmad-core/tasks/nfr-assess.md +0 -345
  412. package/v4-backup/.bmad-core/tasks/qa-gate.md +0 -163
  413. package/v4-backup/.bmad-core/tasks/review-story.md +0 -316
  414. package/v4-backup/.bmad-core/tasks/risk-profile.md +0 -355
  415. package/v4-backup/.bmad-core/tasks/shard-doc.md +0 -187
  416. package/v4-backup/.bmad-core/tasks/test-design.md +0 -176
  417. package/v4-backup/.bmad-core/tasks/trace-requirements.md +0 -266
  418. package/v4-backup/.bmad-core/tasks/validate-next-story.md +0 -136
  419. package/v4-backup/.bmad-core/templates/architecture-tmpl.yaml +0 -651
  420. package/v4-backup/.bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  421. package/v4-backup/.bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -477
  422. package/v4-backup/.bmad-core/templates/brownfield-prd-tmpl.yaml +0 -281
  423. package/v4-backup/.bmad-core/templates/competitor-analysis-tmpl.yaml +0 -307
  424. package/v4-backup/.bmad-core/templates/front-end-architecture-tmpl.yaml +0 -219
  425. package/v4-backup/.bmad-core/templates/front-end-spec-tmpl.yaml +0 -350
  426. package/v4-backup/.bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -824
  427. package/v4-backup/.bmad-core/templates/market-research-tmpl.yaml +0 -253
  428. package/v4-backup/.bmad-core/templates/prd-tmpl.yaml +0 -203
  429. package/v4-backup/.bmad-core/templates/project-brief-tmpl.yaml +0 -222
  430. package/v4-backup/.bmad-core/templates/qa-gate-tmpl.yaml +0 -103
  431. package/v4-backup/.bmad-core/templates/story-tmpl.yaml +0 -138
  432. package/v4-backup/.bmad-core/user-guide.md +0 -577
  433. package/v4-backup/.bmad-core/utils/bmad-doc-template.md +0 -327
  434. package/v4-backup/.bmad-core/utils/workflow-management.md +0 -71
  435. package/v4-backup/.bmad-core/workflows/brownfield-fullstack.yaml +0 -298
  436. package/v4-backup/.bmad-core/workflows/brownfield-service.yaml +0 -188
  437. package/v4-backup/.bmad-core/workflows/brownfield-ui.yaml +0 -198
  438. package/v4-backup/.bmad-core/workflows/greenfield-fullstack.yaml +0 -241
  439. package/v4-backup/.bmad-core/workflows/greenfield-service.yaml +0 -207
  440. package/v4-backup/.bmad-core/workflows/greenfield-ui.yaml +0 -236
  441. package/v4-backup/.bmad-core/working-in-the-brownfield.md +0 -606
@@ -1,45 +0,0 @@
1
- # Test Architect workflow: atdd
2
- name: testarch-atdd
3
- description: "Generate failing acceptance tests before implementation using TDD red-green-refactor cycle"
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/.bmad/bmm/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
- document_output_language: "{config_source}:document_output_language"
12
- date: system-generated
13
-
14
- # Workflow components
15
- installed_path: "{project-root}/.bmad/bmm/workflows/testarch/atdd"
16
- instructions: "{installed_path}/instructions.md"
17
- validation: "{installed_path}/checklist.md"
18
- template: "{installed_path}/atdd-checklist-template.md"
19
-
20
- # Variables and inputs
21
- variables:
22
- test_dir: "{project-root}/tests" # Root test directory
23
-
24
- # Output configuration
25
- default_output_file: "{output_folder}/atdd-checklist-{story_id}.md"
26
-
27
- # Required tools
28
- required_tools:
29
- - read_file # Read story markdown, framework config
30
- - write_file # Create test files, checklist, factory stubs
31
- - create_directory # Create test directories
32
- - list_files # Find existing fixtures and helpers
33
- - search_repo # Search for similar test patterns
34
-
35
- tags:
36
- - qa
37
- - atdd
38
- - test-architect
39
- - tdd
40
- - red-green-refactor
41
-
42
- execution_hints:
43
- interactive: false # Minimize prompts
44
- autonomous: true # Proceed without user input unless blocked
45
- iterative: true
@@ -1,580 +0,0 @@
1
- # Automate Workflow Validation Checklist
2
-
3
- Use this checklist to validate that the automate workflow has been executed correctly and all deliverables meet quality standards.
4
-
5
- ## Prerequisites
6
-
7
- Before starting this workflow, verify:
8
-
9
- - [ ] Framework scaffolding configured (playwright.config.ts or cypress.config.ts exists)
10
- - [ ] Test directory structure exists (tests/ folder with subdirectories)
11
- - [ ] Package.json has test framework dependencies installed
12
-
13
- **Halt only if:** Framework scaffolding is completely missing (run `framework` workflow first)
14
-
15
- **Note:** BMad artifacts (story, tech-spec, PRD) are OPTIONAL - workflow can run without them
16
-
17
- ---
18
-
19
- ## Step 1: Execution Mode Determination and Context Loading
20
-
21
- ### Mode Detection
22
-
23
- - [ ] Execution mode correctly determined:
24
- - [ ] BMad-Integrated Mode (story_file variable set) OR
25
- - [ ] Standalone Mode (target_feature or target_files set) OR
26
- - [ ] Auto-discover Mode (no targets specified)
27
-
28
- ### BMad Artifacts (If Available - OPTIONAL)
29
-
30
- - [ ] Story markdown loaded (if `{story_file}` provided)
31
- - [ ] Acceptance criteria extracted from story (if available)
32
- - [ ] Tech-spec.md loaded (if `{use_tech_spec}` true and file exists)
33
- - [ ] Test-design.md loaded (if `{use_test_design}` true and file exists)
34
- - [ ] PRD.md loaded (if `{use_prd}` true and file exists)
35
- - [ ] **Note**: Absence of BMad artifacts does NOT halt workflow
36
-
37
- ### Framework Configuration
38
-
39
- - [ ] Test framework config loaded (playwright.config.ts or cypress.config.ts)
40
- - [ ] Test directory structure identified from `{test_dir}`
41
- - [ ] Existing test patterns reviewed
42
- - [ ] Test runner capabilities noted (parallel execution, fixtures, etc.)
43
-
44
- ### Coverage Analysis
45
-
46
- - [ ] Existing test files searched in `{test_dir}` (if `{analyze_coverage}` true)
47
- - [ ] Tested features vs untested features identified
48
- - [ ] Coverage gaps mapped (tests to source files)
49
- - [ ] Existing fixture and factory patterns checked
50
-
51
- ### Knowledge Base Fragments Loaded
52
-
53
- - [ ] `test-levels-framework.md` - Test level selection
54
- - [ ] `test-priorities.md` - Priority classification (P0-P3)
55
- - [ ] `fixture-architecture.md` - Fixture patterns with auto-cleanup
56
- - [ ] `data-factories.md` - Factory patterns using faker
57
- - [ ] `selective-testing.md` - Targeted test execution strategies
58
- - [ ] `ci-burn-in.md` - Flaky test detection patterns
59
- - [ ] `test-quality.md` - Test design principles
60
-
61
- ---
62
-
63
- ## Step 2: Automation Targets Identification
64
-
65
- ### Target Determination
66
-
67
- **BMad-Integrated Mode (if story available):**
68
-
69
- - [ ] Acceptance criteria mapped to test scenarios
70
- - [ ] Features implemented in story identified
71
- - [ ] Existing ATDD tests checked (if any)
72
- - [ ] Expansion beyond ATDD planned (edge cases, negative paths)
73
-
74
- **Standalone Mode (if no story):**
75
-
76
- - [ ] Specific feature analyzed (if `{target_feature}` specified)
77
- - [ ] Specific files analyzed (if `{target_files}` specified)
78
- - [ ] Features auto-discovered (if `{auto_discover_features}` true)
79
- - [ ] Features prioritized by:
80
- - [ ] No test coverage (highest priority)
81
- - [ ] Complex business logic
82
- - [ ] External integrations (API, database, auth)
83
- - [ ] Critical user paths (login, checkout, etc.)
84
-
85
- ### Test Level Selection
86
-
87
- - [ ] Test level selection framework applied (from `test-levels-framework.md`)
88
- - [ ] E2E tests identified: Critical user journeys, multi-system integration
89
- - [ ] API tests identified: Business logic, service contracts, data transformations
90
- - [ ] Component tests identified: UI behavior, interactions, state management
91
- - [ ] Unit tests identified: Pure logic, edge cases, error handling
92
-
93
- ### Duplicate Coverage Avoidance
94
-
95
- - [ ] Same behavior NOT tested at multiple levels unnecessarily
96
- - [ ] E2E used for critical happy path only
97
- - [ ] API tests used for business logic variations
98
- - [ ] Component tests used for UI interaction edge cases
99
- - [ ] Unit tests used for pure logic edge cases
100
-
101
- ### Priority Assignment
102
-
103
- - [ ] Test priorities assigned using `test-priorities.md` framework
104
- - [ ] P0 tests: Critical paths, security-critical, data integrity
105
- - [ ] P1 tests: Important features, integration points, error handling
106
- - [ ] P2 tests: Edge cases, less-critical variations, performance
107
- - [ ] P3 tests: Nice-to-have, rarely-used features, exploratory
108
- - [ ] Priority variables respected:
109
- - [ ] `{include_p0}` = true (always include)
110
- - [ ] `{include_p1}` = true (high priority)
111
- - [ ] `{include_p2}` = true (medium priority)
112
- - [ ] `{include_p3}` = false (low priority, skip by default)
113
-
114
- ### Coverage Plan Created
115
-
116
- - [ ] Test coverage plan documented
117
- - [ ] What will be tested at each level listed
118
- - [ ] Priorities assigned to each test
119
- - [ ] Coverage strategy clear (critical-paths, comprehensive, or selective)
120
-
121
- ---
122
-
123
- ## Step 3: Test Infrastructure Generated
124
-
125
- ### Fixture Architecture
126
-
127
- - [ ] Existing fixtures checked in `tests/support/fixtures/`
128
- - [ ] Fixture architecture created/enhanced (if `{generate_fixtures}` true)
129
- - [ ] All fixtures use Playwright's `test.extend()` pattern
130
- - [ ] All fixtures have auto-cleanup in teardown
131
- - [ ] Common fixtures created/enhanced:
132
- - [ ] authenticatedUser (with auto-delete)
133
- - [ ] apiRequest (authenticated client)
134
- - [ ] mockNetwork (external service mocking)
135
- - [ ] testDatabase (with auto-cleanup)
136
-
137
- ### Data Factories
138
-
139
- - [ ] Existing factories checked in `tests/support/factories/`
140
- - [ ] Factory architecture created/enhanced (if `{generate_factories}` true)
141
- - [ ] All factories use `@faker-js/faker` for random data (no hardcoded values)
142
- - [ ] All factories support overrides for specific scenarios
143
- - [ ] Common factories created/enhanced:
144
- - [ ] User factory (email, password, name, role)
145
- - [ ] Product factory (name, price, SKU)
146
- - [ ] Order factory (items, total, status)
147
- - [ ] Cleanup helpers provided (e.g., deleteUser(), deleteProduct())
148
-
149
- ### Helper Utilities
150
-
151
- - [ ] Existing helpers checked in `tests/support/helpers/` (if `{update_helpers}` true)
152
- - [ ] Common utilities created/enhanced:
153
- - [ ] waitFor (polling for complex conditions)
154
- - [ ] retry (retry helper for flaky operations)
155
- - [ ] testData (test data generation)
156
- - [ ] assertions (custom assertion helpers)
157
-
158
- ---
159
-
160
- ## Step 4: Test Files Generated
161
-
162
- ### Test File Structure
163
-
164
- - [ ] Test files organized correctly:
165
- - [ ] `tests/e2e/` for E2E tests
166
- - [ ] `tests/api/` for API tests
167
- - [ ] `tests/component/` for component tests
168
- - [ ] `tests/unit/` for unit tests
169
- - [ ] `tests/support/` for fixtures/factories/helpers
170
-
171
- ### E2E Tests (If Applicable)
172
-
173
- - [ ] E2E test files created in `tests/e2e/`
174
- - [ ] All tests follow Given-When-Then format
175
- - [ ] All tests have priority tags ([P0], [P1], [P2], [P3]) in test name
176
- - [ ] All tests use data-testid selectors (not CSS classes)
177
- - [ ] One assertion per test (atomic design)
178
- - [ ] No hard waits or sleeps (explicit waits only)
179
- - [ ] Network-first pattern applied (route interception BEFORE navigation)
180
- - [ ] Clear Given-When-Then comments in test code
181
-
182
- ### API Tests (If Applicable)
183
-
184
- - [ ] API test files created in `tests/api/`
185
- - [ ] All tests follow Given-When-Then format
186
- - [ ] All tests have priority tags in test name
187
- - [ ] API contracts validated (request/response structure)
188
- - [ ] HTTP status codes verified
189
- - [ ] Response body validation includes required fields
190
- - [ ] Error cases tested (400, 401, 403, 404, 500)
191
- - [ ] JWT token format validated (if auth tests)
192
-
193
- ### Component Tests (If Applicable)
194
-
195
- - [ ] Component test files created in `tests/component/`
196
- - [ ] All tests follow Given-When-Then format
197
- - [ ] All tests have priority tags in test name
198
- - [ ] Component mounting works correctly
199
- - [ ] Interaction testing covers user actions (click, hover, keyboard)
200
- - [ ] State management validated
201
- - [ ] Props and events tested
202
-
203
- ### Unit Tests (If Applicable)
204
-
205
- - [ ] Unit test files created in `tests/unit/`
206
- - [ ] All tests follow Given-When-Then format
207
- - [ ] All tests have priority tags in test name
208
- - [ ] Pure logic tested (no dependencies)
209
- - [ ] Edge cases covered
210
- - [ ] Error handling tested
211
-
212
- ### Quality Standards Enforced
213
-
214
- - [ ] All tests use Given-When-Then format with clear comments
215
- - [ ] All tests have descriptive names with priority tags
216
- - [ ] No duplicate tests (same behavior tested multiple times)
217
- - [ ] No flaky patterns (race conditions, timing issues)
218
- - [ ] No test interdependencies (tests can run in any order)
219
- - [ ] Tests are deterministic (same input always produces same result)
220
- - [ ] All tests use data-testid selectors (E2E tests)
221
- - [ ] No hard waits: `await page.waitForTimeout()` (forbidden)
222
- - [ ] No conditional flow: `if (await element.isVisible())` (forbidden)
223
- - [ ] No try-catch for test logic (only for cleanup)
224
- - [ ] No hardcoded test data (use factories with faker)
225
- - [ ] No page object classes (tests are direct and simple)
226
- - [ ] No shared state between tests
227
-
228
- ### Network-First Pattern Applied
229
-
230
- - [ ] Route interception set up BEFORE navigation (E2E tests with network requests)
231
- - [ ] `page.route()` called before `page.goto()` to prevent race conditions
232
- - [ ] Network-first pattern verified in all E2E tests that make API calls
233
-
234
- ---
235
-
236
- ## Step 5: Test Validation and Healing (NEW - Phase 2.5)
237
-
238
- ### Healing Configuration
239
-
240
- - [ ] Healing configuration checked:
241
- - [ ] `{auto_validate}` setting noted (default: true)
242
- - [ ] `{auto_heal_failures}` setting noted (default: false)
243
- - [ ] `{max_healing_iterations}` setting noted (default: 3)
244
- - [ ] `{use_mcp_healing}` setting noted (default: true)
245
-
246
- ### Healing Knowledge Fragments Loaded (If Healing Enabled)
247
-
248
- - [ ] `test-healing-patterns.md` loaded (common failure patterns and fixes)
249
- - [ ] `selector-resilience.md` loaded (selector refactoring guide)
250
- - [ ] `timing-debugging.md` loaded (race condition fixes)
251
-
252
- ### Test Execution and Validation
253
-
254
- - [ ] Generated tests executed (if `{auto_validate}` true)
255
- - [ ] Test results captured:
256
- - [ ] Total tests run
257
- - [ ] Passing tests count
258
- - [ ] Failing tests count
259
- - [ ] Error messages and stack traces captured
260
-
261
- ### Healing Loop (If Enabled and Tests Failed)
262
-
263
- - [ ] Healing loop entered (if `{auto_heal_failures}` true AND tests failed)
264
- - [ ] For each failing test:
265
- - [ ] Failure pattern identified (selector, timing, data, network, hard wait)
266
- - [ ] Appropriate healing strategy applied:
267
- - [ ] Stale selector → Replaced with data-testid or ARIA role
268
- - [ ] Race condition → Added network-first interception or state waits
269
- - [ ] Dynamic data → Replaced hardcoded values with regex/dynamic generation
270
- - [ ] Network error → Added route mocking
271
- - [ ] Hard wait → Replaced with event-based wait
272
- - [ ] Healed test re-run to validate fix
273
- - [ ] Iteration count tracked (max 3 attempts)
274
-
275
- ### Unfixable Tests Handling
276
-
277
- - [ ] Tests that couldn't be healed after 3 iterations marked with `test.fixme()` (if `{mark_unhealable_as_fixme}` true)
278
- - [ ] Detailed comment added to test.fixme() tests:
279
- - [ ] What failure occurred
280
- - [ ] What healing was attempted (3 iterations)
281
- - [ ] Why healing failed
282
- - [ ] Manual investigation steps needed
283
- - [ ] Original test logic preserved in comments
284
-
285
- ### Healing Report Generated
286
-
287
- - [ ] Healing report generated (if healing attempted)
288
- - [ ] Report includes:
289
- - [ ] Auto-heal enabled status
290
- - [ ] Healing mode (MCP-assisted or Pattern-based)
291
- - [ ] Iterations allowed (max_healing_iterations)
292
- - [ ] Validation results (total, passing, failing)
293
- - [ ] Successfully healed tests (count, file:line, fix applied)
294
- - [ ] Unable to heal tests (count, file:line, reason)
295
- - [ ] Healing patterns applied (selector fixes, timing fixes, data fixes)
296
- - [ ] Knowledge base references used
297
-
298
- ---
299
-
300
- ## Step 6: Documentation and Scripts Updated
301
-
302
- ### Test README Updated
303
-
304
- - [ ] `tests/README.md` created or updated (if `{update_readme}` true)
305
- - [ ] Test suite structure overview included
306
- - [ ] Test execution instructions provided (all, specific files, by priority)
307
- - [ ] Fixture usage examples provided
308
- - [ ] Factory usage examples provided
309
- - [ ] Priority tagging convention explained ([P0], [P1], [P2], [P3])
310
- - [ ] How to write new tests documented
311
- - [ ] Common patterns documented
312
- - [ ] Anti-patterns documented (what to avoid)
313
-
314
- ### package.json Scripts Updated
315
-
316
- - [ ] package.json scripts added/updated (if `{update_package_scripts}` true)
317
- - [ ] `test:e2e` script for all E2E tests
318
- - [ ] `test:e2e:p0` script for P0 tests only
319
- - [ ] `test:e2e:p1` script for P0 + P1 tests
320
- - [ ] `test:api` script for API tests
321
- - [ ] `test:component` script for component tests
322
- - [ ] `test:unit` script for unit tests (if applicable)
323
-
324
- ### Test Suite Executed
325
-
326
- - [ ] Test suite run locally (if `{run_tests_after_generation}` true)
327
- - [ ] Test results captured (passing/failing counts)
328
- - [ ] No flaky patterns detected (tests are deterministic)
329
- - [ ] Setup requirements documented (if any)
330
- - [ ] Known issues documented (if any)
331
-
332
- ---
333
-
334
- ## Step 6: Automation Summary Generated
335
-
336
- ### Automation Summary Document
337
-
338
- - [ ] Output file created at `{output_summary}`
339
- - [ ] Document includes execution mode (BMad-Integrated, Standalone, Auto-discover)
340
- - [ ] Feature analysis included (source files, coverage gaps) - Standalone mode
341
- - [ ] Tests created listed (E2E, API, Component, Unit) with counts and paths
342
- - [ ] Infrastructure created listed (fixtures, factories, helpers)
343
- - [ ] Test execution instructions provided
344
- - [ ] Coverage analysis included:
345
- - [ ] Total test count
346
- - [ ] Priority breakdown (P0, P1, P2, P3 counts)
347
- - [ ] Test level breakdown (E2E, API, Component, Unit counts)
348
- - [ ] Coverage percentage (if calculated)
349
- - [ ] Coverage status (acceptance criteria covered, gaps identified)
350
- - [ ] Definition of Done checklist included
351
- - [ ] Next steps provided
352
- - [ ] Recommendations included (if Standalone mode)
353
-
354
- ### Summary Provided to User
355
-
356
- - [ ] Concise summary output provided
357
- - [ ] Total tests created across test levels
358
- - [ ] Priority breakdown (P0, P1, P2, P3 counts)
359
- - [ ] Infrastructure counts (fixtures, factories, helpers)
360
- - [ ] Test execution command provided
361
- - [ ] Output file path provided
362
- - [ ] Next steps listed
363
-
364
- ---
365
-
366
- ## Quality Checks
367
-
368
- ### Test Design Quality
369
-
370
- - [ ] Tests are readable (clear Given-When-Then structure)
371
- - [ ] Tests are maintainable (use factories/fixtures, not hardcoded data)
372
- - [ ] Tests are isolated (no shared state between tests)
373
- - [ ] Tests are deterministic (no race conditions or flaky patterns)
374
- - [ ] Tests are atomic (one assertion per test)
375
- - [ ] Tests are fast (no unnecessary waits or delays)
376
- - [ ] Tests are lean (files under {max_file_lines} lines)
377
-
378
- ### Knowledge Base Integration
379
-
380
- - [ ] Test level selection framework applied (from `test-levels-framework.md`)
381
- - [ ] Priority classification applied (from `test-priorities.md`)
382
- - [ ] Fixture architecture patterns applied (from `fixture-architecture.md`)
383
- - [ ] Data factory patterns applied (from `data-factories.md`)
384
- - [ ] Selective testing strategies considered (from `selective-testing.md`)
385
- - [ ] Flaky test detection patterns considered (from `ci-burn-in.md`)
386
- - [ ] Test quality principles applied (from `test-quality.md`)
387
-
388
- ### Code Quality
389
-
390
- - [ ] All TypeScript types are correct and complete
391
- - [ ] No linting errors in generated test files
392
- - [ ] Consistent naming conventions followed
393
- - [ ] Imports are organized and correct
394
- - [ ] Code follows project style guide
395
- - [ ] No console.log or debug statements in test code
396
-
397
- ---
398
-
399
- ## Integration Points
400
-
401
- ### With Framework Workflow
402
-
403
- - [ ] Test framework configuration detected and used
404
- - [ ] Directory structure matches framework setup
405
- - [ ] Fixtures and helpers follow established patterns
406
- - [ ] Naming conventions consistent with framework standards
407
-
408
- ### With BMad Workflows (If Available - OPTIONAL)
409
-
410
- **With Story Workflow:**
411
-
412
- - [ ] Story ID correctly referenced in output (if story available)
413
- - [ ] Acceptance criteria from story reflected in tests (if story available)
414
- - [ ] Technical constraints from story considered (if story available)
415
-
416
- **With test-design Workflow:**
417
-
418
- - [ ] P0 scenarios from test-design prioritized (if test-design available)
419
- - [ ] Risk assessment from test-design considered (if test-design available)
420
- - [ ] Coverage strategy aligned with test-design (if test-design available)
421
-
422
- **With atdd Workflow:**
423
-
424
- - [ ] Existing ATDD tests checked (if story had ATDD workflow run)
425
- - [ ] Expansion beyond ATDD planned (edge cases, negative paths)
426
- - [ ] No duplicate coverage with ATDD tests
427
-
428
- ### With CI Pipeline
429
-
430
- - [ ] Tests can run in CI environment
431
- - [ ] Tests are parallelizable (no shared state)
432
- - [ ] Tests have appropriate timeouts
433
- - [ ] Tests clean up their data (no CI environment pollution)
434
-
435
- ---
436
-
437
- ## Completion Criteria
438
-
439
- All of the following must be true before marking this workflow as complete:
440
-
441
- - [ ] **Execution mode determined** (BMad-Integrated, Standalone, or Auto-discover)
442
- - [ ] **Framework configuration loaded** and validated
443
- - [ ] **Coverage analysis completed** (gaps identified if analyze_coverage true)
444
- - [ ] **Automation targets identified** (what needs testing)
445
- - [ ] **Test levels selected** appropriately (E2E, API, Component, Unit)
446
- - [ ] **Duplicate coverage avoided** (same behavior not tested at multiple levels)
447
- - [ ] **Test priorities assigned** (P0, P1, P2, P3)
448
- - [ ] **Fixture architecture created/enhanced** with auto-cleanup
449
- - [ ] **Data factories created/enhanced** using faker (no hardcoded data)
450
- - [ ] **Helper utilities created/enhanced** (if needed)
451
- - [ ] **Test files generated** at appropriate levels (E2E, API, Component, Unit)
452
- - [ ] **Given-When-Then format used** consistently across all tests
453
- - [ ] **Priority tags added** to all test names ([P0], [P1], [P2], [P3])
454
- - [ ] **data-testid selectors used** in E2E tests (not CSS classes)
455
- - [ ] **Network-first pattern applied** (route interception before navigation)
456
- - [ ] **Quality standards enforced** (no hard waits, no flaky patterns, self-cleaning, deterministic)
457
- - [ ] **Test README updated** with execution instructions and patterns
458
- - [ ] **package.json scripts updated** with test execution commands
459
- - [ ] **Test suite run locally** (if run_tests_after_generation true)
460
- - [ ] **Tests validated** (if auto_validate enabled)
461
- - [ ] **Failures healed** (if auto_heal_failures enabled and tests failed)
462
- - [ ] **Healing report generated** (if healing attempted)
463
- - [ ] **Unfixable tests marked** with test.fixme() and detailed comments (if any)
464
- - [ ] **Automation summary created** and saved to correct location
465
- - [ ] **Output file formatted correctly**
466
- - [ ] **Knowledge base references applied** and documented (including healing fragments if used)
467
- - [ ] **No test quality issues** (flaky patterns, race conditions, hardcoded data, page objects)
468
-
469
- ---
470
-
471
- ## Common Issues and Resolutions
472
-
473
- ### Issue: BMad artifacts not found
474
-
475
- **Problem:** Story, tech-spec, or PRD files not found when variables are set.
476
-
477
- **Resolution:**
478
-
479
- - **automate does NOT require BMad artifacts** - they are OPTIONAL enhancements
480
- - If files not found, switch to Standalone Mode automatically
481
- - Analyze source code directly without BMad context
482
- - Continue workflow without halting
483
-
484
- ### Issue: Framework configuration not found
485
-
486
- **Problem:** No playwright.config.ts or cypress.config.ts found.
487
-
488
- **Resolution:**
489
-
490
- - **HALT workflow** - framework is required
491
- - Message: "Framework scaffolding required. Run `bmad tea *framework` first."
492
- - User must run framework workflow before automate
493
-
494
- ### Issue: No automation targets identified
495
-
496
- **Problem:** Neither story, target_feature, nor target_files specified, and auto-discover finds nothing.
497
-
498
- **Resolution:**
499
-
500
- - Check if source_dir variable is correct
501
- - Verify source code exists in project
502
- - Ask user to specify target_feature or target_files explicitly
503
- - Provide examples: `target_feature: "src/auth/"` or `target_files: "src/auth/login.ts,src/auth/session.ts"`
504
-
505
- ### Issue: Duplicate coverage detected
506
-
507
- **Problem:** Same behavior tested at multiple levels (E2E + API + Component).
508
-
509
- **Resolution:**
510
-
511
- - Review test level selection framework (test-levels-framework.md)
512
- - Use E2E for critical happy path ONLY
513
- - Use API for business logic variations
514
- - Use Component for UI edge cases
515
- - Remove redundant tests that duplicate coverage
516
-
517
- ### Issue: Tests have hardcoded data
518
-
519
- **Problem:** Tests use hardcoded email addresses, passwords, or other data.
520
-
521
- **Resolution:**
522
-
523
- - Replace all hardcoded data with factory function calls
524
- - Use faker for all random data generation
525
- - Update data-factories to support all required test scenarios
526
- - Example: `createUser({ email: faker.internet.email() })`
527
-
528
- ### Issue: Tests are flaky
529
-
530
- **Problem:** Tests fail intermittently, pass on retry.
531
-
532
- **Resolution:**
533
-
534
- - Remove all hard waits (`page.waitForTimeout()`)
535
- - Use explicit waits (`page.waitForSelector()`)
536
- - Apply network-first pattern (route interception before navigation)
537
- - Remove conditional flow (`if (await element.isVisible())`)
538
- - Ensure tests are deterministic (no race conditions)
539
- - Run burn-in loop (10 iterations) to detect flakiness
540
-
541
- ### Issue: Fixtures don't clean up data
542
-
543
- **Problem:** Test data persists after test run, causing test pollution.
544
-
545
- **Resolution:**
546
-
547
- - Ensure all fixtures have cleanup in teardown phase
548
- - Cleanup happens AFTER `await use(data)`
549
- - Call deletion/cleanup functions (deleteUser, deleteProduct, etc.)
550
- - Verify cleanup works by checking database/storage after test run
551
-
552
- ### Issue: Tests too slow
553
-
554
- **Problem:** Tests take longer than 90 seconds (max_test_duration).
555
-
556
- **Resolution:**
557
-
558
- - Remove unnecessary waits and delays
559
- - Use parallel execution where possible
560
- - Mock external services (don't make real API calls)
561
- - Use API tests instead of E2E for business logic
562
- - Optimize test data creation (use in-memory database, etc.)
563
-
564
- ---
565
-
566
- ## Notes for TEA Agent
567
-
568
- - **automate is flexible:** Can work with or without BMad artifacts (story, tech-spec, PRD are OPTIONAL)
569
- - **Standalone mode is powerful:** Analyze any codebase and generate tests independently
570
- - **Auto-discover mode:** Scan codebase for features needing tests when no targets specified
571
- - **Framework is the ONLY hard requirement:** HALT if framework config missing, otherwise proceed
572
- - **Avoid duplicate coverage:** E2E for critical paths only, API/Component for variations
573
- - **Priority tagging enables selective execution:** P0 tests run on every commit, P1 on PR, P2 nightly
574
- - **Network-first pattern prevents race conditions:** Route interception BEFORE navigation
575
- - **No page objects:** Keep tests simple, direct, and maintainable
576
- - **Use knowledge base:** Load relevant fragments (test-levels, test-priorities, fixture-architecture, data-factories, healing patterns) for guidance
577
- - **Deterministic tests only:** No hard waits, no conditional flow, no flaky patterns allowed
578
- - **Optional healing:** auto_heal_failures disabled by default (opt-in for automatic test healing)
579
- - **Graceful degradation:** Healing works without Playwright MCP (pattern-based fallback)
580
- - **Unfixable tests handled:** Mark with test.fixme() and detailed comments (not silently broken)