agentvibes 3.0.0 → 3.2.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 (350) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +9 -9
  2. package/.bmad/_cfg/agent-voice-map.csv +11 -11
  3. package/.bmad/_cfg/agents/bmm-quick-flow-solo-dev.customize.yaml +42 -0
  4. package/.bmad/_cfg/files-manifest.csv +286 -242
  5. package/.bmad/_cfg/ides/claude-code.yaml +1 -1
  6. package/.bmad/_cfg/manifest.yaml +5 -3
  7. package/.bmad/_cfg/task-manifest.csv +1 -0
  8. package/.bmad/_cfg/workflow-manifest.csv +37 -38
  9. package/.bmad/bmm/agents/analyst.md +40 -41
  10. package/.bmad/bmm/agents/{frame-expert.md → analyst.md.bak} +23 -16
  11. package/.bmad/bmm/agents/architect.md +34 -42
  12. package/.bmad/bmm/agents/dev.md +38 -34
  13. package/.bmad/bmm/agents/pm.md +34 -46
  14. package/.bmad/bmm/agents/quick-flow-solo-dev.md +64 -0
  15. package/.bmad/bmm/agents/sm.md +47 -53
  16. package/.bmad/bmm/agents/tea.md +41 -42
  17. package/.bmad/bmm/agents/tech-writer.md +37 -39
  18. package/.bmad/bmm/agents/ux-designer.md +42 -41
  19. package/.bmad/bmm/config.yaml +7 -5
  20. package/.bmad/bmm/data/README.md +29 -0
  21. package/.bmad/bmm/data/project-context-template.md +40 -0
  22. package/.bmad/bmm/docs/README.md +48 -10
  23. package/.bmad/bmm/docs/agents-guide.md +80 -53
  24. package/.bmad/bmm/docs/bmad-quick-flow.md +528 -0
  25. package/.bmad/bmm/docs/brownfield-guide.md +25 -39
  26. package/.bmad/bmm/docs/enterprise-agentic-development.md +3 -3
  27. package/.bmad/bmm/docs/faq.md +6 -39
  28. package/.bmad/bmm/docs/glossary.md +12 -25
  29. package/.bmad/bmm/docs/images/README.md +37 -0
  30. package/.bmad/bmm/docs/images/workflow-method-greenfield.excalidraw +5034 -0
  31. package/.bmad/bmm/docs/images/workflow-method-greenfield.svg +4 -0
  32. package/.bmad/bmm/docs/quick-flow-solo-dev.md +337 -0
  33. package/.bmad/bmm/docs/quick-spec-flow.md +5 -5
  34. package/.bmad/bmm/docs/quick-start.md +15 -25
  35. package/.bmad/bmm/docs/scale-adaptive-system.md +11 -5
  36. package/.bmad/bmm/docs/test-architecture.md +90 -24
  37. package/.bmad/bmm/docs/troubleshooting.md +680 -0
  38. package/.bmad/bmm/docs/workflow-document-project-reference.md +1 -1
  39. package/.bmad/bmm/docs/workflows-analysis.md +36 -140
  40. package/.bmad/bmm/docs/workflows-implementation.md +182 -157
  41. package/.bmad/bmm/docs/workflows-planning.md +51 -212
  42. package/.bmad/bmm/docs/workflows-solutioning.md +26 -71
  43. package/.bmad/bmm/tasks/daily-standup.xml +85 -0
  44. package/.bmad/bmm/teams/default-party.csv +15 -14
  45. package/.bmad/bmm/teams/team-fullstack.yaml +0 -1
  46. package/.bmad/bmm/testarch/knowledge/api-request.md +303 -0
  47. package/.bmad/bmm/testarch/knowledge/auth-session.md +356 -0
  48. package/.bmad/bmm/testarch/knowledge/burn-in.md +273 -0
  49. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  50. package/.bmad/bmm/testarch/knowledge/file-utils.md +260 -0
  51. package/.bmad/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  52. package/.bmad/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  53. package/.bmad/bmm/testarch/knowledge/log.md +294 -0
  54. package/.bmad/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  55. package/.bmad/bmm/testarch/knowledge/network-recorder.md +265 -0
  56. package/.bmad/bmm/testarch/knowledge/overview.md +284 -0
  57. package/.bmad/bmm/testarch/knowledge/recurse.md +296 -0
  58. package/.bmad/bmm/testarch/tea-index.csv +11 -0
  59. package/.bmad/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  60. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  61. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  62. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  63. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  64. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  65. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  66. package/.bmad/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  67. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  68. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  69. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  70. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  71. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  72. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  73. package/.bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +442 -0
  74. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +181 -0
  75. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +236 -0
  76. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +199 -0
  77. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +248 -0
  78. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +258 -0
  79. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +176 -0
  80. package/.bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +474 -0
  81. package/.bmad/bmm/workflows/1-analysis/research/research.template.md +15 -0
  82. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  83. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +238 -0
  84. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +247 -0
  85. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +201 -0
  86. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +238 -0
  87. package/.bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +485 -0
  88. package/.bmad/bmm/workflows/1-analysis/research/workflow.md +204 -0
  89. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  90. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  91. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  92. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  93. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  94. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  95. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  96. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  97. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  98. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  99. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  100. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  101. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  102. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  103. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  104. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  105. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +59 -0
  106. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +12 -200
  107. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +243 -0
  108. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +165 -0
  109. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +420 -0
  110. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +289 -0
  111. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +290 -0
  112. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +270 -0
  113. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +261 -0
  114. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +257 -0
  115. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +298 -0
  116. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +269 -0
  117. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +293 -0
  118. package/.bmad/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +223 -0
  119. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  120. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  121. package/.bmad/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  122. package/.bmad/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  123. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  124. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  125. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  126. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  127. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  128. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  129. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  130. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  131. package/.bmad/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  132. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.md +49 -0
  133. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  134. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  135. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  136. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  137. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  138. package/.bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  139. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  140. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  141. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  142. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  143. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  144. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  145. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  146. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  147. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +2 -1
  148. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.xml +224 -0
  149. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  150. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  151. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.xml +354 -0
  152. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  153. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  154. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  155. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  156. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  157. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  158. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +11 -10
  159. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  160. package/.bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  161. package/.bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +34 -0
  162. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  163. package/.bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +25 -0
  164. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  165. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +202 -0
  166. package/.bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +32 -0
  167. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/instructions.md +7 -8
  168. package/.bmad/bmm/workflows/diagrams/create-dataflow/workflow.yaml +26 -0
  169. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/instructions.md +9 -10
  170. package/.bmad/bmm/workflows/diagrams/create-diagram/workflow.yaml +26 -0
  171. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/instructions.md +4 -5
  172. package/.bmad/bmm/workflows/diagrams/create-flowchart/workflow.yaml +26 -0
  173. package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/instructions.md +3 -3
  174. package/.bmad/bmm/workflows/diagrams/create-wireframe/workflow.yaml +26 -0
  175. package/.bmad/bmm/workflows/document-project/instructions.md +1 -1
  176. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  177. package/.bmad/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  178. package/.bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  179. package/.bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  180. package/.bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  181. package/.bmad/bmm/workflows/generate-project-context/workflow.md +48 -0
  182. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  183. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +23 -3
  184. package/.bmad/bmm/workflows/testarch/automate/instructions.md +23 -2
  185. package/.bmad/bmm/workflows/testarch/ci/checklist.md +1 -1
  186. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  187. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  188. package/.bmad/bmm/workflows/testarch/ci/instructions.md +20 -3
  189. package/.bmad/bmm/workflows/testarch/framework/instructions.md +27 -1
  190. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +8 -2
  191. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +29 -9
  192. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +66 -54
  193. package/.bmad/bmm/workflows/workflow-status/instructions.md +11 -4
  194. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +22 -38
  195. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +6 -22
  196. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +6 -22
  197. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +6 -23
  198. package/.bmad/core/agents/bmad-master.md +12 -17
  199. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  200. package/.bmad/core/config.yaml +11 -0
  201. package/.bmad/core/resources/excalidraw/README.md +160 -0
  202. package/.bmad/core/resources/excalidraw/library-loader.md +50 -0
  203. package/.bmad/core/tasks/advanced-elicitation-methods.csv +51 -21
  204. package/.bmad/core/tasks/advanced-elicitation.xml +18 -8
  205. package/.bmad/core/tasks/workflow.xml +36 -71
  206. package/.bmad/core/workflows/brainstorming/brain-methods.csv +62 -36
  207. package/.bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  208. package/.bmad/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  209. package/.bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  210. package/.bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  211. package/.bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  212. package/.bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  213. package/.bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  214. package/.bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  215. package/.bmad/core/workflows/brainstorming/template.md +13 -104
  216. package/.bmad/core/workflows/brainstorming/workflow.md +51 -0
  217. package/.bmad/core/workflows/party-mode/instructions.md.bak +205 -0
  218. package/.bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +140 -0
  219. package/.bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +205 -0
  220. package/.bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +158 -0
  221. package/.bmad/core/workflows/party-mode/workflow.md +225 -0
  222. package/.claude/commands/bmad/bmm/agents/{frame-expert.md → quick-flow-solo-dev.md} +3 -3
  223. package/.claude/commands/bmad/bmm/workflows/check-implementation-readiness.md +5 -0
  224. package/.claude/commands/bmad/bmm/workflows/code-review.md +1 -1
  225. package/.claude/commands/bmad/bmm/workflows/create-architecture.md +5 -0
  226. package/.claude/commands/bmad/bmm/workflows/create-epics-stories.md +5 -0
  227. package/.claude/commands/bmad/bmm/workflows/{create-dataflow.md → create-excalidraw-dataflow.md} +2 -2
  228. package/.claude/commands/bmad/bmm/workflows/{create-diagram.md → create-excalidraw-diagram.md} +2 -2
  229. package/.claude/commands/bmad/bmm/workflows/{create-flowchart.md → create-excalidraw-flowchart.md} +2 -2
  230. package/.claude/commands/bmad/bmm/workflows/{create-wireframe.md → create-excalidraw-wireframe.md} +2 -2
  231. package/.claude/commands/bmad/bmm/workflows/create-prd.md +5 -0
  232. package/.claude/commands/bmad/bmm/workflows/create-product-brief.md +5 -0
  233. package/.claude/commands/bmad/bmm/workflows/create-story.md +1 -1
  234. package/.claude/commands/bmad/bmm/workflows/create-tech-spec.md +13 -0
  235. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +2 -10
  236. package/.claude/commands/bmad/bmm/workflows/generate-project-context.md +5 -0
  237. package/.claude/commands/bmad/bmm/workflows/{domain-research.md → quick-dev.md} +3 -3
  238. package/.claude/commands/bmad/bmm/workflows/research.md +2 -10
  239. package/.claude/commands/bmad/bmm/workflows/{story-context.md → sprint-status.md} +3 -3
  240. package/.claude/commands/bmad/bmm/workflows/testarch-atdd.md +13 -0
  241. package/.claude/commands/bmad/bmm/workflows/testarch-automate.md +13 -0
  242. package/.claude/commands/bmad/bmm/workflows/testarch-ci.md +13 -0
  243. package/.claude/commands/bmad/bmm/workflows/testarch-framework.md +13 -0
  244. package/.claude/commands/bmad/bmm/workflows/testarch-nfr.md +13 -0
  245. package/.claude/commands/bmad/bmm/workflows/{prd.md → testarch-test-design.md} +3 -3
  246. package/.claude/commands/bmad/bmm/workflows/testarch-test-review.md +13 -0
  247. package/.claude/commands/bmad/bmm/workflows/testarch-trace.md +13 -0
  248. package/.claude/commands/bmad/core/workflows/brainstorming-session.md +5 -0
  249. package/.claude/config/tts-speech-rate.txt +1 -0
  250. package/.claude/github-star-reminder.txt +1 -1
  251. package/.claude/hooks/audio-processor.sh +12 -3
  252. package/.claude/hooks/piper-installer.sh +17 -0
  253. package/.claude/hooks/play-tts-piper.sh +4 -0
  254. package/.claude/hooks/termux-installer.sh +224 -0
  255. package/.clawdbot/README.md +105 -0
  256. package/.clawdbot/skill/SKILL.md +432 -0
  257. package/README.md +167 -11
  258. package/RELEASE_NOTES.md +255 -249
  259. package/package.json +4 -2
  260. package/src/installer.js +75 -21
  261. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  262. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  263. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  264. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  265. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  266. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -28
  267. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  268. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  269. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  270. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  271. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  272. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  273. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  274. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  275. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  276. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  277. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  278. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  279. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  280. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  281. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  282. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  283. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +0 -80
  284. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +0 -616
  285. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +0 -53
  286. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  287. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  288. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -61
  289. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  290. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  291. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -52
  292. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  293. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  294. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  295. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  296. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  297. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  298. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -58
  299. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  300. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  301. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  302. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  303. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  304. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  305. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -55
  306. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  307. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  308. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  309. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -62
  310. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  311. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  312. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  313. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  314. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  315. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  316. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  317. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -57
  318. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  319. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  320. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  321. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -61
  322. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  323. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -26
  324. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  325. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -23
  326. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +0 -23
  327. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +0 -24
  328. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +0 -27
  329. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +0 -23
  330. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  331. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  332. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  333. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -13
  334. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -13
  335. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -13
  336. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -13
  337. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +0 -13
  338. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -13
  339. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -13
  340. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -13
  341. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -13
  342. /package/.bmad/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
  343. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-library.json +0 -0
  344. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/_shared/excalidraw-templates.yaml +0 -0
  345. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-dataflow/checklist.md +0 -0
  346. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-diagram/checklist.md +0 -0
  347. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-flowchart/checklist.md +0 -0
  348. /package/.bmad/bmm/workflows/{frame-expert → diagrams}/create-wireframe/checklist.md +0 -0
  349. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/excalidraw-helpers.md +0 -0
  350. /package/.bmad/{bmm/workflows/frame-expert/_shared → core/resources/excalidraw}/validate-json-instructions.md +0 -0
@@ -81,16 +81,37 @@ Expands test automation coverage by generating comprehensive test suites at appr
81
81
  - Map tests to source files (coverage gaps)
82
82
  - Check existing fixture and factory patterns
83
83
 
84
- 5. **Load Knowledge Base Fragments**
84
+ 5. **Check Playwright Utils Flag**
85
+
86
+ Read `{config_source}` and check `config.tea_use_playwright_utils`.
87
+
88
+ 6. **Load Knowledge Base Fragments**
85
89
 
86
90
  **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to load:
91
+
92
+ **Core Testing Patterns (Always load):**
87
93
  - `test-levels-framework.md` - Test level selection (E2E vs API vs Component vs Unit with decision matrix, 467 lines, 4 examples)
88
94
  - `test-priorities-matrix.md` - Priority classification (P0-P3 with automated scoring, risk mapping, 389 lines, 2 examples)
89
- - `fixture-architecture.md` - Test fixture patterns (pure function → fixture → mergeTests, auto-cleanup, 406 lines, 5 examples)
90
95
  - `data-factories.md` - Factory patterns with faker (overrides, nested factories, API seeding, 498 lines, 5 examples)
91
96
  - `selective-testing.md` - Targeted test execution strategies (tag-based, spec filters, diff-based, promotion rules, 727 lines, 4 examples)
92
97
  - `ci-burn-in.md` - Flaky test detection patterns (10-iteration burn-in, sharding, selective execution, 678 lines, 4 examples)
93
98
  - `test-quality.md` - Test design principles (deterministic, isolated, explicit assertions, length/time limits, 658 lines, 5 examples)
99
+
100
+ **If `config.tea_use_playwright_utils: true` (Playwright Utils Integration - All Utilities):**
101
+ - `overview.md` - Playwright utils installation, design principles, fixture patterns
102
+ - `api-request.md` - Typed HTTP client with schema validation
103
+ - `network-recorder.md` - HAR record/playback for offline testing
104
+ - `auth-session.md` - Token persistence and multi-user support
105
+ - `intercept-network-call.md` - Network spy/stub with automatic JSON parsing
106
+ - `recurse.md` - Cypress-style polling for async conditions
107
+ - `log.md` - Playwright report-integrated logging
108
+ - `file-utils.md` - CSV/XLSX/PDF/ZIP reading and validation
109
+ - `burn-in.md` - Smart test selection (relevant for CI test generation)
110
+ - `network-error-monitor.md` - Automatic HTTP error detection
111
+ - `fixtures-composition.md` - mergeTests composition patterns
112
+
113
+ **If `config.tea_use_playwright_utils: false` (Traditional Patterns):**
114
+ - `fixture-architecture.md` - Test fixture patterns (pure function → fixture → mergeTests, auto-cleanup, 406 lines, 5 examples)
94
115
  - `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
95
116
 
96
117
  **Healing Knowledge (If `{auto_heal_failures}` is true):**
@@ -4,7 +4,7 @@
4
4
 
5
5
  - [ ] Git repository initialized (`.git/` exists)
6
6
  - [ ] Git remote configured (`git remote -v` shows origin)
7
- - [ ] Test framework configured (playwright.config._ or cypress.config._)
7
+ - [ ] Test framework configured (`playwright.config._` or `cypress.config._`)
8
8
  - [ ] Local tests pass (`npm run test:e2e` succeeds)
9
9
  - [ ] Team agrees on CI platform
10
10
  - [ ] Access to CI platform settings (if updating)
@@ -27,10 +27,21 @@ jobs:
27
27
  steps:
28
28
  - uses: actions/checkout@v4
29
29
 
30
+ - name: Determine Node version
31
+ id: node-version
32
+ run: |
33
+ if [ -f .nvmrc ]; then
34
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
35
+ echo "Using Node from .nvmrc"
36
+ else
37
+ echo "value=24" >> "$GITHUB_OUTPUT"
38
+ echo "Using default Node 24 (current LTS)"
39
+ fi
40
+
30
41
  - name: Setup Node.js
31
42
  uses: actions/setup-node@v4
32
43
  with:
33
- node-version-file: ".nvmrc"
44
+ node-version: ${{ steps.node-version.outputs.value }}
34
45
  cache: "npm"
35
46
 
36
47
  - name: Install dependencies
@@ -54,10 +65,21 @@ jobs:
54
65
  steps:
55
66
  - uses: actions/checkout@v4
56
67
 
68
+ - name: Determine Node version
69
+ id: node-version
70
+ run: |
71
+ if [ -f .nvmrc ]; then
72
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
73
+ echo "Using Node from .nvmrc"
74
+ else
75
+ echo "value=22" >> "$GITHUB_OUTPUT"
76
+ echo "Using default Node 22 (current LTS)"
77
+ fi
78
+
57
79
  - name: Setup Node.js
58
80
  uses: actions/setup-node@v4
59
81
  with:
60
- node-version-file: ".nvmrc"
82
+ node-version: ${{ steps.node-version.outputs.value }}
61
83
  cache: "npm"
62
84
 
63
85
  - name: Cache Playwright browsers
@@ -99,10 +121,21 @@ jobs:
99
121
  steps:
100
122
  - uses: actions/checkout@v4
101
123
 
124
+ - name: Determine Node version
125
+ id: node-version
126
+ run: |
127
+ if [ -f .nvmrc ]; then
128
+ echo "value=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
129
+ echo "Using Node from .nvmrc"
130
+ else
131
+ echo "value=22" >> "$GITHUB_OUTPUT"
132
+ echo "Using default Node 22 (current LTS)"
133
+ fi
134
+
102
135
  - name: Setup Node.js
103
136
  uses: actions/setup-node@v4
104
137
  with:
105
- node-version-file: ".nvmrc"
138
+ node-version: ${{ steps.node-version.outputs.value }}
106
139
  cache: "npm"
107
140
 
108
141
  - name: Cache Playwright browsers
@@ -15,6 +15,8 @@ variables:
15
15
  npm_config_cache: "$CI_PROJECT_DIR/.npm"
16
16
  # Playwright browser cache
17
17
  PLAYWRIGHT_BROWSERS_PATH: "$CI_PROJECT_DIR/.cache/ms-playwright"
18
+ # Default Node version when .nvmrc is missing
19
+ DEFAULT_NODE_VERSION: "24"
18
20
 
19
21
  # Caching configuration
20
22
  cache:
@@ -29,19 +31,32 @@ cache:
29
31
  # Lint stage - Code quality checks
30
32
  lint:
31
33
  stage: lint
32
- image: node:20
33
- script:
34
+ image: node:$DEFAULT_NODE_VERSION
35
+ before_script:
36
+ - |
37
+ NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
38
+ echo "Using Node $NODE_VERSION"
39
+ npm install -g n
40
+ n "$NODE_VERSION"
41
+ node -v
34
42
  - npm ci
43
+ script:
35
44
  - npm run lint
36
45
  timeout: 5 minutes
37
46
 
38
47
  # Test stage - Parallel execution with sharding
39
48
  .test-template: &test-template
40
49
  stage: test
41
- image: node:20
50
+ image: node:$DEFAULT_NODE_VERSION
42
51
  needs:
43
52
  - lint
44
53
  before_script:
54
+ - |
55
+ NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
56
+ echo "Using Node $NODE_VERSION"
57
+ npm install -g n
58
+ n "$NODE_VERSION"
59
+ node -v
45
60
  - npm ci
46
61
  - npx playwright install --with-deps chromium
47
62
  artifacts:
@@ -75,7 +90,7 @@ test:shard-4:
75
90
  # Burn-in stage - Flaky test detection
76
91
  burn-in:
77
92
  stage: burn-in
78
- image: node:20
93
+ image: node:$DEFAULT_NODE_VERSION
79
94
  needs:
80
95
  - test:shard-1
81
96
  - test:shard-2
@@ -86,6 +101,12 @@ burn-in:
86
101
  - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
87
102
  - if: '$CI_PIPELINE_SOURCE == "schedule"'
88
103
  before_script:
104
+ - |
105
+ NODE_VERSION=$(cat .nvmrc 2>/dev/null || echo "$DEFAULT_NODE_VERSION")
106
+ echo "Using Node $NODE_VERSION"
107
+ npm install -g n
108
+ n "$NODE_VERSION"
109
+ node -v
89
110
  - npm ci
90
111
  - npx playwright install --with-deps chromium
91
112
  script:
@@ -61,8 +61,8 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
61
61
  - Ask user if unable to auto-detect
62
62
 
63
63
  5. **Read Environment Configuration**
64
- - Check for `.nvmrc` to determine Node version
65
- - Default to Node 20 LTS if not found
64
+ - Use `.nvmrc` for Node version if present
65
+ - If missing, default to a current LTS (Node 24) or newer instead of a fixed old version
66
66
  - Read `package.json` to identify dependencies (affects caching strategy)
67
67
 
68
68
  **Halt Condition:** If preflight checks fail, stop immediately and report which requirement failed.
@@ -353,7 +353,11 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
353
353
 
354
354
  ### Knowledge Base Integration
355
355
 
356
- **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to identify and load relevant knowledge fragments:
356
+ **Critical:** Check configuration and load appropriate fragments.
357
+
358
+ Read `{config_source}` and check `config.tea_use_playwright_utils`.
359
+
360
+ **Core CI Patterns (Always load):**
357
361
 
358
362
  - `ci-burn-in.md` - Burn-in loop patterns: 10-iteration detection, GitHub Actions workflow, shard orchestration, selective execution (678 lines, 4 examples)
359
363
  - `selective-testing.md` - Changed test detection strategies: tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
@@ -361,6 +365,19 @@ Scaffolds a production-ready CI/CD quality pipeline with test execution, burn-in
361
365
  - `test-quality.md` - CI-specific test quality criteria: deterministic tests, isolated with cleanup, explicit assertions, length/time optimization (658 lines, 5 examples)
362
366
  - `playwright-config.md` - CI-optimized configuration: parallelization, artifact output, project dependencies, sharding (722 lines, 5 examples)
363
367
 
368
+ **If `config.tea_use_playwright_utils: true`:**
369
+
370
+ Load playwright-utils CI-relevant fragments:
371
+
372
+ - `burn-in.md` - Smart test selection with git diff analysis (very important for CI optimization)
373
+ - `network-error-monitor.md` - Automatic HTTP 4xx/5xx detection (recommend in CI pipelines)
374
+
375
+ Recommend:
376
+
377
+ - Add burn-in script for pull request validation
378
+ - Enable network-error-monitor in merged fixtures for catching silent failures
379
+ - Reference full docs in `*framework` and `*automate` workflows
380
+
364
381
  ### CI Platform-Specific Guidance
365
382
 
366
383
  **GitHub Actions:**
@@ -349,7 +349,33 @@ The generated `tests/README.md` should include:
349
349
 
350
350
  ### Knowledge Base Integration
351
351
 
352
- **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to identify and load relevant knowledge fragments:
352
+ **Critical:** Check configuration and load appropriate fragments.
353
+
354
+ Read `{config_source}` and check `config.tea_use_playwright_utils`.
355
+
356
+ **If `config.tea_use_playwright_utils: true` (Playwright Utils Integration):**
357
+
358
+ Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` and load:
359
+
360
+ - `overview.md` - Playwright utils installation and design principles
361
+ - `fixtures-composition.md` - mergeTests composition with playwright-utils
362
+ - `auth-session.md` - Token persistence setup (if auth needed)
363
+ - `api-request.md` - API testing utilities (if API tests planned)
364
+ - `burn-in.md` - Smart test selection for CI (recommend during framework setup)
365
+ - `network-error-monitor.md` - Automatic HTTP error detection (recommend in merged fixtures)
366
+ - `data-factories.md` - Factory patterns with faker (498 lines, 5 examples)
367
+
368
+ Recommend installing playwright-utils:
369
+
370
+ ```bash
371
+ npm install -D @seontechnologies/playwright-utils
372
+ ```
373
+
374
+ Recommend adding burn-in and network-error-monitor to merged fixtures for enhanced reliability.
375
+
376
+ **If `config.tea_use_playwright_utils: false` (Traditional Patterns):**
377
+
378
+ Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` and load:
353
379
 
354
380
  - `fixture-architecture.md` - Pure function → fixture → `mergeTests` composition with auto-cleanup (406 lines, 5 examples)
355
381
  - `data-factories.md` - Faker-based factories with overrides, nested factories, API seeding, auto-cleanup (498 lines, 5 examples)
@@ -66,7 +66,13 @@ The workflow auto-detects which mode to use based on project phase.
66
66
  - Note integration points and external system dependencies
67
67
  - Extract NFR requirements (performance SLOs, security requirements, etc.)
68
68
 
69
- 2. **Load Knowledge Base Fragments (System-Level)**
69
+ 2. **Check Playwright Utils Flag**
70
+
71
+ Read `{config_source}` and check `config.tea_use_playwright_utils`.
72
+
73
+ If true, note that `@seontechnologies/playwright-utils` provides utilities for test implementation. Reference in test design where relevant.
74
+
75
+ 3. **Load Knowledge Base Fragments (System-Level)**
70
76
 
71
77
  **Critical:** Consult `{project-root}/.bmad/bmm/testarch/tea-index.csv` to load:
72
78
  - `nfr-criteria.md` - NFR validation approach (security, performance, reliability, maintainability)
@@ -74,7 +80,7 @@ The workflow auto-detects which mode to use based on project phase.
74
80
  - `risk-governance.md` - Testability risk identification
75
81
  - `test-quality.md` - Quality standards and Definition of Done
76
82
 
77
- 3. **Analyze Existing Test Setup (if brownfield)**
83
+ 4. **Analyze Existing Test Setup (if brownfield)**
78
84
  - Search for existing test directories
79
85
  - Identify current test framework (if any)
80
86
  - Note testability concerns in existing codebase
@@ -49,31 +49,51 @@ This workflow performs comprehensive test quality reviews using TEA's knowledge
49
49
 
50
50
  **Actions:**
51
51
 
52
- 1. Load relevant knowledge fragments from `{project-root}/.bmad/bmm/testarch/tea-index.csv`:
52
+ 1. Check playwright-utils flag:
53
+ - Read `{config_source}` and check `config.tea_use_playwright_utils`
54
+
55
+ 2. Load relevant knowledge fragments from `{project-root}/.bmad/bmm/testarch/tea-index.csv`:
56
+
57
+ **Core Patterns (Always load):**
53
58
  - `test-quality.md` - Definition of Done (deterministic tests, isolated with cleanup, explicit assertions, <300 lines, <1.5 min, 658 lines, 5 examples)
54
- - `fixture-architecture.md` - Pure function → Fixture → mergeTests composition with auto-cleanup (406 lines, 5 examples)
55
- - `network-first.md` - Route intercept before navigate to prevent race conditions (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
56
59
  - `data-factories.md` - Factory functions with faker: overrides, nested factories, API-first setup (498 lines, 5 examples)
57
60
  - `test-levels-framework.md` - E2E vs API vs Component vs Unit appropriateness with decision matrix (467 lines, 4 examples)
58
- - `playwright-config.md` - Environment-based configuration with fail-fast validation (722 lines, 5 examples)
59
- - `component-tdd.md` - Red-Green-Refactor patterns with provider isolation, accessibility, visual regression (480 lines, 4 examples)
60
61
  - `selective-testing.md` - Duplicate coverage detection with tag-based, spec filter, diff-based selection (727 lines, 4 examples)
61
62
  - `test-healing-patterns.md` - Common failure patterns: stale selectors, race conditions, dynamic data, network errors, hard waits (648 lines, 5 examples)
62
63
  - `selector-resilience.md` - Selector best practices (data-testid > ARIA > text > CSS hierarchy, anti-patterns, 541 lines, 4 examples)
63
64
  - `timing-debugging.md` - Race condition prevention and async debugging techniques (370 lines, 3 examples)
65
+
66
+ **If `config.tea_use_playwright_utils: true` (All Utilities):**
67
+ - `overview.md` - Playwright utils best practices
68
+ - `api-request.md` - Validate apiRequest usage patterns
69
+ - `network-recorder.md` - Review HAR record/playback implementation
70
+ - `auth-session.md` - Check auth token management
71
+ - `intercept-network-call.md` - Validate network interception
72
+ - `recurse.md` - Review polling patterns
73
+ - `log.md` - Check logging best practices
74
+ - `file-utils.md` - Validate file operation patterns
75
+ - `burn-in.md` - Review burn-in configuration
76
+ - `network-error-monitor.md` - Check error monitoring setup
77
+ - `fixtures-composition.md` - Validate mergeTests usage
78
+
79
+ **If `config.tea_use_playwright_utils: false`:**
80
+ - `fixture-architecture.md` - Pure function → Fixture → mergeTests composition with auto-cleanup (406 lines, 5 examples)
81
+ - `network-first.md` - Route intercept before navigate to prevent race conditions (489 lines, 5 examples)
82
+ - `playwright-config.md` - Environment-based configuration with fail-fast validation (722 lines, 5 examples)
83
+ - `component-tdd.md` - Red-Green-Refactor patterns with provider isolation (480 lines, 4 examples)
64
84
  - `ci-burn-in.md` - Flaky test detection with 10-iteration burn-in loop (678 lines, 4 examples)
65
85
 
66
- 2. Determine review scope:
86
+ 3. Determine review scope:
67
87
  - **single**: Review one test file (`test_file_path` provided)
68
88
  - **directory**: Review all tests in directory (`test_dir` provided)
69
89
  - **suite**: Review entire test suite (discover all test files)
70
90
 
71
- 3. Auto-discover related artifacts (if `auto_discover_story: true`):
91
+ 4. Auto-discover related artifacts (if `auto_discover_story: true`):
72
92
  - Extract test ID from filename (e.g., `1.3-E2E-001.spec.ts` → story 1.3)
73
93
  - Search for story file (`story-1.3.md`)
74
94
  - Search for test design (`test-design-story-1.3.md` or `test-design-epic-1.md`)
75
95
 
76
- 4. Read story file for context (if available):
96
+ 5. Read story file for context (if available):
77
97
  - Extract acceptance criteria
78
98
  - Extract priority classification
79
99
  - Extract expected test IDs
@@ -504,7 +524,7 @@ await expect(page.locator('[data-testid="user-menu"]')).toBeVisible({ timeout: 1
504
524
  ### 1. Use Data Factory for Test User (Lines 23, 32, 41)
505
525
 
506
526
  **Severity**: P1 (High)
507
- **Issue**: Hardcoded email 'test@example.com' - maintainability risk
527
+ **Issue**: Hardcoded email `test@example.com` - maintainability risk
508
528
  **Fix**: Create factory function for test users
509
529
  **Knowledge**: See data-factories.md
510
530
 
@@ -3,7 +3,7 @@
3
3
  <critical>The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml</critical>
4
4
  <critical>You MUST have already loaded and processed: workflow-init/workflow.yaml</critical>
5
5
  <critical>Communicate in {communication_language} with {user_name}</critical>
6
- <critical>This workflow handles BOTH new projects AND legacy projects being migrated to BMad Method</critical>
6
+ <critical>This workflow handles BOTH new projects AND legacy projects following the BMad Method</critical>
7
7
 
8
8
  <workflow>
9
9
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  <action>Perform comprehensive scan for existing work:
14
14
 
15
- - BMM artifacts: PRD, tech-spec, epics, architecture, UX, brief, research, brainstorm
15
+ - BMM artifacts: PRD, epics, architecture, UX, brief, research, brainstorm
16
16
  - Implementation: stories, sprint-status, workflow-status
17
17
  - Codebase: source directories, package files, git repo
18
18
  - Check both {output_folder} and {sprint_artifacts} locations
@@ -53,31 +53,31 @@ Happy building! 🚀</output>
53
53
 
54
54
  <ask>How would you like to proceed?
55
55
 
56
- a) **Continue** - Work with existing artifacts
57
- b) **Archive & Start Fresh** - Move old work to archive
58
- c) **Express Setup** - I know exactly what I need
59
- d) **Guided Setup** - Walk me through options
56
+ 1. **Continue** - Work with existing artifacts
57
+ 2. **Archive & Start Fresh** - Move old work to archive
58
+ 3. **Express Setup** - I know exactly what I need
59
+ 4. **Guided Setup** - Walk me through options
60
60
 
61
- Choice [a/b/c/d]:</ask>
61
+ Choice [1-4]</ask>
62
62
 
63
- <check if="choice == a">
63
+ <check if="choice == 1">
64
64
  <action>Set continuing_existing = true</action>
65
65
  <action>Store found artifacts</action>
66
66
  <action>Continue to step 7 (detect track from artifacts)</action>
67
67
  </check>
68
68
 
69
- <check if="choice == b">
69
+ <check if="choice == 2">
70
70
  <ask>Archive existing work? (y/n)</ask>
71
71
  <action if="y">Move artifacts to {output_folder}/archive/</action>
72
72
  <output>Ready for fresh start!</output>
73
73
  <action>Continue to step 3</action>
74
74
  </check>
75
75
 
76
- <check if="choice == c">
76
+ <check if="choice == 3">
77
77
  <action>Jump to step 3 (express path)</action>
78
78
  </check>
79
79
 
80
- <check if="choice == d">
80
+ <check if="choice == 4">
81
81
  <action>Continue to step 4 (guided path)</action>
82
82
  </check>
83
83
  </check>
@@ -85,16 +85,16 @@ Choice [a/b/c/d]:</ask>
85
85
  <check if="state == CLEAN">
86
86
  <ask>Setup approach:
87
87
 
88
- a) **Express** - I know what I need
89
- b) **Guided** - Show me the options
88
+ 1. **Express** - I know what I need
89
+ 2. **Guided** - Show me the options
90
90
 
91
- Choice [a/b]:</ask>
91
+ Choice [1 or 2]:</ask>
92
92
 
93
- <check if="choice == a">
93
+ <check if="choice == 1">
94
94
  <action>Continue to step 3 (express)</action>
95
95
  </check>
96
96
 
97
- <check if="choice == b">
97
+ <check if="choice == 2">
98
98
  <action>Continue to step 4 (guided)</action>
99
99
  </check>
100
100
  </check>
@@ -102,20 +102,22 @@ Choice [a/b]:</ask>
102
102
 
103
103
  <step n="3" goal="Express setup path">
104
104
  <ask>Is this for:
105
- 1) **New project** (greenfield)
106
- 2) **Existing codebase** (brownfield)
105
+ 1. **New project** (greenfield)
106
+ 2. **Existing codebase** (brownfield)
107
107
 
108
108
  Choice [1/2]:</ask>
109
109
  <action>Set field_type based on choice</action>
110
110
 
111
111
  <ask>Planning approach:
112
112
 
113
- 1. **Quick Flow** - Minimal planning, fast to code
114
- 2. **BMad Method** - Full planning for complex projects
115
- 3. **Enterprise Method** - Extended planning with security/DevOps
113
+ 1. **BMad Method** - Full planning for complex projects
114
+ 2. **Enterprise Method** - Extended planning with security/DevOps
116
115
 
117
- Choice [1/2/3]:</ask>
118
- <action>Map to selected_track: quick-flow/method/enterprise</action>
116
+ Choice [1/2]:</ask>
117
+ <action>Map to selected_track: method/enterprise</action>
118
+
119
+ <output>🚀 **For Quick Flow (minimal planning, straight to code):**
120
+ Load the **quick-flow-solo-dev** agent instead - use Quick Flow agent for faster development</output>
119
121
 
120
122
  <template-output>field_type</template-output>
121
123
  <template-output>selected_track</template-output>
@@ -135,8 +137,8 @@ Choice [1/2/3]:</ask>
135
137
 
136
138
  <check if="field_type unclear AND codebase exists">
137
139
  <ask>I see existing code. Are you:
138
- 1) **Modifying** existing codebase (brownfield)
139
- 2) **Starting fresh** - code is just scaffold (greenfield)
140
+ 1. **Modifying** existing codebase (brownfield)
141
+ 2. **Starting fresh** - code is just scaffold (greenfield)
140
142
 
141
143
  Choice [1/2]:</ask>
142
144
  <action>Set field_type based on answer</action>
@@ -165,44 +167,60 @@ Continue with software workflows? (y/n)</output>
165
167
  </step>
166
168
 
167
169
  <step n="5" goal="Guided setup - select track">
168
- <output>Based on your project, here are your planning options:
170
+ <output>Based on your project, here are your BMad Method planning options:
169
171
 
170
172
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
171
173
 
172
- **1. Quick Flow** 🚀
173
-
174
- - Minimal planning, straight to code
175
- - Best for: Simple features, bug fixes
176
- - Risk: Potential rework if complexity emerges
177
-
178
- **2. BMad Method** 🎯 {{#if recommended}}(RECOMMENDED){{/if}}
174
+ **1. BMad Method** 🎯 {{#if recommended}}(RECOMMENDED){{/if}}
179
175
 
180
176
  - Full planning: PRD + UX + Architecture
181
177
  - Best for: Products, platforms, complex features
182
178
  - Benefit: AI agents have complete context for better results
183
179
 
184
- **3. Enterprise Method** 🏢
180
+ **2. Enterprise Method** 🏢
185
181
 
186
182
  - Extended: Method + Security + DevOps + Testing
187
183
  - Best for: Enterprise, compliance, mission-critical
188
184
  - Benefit: Comprehensive planning for complex systems
189
185
 
186
+ **🚀 For Quick Flow (minimal planning, straight to code):**
187
+ Load the **quick-flow-solo-dev** agent instead - use Quick Flow agent for faster development
188
+
190
189
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
191
190
 
192
191
  {{#if brownfield}}
193
192
  💡 Architecture creates focused solution design from your codebase, keeping AI agents on track.
194
193
  {{/if}}</output>
195
194
 
196
- <ask>Which approach fits best?
195
+ <ask>Which BMad Method approach fits best?
197
196
 
198
- 1. Quick Flow
199
- 2. BMad Method {{#if recommended}}(recommended){{/if}}
200
- 3. Enterprise Method
201
- 4. Help me decide
197
+ 1. BMad Method {{#if recommended}}(recommended){{/if}}
198
+ 2. Enterprise Method
199
+ 3. Help me decide
200
+ 4. Switch to Quick Flow (use quick-flow-solo-dev agent)
202
201
 
203
202
  Choice [1/2/3/4]:</ask>
204
203
 
205
204
  <check if="choice == 4">
205
+ <output>🚀 **Switching to Quick Flow!**
206
+
207
+ Load the **quick-flow-solo-dev** agent instead:
208
+
209
+ - Start a new chat
210
+ - Load the quick-flow-solo-dev agent
211
+ - Use Quick Flow for minimal planning and faster development
212
+
213
+ Quick Flow is perfect for:
214
+
215
+ - Simple features and bug fixes
216
+ - Rapid prototyping
217
+ - When you want to get straight to code
218
+
219
+ Happy coding! 🚀</output>
220
+ <action>Exit workflow</action>
221
+ </check>
222
+
223
+ <check if="choice == 3">
206
224
  <ask>What concerns you about choosing?</ask>
207
225
  <action>Provide tailored guidance based on concerns</action>
208
226
  <action>Loop back to choice</action>
@@ -215,7 +233,7 @@ Choice [1/2/3/4]:</ask>
215
233
  <step n="6" goal="Discovery workflows selection (unified)">
216
234
  <action>Determine available discovery workflows based on:
217
235
  - field_type (greenfield gets product-brief option)
218
- - selected_track (quick-flow skips product-brief)
236
+ - selected_track (method/enterprise options)
219
237
  </action>
220
238
 
221
239
  <check if="field_type == greenfield AND selected_track in [method, enterprise]">
@@ -229,7 +247,7 @@ Choice [1/2/3/4]:</ask>
229
247
  Enter numbers (e.g., "1,3" or "all" or "none"): </ask>
230
248
  </check>
231
249
 
232
- <check if="field_type == brownfield OR selected_track == quick-flow">
250
+ <check if="field_type == brownfield AND selected_track in [method, enterprise]">
233
251
  <output>Optional discovery workflows:</output>
234
252
  <ask>Include any of these?
235
253
 
@@ -250,7 +268,7 @@ Enter numbers (e.g., "1,2" or "none"): </ask>
250
268
  <template-output>research_requested</template-output>
251
269
  <template-output>product_brief_requested</template-output>
252
270
 
253
- <check if="brownfield AND selected_track != quick-flow">
271
+ <check if="brownfield">
254
272
  <output>💡 **Note:** For brownfield projects, run document-project workflow first to analyze your codebase.</output>
255
273
  </check>
256
274
  </step>
@@ -258,18 +276,18 @@ Enter numbers (e.g., "1,2" or "none"): </ask>
258
276
  <step n="7" goal="Detect track from artifacts" if="continuing_existing OR migrating_legacy">
259
277
  <action>Analyze artifacts to detect track:
260
278
  - Has PRD → BMad Method
261
- - Has tech-spec only → Quick Flow
262
279
  - Has Security/DevOps → Enterprise Method
280
+ - Has tech-spec only → Suggest switching to quick-flow-solo-dev agent
263
281
  </action>
264
282
 
265
283
  <output>Detected: **{{detected_track}}** based on {{found_artifacts}}</output>
266
284
  <ask>Correct? (y/n)</ask>
267
285
 
268
- <ask if="n">Which track instead?
286
+ <ask if="n">Which BMad Method track instead?
269
287
 
270
- 1. Quick Flow
271
- 2. BMad Method
272
- 3. Enterprise Method
288
+ 1. BMad Method
289
+ 2. Enterprise Method
290
+ 3. Switch to Quick Flow (use quick-flow-solo-dev agent)
273
291
 
274
292
  Choice:</ask>
275
293
 
@@ -298,11 +316,8 @@ Choice:</ask>
298
316
  {{#if brownfield}}Prerequisites: document-project{{/if}}
299
317
  {{#if has_discovery}}Discovery: {{list_selected_discovery}}{{/if}}
300
318
 
301
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
302
-
303
319
  {{workflow_path_summary}}
304
-
305
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</output>
320
+ </output>
306
321
 
307
322
  <ask>Create workflow tracking file? (y/n)</ask>
308
323
 
@@ -326,9 +341,6 @@ To check progress: /bmad:bmm:workflows:workflow-status
326
341
  Happy building! 🚀</output>
327
342
  </check>
328
343
 
329
- <check if="n">
330
- <output>No problem! Run workflow-init again when ready.</output>
331
- </check>
332
344
  </step>
333
345
 
334
346
  </workflow>
@@ -37,12 +37,19 @@
37
37
  <action>Search {output_folder}/ for file: bmm-workflow-status.yaml</action>
38
38
 
39
39
  <check if="no status file found">
40
- <output>No workflow status found. To get started:
40
+ <output>No workflow status found.</output>
41
+ <ask>Would you like to run Workflow Init now? (y/n)</ask>
41
42
 
42
- Load analyst agent and run: `workflow-init`
43
+ <check if="response == y OR response == yes">
44
+ <action>Launching workflow-init to set up your project tracking...</action>
45
+ <invoke-workflow path="{project-root}/.bmad/bmm/workflows/workflow-status/init/workflow.yaml"></invoke-workflow>
46
+ <action>Exit workflow and let workflow-init take over</action>
47
+ </check>
43
48
 
44
- This will guide you through project setup and create your workflow path.</output>
45
- <action>Exit workflow</action>
49
+ <check if="else">
50
+ <output>No workflow status file. Run workflow-init when ready to enable progress tracking.</output>
51
+ <action>Exit workflow</action>
52
+ </check>
46
53
  </check>
47
54
 
48
55
  <check if="status file found">