@delorenj/pjangler 1.2.21 → 1.2.33

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 (835) hide show
  1. package/README.md +12 -3
  2. package/dist/index.js +8577 -4137
  3. package/dist/mcp-server.js +8115 -4079
  4. package/package.json +19 -4
  5. package/templates/commonproject/copier.yml +6 -3
  6. package/templates/commonproject/template/.agents/skills.json +2 -1
  7. package/templates/commonproject/template/.env.op +6 -2
  8. package/templates/commonproject/template/.github/workflows/code-review.yml.jinja +48 -0
  9. package/templates/commonproject/template/.mise/scripts/materialize-env.sh +28 -0
  10. package/templates/commonproject/template/.mise/scripts/provision-packs.py +565 -0
  11. package/templates/commonproject/template/.mise/scripts/sync-skills.py +1728 -0
  12. package/templates/commonproject/template/mise.toml.jinja +14 -4
  13. package/templates/hermes-agent/copier.yml +11 -7
  14. package/templates/hermes-agent/template/.gitignore.jinja +6 -2
  15. package/templates/hermes-agent/template/.runtime-scaffold/README.md +4 -2
  16. package/templates/hermes-agent/template/.scripts/00-banner.sh +1 -1
  17. package/templates/hermes-agent/template/.scripts/01-config.sh +3 -0
  18. package/templates/hermes-agent/template/.scripts/10-hermes-profile.sh +12 -1
  19. package/templates/hermes-agent/template/.scripts/20-runtime-repo.sh +114 -131
  20. package/templates/hermes-agent/template/.scripts/30-telegram.sh +276 -22
  21. package/templates/hermes-agent/template/.scripts/31-slack.sh +362 -0
  22. package/templates/hermes-agent/template/.scripts/60-bloodbank.sh +8 -66
  23. package/templates/hermes-agent/template/.scripts/70-systemd.sh +50 -29
  24. package/templates/hermes-agent/template/.scripts/80-registry.sh +93 -13
  25. package/templates/hermes-agent/template/.scripts/99-summary.sh +1 -4
  26. package/templates/hermes-agent/template/.scripts/_lib.sh +66 -1
  27. package/templates/hermes-agent/template/.scripts/checkpoint.sh +3 -2
  28. package/templates/hermes-agent/template/.scripts/config.example.toml +10 -10
  29. package/templates/hermes-agent/template/.scripts/heartbeat.sh +1 -1
  30. package/templates/hermes-agent/template/.scripts/lib/ticket-provider.sh +15 -7
  31. package/templates/hermes-agent/template/.scripts/providers/linear.sh +41 -1
  32. package/templates/hermes-agent/template/.scripts/providers/plane.sh +91 -21
  33. package/templates/hermes-agent/template/.scripts/providers/trello.sh +34 -1
  34. package/templates/hermes-agent/template/.scripts/reporter-watchdog.py +242 -0
  35. package/templates/hermes-agent/template/.scripts/secret-scan.py +68 -0
  36. package/templates/hermes-agent/template/.scripts/sentinel.prompt.md.jinja +3 -2
  37. package/templates/hermes-agent/template/SOUL.md.jinja +32 -10
  38. package/templates/hermes-agent/template/hermes.jinja +6 -3
  39. package/templates/hermes-agent/template/role.yaml.jinja +25 -13
  40. package/templates/commonproject/.augment/commands/bmad/agents/bmb-agent-builder.md +0 -14
  41. package/templates/commonproject/.augment/commands/bmad/agents/bmb-module-builder.md +0 -14
  42. package/templates/commonproject/.augment/commands/bmad/agents/bmb-workflow-builder.md +0 -14
  43. package/templates/commonproject/.augment/commands/bmad/agents/bmm-analyst.md +0 -14
  44. package/templates/commonproject/.augment/commands/bmad/agents/bmm-architect.md +0 -14
  45. package/templates/commonproject/.augment/commands/bmad/agents/bmm-dev.md +0 -14
  46. package/templates/commonproject/.augment/commands/bmad/agents/bmm-pm.md +0 -14
  47. package/templates/commonproject/.augment/commands/bmad/agents/bmm-quick-flow-solo-dev.md +0 -14
  48. package/templates/commonproject/.augment/commands/bmad/agents/bmm-sm.md +0 -14
  49. package/templates/commonproject/.augment/commands/bmad/agents/bmm-tea.md +0 -14
  50. package/templates/commonproject/.augment/commands/bmad/agents/bmm-tech-writer.md +0 -14
  51. package/templates/commonproject/.augment/commands/bmad/agents/bmm-ux-designer.md +0 -14
  52. package/templates/commonproject/.augment/commands/bmad/agents/cis-brainstorming-coach.md +0 -14
  53. package/templates/commonproject/.augment/commands/bmad/agents/cis-creative-problem-solver.md +0 -14
  54. package/templates/commonproject/.augment/commands/bmad/agents/cis-design-thinking-coach.md +0 -14
  55. package/templates/commonproject/.augment/commands/bmad/agents/cis-innovation-strategist.md +0 -14
  56. package/templates/commonproject/.augment/commands/bmad/agents/cis-presentation-master.md +0 -14
  57. package/templates/commonproject/.augment/commands/bmad/agents/cis-storyteller.md +0 -14
  58. package/templates/commonproject/.augment/commands/bmad/agents/core-bmad-master.md +0 -14
  59. package/templates/commonproject/.augment/commands/bmad/tasks/core-index-docs.md +0 -74
  60. package/templates/commonproject/.augment/commands/bmad/tasks/core-shard-doc.md +0 -118
  61. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-agent.md +0 -5
  62. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-module.md +0 -5
  63. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-workflow.md +0 -5
  64. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-check-implementation-readiness.md +0 -5
  65. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-code-review.md +0 -13
  66. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-correct-course.md +0 -13
  67. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-architecture.md +0 -5
  68. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-epics-and-stories.md +0 -5
  69. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-dataflow.md +0 -13
  70. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-diagram.md +0 -13
  71. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-flowchart.md +0 -13
  72. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-wireframe.md +0 -13
  73. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-product-brief.md +0 -5
  74. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-story.md +0 -13
  75. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-ux-design.md +0 -5
  76. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-dev-story.md +0 -13
  77. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-document-project.md +0 -13
  78. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-generate-project-context.md +0 -5
  79. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-prd.md +0 -5
  80. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-dev.md +0 -5
  81. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-spec.md +0 -5
  82. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-research.md +0 -5
  83. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-retrospective.md +0 -13
  84. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-planning.md +0 -13
  85. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-status.md +0 -13
  86. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-atdd.md +0 -13
  87. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-automate.md +0 -13
  88. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-ci.md +0 -13
  89. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-framework.md +0 -13
  90. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-nfr.md +0 -13
  91. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-design.md +0 -13
  92. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-review.md +0 -13
  93. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-trace.md +0 -13
  94. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-init.md +0 -13
  95. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-status.md +0 -13
  96. package/templates/commonproject/.augment/commands/bmad/workflows/cis-design-thinking.md +0 -13
  97. package/templates/commonproject/.augment/commands/bmad/workflows/cis-innovation-strategy.md +0 -13
  98. package/templates/commonproject/.augment/commands/bmad/workflows/cis-problem-solving.md +0 -13
  99. package/templates/commonproject/.augment/commands/bmad/workflows/cis-storytelling.md +0 -13
  100. package/templates/commonproject/.augment/commands/bmad/workflows/core-brainstorming.md +0 -5
  101. package/templates/commonproject/.augment/commands/bmad/workflows/core-party-mode.md +0 -5
  102. package/templates/commonproject/.augment/commands/bmad/workflows/custom-ticket-lifecycle.md +0 -5
  103. package/templates/commonproject/.copier-answers.yml +0 -4
  104. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-agent-builder.toml +0 -12
  105. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-module-builder.toml +0 -12
  106. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-workflow-builder.toml +0 -12
  107. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-analyst.toml +0 -12
  108. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-architect.toml +0 -12
  109. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-dev.toml +0 -12
  110. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-pm.toml +0 -12
  111. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-quick-flow-solo-dev.toml +0 -12
  112. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-sm.toml +0 -12
  113. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tea.toml +0 -12
  114. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tech-writer.toml +0 -12
  115. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-ux-designer.toml +0 -12
  116. package/templates/commonproject/.gemini/commands/bmad-agent-cis-brainstorming-coach.toml +0 -12
  117. package/templates/commonproject/.gemini/commands/bmad-agent-cis-creative-problem-solver.toml +0 -12
  118. package/templates/commonproject/.gemini/commands/bmad-agent-cis-design-thinking-coach.toml +0 -12
  119. package/templates/commonproject/.gemini/commands/bmad-agent-cis-innovation-strategist.toml +0 -12
  120. package/templates/commonproject/.gemini/commands/bmad-agent-cis-presentation-master.toml +0 -12
  121. package/templates/commonproject/.gemini/commands/bmad-agent-cis-storyteller.toml +0 -12
  122. package/templates/commonproject/.gemini/commands/bmad-agent-core-bmad-master.toml +0 -12
  123. package/templates/commonproject/.gemini/commands/bmad-task-core-index-docs.toml +0 -12
  124. package/templates/commonproject/.gemini/commands/bmad-task-core-review-adversarial-general.toml +0 -12
  125. package/templates/commonproject/.gemini/commands/bmad-task-core-shard-doc.toml +0 -12
  126. package/templates/commonproject/.gemini/commands/bmad-task-core-workflow.toml +0 -12
  127. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-agent.toml +0 -4
  128. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-module.toml +0 -4
  129. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-workflow.toml +0 -4
  130. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-check-implementation-readiness.toml +0 -4
  131. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-code-review.toml +0 -12
  132. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-correct-course.toml +0 -12
  133. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-architecture.toml +0 -4
  134. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-epics-and-stories.toml +0 -4
  135. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-dataflow.toml +0 -12
  136. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-diagram.toml +0 -12
  137. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-flowchart.toml +0 -12
  138. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-wireframe.toml +0 -12
  139. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-product-brief.toml +0 -4
  140. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-story.toml +0 -12
  141. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-ux-design.toml +0 -4
  142. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-dev-story.toml +0 -12
  143. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-document-project.toml +0 -12
  144. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-generate-project-context.toml +0 -4
  145. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-prd.toml +0 -4
  146. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-dev.toml +0 -4
  147. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-spec.toml +0 -4
  148. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-research.toml +0 -4
  149. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-retrospective.toml +0 -12
  150. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-planning.toml +0 -12
  151. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-status.toml +0 -12
  152. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-atdd.toml +0 -12
  153. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-automate.toml +0 -12
  154. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-ci.toml +0 -12
  155. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-framework.toml +0 -12
  156. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-nfr.toml +0 -12
  157. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-design.toml +0 -12
  158. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-review.toml +0 -12
  159. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-trace.toml +0 -12
  160. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-init.toml +0 -12
  161. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-status.toml +0 -12
  162. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-design-thinking.toml +0 -12
  163. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-innovation-strategy.toml +0 -12
  164. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-problem-solving.toml +0 -12
  165. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-storytelling.toml +0 -12
  166. package/templates/commonproject/.gemini/commands/bmad-workflow-core-brainstorming.toml +0 -4
  167. package/templates/commonproject/.gemini/commands/bmad-workflow-core-party-mode.toml +0 -4
  168. package/templates/commonproject/.gemini/commands/bmad-workflow-custom-ticket-lifecycle.toml +0 -4
  169. package/templates/commonproject/.github/agents/bmd-custom-bmb-agent-builder.agent.md +0 -17
  170. package/templates/commonproject/.github/agents/bmd-custom-bmb-module-builder.agent.md +0 -17
  171. package/templates/commonproject/.github/agents/bmd-custom-bmb-workflow-builder.agent.md +0 -17
  172. package/templates/commonproject/.github/agents/bmd-custom-bmm-analyst.agent.md +0 -17
  173. package/templates/commonproject/.github/agents/bmd-custom-bmm-architect.agent.md +0 -17
  174. package/templates/commonproject/.github/agents/bmd-custom-bmm-dev.agent.md +0 -17
  175. package/templates/commonproject/.github/agents/bmd-custom-bmm-pm.agent.md +0 -17
  176. package/templates/commonproject/.github/agents/bmd-custom-bmm-quick-flow-solo-dev.agent.md +0 -17
  177. package/templates/commonproject/.github/agents/bmd-custom-bmm-sm.agent.md +0 -17
  178. package/templates/commonproject/.github/agents/bmd-custom-bmm-tea.agent.md +0 -17
  179. package/templates/commonproject/.github/agents/bmd-custom-bmm-tech-writer.agent.md +0 -17
  180. package/templates/commonproject/.github/agents/bmd-custom-bmm-ux-designer.agent.md +0 -17
  181. package/templates/commonproject/.github/agents/bmd-custom-cis-brainstorming-coach.agent.md +0 -17
  182. package/templates/commonproject/.github/agents/bmd-custom-cis-creative-problem-solver.agent.md +0 -17
  183. package/templates/commonproject/.github/agents/bmd-custom-cis-design-thinking-coach.agent.md +0 -17
  184. package/templates/commonproject/.github/agents/bmd-custom-cis-innovation-strategist.agent.md +0 -17
  185. package/templates/commonproject/.github/agents/bmd-custom-cis-presentation-master.agent.md +0 -17
  186. package/templates/commonproject/.github/agents/bmd-custom-cis-storyteller.agent.md +0 -17
  187. package/templates/commonproject/.github/agents/bmd-custom-core-bmad-master.agent.md +0 -17
  188. package/templates/commonproject/.mcp.json +0 -12
  189. package/templates/commonproject/.mise/scripts/claude +0 -13
  190. package/templates/commonproject/.mise/scripts/create-plane-project.sh +0 -149
  191. package/templates/commonproject/.mise/scripts/init-project.sh +0 -314
  192. package/templates/commonproject/.mise/scripts/link-agentfiles.sh +0 -9
  193. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-agent-builder.md +0 -14
  194. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-module-builder.md +0 -14
  195. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-workflow-builder.md +0 -14
  196. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-analyst.md +0 -14
  197. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-architect.md +0 -14
  198. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-dev.md +0 -14
  199. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-pm.md +0 -14
  200. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-quick-flow-solo-dev.md +0 -14
  201. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-sm.md +0 -14
  202. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tea.md +0 -14
  203. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tech-writer.md +0 -14
  204. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-ux-designer.md +0 -14
  205. package/templates/commonproject/.opencode/agent/bmad-agent-cis-brainstorming-coach.md +0 -14
  206. package/templates/commonproject/.opencode/agent/bmad-agent-cis-creative-problem-solver.md +0 -14
  207. package/templates/commonproject/.opencode/agent/bmad-agent-cis-design-thinking-coach.md +0 -14
  208. package/templates/commonproject/.opencode/agent/bmad-agent-cis-innovation-strategist.md +0 -14
  209. package/templates/commonproject/.opencode/agent/bmad-agent-cis-presentation-master.md +0 -14
  210. package/templates/commonproject/.opencode/agent/bmad-agent-cis-storyteller.md +0 -14
  211. package/templates/commonproject/.opencode/agent/bmad-agent-core-bmad-master.md +0 -14
  212. package/templates/commonproject/.opencode/command/bmad-bmb-agent.md +0 -5
  213. package/templates/commonproject/.opencode/command/bmad-bmb-module.md +0 -5
  214. package/templates/commonproject/.opencode/command/bmad-bmb-workflow.md +0 -5
  215. package/templates/commonproject/.opencode/command/bmad-bmm-check-implementation-readiness.md +0 -5
  216. package/templates/commonproject/.opencode/command/bmad-bmm-code-review.md +0 -13
  217. package/templates/commonproject/.opencode/command/bmad-bmm-correct-course.md +0 -13
  218. package/templates/commonproject/.opencode/command/bmad-bmm-create-architecture.md +0 -5
  219. package/templates/commonproject/.opencode/command/bmad-bmm-create-epics-and-stories.md +0 -5
  220. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-dataflow.md +0 -13
  221. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-diagram.md +0 -13
  222. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-flowchart.md +0 -13
  223. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-wireframe.md +0 -13
  224. package/templates/commonproject/.opencode/command/bmad-bmm-create-product-brief.md +0 -5
  225. package/templates/commonproject/.opencode/command/bmad-bmm-create-story.md +0 -13
  226. package/templates/commonproject/.opencode/command/bmad-bmm-create-ux-design.md +0 -5
  227. package/templates/commonproject/.opencode/command/bmad-bmm-dev-story.md +0 -13
  228. package/templates/commonproject/.opencode/command/bmad-bmm-document-project.md +0 -13
  229. package/templates/commonproject/.opencode/command/bmad-bmm-generate-project-context.md +0 -5
  230. package/templates/commonproject/.opencode/command/bmad-bmm-prd.md +0 -5
  231. package/templates/commonproject/.opencode/command/bmad-bmm-quick-dev.md +0 -5
  232. package/templates/commonproject/.opencode/command/bmad-bmm-quick-spec.md +0 -5
  233. package/templates/commonproject/.opencode/command/bmad-bmm-research.md +0 -5
  234. package/templates/commonproject/.opencode/command/bmad-bmm-retrospective.md +0 -13
  235. package/templates/commonproject/.opencode/command/bmad-bmm-sprint-planning.md +0 -13
  236. package/templates/commonproject/.opencode/command/bmad-bmm-sprint-status.md +0 -13
  237. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-atdd.md +0 -13
  238. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-automate.md +0 -13
  239. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-ci.md +0 -13
  240. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-framework.md +0 -13
  241. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-nfr.md +0 -13
  242. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-design.md +0 -13
  243. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-review.md +0 -13
  244. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-trace.md +0 -13
  245. package/templates/commonproject/.opencode/command/bmad-bmm-workflow-init.md +0 -13
  246. package/templates/commonproject/.opencode/command/bmad-bmm-workflow-status.md +0 -13
  247. package/templates/commonproject/.opencode/command/bmad-cis-design-thinking.md +0 -13
  248. package/templates/commonproject/.opencode/command/bmad-cis-innovation-strategy.md +0 -13
  249. package/templates/commonproject/.opencode/command/bmad-cis-problem-solving.md +0 -13
  250. package/templates/commonproject/.opencode/command/bmad-cis-storytelling.md +0 -13
  251. package/templates/commonproject/.opencode/command/bmad-core-brainstorming.md +0 -5
  252. package/templates/commonproject/.opencode/command/bmad-core-party-mode.md +0 -5
  253. package/templates/commonproject/.opencode/command/bmad-custom-ticket-lifecycle.md +0 -5
  254. package/templates/commonproject/.opencode/command/bmad-task-core-index-docs.md +0 -9
  255. package/templates/commonproject/.opencode/command/bmad-task-core-shard-doc.md +0 -9
  256. package/templates/commonproject/.plane.json +0 -6
  257. package/templates/commonproject/.scripts/test-template.sh +0 -63
  258. package/templates/commonproject/AGENTS.md +0 -86
  259. package/templates/commonproject/README.md +0 -172
  260. package/templates/commonproject/_bmad/_config/agent-manifest.csv +0 -20
  261. package/templates/commonproject/_bmad/_config/agents/bmb-agent-builder.customize.yaml +0 -41
  262. package/templates/commonproject/_bmad/_config/agents/bmb-module-builder.customize.yaml +0 -41
  263. package/templates/commonproject/_bmad/_config/agents/bmb-workflow-builder.customize.yaml +0 -41
  264. package/templates/commonproject/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  265. package/templates/commonproject/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  266. package/templates/commonproject/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  267. package/templates/commonproject/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  268. package/templates/commonproject/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  269. package/templates/commonproject/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  270. package/templates/commonproject/_bmad/_config/agents/bmm-tea.customize.yaml +0 -41
  271. package/templates/commonproject/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  272. package/templates/commonproject/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  273. package/templates/commonproject/_bmad/_config/agents/cis-brainstorming-coach.customize.yaml +0 -41
  274. package/templates/commonproject/_bmad/_config/agents/cis-creative-problem-solver.customize.yaml +0 -41
  275. package/templates/commonproject/_bmad/_config/agents/cis-design-thinking-coach.customize.yaml +0 -41
  276. package/templates/commonproject/_bmad/_config/agents/cis-innovation-strategist.customize.yaml +0 -41
  277. package/templates/commonproject/_bmad/_config/agents/cis-presentation-master.customize.yaml +0 -41
  278. package/templates/commonproject/_bmad/_config/agents/cis-storyteller.customize.yaml +0 -41
  279. package/templates/commonproject/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  280. package/templates/commonproject/_bmad/_config/custom/cache-manifest.yaml +0 -4
  281. package/templates/commonproject/_bmad/_config/custom/custom/module.yaml +0 -8
  282. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
  283. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
  284. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
  285. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
  286. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
  287. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
  288. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
  289. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
  290. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
  291. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
  292. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
  293. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
  294. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
  295. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
  296. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.md +0 -84
  297. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
  298. package/templates/commonproject/_bmad/_config/files-manifest.csv +0 -483
  299. package/templates/commonproject/_bmad/_config/ides/claude-code.yaml +0 -6
  300. package/templates/commonproject/_bmad/_config/ides/codex.yaml +0 -5
  301. package/templates/commonproject/_bmad/_config/manifest.yaml +0 -18
  302. package/templates/commonproject/_bmad/_config/task-manifest.csv +0 -5
  303. package/templates/commonproject/_bmad/_config/tool-manifest.csv +0 -1
  304. package/templates/commonproject/_bmad/_config/workflow-manifest.csv +0 -43
  305. package/templates/commonproject/_bmad/_memory/config.yaml +0 -11
  306. package/templates/commonproject/_bmad/_memory/storyteller-sidecar/stories-told.md +0 -7
  307. package/templates/commonproject/_bmad/_memory/storyteller-sidecar/story-preferences.md +0 -7
  308. package/templates/commonproject/_bmad/bmb/README.md +0 -25
  309. package/templates/commonproject/_bmad/bmb/agents/agent-builder.md +0 -64
  310. package/templates/commonproject/_bmad/bmb/agents/module-builder.md +0 -65
  311. package/templates/commonproject/_bmad/bmb/agents/workflow-builder.md +0 -66
  312. package/templates/commonproject/_bmad/bmb/config.yaml +0 -12
  313. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-compilation.md +0 -273
  314. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-menu-patterns.md +0 -233
  315. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-metadata.md +0 -208
  316. package/templates/commonproject/_bmad/bmb/workflows/agent/data/brainstorm-context.md +0 -146
  317. package/templates/commonproject/_bmad/bmb/workflows/agent/data/communication-presets.csv +0 -61
  318. package/templates/commonproject/_bmad/bmb/workflows/agent/data/critical-actions.md +0 -120
  319. package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-architecture.md +0 -236
  320. package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-validation.md +0 -174
  321. package/templates/commonproject/_bmad/bmb/workflows/agent/data/module-agent-validation.md +0 -126
  322. package/templates/commonproject/_bmad/bmb/workflows/agent/data/persona-properties.md +0 -266
  323. package/templates/commonproject/_bmad/bmb/workflows/agent/data/principles-crafting.md +0 -292
  324. package/templates/commonproject/_bmad/bmb/workflows/agent/data/reference/module-examples/architect.md +0 -68
  325. package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-architecture.md +0 -204
  326. package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-validation.md +0 -133
  327. package/templates/commonproject/_bmad/bmb/workflows/agent/data/understanding-agent-types.md +0 -222
  328. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-01-brainstorm.md +0 -128
  329. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-02-discovery.md +0 -170
  330. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-03-type-metadata.md +0 -296
  331. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-04-persona.md +0 -212
  332. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-05-commands-menu.md +0 -178
  333. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-06-activation.md +0 -279
  334. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07a-build-simple.md +0 -187
  335. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07b-build-expert.md +0 -201
  336. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07c-build-module.md +0 -258
  337. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-08-celebrate.md +0 -249
  338. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-01-load-existing.md +0 -221
  339. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-02-discover-edits.md +0 -193
  340. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-03-placeholder.md +0 -1
  341. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-04-type-metadata.md +0 -124
  342. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-05-persona.md +0 -134
  343. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-06-commands-menu.md +0 -122
  344. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-07-activation.md +0 -125
  345. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08a-edit-simple.md +0 -137
  346. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08b-edit-expert.md +0 -119
  347. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08c-edit-module.md +0 -123
  348. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-09-celebrate.md +0 -155
  349. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-01-load-review.md +0 -136
  350. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02a-validate-metadata.md +0 -116
  351. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02b-validate-persona.md +0 -124
  352. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02c-validate-menu.md +0 -145
  353. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02d-validate-structure.md +0 -136
  354. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02e-validate-sidecar.md +0 -136
  355. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-03-summary.md +0 -104
  356. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/agent-plan.template.md +0 -5
  357. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/expert-agent-template/expert-agent.template.md +0 -77
  358. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/simple-agent.template.md +0 -72
  359. package/templates/commonproject/_bmad/bmb/workflows/agent/workflow.md +0 -123
  360. package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-architecture.md +0 -179
  361. package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-spec-template.md +0 -79
  362. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-installer-standards.md +0 -348
  363. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-standards.md +0 -280
  364. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-yaml-conventions.md +0 -392
  365. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-01-welcome.md +0 -147
  366. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-02-spark.md +0 -140
  367. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-03-module-type.md +0 -148
  368. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-04-vision.md +0 -82
  369. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-05-identity.md +0 -96
  370. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-06-users.md +0 -85
  371. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-07-value.md +0 -75
  372. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-08-agents.md +0 -96
  373. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-09-workflows.md +0 -82
  374. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-10-tools.md +0 -90
  375. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-11-scenarios.md +0 -83
  376. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-12-creative.md +0 -94
  377. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-13-review.md +0 -104
  378. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-14-finalize.md +0 -117
  379. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01-load-brief.md +0 -178
  380. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01b-continue.md +0 -83
  381. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-02-structure.md +0 -109
  382. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-03-config.md +0 -118
  383. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-04-installer.md +0 -160
  384. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-05-agents.md +0 -167
  385. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-06-workflows.md +0 -183
  386. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-07-docs.md +0 -402
  387. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-08-complete.md +0 -123
  388. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-01-load-target.md +0 -81
  389. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-02-select-edit.md +0 -77
  390. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-03-apply-edit.md +0 -77
  391. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-04-review.md +0 -80
  392. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-05-confirm.md +0 -75
  393. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-01-load-target.md +0 -96
  394. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-02-file-structure.md +0 -94
  395. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-03-module-yaml.md +0 -99
  396. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-04-agent-specs.md +0 -152
  397. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-05-workflow-specs.md +0 -152
  398. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-06-documentation.md +0 -143
  399. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-07-installation.md +0 -113
  400. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-08-report.md +0 -197
  401. package/templates/commonproject/_bmad/bmb/workflows/module/templates/brief-template.md +0 -154
  402. package/templates/commonproject/_bmad/bmb/workflows/module/templates/workflow-spec-template.md +0 -96
  403. package/templates/commonproject/_bmad/bmb/workflows/module/workflow.md +0 -100
  404. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/architecture.md +0 -152
  405. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/common-workflow-tools.csv +0 -19
  406. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/csv-data-file-standards.md +0 -81
  407. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/frontmatter-standards.md +0 -225
  408. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/input-discovery-standards.md +0 -269
  409. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/intent-vs-prescriptive-spectrum.md +0 -50
  410. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/menu-handling-standards.md +0 -167
  411. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/output-format-standards.md +0 -188
  412. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-file-rules.md +0 -235
  413. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-type-patterns.md +0 -311
  414. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/subprocess-optimization-patterns.md +0 -386
  415. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/trimodal-workflow-structure.md +0 -209
  416. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-chaining-standards.md +0 -271
  417. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-examples.md +0 -276
  418. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-type-criteria.md +0 -172
  419. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-00-conversion.md +0 -262
  420. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01-discovery.md +0 -194
  421. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01b-continuation.md +0 -3
  422. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-02-classification.md +0 -269
  423. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-03-requirements.md +0 -282
  424. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-04-tools.md +0 -281
  425. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-05-plan-review.md +0 -242
  426. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-06-design.md +0 -329
  427. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-07-foundation.md +0 -238
  428. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-08-build-step-01.md +0 -377
  429. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-09-build-next-step.md +0 -350
  430. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-10-confirmation.md +0 -320
  431. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-11-completion.md +0 -191
  432. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-01-assess-workflow.md +0 -237
  433. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-02-discover-edits.md +0 -248
  434. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-03-fix-validation.md +0 -252
  435. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-04-direct-edit.md +0 -275
  436. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-05-apply-edit.md +0 -154
  437. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-06-validate-after.md +0 -190
  438. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-07-complete.md +0 -206
  439. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate-max-mode.md +0 -109
  440. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate.md +0 -221
  441. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01b-structure.md +0 -152
  442. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02-frontmatter-validation.md +0 -199
  443. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02b-path-violations.md +0 -265
  444. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-03-menu-validation.md +0 -164
  445. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-04-step-type-validation.md +0 -211
  446. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-05-output-format-validation.md +0 -200
  447. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-06-validation-design-check.md +0 -195
  448. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-07-instruction-style-check.md +0 -209
  449. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08-collaborative-experience-check.md +0 -199
  450. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08b-subprocess-optimization.md +0 -179
  451. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-09-cohesive-review.md +0 -186
  452. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-10-report-complete.md +0 -154
  453. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-11-plan-validation.md +0 -237
  454. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/minimal-output-template.md +0 -11
  455. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-01-init-continuable-template.md +0 -241
  456. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-1b-template.md +0 -223
  457. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-template.md +0 -290
  458. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/workflow-template.md +0 -102
  459. package/templates/commonproject/_bmad/bmb/workflows/workflow/workflow.md +0 -109
  460. package/templates/commonproject/_bmad/bmm/agents/analyst.md +0 -82
  461. package/templates/commonproject/_bmad/bmm/agents/architect.md +0 -74
  462. package/templates/commonproject/_bmad/bmm/agents/dev.md +0 -76
  463. package/templates/commonproject/_bmad/bmm/agents/pm.md +0 -78
  464. package/templates/commonproject/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -74
  465. package/templates/commonproject/_bmad/bmm/agents/sm.md +0 -77
  466. package/templates/commonproject/_bmad/bmm/agents/tea.md +0 -77
  467. package/templates/commonproject/_bmad/bmm/agents/tech-writer.md +0 -78
  468. package/templates/commonproject/_bmad/bmm/agents/ux-designer.md +0 -74
  469. package/templates/commonproject/_bmad/bmm/config.yaml +0 -18
  470. package/templates/commonproject/_bmad/bmm/data/README.md +0 -29
  471. package/templates/commonproject/_bmad/bmm/data/documentation-standards.md +0 -262
  472. package/templates/commonproject/_bmad/bmm/data/project-context-template.md +0 -40
  473. package/templates/commonproject/_bmad/bmm/teams/default-party.csv +0 -21
  474. package/templates/commonproject/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  475. package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-request.md +0 -442
  476. package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-testing-patterns.md +0 -843
  477. package/templates/commonproject/_bmad/bmm/testarch/knowledge/auth-session.md +0 -552
  478. package/templates/commonproject/_bmad/bmm/testarch/knowledge/burn-in.md +0 -273
  479. package/templates/commonproject/_bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  480. package/templates/commonproject/_bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  481. package/templates/commonproject/_bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  482. package/templates/commonproject/_bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  483. package/templates/commonproject/_bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  484. package/templates/commonproject/_bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  485. package/templates/commonproject/_bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  486. package/templates/commonproject/_bmad/bmm/testarch/knowledge/file-utils.md +0 -463
  487. package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  488. package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixtures-composition.md +0 -382
  489. package/templates/commonproject/_bmad/bmm/testarch/knowledge/intercept-network-call.md +0 -430
  490. package/templates/commonproject/_bmad/bmm/testarch/knowledge/log.md +0 -429
  491. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-error-monitor.md +0 -405
  492. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-first.md +0 -486
  493. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-recorder.md +0 -527
  494. package/templates/commonproject/_bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  495. package/templates/commonproject/_bmad/bmm/testarch/knowledge/overview.md +0 -286
  496. package/templates/commonproject/_bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  497. package/templates/commonproject/_bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  498. package/templates/commonproject/_bmad/bmm/testarch/knowledge/recurse.md +0 -421
  499. package/templates/commonproject/_bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  500. package/templates/commonproject/_bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  501. package/templates/commonproject/_bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  502. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  503. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  504. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  505. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  506. package/templates/commonproject/_bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  507. package/templates/commonproject/_bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  508. package/templates/commonproject/_bmad/bmm/testarch/tea-index.csv +0 -34
  509. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  510. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  511. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  512. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  513. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  514. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  515. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  516. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -194
  517. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -58
  518. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  519. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  520. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  521. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  522. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  523. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -443
  524. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  525. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  526. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +0 -200
  527. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  528. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  529. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  530. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -475
  531. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  532. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  533. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  534. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  535. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  536. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -239
  537. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -486
  538. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/workflow.md +0 -173
  539. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  540. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  541. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  542. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  543. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  544. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  545. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  546. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  547. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  548. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  549. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  550. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  551. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  552. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  553. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -228
  554. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  555. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -43
  556. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/domain-complexity.csv +0 -13
  557. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/prd-purpose.md +0 -197
  558. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/project-types.csv +0 -11
  559. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01-init.md +0 -191
  560. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01b-continue.md +0 -153
  561. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-02-discovery.md +0 -224
  562. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-03-success.md +0 -226
  563. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-04-journeys.md +0 -213
  564. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-05-domain.md +0 -207
  565. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-06-innovation.md +0 -226
  566. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-07-project-type.md +0 -237
  567. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-08-scoping.md +0 -228
  568. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-09-functional.md +0 -231
  569. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
  570. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-11-polish.md +0 -217
  571. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-12-complete.md +0 -180
  572. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01-discovery.md +0 -247
  573. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  574. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-02-review.md +0 -249
  575. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-03-edit.md +0 -253
  576. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-04-complete.md +0 -168
  577. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-01-discovery.md +0 -218
  578. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
  579. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
  580. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
  581. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  582. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
  583. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
  584. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  585. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  586. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
  587. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
  588. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  589. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
  590. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
  591. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/templates/prd-template.md +0 -10
  592. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/validation-report-prd-workflow.md +0 -433
  593. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +0 -150
  594. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -190
  595. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -178
  596. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
  597. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -139
  598. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
  599. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -133
  600. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  601. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -55
  602. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  603. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -11
  604. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  605. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  606. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -164
  607. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  608. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -331
  609. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  610. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  611. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  612. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  613. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -352
  614. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -50
  615. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  616. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  617. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  618. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -145
  619. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  620. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -59
  621. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  622. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  623. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -50
  624. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  625. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  626. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -58
  627. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  628. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -345
  629. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  630. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -59
  631. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  632. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  633. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -25
  634. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  635. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -57
  636. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  637. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -225
  638. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  639. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -52
  640. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -229
  641. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -35
  642. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -156
  643. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -120
  644. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -113
  645. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -113
  646. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -106
  647. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -140
  648. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -52
  649. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  650. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -144
  651. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -128
  652. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -173
  653. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  654. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  655. package/templates/commonproject/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  656. package/templates/commonproject/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  657. package/templates/commonproject/_bmad/bmm/workflows/document-project/instructions.md +0 -221
  658. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  659. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  660. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  661. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  662. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  663. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflow.yaml +0 -28
  664. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  665. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  666. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  667. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  668. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +0 -90
  669. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +0 -127
  670. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +0 -39
  671. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +0 -130
  672. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +0 -26
  673. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +0 -43
  674. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +0 -141
  675. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +0 -26
  676. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +0 -49
  677. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +0 -241
  678. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +0 -26
  679. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +0 -38
  680. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +0 -133
  681. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +0 -26
  682. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  683. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  684. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  685. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  686. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  687. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -364
  688. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/checklist.md +0 -374
  689. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/instructions.md +0 -806
  690. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  691. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/checklist.md +0 -582
  692. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/instructions.md +0 -1324
  693. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  694. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/checklist.md +0 -248
  695. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -198
  696. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -149
  697. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/instructions.md +0 -536
  698. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  699. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  700. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/instructions.md +0 -481
  701. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  702. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -407
  703. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  704. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -445
  705. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  706. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/checklist.md +0 -235
  707. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/instructions.md +0 -788
  708. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -294
  709. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -54
  710. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/checklist.md +0 -472
  711. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/instructions.md +0 -628
  712. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -390
  713. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  714. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/checklist.md +0 -655
  715. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/instructions.md +0 -1047
  716. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/trace-template.md +0 -675
  717. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  718. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/instructions.md +0 -346
  719. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -29
  720. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/instructions.md +0 -395
  721. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -103
  722. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -100
  723. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -103
  724. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -100
  725. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  726. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  727. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow.yaml +0 -30
  728. package/templates/commonproject/_bmad/cis/agents/brainstorming-coach.md +0 -66
  729. package/templates/commonproject/_bmad/cis/agents/creative-problem-solver.md +0 -66
  730. package/templates/commonproject/_bmad/cis/agents/design-thinking-coach.md +0 -66
  731. package/templates/commonproject/_bmad/cis/agents/innovation-strategist.md +0 -66
  732. package/templates/commonproject/_bmad/cis/agents/presentation-master.md +0 -72
  733. package/templates/commonproject/_bmad/cis/agents/storyteller/storyteller.md +0 -63
  734. package/templates/commonproject/_bmad/cis/config.yaml +0 -11
  735. package/templates/commonproject/_bmad/cis/teams/creative-squad.yaml +0 -7
  736. package/templates/commonproject/_bmad/cis/teams/default-party.csv +0 -12
  737. package/templates/commonproject/_bmad/cis/workflows/README.md +0 -139
  738. package/templates/commonproject/_bmad/cis/workflows/design-thinking/README.md +0 -56
  739. package/templates/commonproject/_bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  740. package/templates/commonproject/_bmad/cis/workflows/design-thinking/instructions.md +0 -202
  741. package/templates/commonproject/_bmad/cis/workflows/design-thinking/template.md +0 -111
  742. package/templates/commonproject/_bmad/cis/workflows/design-thinking/workflow.yaml +0 -27
  743. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/README.md +0 -56
  744. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  745. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/instructions.md +0 -276
  746. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/template.md +0 -189
  747. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -27
  748. package/templates/commonproject/_bmad/cis/workflows/problem-solving/README.md +0 -56
  749. package/templates/commonproject/_bmad/cis/workflows/problem-solving/instructions.md +0 -252
  750. package/templates/commonproject/_bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  751. package/templates/commonproject/_bmad/cis/workflows/problem-solving/template.md +0 -165
  752. package/templates/commonproject/_bmad/cis/workflows/problem-solving/workflow.yaml +0 -27
  753. package/templates/commonproject/_bmad/cis/workflows/storytelling/README.md +0 -58
  754. package/templates/commonproject/_bmad/cis/workflows/storytelling/instructions.md +0 -293
  755. package/templates/commonproject/_bmad/cis/workflows/storytelling/story-types.csv +0 -26
  756. package/templates/commonproject/_bmad/cis/workflows/storytelling/template.md +0 -113
  757. package/templates/commonproject/_bmad/cis/workflows/storytelling/workflow.yaml +0 -27
  758. package/templates/commonproject/_bmad/core/agents/bmad-master.md +0 -63
  759. package/templates/commonproject/_bmad/core/config.yaml +0 -9
  760. package/templates/commonproject/_bmad/core/resources/excalidraw/README.md +0 -160
  761. package/templates/commonproject/_bmad/core/resources/excalidraw/excalidraw-helpers.md +0 -127
  762. package/templates/commonproject/_bmad/core/resources/excalidraw/library-loader.md +0 -50
  763. package/templates/commonproject/_bmad/core/resources/excalidraw/validate-json-instructions.md +0 -79
  764. package/templates/commonproject/_bmad/core/tasks/index-docs.xml +0 -65
  765. package/templates/commonproject/_bmad/core/tasks/review-adversarial-general.xml +0 -41
  766. package/templates/commonproject/_bmad/core/tasks/shard-doc.xml +0 -109
  767. package/templates/commonproject/_bmad/core/tasks/workflow.xml +0 -235
  768. package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  769. package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
  770. package/templates/commonproject/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  771. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -197
  772. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  773. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  774. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  775. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  776. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  777. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  778. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  779. package/templates/commonproject/_bmad/core/workflows/brainstorming/template.md +0 -15
  780. package/templates/commonproject/_bmad/core/workflows/brainstorming/workflow.md +0 -58
  781. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -139
  782. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -204
  783. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -159
  784. package/templates/commonproject/_bmad/core/workflows/party-mode/workflow.md +0 -206
  785. package/templates/commonproject/_bmad/custom/config.yaml +0 -11
  786. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
  787. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
  788. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
  789. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
  790. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
  791. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
  792. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
  793. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
  794. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
  795. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
  796. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
  797. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
  798. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
  799. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
  800. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.md +0 -84
  801. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
  802. package/templates/commonproject/mise.toml +0 -38
  803. package/templates/hermes-agent/.codegraph/daemon.pid +0 -6
  804. package/templates/hermes-agent/.omo/run-continuation/ses_0e5b28303ffeXxL53hZjKggXDW.json +0 -10
  805. package/templates/hermes-agent/README.md +0 -151
  806. package/templates/hermes-agent/config.example.toml +0 -1
  807. package/templates/hermes-agent/docs/architecture.md +0 -111
  808. package/templates/hermes-agent/docs/fleet-control-plane/README.md +0 -35
  809. package/templates/hermes-agent/docs/fleet-control-plane/architecture.md +0 -253
  810. package/templates/hermes-agent/docs/fleet-control-plane/epics-and-stories.md +0 -280
  811. package/templates/hermes-agent/docs/fleet-control-plane/implementation-readiness-report-2026-06-27.md +0 -118
  812. package/templates/hermes-agent/docs/fleet-control-plane/prd.md +0 -141
  813. package/templates/hermes-agent/docs/operations.md +0 -237
  814. package/templates/hermes-agent/docs/runbooks/runtime-checkpoint-repair.md +0 -171
  815. package/templates/hermes-agent/docs/sentinel/README.md +0 -119
  816. package/templates/hermes-agent/docs/sentinel/architecture.md +0 -204
  817. package/templates/hermes-agent/docs/sentinel/development.md +0 -277
  818. package/templates/hermes-agent/docs/sentinel/providers.md +0 -203
  819. package/templates/hermes-agent/docs/sentinel.md +0 -18
  820. package/templates/hermes-agent/install-local.sh +0 -216
  821. package/templates/hermes-agent/runtime-scaffold/.gitattributes +0 -10
  822. package/templates/hermes-agent/runtime-scaffold/README.md +0 -53
  823. package/templates/hermes-agent/runtime-scaffold/bloodbank-consumer.py +0 -181
  824. package/templates/hermes-agent/runtime-scaffold/decisions/.gitkeep +0 -2
  825. package/templates/hermes-agent/runtime-scaffold/logs/.gitkeep +0 -1
  826. package/templates/hermes-agent/runtime-scaffold/memories/MEMORY.md +0 -47
  827. package/templates/hermes-agent/runtime-scaffold/memories/USER.md +0 -51
  828. package/templates/hermes-agent/scripts/backfill-fleet-sot.sh +0 -270
  829. package/templates/hermes-agent/scripts/fleet-sync.sh +0 -369
  830. package/templates/hermes-agent/scripts/migrate-unify.sh +0 -252
  831. package/templates/hermes-agent/scripts/repair-runtime-checkpoint.sh +0 -122
  832. package/templates/hermes-agent/scripts/retrofit-70-envfile.sh +0 -129
  833. package/templates/hermes-agent/scripts/unify-pm.sh +0 -148
  834. package/templates/hermes-agent/template/.runtime-scaffold/bloodbank-consumer.py +0 -181
  835. package/templates/hermes-agent/tests/test_bloodbank_consumer_contract.py +0 -138
@@ -1,1324 +0,0 @@
1
- <!-- Powered by BMAD-CORE™ -->
2
-
3
- # Test Automation Expansion
4
-
5
- **Workflow ID**: `_bmad/bmm/testarch/automate`
6
- **Version**: 4.0 (BMad v6)
7
-
8
- ---
9
-
10
- ## Overview
11
-
12
- Expands test automation coverage by generating comprehensive test suites at appropriate levels (E2E, API, Component, Unit) with supporting infrastructure. This workflow operates in **dual mode**:
13
-
14
- 1. **BMad-Integrated Mode**: Works WITH BMad artifacts (story, tech-spec, PRD, test-design) to expand coverage after story implementation
15
- 2. **Standalone Mode**: Works WITHOUT BMad artifacts - analyzes existing codebase and generates tests independently
16
-
17
- **Core Principle**: Generate prioritized, deterministic tests that avoid duplicate coverage and follow testing best practices.
18
-
19
- ---
20
-
21
- ## Preflight Requirements
22
-
23
- **Flexible:** This workflow can run with minimal prerequisites. Only HALT if framework is completely missing.
24
-
25
- ### Required (Always)
26
-
27
- - ✅ Framework scaffolding configured (run `framework` workflow if missing)
28
- - ✅ Test framework configuration available (playwright.config.ts or cypress.config.ts)
29
-
30
- ### Optional (BMad-Integrated Mode)
31
-
32
- - Story markdown with acceptance criteria (enhances coverage targeting)
33
- - Tech spec or PRD (provides architectural context)
34
- - Test design document (provides risk/priority context)
35
-
36
- ### Optional (Standalone Mode)
37
-
38
- - Source code to analyze (feature implementation)
39
- - Existing tests (for gap analysis)
40
-
41
- **If framework is missing:** HALT with message: "Framework scaffolding required. Run `bmad tea *framework` first."
42
-
43
- ---
44
-
45
- ## Step 1: Determine Execution Mode and Load Context
46
-
47
- ### Actions
48
-
49
- 1. **Detect Execution Mode**
50
-
51
- Check if BMad artifacts are available:
52
- - If `{story_file}` variable is set → BMad-Integrated Mode
53
- - If `{target_feature}` or `{target_files}` set → Standalone Mode
54
- - If neither set → Auto-discover mode (scan codebase for features needing tests)
55
-
56
- 2. **Load BMad Artifacts (If Available)**
57
-
58
- **BMad-Integrated Mode:**
59
- - Read story markdown from `{story_file}`
60
- - Extract acceptance criteria and technical requirements
61
- - Load tech-spec.md if `{use_tech_spec}` is true
62
- - Load test-design.md if `{use_test_design}` is true
63
- - Load PRD.md if `{use_prd}` is true
64
- - Note: These are **optional enhancements**, not hard requirements
65
-
66
- **Standalone Mode:**
67
- - Skip BMad artifact loading
68
- - Proceed directly to source code analysis
69
-
70
- 3. **Load Framework Configuration**
71
- - Read test framework config (playwright.config.ts or cypress.config.ts)
72
- - Identify test directory structure from `{test_dir}`
73
- - Check existing test patterns in `{test_dir}`
74
- - Note test runner capabilities (parallel execution, fixtures, etc.)
75
-
76
- 4. **Analyze Existing Test Coverage**
77
-
78
- If `{analyze_coverage}` is true:
79
- - Search `{test_dir}` for existing test files
80
- - Identify tested features vs untested features
81
- - Map tests to source files (coverage gaps)
82
- - Check existing fixture and factory patterns
83
-
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**
89
-
90
- **Critical:** Consult `{project-root}/_bmad/bmm/testarch/tea-index.csv` to load:
91
-
92
- **Core Testing Patterns (Always load):**
93
- - `test-levels-framework.md` - Test level selection (E2E vs API vs Component vs Unit with decision matrix, 467 lines, 4 examples)
94
- - `test-priorities-matrix.md` - Priority classification (P0-P3 with automated scoring, risk mapping, 389 lines, 2 examples)
95
- - `data-factories.md` - Factory patterns with faker (overrides, nested factories, API seeding, 498 lines, 5 examples)
96
- - `selective-testing.md` - Targeted test execution strategies (tag-based, spec filters, diff-based, promotion rules, 727 lines, 4 examples)
97
- - `ci-burn-in.md` - Flaky test detection patterns (10-iteration burn-in, sharding, selective execution, 678 lines, 4 examples)
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)
115
- - `network-first.md` - Route interception patterns (intercept before navigate, HAR capture, deterministic waiting, 489 lines, 5 examples)
116
-
117
- **Healing Knowledge (If `{auto_heal_failures}` is true):**
118
- - `test-healing-patterns.md` - Common failure patterns and automated fixes (stale selectors, race conditions, dynamic data, network errors, hard waits, 648 lines, 5 examples)
119
- - `selector-resilience.md` - Selector debugging and refactoring guide (data-testid > ARIA > text > CSS hierarchy, anti-patterns, 541 lines, 4 examples)
120
- - `timing-debugging.md` - Race condition identification and fixes (network-first, deterministic waiting, async debugging, 370 lines, 3 examples)
121
-
122
- ---
123
-
124
- ## Step 2: Identify Automation Targets
125
-
126
- ### Actions
127
-
128
- 1. **Determine What Needs Testing**
129
-
130
- **BMad-Integrated Mode (story available):**
131
- - Map acceptance criteria from story to test scenarios
132
- - Identify features implemented in this story
133
- - Check if story has existing ATDD tests (from `*atdd` workflow)
134
- - Expand beyond ATDD with edge cases and negative paths
135
-
136
- **Standalone Mode (no story):**
137
- - If `{target_feature}` specified: Analyze that specific feature
138
- - If `{target_files}` specified: Analyze those specific files
139
- - If `{auto_discover_features}` is true: Scan `{source_dir}` for features
140
- - Prioritize features with:
141
- - No test coverage (highest priority)
142
- - Complex business logic
143
- - External integrations (API calls, database, auth)
144
- - Critical user paths (login, checkout, etc.)
145
-
146
- 2. **Apply Test Level Selection Framework**
147
-
148
- **Knowledge Base Reference**: `test-levels-framework.md`
149
-
150
- For each feature or acceptance criterion, determine appropriate test level:
151
-
152
- **E2E (End-to-End)**:
153
- - Critical user journeys (login, checkout, core workflows)
154
- - Multi-system integration
155
- - Full user-facing scenarios
156
- - Characteristics: High confidence, slow, brittle
157
-
158
- **API (Integration)**:
159
- - Business logic validation
160
- - Service contracts and data transformations
161
- - Backend integration without UI
162
- - Characteristics: Fast feedback, stable, good balance
163
-
164
- **Component**:
165
- - UI component behavior (buttons, forms, modals)
166
- - Interaction testing (click, hover, keyboard)
167
- - State management within component
168
- - Characteristics: Fast, isolated, granular
169
-
170
- **Unit**:
171
- - Pure business logic and algorithms
172
- - Edge cases and error handling
173
- - Minimal dependencies
174
- - Characteristics: Fastest, most granular
175
-
176
- 3. **Avoid Duplicate Coverage**
177
-
178
- **Critical principle:** Don't test same behavior at multiple levels unless necessary
179
- - Use E2E for critical happy path only
180
- - Use API tests for business logic variations
181
- - Use component tests for UI interaction edge cases
182
- - Use unit tests for pure logic edge cases
183
-
184
- **Example:**
185
- - E2E: User can log in with valid credentials → Dashboard loads
186
- - API: POST /auth/login returns 401 for invalid credentials
187
- - API: POST /auth/login returns 200 and JWT token for valid credentials
188
- - Component: LoginForm disables submit button when fields are empty
189
- - Unit: validateEmail() returns false for malformed email addresses
190
-
191
- 4. **Assign Test Priorities**
192
-
193
- **Knowledge Base Reference**: `test-priorities-matrix.md`
194
-
195
- **P0 (Critical - Every commit)**:
196
- - Critical user paths that must always work
197
- - Security-critical functionality (auth, permissions)
198
- - Data integrity scenarios
199
- - Run in pre-commit hooks or PR checks
200
-
201
- **P1 (High - PR to main)**:
202
- - Important features with high user impact
203
- - Integration points between systems
204
- - Error handling for common failures
205
- - Run before merging to main branch
206
-
207
- **P2 (Medium - Nightly)**:
208
- - Edge cases with moderate impact
209
- - Less-critical feature variations
210
- - Performance/load testing
211
- - Run in nightly CI builds
212
-
213
- **P3 (Low - On-demand)**:
214
- - Nice-to-have validations
215
- - Rarely-used features
216
- - Exploratory testing scenarios
217
- - Run manually or weekly
218
-
219
- **Priority Variables:**
220
- - `{include_p0}` - Always include (default: true)
221
- - `{include_p1}` - High priority (default: true)
222
- - `{include_p2}` - Medium priority (default: true)
223
- - `{include_p3}` - Low priority (default: false)
224
-
225
- 5. **Create Test Coverage Plan**
226
-
227
- Document what will be tested at each level with priorities:
228
-
229
- ```markdown
230
- ## Test Coverage Plan
231
-
232
- ### E2E Tests (P0)
233
-
234
- - User login with valid credentials → Dashboard loads
235
- - User logout → Redirects to login page
236
-
237
- ### API Tests (P1)
238
-
239
- - POST /auth/login - valid credentials → 200 + JWT token
240
- - POST /auth/login - invalid credentials → 401 + error message
241
- - POST /auth/login - missing fields → 400 + validation errors
242
-
243
- ### Component Tests (P1)
244
-
245
- - LoginForm - empty fields → submit button disabled
246
- - LoginForm - valid input → submit button enabled
247
-
248
- ### Unit Tests (P2)
249
-
250
- - validateEmail() - valid email → returns true
251
- - validateEmail() - malformed email → returns false
252
- ```
253
-
254
- ---
255
-
256
- ## Step 3: Generate Test Infrastructure
257
-
258
- ### Actions
259
-
260
- 1. **Enhance Fixture Architecture**
261
-
262
- **Knowledge Base Reference**: `fixture-architecture.md`
263
-
264
- Check existing fixtures in `tests/support/fixtures/`:
265
- - If missing or incomplete, create fixture architecture
266
- - Use Playwright's `test.extend()` pattern
267
- - Ensure all fixtures have auto-cleanup in teardown
268
-
269
- **Common fixtures to create/enhance:**
270
- - **authenticatedUser**: User with valid session (auto-deletes user after test)
271
- - **apiRequest**: Authenticated API client with base URL and headers
272
- - **mockNetwork**: Network mocking for external services
273
- - **testDatabase**: Database with test data (auto-cleanup after test)
274
-
275
- **Example fixture:**
276
-
277
- ```typescript
278
- // tests/support/fixtures/auth.fixture.ts
279
- import { test as base } from '@playwright/test';
280
- import { createUser, deleteUser } from '../factories/user.factory';
281
-
282
- export const test = base.extend({
283
- authenticatedUser: async ({ page }, use) => {
284
- // Setup: Create and authenticate user
285
- const user = await createUser();
286
- await page.goto('/login');
287
- await page.fill('[data-testid="email"]', user.email);
288
- await page.fill('[data-testid="password"]', user.password);
289
- await page.click('[data-testid="login-button"]');
290
- await page.waitForURL('/dashboard');
291
-
292
- // Provide to test
293
- await use(user);
294
-
295
- // Cleanup: Delete user automatically
296
- await deleteUser(user.id);
297
- },
298
- });
299
- ```
300
-
301
- 2. **Enhance Data Factories**
302
-
303
- **Knowledge Base Reference**: `data-factories.md`
304
-
305
- Check existing factories in `tests/support/factories/`:
306
- - If missing or incomplete, create factory architecture
307
- - Use `@faker-js/faker` for all random data (no hardcoded values)
308
- - Support overrides for specific test scenarios
309
-
310
- **Common factories to create/enhance:**
311
- - User factory (email, password, name, role)
312
- - Product factory (name, price, description, SKU)
313
- - Order factory (items, total, status, customer)
314
-
315
- **Example factory:**
316
-
317
- ```typescript
318
- // tests/support/factories/user.factory.ts
319
- import { faker } from '@faker-js/faker';
320
-
321
- export const createUser = (overrides = {}) => ({
322
- id: faker.number.int(),
323
- email: faker.internet.email(),
324
- password: faker.internet.password(),
325
- name: faker.person.fullName(),
326
- role: 'user',
327
- createdAt: faker.date.recent().toISOString(),
328
- ...overrides,
329
- });
330
-
331
- export const createUsers = (count: number) => Array.from({ length: count }, () => createUser());
332
-
333
- // API helper for cleanup
334
- export const deleteUser = async (userId: number) => {
335
- await fetch(`/api/users/${userId}`, { method: 'DELETE' });
336
- };
337
- ```
338
-
339
- 3. **Create/Enhance Helper Utilities**
340
-
341
- If `{update_helpers}` is true:
342
-
343
- Check `tests/support/helpers/` for common utilities:
344
- - **waitFor**: Polling helper for complex conditions
345
- - **retry**: Retry helper for flaky operations
346
- - **testData**: Test data generation helpers
347
- - **assertions**: Custom assertion helpers
348
-
349
- **Example helper:**
350
-
351
- ```typescript
352
- // tests/support/helpers/wait-for.ts
353
- export const waitFor = async (condition: () => Promise<boolean>, timeout = 5000, interval = 100): Promise<void> => {
354
- const startTime = Date.now();
355
- while (Date.now() - startTime < timeout) {
356
- if (await condition()) return;
357
- await new Promise((resolve) => setTimeout(resolve, interval));
358
- }
359
- throw new Error(`Condition not met within ${timeout}ms`);
360
- };
361
- ```
362
-
363
- ---
364
-
365
- ## Step 4: Generate Test Files
366
-
367
- ### Actions
368
-
369
- 1. **Create Test File Structure**
370
-
371
- ```
372
- tests/
373
- ├── e2e/
374
- │ └── {feature-name}.spec.ts # E2E tests (P0-P1)
375
- ├── api/
376
- │ └── {feature-name}.api.spec.ts # API tests (P1-P2)
377
- ├── component/
378
- │ └── {ComponentName}.test.tsx # Component tests (P1-P2)
379
- ├── unit/
380
- │ └── {module-name}.test.ts # Unit tests (P2-P3)
381
- └── support/
382
- ├── fixtures/ # Test fixtures
383
- ├── factories/ # Data factories
384
- └── helpers/ # Utility functions
385
- ```
386
-
387
- 2. **Write E2E Tests (If Applicable)**
388
-
389
- **Follow Given-When-Then format:**
390
-
391
- ```typescript
392
- import { test, expect } from '@playwright/test';
393
-
394
- test.describe('User Authentication', () => {
395
- test('[P0] should login with valid credentials and load dashboard', async ({ page }) => {
396
- // GIVEN: User is on login page
397
- await page.goto('/login');
398
-
399
- // WHEN: User submits valid credentials
400
- await page.fill('[data-testid="email-input"]', 'user@example.com');
401
- await page.fill('[data-testid="password-input"]', 'Password123!');
402
- await page.click('[data-testid="login-button"]');
403
-
404
- // THEN: User is redirected to dashboard
405
- await expect(page).toHaveURL('/dashboard');
406
- await expect(page.locator('[data-testid="user-name"]')).toBeVisible();
407
- });
408
-
409
- test('[P1] should display error for invalid credentials', async ({ page }) => {
410
- // GIVEN: User is on login page
411
- await page.goto('/login');
412
-
413
- // WHEN: User submits invalid credentials
414
- await page.fill('[data-testid="email-input"]', 'invalid@example.com');
415
- await page.fill('[data-testid="password-input"]', 'wrongpassword');
416
- await page.click('[data-testid="login-button"]');
417
-
418
- // THEN: Error message is displayed
419
- await expect(page.locator('[data-testid="error-message"]')).toHaveText('Invalid email or password');
420
- });
421
- });
422
- ```
423
-
424
- **Critical patterns:**
425
- - Tag tests with priority: `[P0]`, `[P1]`, `[P2]`, `[P3]` in test name
426
- - One assertion per test (atomic tests)
427
- - Explicit waits (no hard waits/sleeps)
428
- - Network-first approach (route interception before navigation)
429
- - data-testid selectors for stability
430
- - Clear Given-When-Then structure
431
-
432
- 3. **Write API Tests (If Applicable)**
433
-
434
- ```typescript
435
- import { test, expect } from '@playwright/test';
436
-
437
- test.describe('User Authentication API', () => {
438
- test('[P1] POST /api/auth/login - should return token for valid credentials', async ({ request }) => {
439
- // GIVEN: Valid user credentials
440
- const credentials = {
441
- email: 'user@example.com',
442
- password: 'Password123!',
443
- };
444
-
445
- // WHEN: Logging in via API
446
- const response = await request.post('/api/auth/login', {
447
- data: credentials,
448
- });
449
-
450
- // THEN: Returns 200 and JWT token
451
- expect(response.status()).toBe(200);
452
- const body = await response.json();
453
- expect(body).toHaveProperty('token');
454
- expect(body.token).toMatch(/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+$/); // JWT format
455
- });
456
-
457
- test('[P1] POST /api/auth/login - should return 401 for invalid credentials', async ({ request }) => {
458
- // GIVEN: Invalid credentials
459
- const credentials = {
460
- email: 'invalid@example.com',
461
- password: 'wrongpassword',
462
- };
463
-
464
- // WHEN: Attempting login
465
- const response = await request.post('/api/auth/login', {
466
- data: credentials,
467
- });
468
-
469
- // THEN: Returns 401 with error
470
- expect(response.status()).toBe(401);
471
- const body = await response.json();
472
- expect(body).toMatchObject({
473
- error: 'Invalid credentials',
474
- });
475
- });
476
- });
477
- ```
478
-
479
- 4. **Write Component Tests (If Applicable)**
480
-
481
- **Knowledge Base Reference**: `component-tdd.md`
482
-
483
- ```typescript
484
- import { test, expect } from '@playwright/experimental-ct-react';
485
- import { LoginForm } from './LoginForm';
486
-
487
- test.describe('LoginForm Component', () => {
488
- test('[P1] should disable submit button when fields are empty', async ({ mount }) => {
489
- // GIVEN: LoginForm is mounted
490
- const component = await mount(<LoginForm />);
491
-
492
- // WHEN: Form is initially rendered
493
- const submitButton = component.locator('button[type="submit"]');
494
-
495
- // THEN: Submit button is disabled
496
- await expect(submitButton).toBeDisabled();
497
- });
498
-
499
- test('[P1] should enable submit button when fields are filled', async ({ mount }) => {
500
- // GIVEN: LoginForm is mounted
501
- const component = await mount(<LoginForm />);
502
-
503
- // WHEN: User fills in email and password
504
- await component.locator('[data-testid="email-input"]').fill('user@example.com');
505
- await component.locator('[data-testid="password-input"]').fill('Password123!');
506
-
507
- // THEN: Submit button is enabled
508
- const submitButton = component.locator('button[type="submit"]');
509
- await expect(submitButton).toBeEnabled();
510
- });
511
- });
512
- ```
513
-
514
- 5. **Write Unit Tests (If Applicable)**
515
-
516
- ```typescript
517
- import { validateEmail } from './validation';
518
-
519
- describe('Email Validation', () => {
520
- test('[P2] should return true for valid email', () => {
521
- // GIVEN: Valid email address
522
- const email = 'user@example.com';
523
-
524
- // WHEN: Validating email
525
- const result = validateEmail(email);
526
-
527
- // THEN: Returns true
528
- expect(result).toBe(true);
529
- });
530
-
531
- test('[P2] should return false for malformed email', () => {
532
- // GIVEN: Malformed email addresses
533
- const invalidEmails = ['notanemail', '@example.com', 'user@', 'user @example.com'];
534
-
535
- // WHEN/THEN: Each should fail validation
536
- invalidEmails.forEach((email) => {
537
- expect(validateEmail(email)).toBe(false);
538
- });
539
- });
540
- });
541
- ```
542
-
543
- 6. **Apply Network-First Pattern (E2E tests)**
544
-
545
- **Knowledge Base Reference**: `network-first.md`
546
-
547
- **Critical pattern to prevent race conditions:**
548
-
549
- ```typescript
550
- test('should load user dashboard after login', async ({ page }) => {
551
- // CRITICAL: Intercept routes BEFORE navigation
552
- await page.route('**/api/user', (route) =>
553
- route.fulfill({
554
- status: 200,
555
- body: JSON.stringify({ id: 1, name: 'Test User' }),
556
- }),
557
- );
558
-
559
- // NOW navigate
560
- await page.goto('/dashboard');
561
-
562
- await expect(page.locator('[data-testid="user-name"]')).toHaveText('Test User');
563
- });
564
- ```
565
-
566
- 7. **Enforce Quality Standards**
567
-
568
- **For every test:**
569
- - ✅ Uses Given-When-Then format
570
- - ✅ Has clear, descriptive name with priority tag
571
- - ✅ One assertion per test (atomic)
572
- - ✅ No hard waits or sleeps (use explicit waits)
573
- - ✅ Self-cleaning (uses fixtures with auto-cleanup)
574
- - ✅ Deterministic (no flaky patterns)
575
- - ✅ Fast (under {max_test_duration} seconds)
576
- - ✅ Lean (test file under {max_file_lines} lines)
577
-
578
- **Forbidden patterns:**
579
- - ❌ Hard waits: `await page.waitForTimeout(2000)`
580
- - ❌ Conditional flow: `if (await element.isVisible()) { ... }`
581
- - ❌ Try-catch for test logic (use for cleanup only)
582
- - ❌ Hardcoded test data (use factories)
583
- - ❌ Page objects (keep tests simple and direct)
584
- - ❌ Shared state between tests
585
-
586
- ---
587
-
588
- ## Step 5: Execute, Validate & Heal Generated Tests (NEW - Phase 2.5)
589
-
590
- **Purpose**: Automatically validate generated tests and heal common failures before delivery
591
-
592
- ### Actions
593
-
594
- 1. **Validate Generated Tests**
595
-
596
- Always validate (auto_validate is always true):
597
- - Run generated tests to verify they work
598
- - Continue with healing if config.tea_use_mcp_enhancements is true
599
-
600
- 2. **Run Generated Tests**
601
-
602
- Execute the full test suite that was just generated:
603
-
604
- ```bash
605
- npx playwright test {generated_test_files}
606
- ```
607
-
608
- Capture results:
609
- - Total tests run
610
- - Passing tests count
611
- - Failing tests count
612
- - Error messages and stack traces for failures
613
-
614
- 3. **Evaluate Results**
615
-
616
- **If ALL tests pass:**
617
- - ✅ Generate report with success summary
618
- - Proceed to Step 6 (Documentation and Scripts)
619
-
620
- **If tests FAIL:**
621
- - Check config.tea_use_mcp_enhancements setting
622
- - If true: Enter healing loop (Step 5.4)
623
- - If false: Document failures for manual review, proceed to Step 6
624
-
625
- 4. **Healing Loop (If config.tea_use_mcp_enhancements is true)**
626
-
627
- **Iteration limit**: 3 attempts per test (constant)
628
-
629
- **For each failing test:**
630
-
631
- **A. Load Healing Knowledge Fragments**
632
-
633
- Consult `tea-index.csv` to load healing patterns:
634
- - `test-healing-patterns.md` - Common failure patterns and fixes
635
- - `selector-resilience.md` - Selector debugging and refactoring
636
- - `timing-debugging.md` - Race condition identification and fixes
637
-
638
- **B. Identify Failure Pattern**
639
-
640
- Analyze error message and stack trace to classify failure type:
641
-
642
- **Stale Selector Failure:**
643
- - Error contains: "locator resolved to 0 elements", "element not found", "unable to find element"
644
- - Extract selector from error message
645
- - Apply selector healing (knowledge from `selector-resilience.md`):
646
- - If CSS class → Replace with `page.getByTestId()`
647
- - If nth() → Replace with `filter({ hasText })`
648
- - If ID → Replace with data-testid
649
- - If complex XPath → Replace with ARIA role
650
-
651
- **Race Condition Failure:**
652
- - Error contains: "timeout waiting for", "element not visible", "timed out retrying"
653
- - Detect missing network waits or hard waits in test code
654
- - Apply timing healing (knowledge from `timing-debugging.md`):
655
- - Add network-first interception before navigate
656
- - Replace `waitForTimeout()` with `waitForResponse()`
657
- - Add explicit element state waits (`waitFor({ state: 'visible' })`)
658
-
659
- **Dynamic Data Failure:**
660
- - Error contains: "Expected 'User 123' but received 'User 456'", timestamp mismatches
661
- - Identify hardcoded assertions
662
- - Apply data healing (knowledge from `test-healing-patterns.md`):
663
- - Replace hardcoded IDs with regex (`/User \d+/`)
664
- - Replace hardcoded dates with dynamic generation
665
- - Capture dynamic values and use in assertions
666
-
667
- **Network Error Failure:**
668
- - Error contains: "API call failed", "500 error", "network error"
669
- - Detect missing route interception
670
- - Apply network healing (knowledge from `test-healing-patterns.md`):
671
- - Add `page.route()` or `cy.intercept()` for API mocking
672
- - Mock error scenarios (500, 429, timeout)
673
-
674
- **Hard Wait Detection:**
675
- - Scan test code for `page.waitForTimeout()`, `cy.wait(number)`, `sleep()`
676
- - Apply hard wait healing (knowledge from `timing-debugging.md`):
677
- - Replace with event-based waits
678
- - Add network response waits
679
- - Use element state changes
680
-
681
- **C. MCP Healing Mode (If MCP Tools Available)**
682
-
683
- If Playwright MCP tools are available in your IDE:
684
-
685
- Use MCP tools for interactive healing:
686
- - `playwright_test_debug_test`: Pause on failure for visual inspection
687
- - `browser_snapshot`: Capture visual context at failure point
688
- - `browser_console_messages`: Retrieve console logs for JS errors
689
- - `browser_network_requests`: Analyze network activity
690
- - `browser_generate_locator`: Generate better selectors interactively
691
-
692
- Apply MCP-generated fixes to test code.
693
-
694
- **D. Pattern-Based Healing Mode (Fallback)**
695
-
696
- If MCP unavailable, use pattern-based analysis:
697
- - Parse error message and stack trace
698
- - Match against failure patterns from knowledge base
699
- - Apply fixes programmatically:
700
- - Selector fixes: Use suggestions from `selector-resilience.md`
701
- - Timing fixes: Apply patterns from `timing-debugging.md`
702
- - Data fixes: Use patterns from `test-healing-patterns.md`
703
-
704
- **E. Apply Healing Fix**
705
- - Modify test file with healed code
706
- - Re-run test to validate fix
707
- - If test passes: Mark as healed, move to next failure
708
- - If test fails: Increment iteration count, try different pattern
709
-
710
- **F. Iteration Limit Handling**
711
-
712
- After 3 failed healing attempts:
713
-
714
- Always mark unfixable tests:
715
- - Mark test with `test.fixme()` instead of `test()`
716
- - Add detailed comment explaining:
717
- - What failure occurred
718
- - What healing was attempted (3 iterations)
719
- - Why healing failed
720
- - Manual investigation needed
721
-
722
- ```typescript
723
- test.fixme('[P1] should handle complex interaction', async ({ page }) => {
724
- // FIXME: Test healing failed after 3 attempts
725
- // Failure: "Locator 'button[data-action="submit"]' resolved to 0 elements"
726
- // Attempted fixes:
727
- // 1. Replaced with page.getByTestId('submit-button') - still failing
728
- // 2. Replaced with page.getByRole('button', { name: 'Submit' }) - still failing
729
- // 3. Added waitForLoadState('networkidle') - still failing
730
- // Manual investigation needed: Selector may require application code changes
731
- // TODO: Review with team, may need data-testid added to button component
732
- // Original test code...
733
- });
734
- ```
735
-
736
- **Note**: Workflow continues even with unfixable tests (marked as test.fixme() for manual review)
737
-
738
- 5. **Generate Healing Report**
739
-
740
- Document healing outcomes:
741
-
742
- ```markdown
743
- ## Test Healing Report
744
-
745
- **Auto-Heal Enabled**: {auto_heal_failures}
746
- **Healing Mode**: {use_mcp_healing ? "MCP-assisted" : "Pattern-based"}
747
- **Iterations Allowed**: {max_healing_iterations}
748
-
749
- ### Validation Results
750
-
751
- - **Total tests**: {total_tests}
752
- - **Passing**: {passing_tests}
753
- - **Failing**: {failing_tests}
754
-
755
- ### Healing Outcomes
756
-
757
- **Successfully Healed ({healed_count} tests):**
758
-
759
- - `tests/e2e/login.spec.ts:15` - Stale selector (CSS class → data-testid)
760
- - `tests/e2e/checkout.spec.ts:42` - Race condition (added network-first interception)
761
- - `tests/api/users.spec.ts:28` - Dynamic data (hardcoded ID → regex pattern)
762
-
763
- **Unable to Heal ({unfixable_count} tests):**
764
-
765
- - `tests/e2e/complex-flow.spec.ts:67` - Marked as test.fixme() with manual investigation needed
766
- - Failure: Locator not found after 3 healing attempts
767
- - Requires application code changes (add data-testid to component)
768
-
769
- ### Healing Patterns Applied
770
-
771
- - **Selector fixes**: 2 (CSS class → data-testid, nth() → filter())
772
- - **Timing fixes**: 1 (added network-first interception)
773
- - **Data fixes**: 1 (hardcoded ID → regex)
774
-
775
- ### Knowledge Base References
776
-
777
- - `test-healing-patterns.md` - Common failure patterns
778
- - `selector-resilience.md` - Selector refactoring guide
779
- - `timing-debugging.md` - Race condition prevention
780
- ```
781
-
782
- 6. **Update Test Files with Healing Results**
783
- - Save healed test code to files
784
- - Mark unfixable tests with `test.fixme()` and detailed comments
785
- - Preserve original test logic in comments (for debugging)
786
-
787
- ---
788
-
789
- ## Step 6: Update Documentation and Scripts
790
-
791
- ### Actions
792
-
793
- 1. **Update Test README**
794
-
795
- If `{update_readme}` is true:
796
-
797
- Create or update `tests/README.md` with:
798
- - Overview of test suite structure
799
- - How to run tests (all, specific files, by priority)
800
- - Fixture and factory usage examples
801
- - Priority tagging convention ([P0], [P1], [P2], [P3])
802
- - How to write new tests
803
- - Common patterns and anti-patterns
804
-
805
- **Example section:**
806
-
807
- ````markdown
808
- ## Running Tests
809
-
810
- ```bash
811
- # Run all tests
812
- npm run test:e2e
813
-
814
- # Run by priority
815
- npm run test:e2e -- --grep "@P0"
816
- npm run test:e2e -- --grep "@P1"
817
-
818
- # Run specific file
819
- npm run test:e2e -- user-authentication.spec.ts
820
-
821
- # Run in headed mode
822
- npm run test:e2e -- --headed
823
-
824
- # Debug specific test
825
- npm run test:e2e -- user-authentication.spec.ts --debug
826
- ```
827
- ````
828
-
829
- ## Priority Tags
830
- - **[P0]**: Critical paths, run every commit
831
- - **[P1]**: High priority, run on PR to main
832
- - **[P2]**: Medium priority, run nightly
833
- - **[P3]**: Low priority, run on-demand
834
-
835
- ```
836
-
837
- ```
838
-
839
- 2. **Update package.json Scripts**
840
-
841
- If `{update_package_scripts}` is true:
842
-
843
- Add or update test execution scripts:
844
-
845
- ```json
846
- {
847
- "scripts": {
848
- "test:e2e": "playwright test",
849
- "test:e2e:p0": "playwright test --grep '@P0'",
850
- "test:e2e:p1": "playwright test --grep '@P1|@P0'",
851
- "test:api": "playwright test tests/api",
852
- "test:component": "playwright test tests/component",
853
- "test:unit": "vitest"
854
- }
855
- }
856
- ```
857
-
858
- 3. **Run Test Suite**
859
-
860
- If `{run_tests_after_generation}` is true:
861
- - Run full test suite locally
862
- - Capture results (passing/failing counts)
863
- - Verify no flaky patterns (tests should be deterministic)
864
- - Document any setup requirements or known issues
865
-
866
- ---
867
-
868
- ## Step 6: Generate Automation Summary
869
-
870
- ### Actions
871
-
872
- 1. **Create Automation Summary Document**
873
-
874
- Save to `{output_summary}` with:
875
-
876
- **BMad-Integrated Mode:**
877
-
878
- ````markdown
879
- # Automation Summary - {feature_name}
880
-
881
- **Date:** {date}
882
- **Story:** {story_id}
883
- **Coverage Target:** {coverage_target}
884
-
885
- ## Tests Created
886
-
887
- ### E2E Tests (P0-P1)
888
-
889
- - `tests/e2e/user-authentication.spec.ts` (2 tests, 87 lines)
890
- - [P0] Login with valid credentials → Dashboard loads
891
- - [P1] Display error for invalid credentials
892
-
893
- ### API Tests (P1-P2)
894
-
895
- - `tests/api/auth.api.spec.ts` (3 tests, 102 lines)
896
- - [P1] POST /auth/login - valid credentials → 200 + token
897
- - [P1] POST /auth/login - invalid credentials → 401 + error
898
- - [P2] POST /auth/login - missing fields → 400 + validation
899
-
900
- ### Component Tests (P1)
901
-
902
- - `tests/component/LoginForm.test.tsx` (2 tests, 45 lines)
903
- - [P1] Empty fields → submit button disabled
904
- - [P1] Valid input → submit button enabled
905
-
906
- ## Infrastructure Created
907
-
908
- ### Fixtures
909
-
910
- - `tests/support/fixtures/auth.fixture.ts` - authenticatedUser with auto-cleanup
911
-
912
- ### Factories
913
-
914
- - `tests/support/factories/user.factory.ts` - createUser(), deleteUser()
915
-
916
- ### Helpers
917
-
918
- - `tests/support/helpers/wait-for.ts` - Polling helper for complex conditions
919
-
920
- ## Test Execution
921
-
922
- ```bash
923
- # Run all new tests
924
- npm run test:e2e
925
-
926
- # Run by priority
927
- npm run test:e2e:p0 # Critical paths only
928
- npm run test:e2e:p1 # P0 + P1 tests
929
- ```
930
- ````
931
-
932
- ## Coverage Analysis
933
-
934
- **Total Tests:** 7
935
- - P0: 1 test (critical path)
936
- - P1: 5 tests (high priority)
937
- - P2: 1 test (medium priority)
938
-
939
- **Test Levels:**
940
- - E2E: 2 tests (user journeys)
941
- - API: 3 tests (business logic)
942
- - Component: 2 tests (UI behavior)
943
-
944
- **Coverage Status:**
945
- - ✅ All acceptance criteria covered
946
- - ✅ Happy path covered (E2E + API)
947
- - ✅ Error cases covered (API)
948
- - ✅ UI validation covered (Component)
949
- - ⚠️ Edge case: Password reset flow not yet covered (future story)
950
-
951
- ## Definition of Done
952
- - [x] All tests follow Given-When-Then format
953
- - [x] All tests use data-testid selectors
954
- - [x] All tests have priority tags
955
- - [x] All tests are self-cleaning (fixtures with auto-cleanup)
956
- - [x] No hard waits or flaky patterns
957
- - [x] Test files under 300 lines
958
- - [x] All tests run under 1.5 minutes each
959
- - [x] README updated with test execution instructions
960
- - [x] package.json scripts updated
961
-
962
- ## Next Steps
963
- 1. Review generated tests with team
964
- 2. Run tests in CI pipeline: `npm run test:e2e`
965
- 3. Integrate with quality gate: `bmad tea *gate`
966
- 4. Monitor for flaky tests in burn-in loop
967
-
968
- ````
969
-
970
- **Standalone Mode:**
971
- ```markdown
972
- # Automation Summary - {target_feature}
973
-
974
- **Date:** {date}
975
- **Target:** {target_feature} (standalone analysis)
976
- **Coverage Target:** {coverage_target}
977
-
978
- ## Feature Analysis
979
-
980
- **Source Files Analyzed:**
981
- - `src/auth/login.ts` - Login logic and validation
982
- - `src/auth/session.ts` - Session management
983
- - `src/auth/validation.ts` - Email/password validation
984
-
985
- **Existing Coverage:**
986
- - E2E tests: 0 found
987
- - API tests: 0 found
988
- - Component tests: 0 found
989
- - Unit tests: 0 found
990
-
991
- **Coverage Gaps Identified:**
992
- - ❌ No E2E tests for login flow
993
- - ❌ No API tests for /auth/login endpoint
994
- - ❌ No component tests for LoginForm
995
- - ❌ No unit tests for validateEmail()
996
-
997
- ## Tests Created
998
-
999
- {Same structure as BMad-Integrated Mode}
1000
-
1001
- ## Recommendations
1002
-
1003
- 1. **High Priority (P0-P1):**
1004
- - Add E2E test for password reset flow
1005
- - Add API tests for token refresh endpoint
1006
- - Add component tests for logout button
1007
-
1008
- 2. **Medium Priority (P2):**
1009
- - Add unit tests for session timeout logic
1010
- - Add E2E test for "remember me" functionality
1011
-
1012
- 3. **Future Enhancements:**
1013
- - Consider contract testing for auth API
1014
- - Add visual regression tests for login page
1015
- - Set up burn-in loop for flaky test detection
1016
-
1017
- ## Definition of Done
1018
-
1019
- {Same checklist as BMad-Integrated Mode}
1020
- ````
1021
-
1022
- 2. **Provide Summary to User**
1023
-
1024
- Output concise summary:
1025
-
1026
- ```markdown
1027
- ## Automation Complete
1028
-
1029
- **Coverage:** {total_tests} tests created across {test_levels} levels
1030
- **Priority Breakdown:** P0: {p0_count}, P1: {p1_count}, P2: {p2_count}, P3: {p3_count}
1031
- **Infrastructure:** {fixture_count} fixtures, {factory_count} factories
1032
- **Output:** {output_summary}
1033
-
1034
- **Run tests:** `npm run test:e2e`
1035
- **Next steps:** Review tests, run in CI, integrate with quality gate
1036
- ```
1037
-
1038
- ---
1039
-
1040
- ## Important Notes
1041
-
1042
- ### Dual-Mode Operation
1043
-
1044
- **BMad-Integrated Mode** (story available):
1045
-
1046
- - Uses story acceptance criteria for coverage targeting
1047
- - Aligns with test-design risk/priority assessment
1048
- - Expands ATDD tests with edge cases and negative paths
1049
- - Updates BMad status tracking
1050
-
1051
- **Standalone Mode** (no story):
1052
-
1053
- - Analyzes source code independently
1054
- - Identifies coverage gaps automatically
1055
- - Generates tests based on code analysis
1056
- - Works with any project (BMad or non-BMad)
1057
-
1058
- **Auto-discover Mode** (no targets specified):
1059
-
1060
- - Scans codebase for features needing tests
1061
- - Prioritizes features with no coverage
1062
- - Generates comprehensive test plan
1063
-
1064
- ### Avoid Duplicate Coverage
1065
-
1066
- **Critical principle:** Don't test same behavior at multiple levels
1067
-
1068
- **Good coverage:**
1069
-
1070
- - E2E: User can login → Dashboard loads (critical happy path)
1071
- - API: POST /auth/login returns correct status codes (variations)
1072
- - Component: LoginForm validates input (UI edge cases)
1073
-
1074
- **Bad coverage (duplicate):**
1075
-
1076
- - E2E: User can login → Dashboard loads
1077
- - E2E: User can login with different emails → Dashboard loads (unnecessary duplication)
1078
- - API: POST /auth/login returns 200 (already covered in E2E)
1079
-
1080
- Use E2E sparingly for critical paths. Use API/Component for variations and edge cases.
1081
-
1082
- ### Priority Tagging
1083
-
1084
- **Tag every test with priority in test name:**
1085
-
1086
- ```typescript
1087
- test('[P0] should login with valid credentials', async ({ page }) => { ... });
1088
- test('[P1] should display error for invalid credentials', async ({ page }) => { ... });
1089
- test('[P2] should remember login preference', async ({ page }) => { ... });
1090
- ```
1091
-
1092
- **Enables selective test execution:**
1093
-
1094
- ```bash
1095
- # Run only P0 tests (critical paths)
1096
- npm run test:e2e -- --grep "@P0"
1097
-
1098
- # Run P0 + P1 tests (pre-merge)
1099
- npm run test:e2e -- --grep "@P0|@P1"
1100
- ```
1101
-
1102
- ### No Page Objects
1103
-
1104
- **Do NOT create page object classes.** Keep tests simple and direct:
1105
-
1106
- ```typescript
1107
- // ✅ CORRECT: Direct test
1108
- test('should login', async ({ page }) => {
1109
- await page.goto('/login');
1110
- await page.fill('[data-testid="email"]', 'user@example.com');
1111
- await page.click('[data-testid="login-button"]');
1112
- await expect(page).toHaveURL('/dashboard');
1113
- });
1114
-
1115
- // ❌ WRONG: Page object abstraction
1116
- class LoginPage {
1117
- async login(email, password) { ... }
1118
- }
1119
- ```
1120
-
1121
- Use fixtures for setup/teardown, not page objects for actions.
1122
-
1123
- ### Deterministic Tests Only
1124
-
1125
- **No flaky patterns allowed:**
1126
-
1127
- ```typescript
1128
- // ❌ WRONG: Hard wait
1129
- await page.waitForTimeout(2000);
1130
-
1131
- // ✅ CORRECT: Explicit wait
1132
- await page.waitForSelector('[data-testid="user-name"]');
1133
- await expect(page.locator('[data-testid="user-name"]')).toBeVisible();
1134
-
1135
- // ❌ WRONG: Conditional flow
1136
- if (await element.isVisible()) {
1137
- await element.click();
1138
- }
1139
-
1140
- // ✅ CORRECT: Deterministic assertion
1141
- await expect(element).toBeVisible();
1142
- await element.click();
1143
-
1144
- // ❌ WRONG: Try-catch for test logic
1145
- try {
1146
- await element.click();
1147
- } catch (e) {
1148
- // Test shouldn't catch errors
1149
- }
1150
-
1151
- // ✅ CORRECT: Let test fail if element not found
1152
- await element.click();
1153
- ```
1154
-
1155
- ### Self-Cleaning Tests
1156
-
1157
- **Every test must clean up its data:**
1158
-
1159
- ```typescript
1160
- // ✅ CORRECT: Fixture with auto-cleanup
1161
- export const test = base.extend({
1162
- testUser: async ({ page }, use) => {
1163
- const user = await createUser();
1164
- await use(user);
1165
- await deleteUser(user.id); // Auto-cleanup
1166
- },
1167
- });
1168
-
1169
- // ❌ WRONG: Manual cleanup (can be forgotten)
1170
- test('should login', async ({ page }) => {
1171
- const user = await createUser();
1172
- // ... test logic ...
1173
- // Forgot to delete user!
1174
- });
1175
- ```
1176
-
1177
- ### File Size Limits
1178
-
1179
- **Keep test files lean (under {max_file_lines} lines):**
1180
-
1181
- - If file exceeds limit, split into multiple files by feature area
1182
- - Group related tests in describe blocks
1183
- - Extract common setup to fixtures
1184
-
1185
- ### Knowledge Base Integration
1186
-
1187
- **Core Fragments (Auto-loaded in Step 1):**
1188
-
1189
- - `test-levels-framework.md` - E2E vs API vs Component vs Unit decision framework with characteristics matrix (467 lines, 4 examples)
1190
- - `test-priorities-matrix.md` - P0-P3 classification with automated scoring and risk mapping (389 lines, 2 examples)
1191
- - `fixture-architecture.md` - Pure function → fixture → mergeTests composition with auto-cleanup (406 lines, 5 examples)
1192
- - `data-factories.md` - Factory patterns with faker: overrides, nested factories, API seeding (498 lines, 5 examples)
1193
- - `selective-testing.md` - Tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
1194
- - `ci-burn-in.md` - 10-iteration burn-in loop, parallel sharding, selective execution (678 lines, 4 examples)
1195
- - `test-quality.md` - Deterministic tests, isolated with cleanup, explicit assertions, length/time optimization (658 lines, 5 examples)
1196
- - `network-first.md` - Intercept before navigate, HAR capture, deterministic waiting strategies (489 lines, 5 examples)
1197
-
1198
- **Healing Fragments (Auto-loaded if `{auto_heal_failures}` enabled):**
1199
-
1200
- - `test-healing-patterns.md` - Common failure patterns: stale selectors, race conditions, dynamic data, network errors, hard waits (648 lines, 5 examples)
1201
- - `selector-resilience.md` - Selector hierarchy (data-testid > ARIA > text > CSS), dynamic patterns, anti-patterns refactoring (541 lines, 4 examples)
1202
- - `timing-debugging.md` - Race condition prevention, deterministic waiting, async debugging techniques (370 lines, 3 examples)
1203
-
1204
- **Manual Reference (Optional):**
1205
-
1206
- - Use `tea-index.csv` to find additional specialized fragments as needed
1207
-
1208
- ---
1209
-
1210
- ## Output Summary
1211
-
1212
- After completing this workflow, provide a summary:
1213
-
1214
- ````markdown
1215
- ## Automation Complete
1216
-
1217
- **Mode:** {standalone_mode ? "Standalone" : "BMad-Integrated"}
1218
- **Target:** {story_id || target_feature || "Auto-discovered features"}
1219
-
1220
- **Tests Created:**
1221
-
1222
- - E2E: {e2e_count} tests ({p0_count} P0, {p1_count} P1, {p2_count} P2)
1223
- - API: {api_count} tests ({p0_count} P0, {p1_count} P1, {p2_count} P2)
1224
- - Component: {component_count} tests ({p1_count} P1, {p2_count} P2)
1225
- - Unit: {unit_count} tests ({p2_count} P2, {p3_count} P3)
1226
-
1227
- **Infrastructure:**
1228
-
1229
- - Fixtures: {fixture_count} created/enhanced
1230
- - Factories: {factory_count} created/enhanced
1231
- - Helpers: {helper_count} created/enhanced
1232
-
1233
- **Documentation Updated:**
1234
-
1235
- - ✅ Test README with execution instructions
1236
- - ✅ package.json scripts for test execution
1237
-
1238
- **Test Execution:**
1239
-
1240
- ```bash
1241
- # Run all tests
1242
- npm run test:e2e
1243
-
1244
- # Run by priority
1245
- npm run test:e2e:p0 # Critical paths only
1246
- npm run test:e2e:p1 # P0 + P1 tests
1247
-
1248
- # Run specific file
1249
- npm run test:e2e -- {first_test_file}
1250
- ```
1251
- ````
1252
-
1253
- **Coverage Status:**
1254
-
1255
- - ✅ {coverage_percentage}% of features covered
1256
- - ✅ All P0 scenarios covered
1257
- - ✅ All P1 scenarios covered
1258
- - ⚠️ {gap_count} coverage gaps identified (documented in summary)
1259
-
1260
- **Quality Checks:**
1261
-
1262
- - ✅ All tests follow Given-When-Then format
1263
- - ✅ All tests have priority tags
1264
- - ✅ All tests use data-testid selectors
1265
- - ✅ All tests are self-cleaning
1266
- - ✅ No hard waits or flaky patterns
1267
- - ✅ All test files under {max_file_lines} lines
1268
-
1269
- **Output File:** {output_summary}
1270
-
1271
- **Next Steps:**
1272
-
1273
- 1. Review generated tests with team
1274
- 2. Run tests in CI pipeline
1275
- 3. Monitor for flaky tests in burn-in loop
1276
- 4. Integrate with quality gate: `bmad tea *gate`
1277
-
1278
- **Knowledge Base References Applied:**
1279
-
1280
- - Test level selection framework (E2E vs API vs Component vs Unit)
1281
- - Priority classification (P0-P3)
1282
- - Fixture architecture patterns with auto-cleanup
1283
- - Data factory patterns using faker
1284
- - Selective testing strategies
1285
- - Test quality principles
1286
-
1287
- ```
1288
-
1289
- ---
1290
-
1291
- ## Validation
1292
-
1293
- After completing all steps, verify:
1294
-
1295
- - [ ] Execution mode determined (BMad-Integrated, Standalone, or Auto-discover)
1296
- - [ ] BMad artifacts loaded if available (story, tech-spec, test-design, PRD)
1297
- - [ ] Framework configuration loaded
1298
- - [ ] Existing test coverage analyzed (gaps identified)
1299
- - [ ] Knowledge base fragments loaded (test-levels, test-priorities, fixture-architecture, data-factories, selective-testing)
1300
- - [ ] Automation targets identified (what needs testing)
1301
- - [ ] Test levels selected appropriately (E2E, API, Component, Unit)
1302
- - [ ] Duplicate coverage avoided (same behavior not tested at multiple levels)
1303
- - [ ] Test priorities assigned (P0, P1, P2, P3)
1304
- - [ ] Fixture architecture created/enhanced (with auto-cleanup)
1305
- - [ ] Data factories created/enhanced (using faker)
1306
- - [ ] Helper utilities created/enhanced (if needed)
1307
- - [ ] E2E tests written (Given-When-Then, priority tags, data-testid selectors)
1308
- - [ ] API tests written (Given-When-Then, priority tags, comprehensive coverage)
1309
- - [ ] Component tests written (Given-When-Then, priority tags, UI behavior)
1310
- - [ ] Unit tests written (Given-When-Then, priority tags, pure logic)
1311
- - [ ] Network-first pattern applied (route interception before navigation)
1312
- - [ ] Quality standards enforced (no hard waits, no flaky patterns, self-cleaning, deterministic)
1313
- - [ ] Test README updated (execution instructions, priority tagging, patterns)
1314
- - [ ] package.json scripts updated (test execution commands)
1315
- - [ ] Test suite run locally (results captured)
1316
- - [ ] Tests validated (if auto_validate enabled)
1317
- - [ ] Failures healed (if auto_heal_failures enabled)
1318
- - [ ] Healing report generated (if healing attempted)
1319
- - [ ] Unfixable tests marked with test.fixme() (if any)
1320
- - [ ] Automation summary created (tests, infrastructure, coverage, healing, DoD)
1321
- - [ ] Output file formatted correctly
1322
-
1323
- Refer to `checklist.md` for comprehensive validation criteria.
1324
- ```