agentvibes 2.17.1 → 2.17.2

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 (340) hide show
  1. package/.claude/config/audio-effects.cfg +1 -1
  2. package/.claude/config/audio-effects.cfg.sample +1 -1
  3. package/.claude/hooks/play-tts-piper.sh +11 -6
  4. package/.claude/hooks/voice-manager.sh +8 -5
  5. package/README.md +2 -2
  6. package/package.json +1 -1
  7. package/src/cli/list-voices.js +1 -1
  8. package/src/installer.js +13 -9
  9. package/src/utils/dependency-checker.js +1 -1
  10. package/.bmad/_cfg/agent-manifest.csv +0 -11
  11. package/.bmad/_cfg/agent-voice-map.csv +0 -11
  12. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  13. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  14. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  15. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +0 -42
  16. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  17. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  18. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  19. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  20. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  21. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  22. package/.bmad/_cfg/files-manifest.csv +0 -243
  23. package/.bmad/_cfg/ides/claude-code.yaml +0 -6
  24. package/.bmad/_cfg/manifest.yaml +0 -9
  25. package/.bmad/_cfg/task-manifest.csv +0 -5
  26. package/.bmad/_cfg/tool-manifest.csv +0 -2
  27. package/.bmad/_cfg/workflow-manifest.csv +0 -38
  28. package/.bmad/bmm/README.md +0 -128
  29. package/.bmad/bmm/agents/analyst.md +0 -79
  30. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +0 -75
  31. package/.bmad/bmm/agents/architect.md +0 -80
  32. package/.bmad/bmm/agents/dev.md +0 -70
  33. package/.bmad/bmm/agents/frame-expert.md +0 -72
  34. package/.bmad/bmm/agents/pm.md +0 -84
  35. package/.bmad/bmm/agents/sm.md +0 -93
  36. package/.bmad/bmm/agents/tea.md +0 -80
  37. package/.bmad/bmm/agents/tech-writer.md +0 -84
  38. package/.bmad/bmm/agents/ux-designer.md +0 -79
  39. package/.bmad/bmm/config.yaml +0 -17
  40. package/.bmad/bmm/docs/README.md +0 -236
  41. package/.bmad/bmm/docs/agents-guide.md +0 -1058
  42. package/.bmad/bmm/docs/brownfield-guide.md +0 -762
  43. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -686
  44. package/.bmad/bmm/docs/faq.md +0 -588
  45. package/.bmad/bmm/docs/glossary.md +0 -320
  46. package/.bmad/bmm/docs/party-mode.md +0 -224
  47. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  48. package/.bmad/bmm/docs/quick-start.md +0 -376
  49. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -612
  50. package/.bmad/bmm/docs/test-architecture.md +0 -396
  51. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -366
  52. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -489
  53. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  54. package/.bmad/bmm/docs/workflows-implementation.md +0 -286
  55. package/.bmad/bmm/docs/workflows-planning.md +0 -612
  56. package/.bmad/bmm/docs/workflows-solutioning.md +0 -554
  57. package/.bmad/bmm/teams/default-party.csv +0 -20
  58. package/.bmad/bmm/teams/team-fullstack.yaml +0 -13
  59. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  60. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  61. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  62. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  63. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  64. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  65. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  66. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  67. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  68. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  69. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  70. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  71. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  72. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  73. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  74. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  75. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  76. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  77. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  78. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  79. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  80. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  81. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  82. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  83. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  84. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  85. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  86. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  87. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  88. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  89. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  90. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  91. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  92. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  93. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  94. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  95. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  96. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  97. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  98. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  99. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  100. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  101. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  102. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  103. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  104. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  105. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  106. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  107. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  108. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  109. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  110. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  111. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  112. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -204
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  116. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  117. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  118. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  119. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  120. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  121. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  122. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  123. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  124. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  125. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  130. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  131. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  132. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  133. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  134. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  135. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  136. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  137. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -60
  138. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  139. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  140. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -56
  141. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  142. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  143. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  144. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -71
  145. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  146. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  147. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -56
  148. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  149. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  150. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  151. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  152. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  153. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -56
  154. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  155. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -234
  156. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -49
  158. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  159. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  160. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  161. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  162. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  163. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  164. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  165. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  166. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  167. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  168. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  169. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  170. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  171. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  172. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  173. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  174. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -29
  175. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  176. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  177. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  178. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  179. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +0 -127
  180. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +0 -90
  181. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +0 -127
  182. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +0 -79
  183. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +0 -39
  184. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +0 -131
  185. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  186. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +0 -43
  187. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +0 -142
  188. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  189. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +0 -49
  190. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +0 -242
  191. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  192. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +0 -38
  193. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +0 -133
  194. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  195. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  196. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  197. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  198. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  199. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  200. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  201. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  202. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  203. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  204. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  205. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  206. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  207. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  208. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  209. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  210. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  211. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  212. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  213. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  214. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  215. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  216. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -782
  217. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  218. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -48
  219. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  220. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  221. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  222. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  223. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  224. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  225. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  226. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  227. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -334
  228. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -28
  229. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -388
  230. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -138
  231. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -126
  232. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  233. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -122
  234. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -113
  235. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  236. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  237. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  238. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  239. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  240. package/.bmad/core/agents/bmad-master.md +0 -72
  241. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  242. package/.bmad/core/config.yaml +0 -1
  243. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  244. package/.bmad/core/tasks/advanced-elicitation-methods.csv +0 -21
  245. package/.bmad/core/tasks/advanced-elicitation.xml +0 -106
  246. package/.bmad/core/tasks/index-docs.xml +0 -65
  247. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  248. package/.bmad/core/tasks/workflow.xml +0 -270
  249. package/.bmad/core/tools/shard-doc.xml +0 -109
  250. package/.bmad/core/workflows/brainstorming/README.md +0 -261
  251. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  252. package/.bmad/core/workflows/brainstorming/instructions.md +0 -315
  253. package/.bmad/core/workflows/brainstorming/template.md +0 -106
  254. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -38
  255. package/.bmad/core/workflows/party-mode/instructions.md +0 -203
  256. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -28
  257. package/.bmad/docs/claude-code-instructions.md +0 -25
  258. package/.claude/commands/BMad/analyst.md +0 -88
  259. package/.claude/commands/BMad/architect.md +0 -89
  260. package/.claude/commands/BMad/bmad-master.md +0 -114
  261. package/.claude/commands/BMad/bmad-orchestrator.md +0 -151
  262. package/.claude/commands/BMad/dev.md +0 -85
  263. package/.claude/commands/BMad/pm.md +0 -88
  264. package/.claude/commands/BMad/po.md +0 -83
  265. package/.claude/commands/BMad/qa.md +0 -91
  266. package/.claude/commands/BMad/sm.md +0 -69
  267. package/.claude/commands/BMad/tasks/advanced-elicitation.md +0 -123
  268. package/.claude/commands/BMad/tasks/apply-qa-fixes.md +0 -154
  269. package/.claude/commands/BMad/tasks/brownfield-create-epic.md +0 -166
  270. package/.claude/commands/BMad/tasks/brownfield-create-story.md +0 -153
  271. package/.claude/commands/BMad/tasks/correct-course.md +0 -76
  272. package/.claude/commands/BMad/tasks/create-brownfield-story.md +0 -318
  273. package/.claude/commands/BMad/tasks/create-deep-research-prompt.md +0 -284
  274. package/.claude/commands/BMad/tasks/create-doc.md +0 -107
  275. package/.claude/commands/BMad/tasks/create-next-story.md +0 -118
  276. package/.claude/commands/BMad/tasks/document-project.md +0 -349
  277. package/.claude/commands/BMad/tasks/execute-checklist.md +0 -92
  278. package/.claude/commands/BMad/tasks/facilitate-brainstorming-session.md +0 -142
  279. package/.claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +0 -57
  280. package/.claude/commands/BMad/tasks/index-docs.md +0 -179
  281. package/.claude/commands/BMad/tasks/kb-mode-interaction.md +0 -81
  282. package/.claude/commands/BMad/tasks/nfr-assess.md +0 -349
  283. package/.claude/commands/BMad/tasks/qa-gate.md +0 -167
  284. package/.claude/commands/BMad/tasks/review-story.md +0 -320
  285. package/.claude/commands/BMad/tasks/risk-profile.md +0 -359
  286. package/.claude/commands/BMad/tasks/shard-doc.md +0 -191
  287. package/.claude/commands/BMad/tasks/test-design.md +0 -180
  288. package/.claude/commands/BMad/tasks/trace-requirements.md +0 -270
  289. package/.claude/commands/BMad/tasks/validate-next-story.md +0 -140
  290. package/.claude/commands/BMad/ux-expert.md +0 -73
  291. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -14
  292. package/.claude/commands/bmad/bmm/agents/architect.md +0 -14
  293. package/.claude/commands/bmad/bmm/agents/dev.md +0 -14
  294. package/.claude/commands/bmad/bmm/agents/frame-expert.md +0 -14
  295. package/.claude/commands/bmad/bmm/agents/pm.md +0 -14
  296. package/.claude/commands/bmad/bmm/agents/sm.md +0 -14
  297. package/.claude/commands/bmad/bmm/agents/tea.md +0 -14
  298. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -14
  299. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -14
  300. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  301. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  302. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -13
  303. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -13
  304. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +0 -13
  305. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +0 -13
  306. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  307. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +0 -13
  308. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -13
  309. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -13
  310. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +0 -13
  311. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -13
  312. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -13
  313. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -13
  314. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  315. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  316. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -13
  317. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  318. package/.claude/commands/bmad/bmm/workflows/research.md +0 -13
  319. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -13
  320. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -13
  321. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -13
  322. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  323. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  324. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  325. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -13
  326. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -13
  327. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -14
  328. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +0 -9
  329. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  330. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  331. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -13
  332. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -13
  333. package/.claude/config/background-music-position.txt +0 -25
  334. package/.claude/config/background-music-volume.txt +0 -1
  335. package/.claude/config/background-music.cfg +0 -1
  336. package/.claude/config/tts-verbosity.txt +0 -1
  337. package/.claude/github-star-reminder.txt +0 -1
  338. package/.claude/hooks/bmad-party-manager.sh +0 -225
  339. package/.claude/piper-voices-dir.txt +0 -1
  340. package/.mcp.json +0 -23
@@ -1,486 +0,0 @@
1
- # Network-First Safeguards
2
-
3
- ## Principle
4
-
5
- Register network interceptions **before** any navigation or user action. Store the interception promise and await it immediately after the triggering step. Replace implicit waits with deterministic signals based on network responses, spinner disappearance, or event hooks.
6
-
7
- ## Rationale
8
-
9
- The most common source of flaky E2E tests is **race conditions** between navigation and network interception:
10
-
11
- - Navigate then intercept = missed requests (too late)
12
- - No explicit wait = assertion runs before response arrives
13
- - Hard waits (`waitForTimeout(3000)`) = slow, unreliable, brittle
14
-
15
- Network-first patterns provide:
16
-
17
- - **Zero race conditions**: Intercept is active before triggering action
18
- - **Deterministic waits**: Wait for actual response, not arbitrary timeouts
19
- - **Actionable failures**: Assert on response status/body, not generic "element not found"
20
- - **Speed**: No padding with extra wait time
21
-
22
- ## Pattern Examples
23
-
24
- ### Example 1: Intercept Before Navigate Pattern
25
-
26
- **Context**: The foundational pattern for all E2E tests. Always register route interception **before** the action that triggers the request (navigation, click, form submit).
27
-
28
- **Implementation**:
29
-
30
- ```typescript
31
- // ✅ CORRECT: Intercept BEFORE navigate
32
- test('user can view dashboard data', async ({ page }) => {
33
- // Step 1: Register interception FIRST
34
- const usersPromise = page.waitForResponse((resp) => resp.url().includes('/api/users') && resp.status() === 200);
35
-
36
- // Step 2: THEN trigger the request
37
- await page.goto('/dashboard');
38
-
39
- // Step 3: THEN await the response
40
- const usersResponse = await usersPromise;
41
- const users = await usersResponse.json();
42
-
43
- // Step 4: Assert on structured data
44
- expect(users).toHaveLength(10);
45
- await expect(page.getByText(users[0].name)).toBeVisible();
46
- });
47
-
48
- // Cypress equivalent
49
- describe('Dashboard', () => {
50
- it('should display users', () => {
51
- // Step 1: Register interception FIRST
52
- cy.intercept('GET', '**/api/users').as('getUsers');
53
-
54
- // Step 2: THEN trigger
55
- cy.visit('/dashboard');
56
-
57
- // Step 3: THEN await
58
- cy.wait('@getUsers').then((interception) => {
59
- // Step 4: Assert on structured data
60
- expect(interception.response.statusCode).to.equal(200);
61
- expect(interception.response.body).to.have.length(10);
62
- cy.contains(interception.response.body[0].name).should('be.visible');
63
- });
64
- });
65
- });
66
-
67
- // ❌ WRONG: Navigate BEFORE intercept (race condition!)
68
- test('flaky test example', async ({ page }) => {
69
- await page.goto('/dashboard'); // Request fires immediately
70
-
71
- const usersPromise = page.waitForResponse('/api/users'); // TOO LATE - might miss it
72
- const response = await usersPromise; // May timeout randomly
73
- });
74
- ```
75
-
76
- **Key Points**:
77
-
78
- - Playwright: Use `page.waitForResponse()` with URL pattern or predicate **before** `page.goto()` or `page.click()`
79
- - Cypress: Use `cy.intercept().as()` **before** `cy.visit()` or `cy.click()`
80
- - Store promise/alias, trigger action, **then** await response
81
- - This prevents 95% of race-condition flakiness in E2E tests
82
-
83
- ### Example 2: HAR Capture for Debugging
84
-
85
- **Context**: When debugging flaky tests or building deterministic mocks, capture real network traffic with HAR files. Replay them in tests for consistent, offline-capable test runs.
86
-
87
- **Implementation**:
88
-
89
- ```typescript
90
- // playwright.config.ts - Enable HAR recording
91
- export default defineConfig({
92
- use: {
93
- // Record HAR on first run
94
- recordHar: { path: './hars/', mode: 'minimal' },
95
- // Or replay HAR in tests
96
- // serviceWorkers: 'block',
97
- },
98
- });
99
-
100
- // Capture HAR for specific test
101
- test('capture network for order flow', async ({ page, context }) => {
102
- // Start recording
103
- await context.routeFromHAR('./hars/order-flow.har', {
104
- url: '**/api/**',
105
- update: true, // Update HAR with new requests
106
- });
107
-
108
- await page.goto('/checkout');
109
- await page.fill('[data-testid="credit-card"]', '4111111111111111');
110
- await page.click('[data-testid="submit-order"]');
111
- await expect(page.getByText('Order Confirmed')).toBeVisible();
112
-
113
- // HAR saved to ./hars/order-flow.har
114
- });
115
-
116
- // Replay HAR for deterministic tests (no real API needed)
117
- test('replay order flow from HAR', async ({ page, context }) => {
118
- // Replay captured HAR
119
- await context.routeFromHAR('./hars/order-flow.har', {
120
- url: '**/api/**',
121
- update: false, // Read-only mode
122
- });
123
-
124
- // Test runs with exact recorded responses - fully deterministic
125
- await page.goto('/checkout');
126
- await page.fill('[data-testid="credit-card"]', '4111111111111111');
127
- await page.click('[data-testid="submit-order"]');
128
- await expect(page.getByText('Order Confirmed')).toBeVisible();
129
- });
130
-
131
- // Custom mock based on HAR insights
132
- test('mock order response based on HAR', async ({ page }) => {
133
- // After analyzing HAR, create focused mock
134
- await page.route('**/api/orders', (route) =>
135
- route.fulfill({
136
- status: 200,
137
- contentType: 'application/json',
138
- body: JSON.stringify({
139
- orderId: '12345',
140
- status: 'confirmed',
141
- total: 99.99,
142
- }),
143
- }),
144
- );
145
-
146
- await page.goto('/checkout');
147
- await page.click('[data-testid="submit-order"]');
148
- await expect(page.getByText('Order #12345')).toBeVisible();
149
- });
150
- ```
151
-
152
- **Key Points**:
153
-
154
- - HAR files capture real request/response pairs for analysis
155
- - `update: true` records new traffic; `update: false` replays existing
156
- - Replay mode makes tests fully deterministic (no upstream API needed)
157
- - Use HAR to understand API contracts, then create focused mocks
158
-
159
- ### Example 3: Network Stub with Edge Cases
160
-
161
- **Context**: When testing error handling, timeouts, and edge cases, stub network responses to simulate failures. Test both happy path and error scenarios.
162
-
163
- **Implementation**:
164
-
165
- ```typescript
166
- // Test happy path
167
- test('order succeeds with valid data', async ({ page }) => {
168
- await page.route('**/api/orders', (route) =>
169
- route.fulfill({
170
- status: 200,
171
- contentType: 'application/json',
172
- body: JSON.stringify({ orderId: '123', status: 'confirmed' }),
173
- }),
174
- );
175
-
176
- await page.goto('/checkout');
177
- await page.click('[data-testid="submit-order"]');
178
- await expect(page.getByText('Order Confirmed')).toBeVisible();
179
- });
180
-
181
- // Test 500 error
182
- test('order fails with server error', async ({ page }) => {
183
- // Listen for console errors (app should log gracefully)
184
- const consoleErrors: string[] = [];
185
- page.on('console', (msg) => {
186
- if (msg.type() === 'error') consoleErrors.push(msg.text());
187
- });
188
-
189
- // Stub 500 error
190
- await page.route('**/api/orders', (route) =>
191
- route.fulfill({
192
- status: 500,
193
- contentType: 'application/json',
194
- body: JSON.stringify({ error: 'Internal Server Error' }),
195
- }),
196
- );
197
-
198
- await page.goto('/checkout');
199
- await page.click('[data-testid="submit-order"]');
200
-
201
- // Assert UI shows error gracefully
202
- await expect(page.getByText('Something went wrong')).toBeVisible();
203
- await expect(page.getByText('Please try again')).toBeVisible();
204
-
205
- // Verify error logged (not thrown)
206
- expect(consoleErrors.some((e) => e.includes('Order failed'))).toBeTruthy();
207
- });
208
-
209
- // Test network timeout
210
- test('order times out after 10 seconds', async ({ page }) => {
211
- // Stub delayed response (never resolves within timeout)
212
- await page.route(
213
- '**/api/orders',
214
- (route) => new Promise(() => {}), // Never resolves - simulates timeout
215
- );
216
-
217
- await page.goto('/checkout');
218
- await page.click('[data-testid="submit-order"]');
219
-
220
- // App should show timeout message after configured timeout
221
- await expect(page.getByText('Request timed out')).toBeVisible({ timeout: 15000 });
222
- });
223
-
224
- // Test partial data response
225
- test('order handles missing optional fields', async ({ page }) => {
226
- await page.route('**/api/orders', (route) =>
227
- route.fulfill({
228
- status: 200,
229
- contentType: 'application/json',
230
- // Missing optional fields like 'trackingNumber', 'estimatedDelivery'
231
- body: JSON.stringify({ orderId: '123', status: 'confirmed' }),
232
- }),
233
- );
234
-
235
- await page.goto('/checkout');
236
- await page.click('[data-testid="submit-order"]');
237
-
238
- // App should handle gracefully - no crash, shows what's available
239
- await expect(page.getByText('Order Confirmed')).toBeVisible();
240
- await expect(page.getByText('Tracking information pending')).toBeVisible();
241
- });
242
-
243
- // Cypress equivalents
244
- describe('Order Edge Cases', () => {
245
- it('should handle 500 error', () => {
246
- cy.intercept('POST', '**/api/orders', {
247
- statusCode: 500,
248
- body: { error: 'Internal Server Error' },
249
- }).as('orderFailed');
250
-
251
- cy.visit('/checkout');
252
- cy.get('[data-testid="submit-order"]').click();
253
- cy.wait('@orderFailed');
254
- cy.contains('Something went wrong').should('be.visible');
255
- });
256
-
257
- it('should handle timeout', () => {
258
- cy.intercept('POST', '**/api/orders', (req) => {
259
- req.reply({ delay: 20000 }); // Delay beyond app timeout
260
- }).as('orderTimeout');
261
-
262
- cy.visit('/checkout');
263
- cy.get('[data-testid="submit-order"]').click();
264
- cy.contains('Request timed out', { timeout: 15000 }).should('be.visible');
265
- });
266
- });
267
- ```
268
-
269
- **Key Points**:
270
-
271
- - Stub different HTTP status codes (200, 400, 500, 503)
272
- - Simulate timeouts with `delay` or non-resolving promises
273
- - Test partial/incomplete data responses
274
- - Verify app handles errors gracefully (no crashes, user-friendly messages)
275
-
276
- ### Example 4: Deterministic Waiting
277
-
278
- **Context**: Never use hard waits (`waitForTimeout(3000)`). Always wait for explicit signals: network responses, element state changes, or custom events.
279
-
280
- **Implementation**:
281
-
282
- ```typescript
283
- // ✅ GOOD: Wait for response with predicate
284
- test('wait for specific response', async ({ page }) => {
285
- const responsePromise = page.waitForResponse((resp) => resp.url().includes('/api/users') && resp.status() === 200);
286
-
287
- await page.goto('/dashboard');
288
- const response = await responsePromise;
289
-
290
- expect(response.status()).toBe(200);
291
- await expect(page.getByText('Dashboard')).toBeVisible();
292
- });
293
-
294
- // ✅ GOOD: Wait for multiple responses
295
- test('wait for all required data', async ({ page }) => {
296
- const usersPromise = page.waitForResponse('**/api/users');
297
- const productsPromise = page.waitForResponse('**/api/products');
298
- const ordersPromise = page.waitForResponse('**/api/orders');
299
-
300
- await page.goto('/dashboard');
301
-
302
- // Wait for all in parallel
303
- const [users, products, orders] = await Promise.all([usersPromise, productsPromise, ordersPromise]);
304
-
305
- expect(users.status()).toBe(200);
306
- expect(products.status()).toBe(200);
307
- expect(orders.status()).toBe(200);
308
- });
309
-
310
- // ✅ GOOD: Wait for spinner to disappear
311
- test('wait for loading indicator', async ({ page }) => {
312
- await page.goto('/dashboard');
313
-
314
- // Wait for spinner to disappear (signals data loaded)
315
- await expect(page.getByTestId('loading-spinner')).not.toBeVisible();
316
- await expect(page.getByText('Dashboard')).toBeVisible();
317
- });
318
-
319
- // ✅ GOOD: Wait for custom event (advanced)
320
- test('wait for custom ready event', async ({ page }) => {
321
- let appReady = false;
322
- page.on('console', (msg) => {
323
- if (msg.text() === 'App ready') appReady = true;
324
- });
325
-
326
- await page.goto('/dashboard');
327
-
328
- // Poll until custom condition met
329
- await page.waitForFunction(() => appReady, { timeout: 10000 });
330
-
331
- await expect(page.getByText('Dashboard')).toBeVisible();
332
- });
333
-
334
- // ❌ BAD: Hard wait (arbitrary timeout)
335
- test('flaky hard wait example', async ({ page }) => {
336
- await page.goto('/dashboard');
337
- await page.waitForTimeout(3000); // WHY 3 seconds? What if slower? What if faster?
338
- await expect(page.getByText('Dashboard')).toBeVisible(); // May fail if >3s
339
- });
340
-
341
- // Cypress equivalents
342
- describe('Deterministic Waiting', () => {
343
- it('should wait for response', () => {
344
- cy.intercept('GET', '**/api/users').as('getUsers');
345
- cy.visit('/dashboard');
346
- cy.wait('@getUsers').its('response.statusCode').should('eq', 200);
347
- cy.contains('Dashboard').should('be.visible');
348
- });
349
-
350
- it('should wait for spinner to disappear', () => {
351
- cy.visit('/dashboard');
352
- cy.get('[data-testid="loading-spinner"]').should('not.exist');
353
- cy.contains('Dashboard').should('be.visible');
354
- });
355
-
356
- // ❌ BAD: Hard wait
357
- it('flaky hard wait', () => {
358
- cy.visit('/dashboard');
359
- cy.wait(3000); // NEVER DO THIS
360
- cy.contains('Dashboard').should('be.visible');
361
- });
362
- });
363
- ```
364
-
365
- **Key Points**:
366
-
367
- - `waitForResponse()` with URL pattern or predicate = deterministic
368
- - `waitForLoadState('networkidle')` = wait for all network activity to finish
369
- - Wait for element state changes (spinner disappears, button enabled)
370
- - **NEVER** use `waitForTimeout()` or `cy.wait(ms)` - always non-deterministic
371
-
372
- ### Example 5: Anti-Pattern - Navigate Then Mock
373
-
374
- **Problem**:
375
-
376
- ```typescript
377
- // ❌ BAD: Race condition - mock registered AFTER navigation starts
378
- test('flaky test - navigate then mock', async ({ page }) => {
379
- // Navigation starts immediately
380
- await page.goto('/dashboard'); // Request to /api/users fires NOW
381
-
382
- // Mock registered too late - request already sent
383
- await page.route('**/api/users', (route) =>
384
- route.fulfill({
385
- status: 200,
386
- body: JSON.stringify([{ id: 1, name: 'Test User' }]),
387
- }),
388
- );
389
-
390
- // Test randomly passes/fails depending on timing
391
- await expect(page.getByText('Test User')).toBeVisible(); // Flaky!
392
- });
393
-
394
- // ❌ BAD: No wait for response
395
- test('flaky test - no explicit wait', async ({ page }) => {
396
- await page.route('**/api/users', (route) => route.fulfill({ status: 200, body: JSON.stringify([]) }));
397
-
398
- await page.goto('/dashboard');
399
-
400
- // Assertion runs immediately - may fail if response slow
401
- await expect(page.getByText('No users found')).toBeVisible(); // Flaky!
402
- });
403
-
404
- // ❌ BAD: Generic timeout
405
- test('flaky test - hard wait', async ({ page }) => {
406
- await page.goto('/dashboard');
407
- await page.waitForTimeout(2000); // Arbitrary wait - brittle
408
-
409
- await expect(page.getByText('Dashboard')).toBeVisible();
410
- });
411
- ```
412
-
413
- **Why It Fails**:
414
-
415
- - **Mock after navigate**: Request fires during navigation, mock isn't active yet (race condition)
416
- - **No explicit wait**: Assertion runs before response arrives (timing-dependent)
417
- - **Hard waits**: Slow tests, brittle (fails if < timeout, wastes time if > timeout)
418
- - **Non-deterministic**: Passes locally, fails in CI (different speeds)
419
-
420
- **Better Approach**: Always intercept → trigger → await
421
-
422
- ```typescript
423
- // ✅ GOOD: Intercept BEFORE navigate
424
- test('deterministic test', async ({ page }) => {
425
- // Step 1: Register mock FIRST
426
- await page.route('**/api/users', (route) =>
427
- route.fulfill({
428
- status: 200,
429
- contentType: 'application/json',
430
- body: JSON.stringify([{ id: 1, name: 'Test User' }]),
431
- }),
432
- );
433
-
434
- // Step 2: Store response promise BEFORE trigger
435
- const responsePromise = page.waitForResponse('**/api/users');
436
-
437
- // Step 3: THEN trigger
438
- await page.goto('/dashboard');
439
-
440
- // Step 4: THEN await response
441
- await responsePromise;
442
-
443
- // Step 5: THEN assert (data is guaranteed loaded)
444
- await expect(page.getByText('Test User')).toBeVisible();
445
- });
446
- ```
447
-
448
- **Key Points**:
449
-
450
- - Order matters: Mock → Promise → Trigger → Await → Assert
451
- - No race conditions: Mock is active before request fires
452
- - Explicit wait: Response promise ensures data loaded
453
- - Deterministic: Always passes if app works correctly
454
-
455
- ## Integration Points
456
-
457
- - **Used in workflows**: `*atdd` (test generation), `*automate` (test expansion), `*framework` (network setup)
458
- - **Related fragments**:
459
- - `fixture-architecture.md` - Network fixture patterns
460
- - `data-factories.md` - API-first setup with network
461
- - `test-quality.md` - Deterministic test principles
462
-
463
- ## Debugging Network Issues
464
-
465
- When network tests fail, check:
466
-
467
- 1. **Timing**: Is interception registered **before** action?
468
- 2. **URL pattern**: Does pattern match actual request URL?
469
- 3. **Response format**: Is mocked response valid JSON/format?
470
- 4. **Status code**: Is app checking for 200 vs 201 vs 204?
471
- 5. **HAR file**: Capture real traffic to understand actual API contract
472
-
473
- ```typescript
474
- // Debug network issues with logging
475
- test('debug network', async ({ page }) => {
476
- // Log all requests
477
- page.on('request', (req) => console.log('→', req.method(), req.url()));
478
-
479
- // Log all responses
480
- page.on('response', (resp) => console.log('←', resp.status(), resp.url()));
481
-
482
- await page.goto('/dashboard');
483
- });
484
- ```
485
-
486
- _Source: Murat Testing Philosophy (lines 94-137), Playwright network patterns, Cypress intercept best practices._