@delorenj/pjangler 1.2.25 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (849) hide show
  1. package/README.md +12 -3
  2. package/dist/index.js +8649 -5528
  3. package/dist/mcp-server.js +8174 -5456
  4. package/package.json +8 -4
  5. package/templates/commonproject/copier.yml +6 -6
  6. package/templates/commonproject/template/.agents/hooks/README.md +10 -10
  7. package/templates/commonproject/template/.agents/hooks/hooks.master.json +1 -1
  8. package/templates/commonproject/template/.agents/hooks/sync.py +4 -4
  9. package/templates/commonproject/template/.agents/local.example.json +1 -1
  10. package/templates/commonproject/template/.agents/skills.json +2 -1
  11. package/templates/commonproject/template/.env.op +6 -2
  12. package/templates/commonproject/template/.github/workflows/code-review.yml.jinja +48 -0
  13. package/templates/commonproject/template/.mise/scripts/hindsight-setup.sh +1 -1
  14. package/templates/commonproject/template/.mise/scripts/materialize-env.sh +28 -0
  15. package/templates/commonproject/template/.mise/scripts/provision-packs.py +565 -0
  16. package/templates/commonproject/template/.mise/scripts/sync-skills.py +1411 -132
  17. package/templates/commonproject/template/mise.toml.jinja +19 -16
  18. package/templates/hermes-agent/copier.yml +28 -4
  19. package/templates/hermes-agent/template/.gitignore.jinja +1 -0
  20. package/templates/hermes-agent/template/.runtime-scaffold/README.md +11 -10
  21. package/templates/hermes-agent/template/.scripts/01-config.sh +4 -4
  22. package/templates/hermes-agent/template/.scripts/10-hermes-profile.sh +7 -12
  23. package/templates/hermes-agent/template/.scripts/20-runtime-repo.sh +90 -28
  24. package/templates/hermes-agent/template/.scripts/30-telegram.sh +18 -4
  25. package/templates/hermes-agent/template/.scripts/70-systemd.sh +79 -12
  26. package/templates/hermes-agent/template/.scripts/80-registry.sh +13 -3
  27. package/templates/hermes-agent/template/.scripts/_lib.sh +12 -5
  28. package/templates/hermes-agent/template/.scripts/config.example.toml +7 -4
  29. package/templates/hermes-agent/template/.scripts/credential-launch.sh +81 -0
  30. package/templates/hermes-agent/template/.scripts/heartbeat.sh +2 -1
  31. package/templates/hermes-agent/template/.scripts/lib/ticket-provider.sh +15 -7
  32. package/templates/hermes-agent/template/.scripts/providers/linear.sh +41 -1
  33. package/templates/hermes-agent/template/.scripts/providers/plane.sh +117 -21
  34. package/templates/hermes-agent/template/.scripts/providers/trello.sh +34 -1
  35. package/templates/hermes-agent/template/.scripts/reporter-watchdog.py +242 -0
  36. package/templates/hermes-agent/template/.scripts/secret-scan.py +134 -0
  37. package/templates/hermes-agent/template/.scripts/sentinel.prompt.md.jinja +3 -2
  38. package/templates/hermes-agent/template/SOUL.md.jinja +34 -12
  39. package/templates/hermes-agent/template/hermes.jinja +36 -7
  40. package/templates/hermes-agent/template/role.yaml.jinja +16 -5
  41. package/templates/commonproject/.augment/commands/bmad/agents/bmb-agent-builder.md +0 -14
  42. package/templates/commonproject/.augment/commands/bmad/agents/bmb-module-builder.md +0 -14
  43. package/templates/commonproject/.augment/commands/bmad/agents/bmb-workflow-builder.md +0 -14
  44. package/templates/commonproject/.augment/commands/bmad/agents/bmm-analyst.md +0 -14
  45. package/templates/commonproject/.augment/commands/bmad/agents/bmm-architect.md +0 -14
  46. package/templates/commonproject/.augment/commands/bmad/agents/bmm-dev.md +0 -14
  47. package/templates/commonproject/.augment/commands/bmad/agents/bmm-pm.md +0 -14
  48. package/templates/commonproject/.augment/commands/bmad/agents/bmm-quick-flow-solo-dev.md +0 -14
  49. package/templates/commonproject/.augment/commands/bmad/agents/bmm-sm.md +0 -14
  50. package/templates/commonproject/.augment/commands/bmad/agents/bmm-tea.md +0 -14
  51. package/templates/commonproject/.augment/commands/bmad/agents/bmm-tech-writer.md +0 -14
  52. package/templates/commonproject/.augment/commands/bmad/agents/bmm-ux-designer.md +0 -14
  53. package/templates/commonproject/.augment/commands/bmad/agents/cis-brainstorming-coach.md +0 -14
  54. package/templates/commonproject/.augment/commands/bmad/agents/cis-creative-problem-solver.md +0 -14
  55. package/templates/commonproject/.augment/commands/bmad/agents/cis-design-thinking-coach.md +0 -14
  56. package/templates/commonproject/.augment/commands/bmad/agents/cis-innovation-strategist.md +0 -14
  57. package/templates/commonproject/.augment/commands/bmad/agents/cis-presentation-master.md +0 -14
  58. package/templates/commonproject/.augment/commands/bmad/agents/cis-storyteller.md +0 -14
  59. package/templates/commonproject/.augment/commands/bmad/agents/core-bmad-master.md +0 -14
  60. package/templates/commonproject/.augment/commands/bmad/tasks/core-index-docs.md +0 -74
  61. package/templates/commonproject/.augment/commands/bmad/tasks/core-shard-doc.md +0 -118
  62. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-agent.md +0 -5
  63. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-module.md +0 -5
  64. package/templates/commonproject/.augment/commands/bmad/workflows/bmb-workflow.md +0 -5
  65. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-check-implementation-readiness.md +0 -5
  66. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-code-review.md +0 -13
  67. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-correct-course.md +0 -13
  68. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-architecture.md +0 -5
  69. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-epics-and-stories.md +0 -5
  70. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-dataflow.md +0 -13
  71. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-diagram.md +0 -13
  72. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-flowchart.md +0 -13
  73. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-excalidraw-wireframe.md +0 -13
  74. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-product-brief.md +0 -5
  75. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-story.md +0 -13
  76. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-create-ux-design.md +0 -5
  77. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-dev-story.md +0 -13
  78. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-document-project.md +0 -13
  79. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-generate-project-context.md +0 -5
  80. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-prd.md +0 -5
  81. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-dev.md +0 -5
  82. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-quick-spec.md +0 -5
  83. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-research.md +0 -5
  84. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-retrospective.md +0 -13
  85. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-planning.md +0 -13
  86. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-sprint-status.md +0 -13
  87. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-atdd.md +0 -13
  88. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-automate.md +0 -13
  89. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-ci.md +0 -13
  90. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-framework.md +0 -13
  91. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-nfr.md +0 -13
  92. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-design.md +0 -13
  93. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-test-review.md +0 -13
  94. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-testarch-trace.md +0 -13
  95. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-init.md +0 -13
  96. package/templates/commonproject/.augment/commands/bmad/workflows/bmm-workflow-status.md +0 -13
  97. package/templates/commonproject/.augment/commands/bmad/workflows/cis-design-thinking.md +0 -13
  98. package/templates/commonproject/.augment/commands/bmad/workflows/cis-innovation-strategy.md +0 -13
  99. package/templates/commonproject/.augment/commands/bmad/workflows/cis-problem-solving.md +0 -13
  100. package/templates/commonproject/.augment/commands/bmad/workflows/cis-storytelling.md +0 -13
  101. package/templates/commonproject/.augment/commands/bmad/workflows/core-brainstorming.md +0 -5
  102. package/templates/commonproject/.augment/commands/bmad/workflows/core-party-mode.md +0 -5
  103. package/templates/commonproject/.augment/commands/bmad/workflows/custom-ticket-lifecycle.md +0 -5
  104. package/templates/commonproject/.copier-answers.yml +0 -4
  105. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-agent-builder.toml +0 -12
  106. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-module-builder.toml +0 -12
  107. package/templates/commonproject/.gemini/commands/bmad-agent-bmb-workflow-builder.toml +0 -12
  108. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-analyst.toml +0 -12
  109. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-architect.toml +0 -12
  110. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-dev.toml +0 -12
  111. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-pm.toml +0 -12
  112. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-quick-flow-solo-dev.toml +0 -12
  113. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-sm.toml +0 -12
  114. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tea.toml +0 -12
  115. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-tech-writer.toml +0 -12
  116. package/templates/commonproject/.gemini/commands/bmad-agent-bmm-ux-designer.toml +0 -12
  117. package/templates/commonproject/.gemini/commands/bmad-agent-cis-brainstorming-coach.toml +0 -12
  118. package/templates/commonproject/.gemini/commands/bmad-agent-cis-creative-problem-solver.toml +0 -12
  119. package/templates/commonproject/.gemini/commands/bmad-agent-cis-design-thinking-coach.toml +0 -12
  120. package/templates/commonproject/.gemini/commands/bmad-agent-cis-innovation-strategist.toml +0 -12
  121. package/templates/commonproject/.gemini/commands/bmad-agent-cis-presentation-master.toml +0 -12
  122. package/templates/commonproject/.gemini/commands/bmad-agent-cis-storyteller.toml +0 -12
  123. package/templates/commonproject/.gemini/commands/bmad-agent-core-bmad-master.toml +0 -12
  124. package/templates/commonproject/.gemini/commands/bmad-task-core-index-docs.toml +0 -12
  125. package/templates/commonproject/.gemini/commands/bmad-task-core-review-adversarial-general.toml +0 -12
  126. package/templates/commonproject/.gemini/commands/bmad-task-core-shard-doc.toml +0 -12
  127. package/templates/commonproject/.gemini/commands/bmad-task-core-workflow.toml +0 -12
  128. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-agent.toml +0 -4
  129. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-module.toml +0 -4
  130. package/templates/commonproject/.gemini/commands/bmad-workflow-bmb-workflow.toml +0 -4
  131. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-check-implementation-readiness.toml +0 -4
  132. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-code-review.toml +0 -12
  133. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-correct-course.toml +0 -12
  134. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-architecture.toml +0 -4
  135. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-epics-and-stories.toml +0 -4
  136. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-dataflow.toml +0 -12
  137. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-diagram.toml +0 -12
  138. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-flowchart.toml +0 -12
  139. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-excalidraw-wireframe.toml +0 -12
  140. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-product-brief.toml +0 -4
  141. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-story.toml +0 -12
  142. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-create-ux-design.toml +0 -4
  143. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-dev-story.toml +0 -12
  144. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-document-project.toml +0 -12
  145. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-generate-project-context.toml +0 -4
  146. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-prd.toml +0 -4
  147. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-dev.toml +0 -4
  148. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-quick-spec.toml +0 -4
  149. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-research.toml +0 -4
  150. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-retrospective.toml +0 -12
  151. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-planning.toml +0 -12
  152. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-sprint-status.toml +0 -12
  153. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-atdd.toml +0 -12
  154. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-automate.toml +0 -12
  155. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-ci.toml +0 -12
  156. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-framework.toml +0 -12
  157. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-nfr.toml +0 -12
  158. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-design.toml +0 -12
  159. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-test-review.toml +0 -12
  160. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-testarch-trace.toml +0 -12
  161. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-init.toml +0 -12
  162. package/templates/commonproject/.gemini/commands/bmad-workflow-bmm-workflow-status.toml +0 -12
  163. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-design-thinking.toml +0 -12
  164. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-innovation-strategy.toml +0 -12
  165. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-problem-solving.toml +0 -12
  166. package/templates/commonproject/.gemini/commands/bmad-workflow-cis-storytelling.toml +0 -12
  167. package/templates/commonproject/.gemini/commands/bmad-workflow-core-brainstorming.toml +0 -4
  168. package/templates/commonproject/.gemini/commands/bmad-workflow-core-party-mode.toml +0 -4
  169. package/templates/commonproject/.gemini/commands/bmad-workflow-custom-ticket-lifecycle.toml +0 -4
  170. package/templates/commonproject/.github/agents/bmd-custom-bmb-agent-builder.agent.md +0 -17
  171. package/templates/commonproject/.github/agents/bmd-custom-bmb-module-builder.agent.md +0 -17
  172. package/templates/commonproject/.github/agents/bmd-custom-bmb-workflow-builder.agent.md +0 -17
  173. package/templates/commonproject/.github/agents/bmd-custom-bmm-analyst.agent.md +0 -17
  174. package/templates/commonproject/.github/agents/bmd-custom-bmm-architect.agent.md +0 -17
  175. package/templates/commonproject/.github/agents/bmd-custom-bmm-dev.agent.md +0 -17
  176. package/templates/commonproject/.github/agents/bmd-custom-bmm-pm.agent.md +0 -17
  177. package/templates/commonproject/.github/agents/bmd-custom-bmm-quick-flow-solo-dev.agent.md +0 -17
  178. package/templates/commonproject/.github/agents/bmd-custom-bmm-sm.agent.md +0 -17
  179. package/templates/commonproject/.github/agents/bmd-custom-bmm-tea.agent.md +0 -17
  180. package/templates/commonproject/.github/agents/bmd-custom-bmm-tech-writer.agent.md +0 -17
  181. package/templates/commonproject/.github/agents/bmd-custom-bmm-ux-designer.agent.md +0 -17
  182. package/templates/commonproject/.github/agents/bmd-custom-cis-brainstorming-coach.agent.md +0 -17
  183. package/templates/commonproject/.github/agents/bmd-custom-cis-creative-problem-solver.agent.md +0 -17
  184. package/templates/commonproject/.github/agents/bmd-custom-cis-design-thinking-coach.agent.md +0 -17
  185. package/templates/commonproject/.github/agents/bmd-custom-cis-innovation-strategist.agent.md +0 -17
  186. package/templates/commonproject/.github/agents/bmd-custom-cis-presentation-master.agent.md +0 -17
  187. package/templates/commonproject/.github/agents/bmd-custom-cis-storyteller.agent.md +0 -17
  188. package/templates/commonproject/.github/agents/bmd-custom-core-bmad-master.agent.md +0 -17
  189. package/templates/commonproject/.mcp.json +0 -12
  190. package/templates/commonproject/.mise/scripts/claude +0 -13
  191. package/templates/commonproject/.mise/scripts/create-plane-project.sh +0 -149
  192. package/templates/commonproject/.mise/scripts/init-project.sh +0 -314
  193. package/templates/commonproject/.mise/scripts/link-agentfiles.sh +0 -9
  194. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-agent-builder.md +0 -14
  195. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-module-builder.md +0 -14
  196. package/templates/commonproject/.opencode/agent/bmad-agent-bmb-workflow-builder.md +0 -14
  197. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-analyst.md +0 -14
  198. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-architect.md +0 -14
  199. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-dev.md +0 -14
  200. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-pm.md +0 -14
  201. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-quick-flow-solo-dev.md +0 -14
  202. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-sm.md +0 -14
  203. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tea.md +0 -14
  204. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-tech-writer.md +0 -14
  205. package/templates/commonproject/.opencode/agent/bmad-agent-bmm-ux-designer.md +0 -14
  206. package/templates/commonproject/.opencode/agent/bmad-agent-cis-brainstorming-coach.md +0 -14
  207. package/templates/commonproject/.opencode/agent/bmad-agent-cis-creative-problem-solver.md +0 -14
  208. package/templates/commonproject/.opencode/agent/bmad-agent-cis-design-thinking-coach.md +0 -14
  209. package/templates/commonproject/.opencode/agent/bmad-agent-cis-innovation-strategist.md +0 -14
  210. package/templates/commonproject/.opencode/agent/bmad-agent-cis-presentation-master.md +0 -14
  211. package/templates/commonproject/.opencode/agent/bmad-agent-cis-storyteller.md +0 -14
  212. package/templates/commonproject/.opencode/agent/bmad-agent-core-bmad-master.md +0 -14
  213. package/templates/commonproject/.opencode/command/bmad-bmb-agent.md +0 -5
  214. package/templates/commonproject/.opencode/command/bmad-bmb-module.md +0 -5
  215. package/templates/commonproject/.opencode/command/bmad-bmb-workflow.md +0 -5
  216. package/templates/commonproject/.opencode/command/bmad-bmm-check-implementation-readiness.md +0 -5
  217. package/templates/commonproject/.opencode/command/bmad-bmm-code-review.md +0 -13
  218. package/templates/commonproject/.opencode/command/bmad-bmm-correct-course.md +0 -13
  219. package/templates/commonproject/.opencode/command/bmad-bmm-create-architecture.md +0 -5
  220. package/templates/commonproject/.opencode/command/bmad-bmm-create-epics-and-stories.md +0 -5
  221. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-dataflow.md +0 -13
  222. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-diagram.md +0 -13
  223. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-flowchart.md +0 -13
  224. package/templates/commonproject/.opencode/command/bmad-bmm-create-excalidraw-wireframe.md +0 -13
  225. package/templates/commonproject/.opencode/command/bmad-bmm-create-product-brief.md +0 -5
  226. package/templates/commonproject/.opencode/command/bmad-bmm-create-story.md +0 -13
  227. package/templates/commonproject/.opencode/command/bmad-bmm-create-ux-design.md +0 -5
  228. package/templates/commonproject/.opencode/command/bmad-bmm-dev-story.md +0 -13
  229. package/templates/commonproject/.opencode/command/bmad-bmm-document-project.md +0 -13
  230. package/templates/commonproject/.opencode/command/bmad-bmm-generate-project-context.md +0 -5
  231. package/templates/commonproject/.opencode/command/bmad-bmm-prd.md +0 -5
  232. package/templates/commonproject/.opencode/command/bmad-bmm-quick-dev.md +0 -5
  233. package/templates/commonproject/.opencode/command/bmad-bmm-quick-spec.md +0 -5
  234. package/templates/commonproject/.opencode/command/bmad-bmm-research.md +0 -5
  235. package/templates/commonproject/.opencode/command/bmad-bmm-retrospective.md +0 -13
  236. package/templates/commonproject/.opencode/command/bmad-bmm-sprint-planning.md +0 -13
  237. package/templates/commonproject/.opencode/command/bmad-bmm-sprint-status.md +0 -13
  238. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-atdd.md +0 -13
  239. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-automate.md +0 -13
  240. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-ci.md +0 -13
  241. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-framework.md +0 -13
  242. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-nfr.md +0 -13
  243. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-design.md +0 -13
  244. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-test-review.md +0 -13
  245. package/templates/commonproject/.opencode/command/bmad-bmm-testarch-trace.md +0 -13
  246. package/templates/commonproject/.opencode/command/bmad-bmm-workflow-init.md +0 -13
  247. package/templates/commonproject/.opencode/command/bmad-bmm-workflow-status.md +0 -13
  248. package/templates/commonproject/.opencode/command/bmad-cis-design-thinking.md +0 -13
  249. package/templates/commonproject/.opencode/command/bmad-cis-innovation-strategy.md +0 -13
  250. package/templates/commonproject/.opencode/command/bmad-cis-problem-solving.md +0 -13
  251. package/templates/commonproject/.opencode/command/bmad-cis-storytelling.md +0 -13
  252. package/templates/commonproject/.opencode/command/bmad-core-brainstorming.md +0 -5
  253. package/templates/commonproject/.opencode/command/bmad-core-party-mode.md +0 -5
  254. package/templates/commonproject/.opencode/command/bmad-custom-ticket-lifecycle.md +0 -5
  255. package/templates/commonproject/.opencode/command/bmad-task-core-index-docs.md +0 -9
  256. package/templates/commonproject/.opencode/command/bmad-task-core-shard-doc.md +0 -9
  257. package/templates/commonproject/.plane.json +0 -6
  258. package/templates/commonproject/.scripts/test-template.sh +0 -63
  259. package/templates/commonproject/AGENTS.md +0 -86
  260. package/templates/commonproject/README.md +0 -172
  261. package/templates/commonproject/_bmad/_config/agent-manifest.csv +0 -20
  262. package/templates/commonproject/_bmad/_config/agents/bmb-agent-builder.customize.yaml +0 -41
  263. package/templates/commonproject/_bmad/_config/agents/bmb-module-builder.customize.yaml +0 -41
  264. package/templates/commonproject/_bmad/_config/agents/bmb-workflow-builder.customize.yaml +0 -41
  265. package/templates/commonproject/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  266. package/templates/commonproject/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  267. package/templates/commonproject/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  268. package/templates/commonproject/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  269. package/templates/commonproject/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  270. package/templates/commonproject/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  271. package/templates/commonproject/_bmad/_config/agents/bmm-tea.customize.yaml +0 -41
  272. package/templates/commonproject/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  273. package/templates/commonproject/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  274. package/templates/commonproject/_bmad/_config/agents/cis-brainstorming-coach.customize.yaml +0 -41
  275. package/templates/commonproject/_bmad/_config/agents/cis-creative-problem-solver.customize.yaml +0 -41
  276. package/templates/commonproject/_bmad/_config/agents/cis-design-thinking-coach.customize.yaml +0 -41
  277. package/templates/commonproject/_bmad/_config/agents/cis-innovation-strategist.customize.yaml +0 -41
  278. package/templates/commonproject/_bmad/_config/agents/cis-presentation-master.customize.yaml +0 -41
  279. package/templates/commonproject/_bmad/_config/agents/cis-storyteller.customize.yaml +0 -41
  280. package/templates/commonproject/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  281. package/templates/commonproject/_bmad/_config/custom/cache-manifest.yaml +0 -4
  282. package/templates/commonproject/_bmad/_config/custom/custom/module.yaml +0 -8
  283. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
  284. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
  285. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
  286. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
  287. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
  288. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
  289. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
  290. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
  291. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
  292. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
  293. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
  294. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
  295. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
  296. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
  297. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.md +0 -84
  298. package/templates/commonproject/_bmad/_config/custom/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
  299. package/templates/commonproject/_bmad/_config/files-manifest.csv +0 -483
  300. package/templates/commonproject/_bmad/_config/ides/claude-code.yaml +0 -6
  301. package/templates/commonproject/_bmad/_config/ides/codex.yaml +0 -5
  302. package/templates/commonproject/_bmad/_config/manifest.yaml +0 -18
  303. package/templates/commonproject/_bmad/_config/task-manifest.csv +0 -5
  304. package/templates/commonproject/_bmad/_config/tool-manifest.csv +0 -1
  305. package/templates/commonproject/_bmad/_config/workflow-manifest.csv +0 -43
  306. package/templates/commonproject/_bmad/_memory/config.yaml +0 -11
  307. package/templates/commonproject/_bmad/_memory/storyteller-sidecar/stories-told.md +0 -7
  308. package/templates/commonproject/_bmad/_memory/storyteller-sidecar/story-preferences.md +0 -7
  309. package/templates/commonproject/_bmad/bmb/README.md +0 -25
  310. package/templates/commonproject/_bmad/bmb/agents/agent-builder.md +0 -64
  311. package/templates/commonproject/_bmad/bmb/agents/module-builder.md +0 -65
  312. package/templates/commonproject/_bmad/bmb/agents/workflow-builder.md +0 -66
  313. package/templates/commonproject/_bmad/bmb/config.yaml +0 -12
  314. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-compilation.md +0 -273
  315. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-menu-patterns.md +0 -233
  316. package/templates/commonproject/_bmad/bmb/workflows/agent/data/agent-metadata.md +0 -208
  317. package/templates/commonproject/_bmad/bmb/workflows/agent/data/brainstorm-context.md +0 -146
  318. package/templates/commonproject/_bmad/bmb/workflows/agent/data/communication-presets.csv +0 -61
  319. package/templates/commonproject/_bmad/bmb/workflows/agent/data/critical-actions.md +0 -120
  320. package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-architecture.md +0 -236
  321. package/templates/commonproject/_bmad/bmb/workflows/agent/data/expert-agent-validation.md +0 -174
  322. package/templates/commonproject/_bmad/bmb/workflows/agent/data/module-agent-validation.md +0 -126
  323. package/templates/commonproject/_bmad/bmb/workflows/agent/data/persona-properties.md +0 -266
  324. package/templates/commonproject/_bmad/bmb/workflows/agent/data/principles-crafting.md +0 -292
  325. package/templates/commonproject/_bmad/bmb/workflows/agent/data/reference/module-examples/architect.md +0 -68
  326. package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-architecture.md +0 -204
  327. package/templates/commonproject/_bmad/bmb/workflows/agent/data/simple-agent-validation.md +0 -133
  328. package/templates/commonproject/_bmad/bmb/workflows/agent/data/understanding-agent-types.md +0 -222
  329. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-01-brainstorm.md +0 -128
  330. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-02-discovery.md +0 -170
  331. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-03-type-metadata.md +0 -296
  332. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-04-persona.md +0 -212
  333. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-05-commands-menu.md +0 -178
  334. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-06-activation.md +0 -279
  335. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07a-build-simple.md +0 -187
  336. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07b-build-expert.md +0 -201
  337. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-07c-build-module.md +0 -258
  338. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-c/step-08-celebrate.md +0 -249
  339. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-01-load-existing.md +0 -221
  340. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-02-discover-edits.md +0 -193
  341. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-03-placeholder.md +0 -1
  342. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-04-type-metadata.md +0 -124
  343. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-05-persona.md +0 -134
  344. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-06-commands-menu.md +0 -122
  345. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-07-activation.md +0 -125
  346. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08a-edit-simple.md +0 -137
  347. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08b-edit-expert.md +0 -119
  348. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-08c-edit-module.md +0 -123
  349. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-e/e-09-celebrate.md +0 -155
  350. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-01-load-review.md +0 -136
  351. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02a-validate-metadata.md +0 -116
  352. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02b-validate-persona.md +0 -124
  353. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02c-validate-menu.md +0 -145
  354. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02d-validate-structure.md +0 -136
  355. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-02e-validate-sidecar.md +0 -136
  356. package/templates/commonproject/_bmad/bmb/workflows/agent/steps-v/v-03-summary.md +0 -104
  357. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/agent-plan.template.md +0 -5
  358. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/expert-agent-template/expert-agent.template.md +0 -77
  359. package/templates/commonproject/_bmad/bmb/workflows/agent/templates/simple-agent.template.md +0 -72
  360. package/templates/commonproject/_bmad/bmb/workflows/agent/workflow.md +0 -123
  361. package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-architecture.md +0 -179
  362. package/templates/commonproject/_bmad/bmb/workflows/module/data/agent-spec-template.md +0 -79
  363. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-installer-standards.md +0 -348
  364. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-standards.md +0 -280
  365. package/templates/commonproject/_bmad/bmb/workflows/module/data/module-yaml-conventions.md +0 -392
  366. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-01-welcome.md +0 -147
  367. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-02-spark.md +0 -140
  368. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-03-module-type.md +0 -148
  369. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-04-vision.md +0 -82
  370. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-05-identity.md +0 -96
  371. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-06-users.md +0 -85
  372. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-07-value.md +0 -75
  373. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-08-agents.md +0 -96
  374. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-09-workflows.md +0 -82
  375. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-10-tools.md +0 -90
  376. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-11-scenarios.md +0 -83
  377. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-12-creative.md +0 -94
  378. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-13-review.md +0 -104
  379. package/templates/commonproject/_bmad/bmb/workflows/module/steps-b/step-14-finalize.md +0 -117
  380. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01-load-brief.md +0 -178
  381. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-01b-continue.md +0 -83
  382. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-02-structure.md +0 -109
  383. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-03-config.md +0 -118
  384. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-04-installer.md +0 -160
  385. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-05-agents.md +0 -167
  386. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-06-workflows.md +0 -183
  387. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-07-docs.md +0 -402
  388. package/templates/commonproject/_bmad/bmb/workflows/module/steps-c/step-08-complete.md +0 -123
  389. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-01-load-target.md +0 -81
  390. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-02-select-edit.md +0 -77
  391. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-03-apply-edit.md +0 -77
  392. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-04-review.md +0 -80
  393. package/templates/commonproject/_bmad/bmb/workflows/module/steps-e/step-05-confirm.md +0 -75
  394. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-01-load-target.md +0 -96
  395. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-02-file-structure.md +0 -94
  396. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-03-module-yaml.md +0 -99
  397. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-04-agent-specs.md +0 -152
  398. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-05-workflow-specs.md +0 -152
  399. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-06-documentation.md +0 -143
  400. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-07-installation.md +0 -113
  401. package/templates/commonproject/_bmad/bmb/workflows/module/steps-v/step-08-report.md +0 -197
  402. package/templates/commonproject/_bmad/bmb/workflows/module/templates/brief-template.md +0 -154
  403. package/templates/commonproject/_bmad/bmb/workflows/module/templates/workflow-spec-template.md +0 -96
  404. package/templates/commonproject/_bmad/bmb/workflows/module/workflow.md +0 -100
  405. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/architecture.md +0 -152
  406. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/common-workflow-tools.csv +0 -19
  407. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/csv-data-file-standards.md +0 -81
  408. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/frontmatter-standards.md +0 -225
  409. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/input-discovery-standards.md +0 -269
  410. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/intent-vs-prescriptive-spectrum.md +0 -50
  411. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/menu-handling-standards.md +0 -167
  412. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/output-format-standards.md +0 -188
  413. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-file-rules.md +0 -235
  414. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/step-type-patterns.md +0 -311
  415. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/subprocess-optimization-patterns.md +0 -386
  416. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/trimodal-workflow-structure.md +0 -209
  417. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-chaining-standards.md +0 -271
  418. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-examples.md +0 -276
  419. package/templates/commonproject/_bmad/bmb/workflows/workflow/data/workflow-type-criteria.md +0 -172
  420. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-00-conversion.md +0 -262
  421. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01-discovery.md +0 -194
  422. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-01b-continuation.md +0 -3
  423. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-02-classification.md +0 -269
  424. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-03-requirements.md +0 -282
  425. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-04-tools.md +0 -281
  426. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-05-plan-review.md +0 -242
  427. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-06-design.md +0 -329
  428. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-07-foundation.md +0 -238
  429. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-08-build-step-01.md +0 -377
  430. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-09-build-next-step.md +0 -350
  431. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-10-confirmation.md +0 -320
  432. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-c/step-11-completion.md +0 -191
  433. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-01-assess-workflow.md +0 -237
  434. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-02-discover-edits.md +0 -248
  435. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-03-fix-validation.md +0 -252
  436. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-04-direct-edit.md +0 -275
  437. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-05-apply-edit.md +0 -154
  438. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-06-validate-after.md +0 -190
  439. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-e/step-e-07-complete.md +0 -206
  440. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate-max-mode.md +0 -109
  441. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01-validate.md +0 -221
  442. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-01b-structure.md +0 -152
  443. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02-frontmatter-validation.md +0 -199
  444. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-02b-path-violations.md +0 -265
  445. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-03-menu-validation.md +0 -164
  446. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-04-step-type-validation.md +0 -211
  447. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-05-output-format-validation.md +0 -200
  448. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-06-validation-design-check.md +0 -195
  449. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-07-instruction-style-check.md +0 -209
  450. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08-collaborative-experience-check.md +0 -199
  451. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-08b-subprocess-optimization.md +0 -179
  452. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-09-cohesive-review.md +0 -186
  453. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-10-report-complete.md +0 -154
  454. package/templates/commonproject/_bmad/bmb/workflows/workflow/steps-v/step-11-plan-validation.md +0 -237
  455. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/minimal-output-template.md +0 -11
  456. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-01-init-continuable-template.md +0 -241
  457. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-1b-template.md +0 -223
  458. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/step-template.md +0 -290
  459. package/templates/commonproject/_bmad/bmb/workflows/workflow/templates/workflow-template.md +0 -102
  460. package/templates/commonproject/_bmad/bmb/workflows/workflow/workflow.md +0 -109
  461. package/templates/commonproject/_bmad/bmm/agents/analyst.md +0 -82
  462. package/templates/commonproject/_bmad/bmm/agents/architect.md +0 -74
  463. package/templates/commonproject/_bmad/bmm/agents/dev.md +0 -76
  464. package/templates/commonproject/_bmad/bmm/agents/pm.md +0 -78
  465. package/templates/commonproject/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -74
  466. package/templates/commonproject/_bmad/bmm/agents/sm.md +0 -77
  467. package/templates/commonproject/_bmad/bmm/agents/tea.md +0 -77
  468. package/templates/commonproject/_bmad/bmm/agents/tech-writer.md +0 -78
  469. package/templates/commonproject/_bmad/bmm/agents/ux-designer.md +0 -74
  470. package/templates/commonproject/_bmad/bmm/config.yaml +0 -18
  471. package/templates/commonproject/_bmad/bmm/data/README.md +0 -29
  472. package/templates/commonproject/_bmad/bmm/data/documentation-standards.md +0 -262
  473. package/templates/commonproject/_bmad/bmm/data/project-context-template.md +0 -40
  474. package/templates/commonproject/_bmad/bmm/teams/default-party.csv +0 -21
  475. package/templates/commonproject/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  476. package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-request.md +0 -442
  477. package/templates/commonproject/_bmad/bmm/testarch/knowledge/api-testing-patterns.md +0 -843
  478. package/templates/commonproject/_bmad/bmm/testarch/knowledge/auth-session.md +0 -552
  479. package/templates/commonproject/_bmad/bmm/testarch/knowledge/burn-in.md +0 -273
  480. package/templates/commonproject/_bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  481. package/templates/commonproject/_bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  482. package/templates/commonproject/_bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  483. package/templates/commonproject/_bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  484. package/templates/commonproject/_bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  485. package/templates/commonproject/_bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  486. package/templates/commonproject/_bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  487. package/templates/commonproject/_bmad/bmm/testarch/knowledge/file-utils.md +0 -463
  488. package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  489. package/templates/commonproject/_bmad/bmm/testarch/knowledge/fixtures-composition.md +0 -382
  490. package/templates/commonproject/_bmad/bmm/testarch/knowledge/intercept-network-call.md +0 -430
  491. package/templates/commonproject/_bmad/bmm/testarch/knowledge/log.md +0 -429
  492. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-error-monitor.md +0 -405
  493. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-first.md +0 -486
  494. package/templates/commonproject/_bmad/bmm/testarch/knowledge/network-recorder.md +0 -527
  495. package/templates/commonproject/_bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  496. package/templates/commonproject/_bmad/bmm/testarch/knowledge/overview.md +0 -286
  497. package/templates/commonproject/_bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  498. package/templates/commonproject/_bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  499. package/templates/commonproject/_bmad/bmm/testarch/knowledge/recurse.md +0 -421
  500. package/templates/commonproject/_bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  501. package/templates/commonproject/_bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  502. package/templates/commonproject/_bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  503. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  504. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  505. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  506. package/templates/commonproject/_bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  507. package/templates/commonproject/_bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  508. package/templates/commonproject/_bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  509. package/templates/commonproject/_bmad/bmm/testarch/tea-index.csv +0 -34
  510. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  511. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  512. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  513. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  514. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  515. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  516. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  517. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -194
  518. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -58
  519. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  520. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  521. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  522. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  523. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  524. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -443
  525. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  526. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  527. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +0 -200
  528. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  529. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  530. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  531. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -475
  532. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  533. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  534. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  535. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  536. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  537. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -239
  538. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -486
  539. package/templates/commonproject/_bmad/bmm/workflows/1-analysis/research/workflow.md +0 -173
  540. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  541. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  542. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  543. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  544. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  545. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  546. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  547. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  548. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  549. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  550. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  551. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  552. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  553. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  554. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -228
  555. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  556. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -43
  557. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/domain-complexity.csv +0 -13
  558. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/prd-purpose.md +0 -197
  559. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/data/project-types.csv +0 -11
  560. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01-init.md +0 -191
  561. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01b-continue.md +0 -153
  562. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-02-discovery.md +0 -224
  563. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-03-success.md +0 -226
  564. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-04-journeys.md +0 -213
  565. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-05-domain.md +0 -207
  566. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-06-innovation.md +0 -226
  567. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-07-project-type.md +0 -237
  568. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-08-scoping.md +0 -228
  569. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-09-functional.md +0 -231
  570. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-10-nonfunctional.md +0 -242
  571. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-11-polish.md +0 -217
  572. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-12-complete.md +0 -180
  573. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01-discovery.md +0 -247
  574. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  575. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-02-review.md +0 -249
  576. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-03-edit.md +0 -253
  577. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-04-complete.md +0 -168
  578. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-01-discovery.md +0 -218
  579. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02-format-detection.md +0 -191
  580. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02b-parity-check.md +0 -209
  581. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-03-density-validation.md +0 -174
  582. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  583. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-05-measurability-validation.md +0 -228
  584. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-06-traceability-validation.md +0 -217
  585. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  586. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  587. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-09-project-type-validation.md +0 -263
  588. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-10-smart-validation.md +0 -209
  589. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  590. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-12-completeness-validation.md +0 -242
  591. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-13-report-complete.md +0 -232
  592. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/templates/prd-template.md +0 -10
  593. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/validation-report-prd-workflow.md +0 -433
  594. package/templates/commonproject/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +0 -150
  595. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -190
  596. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -178
  597. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -179
  598. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -139
  599. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -252
  600. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -133
  601. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  602. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -55
  603. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  604. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -11
  605. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  606. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  607. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -164
  608. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  609. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -331
  610. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  611. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  612. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  613. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  614. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -352
  615. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -50
  616. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  617. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  618. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  619. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -145
  620. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  621. package/templates/commonproject/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -59
  622. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  623. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  624. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -50
  625. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  626. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -206
  627. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -58
  628. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  629. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -345
  630. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  631. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -59
  632. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  633. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  634. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -25
  635. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1443
  636. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -57
  637. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  638. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -225
  639. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  640. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -52
  641. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -229
  642. package/templates/commonproject/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -35
  643. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -156
  644. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -120
  645. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -113
  646. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -113
  647. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -106
  648. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -140
  649. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -52
  650. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  651. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -144
  652. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -128
  653. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -173
  654. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  655. package/templates/commonproject/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  656. package/templates/commonproject/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  657. package/templates/commonproject/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  658. package/templates/commonproject/_bmad/bmm/workflows/document-project/instructions.md +0 -221
  659. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  660. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  661. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  662. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  663. package/templates/commonproject/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  664. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflow.yaml +0 -28
  665. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  666. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  667. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  668. package/templates/commonproject/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  669. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +0 -90
  670. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +0 -127
  671. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +0 -39
  672. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +0 -130
  673. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +0 -26
  674. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +0 -43
  675. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +0 -141
  676. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +0 -26
  677. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +0 -49
  678. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +0 -241
  679. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +0 -26
  680. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +0 -38
  681. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +0 -133
  682. package/templates/commonproject/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +0 -26
  683. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  684. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  685. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  686. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  687. package/templates/commonproject/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  688. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -364
  689. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/checklist.md +0 -374
  690. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/instructions.md +0 -806
  691. package/templates/commonproject/_bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -45
  692. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/checklist.md +0 -582
  693. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/instructions.md +0 -1324
  694. package/templates/commonproject/_bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -52
  695. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/checklist.md +0 -248
  696. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -198
  697. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -149
  698. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/instructions.md +0 -536
  699. package/templates/commonproject/_bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -45
  700. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  701. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/instructions.md +0 -481
  702. package/templates/commonproject/_bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -47
  703. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -407
  704. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  705. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -445
  706. package/templates/commonproject/_bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -47
  707. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/checklist.md +0 -235
  708. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/instructions.md +0 -788
  709. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -294
  710. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -54
  711. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/checklist.md +0 -472
  712. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/instructions.md +0 -628
  713. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -390
  714. package/templates/commonproject/_bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -46
  715. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/checklist.md +0 -655
  716. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/instructions.md +0 -1047
  717. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/trace-template.md +0 -675
  718. package/templates/commonproject/_bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -55
  719. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/instructions.md +0 -346
  720. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -29
  721. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/instructions.md +0 -395
  722. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -103
  723. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -100
  724. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -103
  725. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -100
  726. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  727. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -24
  728. package/templates/commonproject/_bmad/bmm/workflows/workflow-status/workflow.yaml +0 -30
  729. package/templates/commonproject/_bmad/cis/agents/brainstorming-coach.md +0 -66
  730. package/templates/commonproject/_bmad/cis/agents/creative-problem-solver.md +0 -66
  731. package/templates/commonproject/_bmad/cis/agents/design-thinking-coach.md +0 -66
  732. package/templates/commonproject/_bmad/cis/agents/innovation-strategist.md +0 -66
  733. package/templates/commonproject/_bmad/cis/agents/presentation-master.md +0 -72
  734. package/templates/commonproject/_bmad/cis/agents/storyteller/storyteller.md +0 -63
  735. package/templates/commonproject/_bmad/cis/config.yaml +0 -11
  736. package/templates/commonproject/_bmad/cis/teams/creative-squad.yaml +0 -7
  737. package/templates/commonproject/_bmad/cis/teams/default-party.csv +0 -12
  738. package/templates/commonproject/_bmad/cis/workflows/README.md +0 -139
  739. package/templates/commonproject/_bmad/cis/workflows/design-thinking/README.md +0 -56
  740. package/templates/commonproject/_bmad/cis/workflows/design-thinking/design-methods.csv +0 -31
  741. package/templates/commonproject/_bmad/cis/workflows/design-thinking/instructions.md +0 -202
  742. package/templates/commonproject/_bmad/cis/workflows/design-thinking/template.md +0 -111
  743. package/templates/commonproject/_bmad/cis/workflows/design-thinking/workflow.yaml +0 -27
  744. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/README.md +0 -56
  745. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +0 -31
  746. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/instructions.md +0 -276
  747. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/template.md +0 -189
  748. package/templates/commonproject/_bmad/cis/workflows/innovation-strategy/workflow.yaml +0 -27
  749. package/templates/commonproject/_bmad/cis/workflows/problem-solving/README.md +0 -56
  750. package/templates/commonproject/_bmad/cis/workflows/problem-solving/instructions.md +0 -252
  751. package/templates/commonproject/_bmad/cis/workflows/problem-solving/solving-methods.csv +0 -31
  752. package/templates/commonproject/_bmad/cis/workflows/problem-solving/template.md +0 -165
  753. package/templates/commonproject/_bmad/cis/workflows/problem-solving/workflow.yaml +0 -27
  754. package/templates/commonproject/_bmad/cis/workflows/storytelling/README.md +0 -58
  755. package/templates/commonproject/_bmad/cis/workflows/storytelling/instructions.md +0 -293
  756. package/templates/commonproject/_bmad/cis/workflows/storytelling/story-types.csv +0 -26
  757. package/templates/commonproject/_bmad/cis/workflows/storytelling/template.md +0 -113
  758. package/templates/commonproject/_bmad/cis/workflows/storytelling/workflow.yaml +0 -27
  759. package/templates/commonproject/_bmad/core/agents/bmad-master.md +0 -63
  760. package/templates/commonproject/_bmad/core/config.yaml +0 -9
  761. package/templates/commonproject/_bmad/core/resources/excalidraw/README.md +0 -160
  762. package/templates/commonproject/_bmad/core/resources/excalidraw/excalidraw-helpers.md +0 -127
  763. package/templates/commonproject/_bmad/core/resources/excalidraw/library-loader.md +0 -50
  764. package/templates/commonproject/_bmad/core/resources/excalidraw/validate-json-instructions.md +0 -79
  765. package/templates/commonproject/_bmad/core/tasks/index-docs.xml +0 -65
  766. package/templates/commonproject/_bmad/core/tasks/review-adversarial-general.xml +0 -41
  767. package/templates/commonproject/_bmad/core/tasks/shard-doc.xml +0 -109
  768. package/templates/commonproject/_bmad/core/tasks/workflow.xml +0 -235
  769. package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  770. package/templates/commonproject/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
  771. package/templates/commonproject/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  772. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -197
  773. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  774. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  775. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  776. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  777. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  778. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  779. package/templates/commonproject/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  780. package/templates/commonproject/_bmad/core/workflows/brainstorming/template.md +0 -15
  781. package/templates/commonproject/_bmad/core/workflows/brainstorming/workflow.md +0 -58
  782. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -139
  783. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -204
  784. package/templates/commonproject/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -159
  785. package/templates/commonproject/_bmad/core/workflows/party-mode/workflow.md +0 -206
  786. package/templates/commonproject/_bmad/custom/config.yaml +0 -11
  787. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/ac-sufficiency-rubric.md +0 -33
  788. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/audit-comment-template.md +0 -54
  789. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/data/event-schemas.md +0 -58
  790. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-01-init.md +0 -173
  791. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-02-triage.md +0 -159
  792. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-03-refine.md +0 -149
  793. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-04-implement.md +0 -147
  794. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-05-review.md +0 -146
  795. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-06-qa.md +0 -199
  796. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-c/step-07-complete.md +0 -141
  797. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-01-assess.md +0 -102
  798. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-e/step-02-apply.md +0 -85
  799. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/steps-v/step-01-validate.md +0 -154
  800. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow-plan-ticket-lifecycle.md +0 -346
  801. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.md +0 -84
  802. package/templates/commonproject/_bmad/custom/workflows/ticket-lifecycle/workflow.yaml +0 -39
  803. package/templates/commonproject/mise.toml +0 -38
  804. package/templates/commonproject/template/.mise/scripts/provision-bmad-skills.py +0 -480
  805. package/templates/commonproject/tests/test_provision_bmad_skills.py +0 -203
  806. package/templates/commonproject/tests/test_sync_skills_topology.py +0 -120
  807. package/templates/hermes-agent/README.md +0 -192
  808. package/templates/hermes-agent/config.example.toml +0 -1
  809. package/templates/hermes-agent/docs/architecture.md +0 -135
  810. package/templates/hermes-agent/docs/fleet-control-plane/README.md +0 -35
  811. package/templates/hermes-agent/docs/fleet-control-plane/architecture.md +0 -258
  812. package/templates/hermes-agent/docs/fleet-control-plane/epics-and-stories.md +0 -280
  813. package/templates/hermes-agent/docs/fleet-control-plane/implementation-readiness-report-2026-06-27.md +0 -118
  814. package/templates/hermes-agent/docs/fleet-control-plane/prd.md +0 -140
  815. package/templates/hermes-agent/docs/operations.md +0 -335
  816. package/templates/hermes-agent/docs/runbooks/runtime-checkpoint-repair.md +0 -31
  817. package/templates/hermes-agent/docs/sentinel/README.md +0 -119
  818. package/templates/hermes-agent/docs/sentinel/architecture.md +0 -202
  819. package/templates/hermes-agent/docs/sentinel/development.md +0 -274
  820. package/templates/hermes-agent/docs/sentinel/providers.md +0 -203
  821. package/templates/hermes-agent/docs/sentinel.md +0 -18
  822. package/templates/hermes-agent/install-local.sh +0 -253
  823. package/templates/hermes-agent/runtime-scaffold/.gitattributes +0 -10
  824. package/templates/hermes-agent/runtime-scaffold/README.md +0 -55
  825. package/templates/hermes-agent/runtime-scaffold/decisions/.gitkeep +0 -2
  826. package/templates/hermes-agent/runtime-scaffold/logs/.gitkeep +0 -1
  827. package/templates/hermes-agent/runtime-scaffold/memories/MEMORY.md +0 -47
  828. package/templates/hermes-agent/runtime-scaffold/memories/USER.md +0 -51
  829. package/templates/hermes-agent/scripts/backfill-fleet-sot.sh +0 -270
  830. package/templates/hermes-agent/scripts/degit-runtime.sh +0 -192
  831. package/templates/hermes-agent/scripts/fleet-prune-debris.sh +0 -128
  832. package/templates/hermes-agent/scripts/fleet-sync.sh +0 -526
  833. package/templates/hermes-agent/scripts/hermes-runtime-templatize.py +0 -321
  834. package/templates/hermes-agent/scripts/migrate-profile-scoped-chat-secrets.py +0 -136
  835. package/templates/hermes-agent/scripts/migrate-unify.sh +0 -252
  836. package/templates/hermes-agent/scripts/momo-unify-agent.py +0 -224
  837. package/templates/hermes-agent/scripts/repair-runtime-checkpoint.sh +0 -10
  838. package/templates/hermes-agent/scripts/retrofit-70-envfile.sh +0 -129
  839. package/templates/hermes-agent/scripts/unify-pm.sh +0 -148
  840. package/templates/hermes-agent/tests/test_bloodbank_consumer_contract.py +0 -437
  841. package/templates/hermes-agent/tests/test_fleet_upgrade_contract.py +0 -176
  842. package/templates/hermes-agent/tests/test_launcher_chat_secret_isolation.py +0 -85
  843. package/templates/hermes-agent/tests/test_local_runtime_provisioning.py +0 -130
  844. package/templates/hermes-agent/tests/test_operator_docs_local_runtime_contract.py +0 -132
  845. package/templates/hermes-agent/tests/test_profile_env_detach_contract.py +0 -14
  846. package/templates/hermes-agent/tests/test_profile_scoped_chat_secrets.py +0 -89
  847. package/templates/hermes-agent/tests/test_repository_privacy_contract.py +0 -32
  848. package/templates/hermes-agent/tests/test_slack_provisioning.py +0 -344
  849. package/templates/hermes-agent/tests/test_telegram_provisioning.py +0 -475
@@ -1,1047 +0,0 @@
1
- # Test Architect Workflow: Requirements Traceability & Quality Gate Decision
2
-
3
- **Workflow:** `testarch-trace`
4
- **Purpose:** Generate requirements-to-tests traceability matrix, analyze coverage gaps, and make quality gate decisions (PASS/CONCERNS/FAIL/WAIVED)
5
- **Agent:** Test Architect (TEA)
6
- **Format:** Pure Markdown v4.0 (no XML blocks)
7
-
8
- ---
9
-
10
- ## Overview
11
-
12
- This workflow operates in two sequential phases to validate test coverage and deployment readiness:
13
-
14
- **PHASE 1 - REQUIREMENTS TRACEABILITY:** Create comprehensive traceability matrix mapping acceptance criteria to implemented tests, identify coverage gaps, and provide actionable recommendations.
15
-
16
- **PHASE 2 - QUALITY GATE DECISION:** Use traceability results combined with test execution evidence to make gate decisions (PASS/CONCERNS/FAIL/WAIVED) that determine deployment readiness.
17
-
18
- **Key Capabilities:**
19
-
20
- - Map acceptance criteria to specific test cases across all levels (E2E, API, Component, Unit)
21
- - Classify coverage status (FULL, PARTIAL, NONE, UNIT-ONLY, INTEGRATION-ONLY)
22
- - Prioritize gaps by risk level (P0/P1/P2/P3) using test-priorities framework
23
- - Apply deterministic decision rules based on coverage and test execution results
24
- - Generate gate decisions with evidence and rationale
25
- - Support waivers for business-approved exceptions
26
- - Update workflow status and notify stakeholders
27
-
28
- ---
29
-
30
- ## Prerequisites
31
-
32
- **Required (Phase 1):**
33
-
34
- - Acceptance criteria (from story file OR provided inline)
35
- - Implemented test suite (or acknowledge gaps to be addressed)
36
-
37
- **Required (Phase 2 - if `enable_gate_decision: true`):**
38
-
39
- - Test execution results (CI/CD test reports, pass/fail rates)
40
- - Test design with risk priorities (P0/P1/P2/P3)
41
-
42
- **Recommended:**
43
-
44
- - `test-design.md` (for risk assessment and priority context)
45
- - `nfr-assessment.md` (for release-level gates)
46
- - `tech-spec.md` (for technical implementation context)
47
- - Test framework configuration (playwright.config.ts, jest.config.js, etc.)
48
-
49
- **Halt Conditions:**
50
-
51
- - If story lacks any implemented tests AND no gaps are acknowledged, recommend running `*atdd` workflow first
52
- - If acceptance criteria are completely missing, halt and request them
53
- - If Phase 2 enabled but test execution results missing, warn and skip gate decision
54
-
55
- Note: `*trace` never runs `*atdd` automatically; it only recommends running it when tests are missing.
56
-
57
- ---
58
-
59
- ## PHASE 1: REQUIREMENTS TRACEABILITY
60
-
61
- This phase focuses on mapping requirements to tests, analyzing coverage, and identifying gaps.
62
-
63
- ---
64
-
65
- ### Step 1: Load Context and Knowledge Base
66
-
67
- **Actions:**
68
-
69
- 1. Load relevant knowledge fragments from `{project-root}/_bmad/bmm/testarch/tea-index.csv`:
70
- - `test-priorities-matrix.md` - P0/P1/P2/P3 risk framework with automated priority calculation, risk-based mapping, tagging strategy (389 lines, 2 examples)
71
- - `risk-governance.md` - Risk-based testing approach: 6 categories (TECH, SEC, PERF, DATA, BUS, OPS), automated scoring, gate decision engine, coverage traceability (625 lines, 4 examples)
72
- - `probability-impact.md` - Risk scoring methodology: probability × impact matrix, automated classification, dynamic re-assessment, gate integration (604 lines, 4 examples)
73
- - `test-quality.md` - Definition of Done for tests: deterministic, isolated with cleanup, explicit assertions, length/time limits (658 lines, 5 examples)
74
- - `selective-testing.md` - Duplicate coverage patterns: tag-based, spec filters, diff-based selection, promotion rules (727 lines, 4 examples)
75
-
76
- 2. Read story file (if provided):
77
- - Extract acceptance criteria
78
- - Identify story ID (e.g., 1.3)
79
- - Note any existing test design or priority information
80
-
81
- 3. Read related BMad artifacts (if available):
82
- - `test-design.md` - Risk assessment and test priorities
83
- - `tech-spec.md` - Technical implementation details
84
- - `PRD.md` - Product requirements context
85
-
86
- **Output:** Complete understanding of requirements, priorities, and existing context
87
-
88
- ---
89
-
90
- ### Step 2: Discover and Catalog Tests
91
-
92
- **Actions:**
93
-
94
- 1. Auto-discover test files related to the story:
95
- - Search for test IDs (e.g., `1.3-E2E-001`, `1.3-UNIT-005`)
96
- - Search for describe blocks mentioning feature name
97
- - Search for file paths matching feature directory
98
- - Use `glob` to find test files in `{test_dir}`
99
-
100
- 2. Categorize tests by level:
101
- - **E2E Tests**: Full user journeys through UI
102
- - **API Tests**: HTTP contract and integration tests
103
- - **Component Tests**: UI component behavior in isolation
104
- - **Unit Tests**: Business logic and pure functions
105
-
106
- 3. Extract test metadata:
107
- - Test ID (if present)
108
- - Describe/context blocks
109
- - It blocks (individual test cases)
110
- - Given-When-Then structure (if BDD)
111
- - Assertions used
112
- - Priority markers (P0/P1/P2/P3)
113
-
114
- **Output:** Complete catalog of all tests for this feature
115
-
116
- ---
117
-
118
- ### Step 3: Map Criteria to Tests
119
-
120
- **Actions:**
121
-
122
- 1. For each acceptance criterion:
123
- - Search for explicit references (test IDs, describe blocks mentioning criterion)
124
- - Map to specific test files and it blocks
125
- - Use Given-When-Then narrative to verify alignment
126
- - Document test level (E2E, API, Component, Unit)
127
-
128
- 2. Build traceability matrix:
129
-
130
- ```
131
- | Criterion ID | Description | Test ID | Test File | Test Level | Coverage Status |
132
- | ------------ | ----------- | ----------- | ---------------- | ---------- | --------------- |
133
- | AC-1 | User can... | 1.3-E2E-001 | e2e/auth.spec.ts | E2E | FULL |
134
- ```
135
-
136
- 3. Classify coverage status for each criterion:
137
- - **FULL**: All scenarios validated at appropriate level(s)
138
- - **PARTIAL**: Some coverage but missing edge cases or levels
139
- - **NONE**: No test coverage at any level
140
- - **UNIT-ONLY**: Only unit tests (missing integration/E2E validation)
141
- - **INTEGRATION-ONLY**: Only API/Component tests (missing unit confidence)
142
-
143
- 4. Check for duplicate coverage:
144
- - Same behavior tested at multiple levels unnecessarily
145
- - Flag violations of selective testing principles
146
- - Recommend consolidation where appropriate
147
-
148
- **Output:** Complete traceability matrix with coverage classifications
149
-
150
- ---
151
-
152
- ### Step 4: Analyze Gaps and Prioritize
153
-
154
- **Actions:**
155
-
156
- 1. Identify coverage gaps:
157
- - List criteria with NONE, PARTIAL, UNIT-ONLY, or INTEGRATION-ONLY status
158
- - Assign severity based on test-priorities framework:
159
- - **CRITICAL**: P0 criteria without FULL coverage (blocks release)
160
- - **HIGH**: P1 criteria without FULL coverage (PR blocker)
161
- - **MEDIUM**: P2 criteria without FULL coverage (nightly test gap)
162
- - **LOW**: P3 criteria without FULL coverage (acceptable gap)
163
-
164
- 2. Recommend specific tests to add:
165
- - Suggest test level (E2E, API, Component, Unit)
166
- - Provide test description (Given-When-Then)
167
- - Recommend test ID (e.g., `1.3-E2E-004`)
168
- - Explain why this test is needed
169
-
170
- 3. Calculate coverage metrics:
171
- - Overall coverage percentage (criteria with FULL coverage / total criteria)
172
- - P0 coverage percentage (critical paths)
173
- - P1 coverage percentage (high priority)
174
- - Coverage by level (E2E%, API%, Component%, Unit%)
175
-
176
- 4. Check against quality gates:
177
- - P0 coverage >= 100% (required)
178
- - P1 coverage >= 90% (recommended)
179
- - Overall coverage >= 80% (recommended)
180
-
181
- **Output:** Prioritized gap analysis with actionable recommendations and coverage metrics
182
-
183
- ---
184
-
185
- ### Step 5: Verify Test Quality
186
-
187
- **Actions:**
188
-
189
- 1. For each mapped test, verify:
190
- - Explicit assertions are present (not hidden in helpers)
191
- - Test follows Given-When-Then structure
192
- - No hard waits or sleeps
193
- - Self-cleaning (test cleans up its data)
194
- - File size < 300 lines
195
- - Test duration < 90 seconds
196
-
197
- 2. Flag quality issues:
198
- - **BLOCKER**: Missing assertions, hard waits, flaky patterns
199
- - **WARNING**: Large files, slow tests, unclear structure
200
- - **INFO**: Style inconsistencies, missing documentation
201
-
202
- 3. Reference knowledge fragments:
203
- - `test-quality.md` for Definition of Done
204
- - `fixture-architecture.md` for self-cleaning patterns
205
- - `network-first.md` for Playwright best practices
206
- - `data-factories.md` for test data patterns
207
-
208
- **Output:** Quality assessment for each test with improvement recommendations
209
-
210
- ---
211
-
212
- ### Step 6: Generate Deliverables (Phase 1)
213
-
214
- **Actions:**
215
-
216
- 1. Create traceability matrix markdown file:
217
- - Use template from `trace-template.md`
218
- - Include full mapping table
219
- - Add coverage status section
220
- - Add gap analysis section
221
- - Add quality assessment section
222
- - Add recommendations section
223
- - Save to `{output_folder}/traceability-matrix.md`
224
-
225
- 2. Generate gate YAML snippet (if enabled):
226
-
227
- ```yaml
228
- traceability:
229
- story_id: '1.3'
230
- coverage:
231
- overall: 85%
232
- p0: 100%
233
- p1: 90%
234
- p2: 75%
235
- gaps:
236
- critical: 0
237
- high: 1
238
- medium: 2
239
- status: 'PASS' # or "FAIL" if P0 < 100%
240
- ```
241
-
242
- 3. Create coverage badge/metric (if enabled):
243
- - Generate badge markdown: `![Coverage](https://img.shields.io/badge/coverage-85%25-green)`
244
- - Export metrics to JSON for CI/CD integration
245
-
246
- 4. Update story file (if enabled):
247
- - Add "Traceability" section to story markdown
248
- - Link to traceability matrix
249
- - Include coverage summary
250
- - Add gate status
251
-
252
- **Output:** Complete Phase 1 traceability deliverables
253
-
254
- **Next:** If `enable_gate_decision: true`, proceed to Phase 2. Otherwise, workflow complete.
255
-
256
- ---
257
-
258
- ## PHASE 2: QUALITY GATE DECISION
259
-
260
- This phase uses traceability results to make a quality gate decision (PASS/CONCERNS/FAIL/WAIVED) based on evidence and decision rules.
261
-
262
- **When Phase 2 Runs:** Automatically after Phase 1 if `enable_gate_decision: true` (default: true)
263
-
264
- **Skip Conditions:** If test execution results (`test_results`) not provided, warn and skip Phase 2.
265
-
266
- ---
267
-
268
- ### Step 7: Gather Quality Evidence
269
-
270
- **Actions:**
271
-
272
- 1. **Load Phase 1 traceability results** (inherited context):
273
- - Coverage metrics (P0/P1/overall percentages)
274
- - Gap analysis (missing/partial tests)
275
- - Quality concerns (test quality flags)
276
- - Traceability matrix
277
-
278
- 2. **Load test execution results** (if `test_results` provided):
279
- - Read CI/CD test reports (JUnit XML, TAP, JSON)
280
- - Extract pass/fail counts by priority
281
- - Calculate pass rates:
282
- - **P0 pass rate**: `(P0 passed / P0 total) * 100`
283
- - **P1 pass rate**: `(P1 passed / P1 total) * 100`
284
- - **Overall pass rate**: `(All passed / All total) * 100`
285
- - Identify failing tests and map to criteria
286
-
287
- 3. **Load NFR assessment** (if `nfr_file` provided):
288
- - Read `nfr-assessment.md` or similar
289
- - Check critical NFR status (performance, security, scalability)
290
- - Flag any critical NFR failures
291
-
292
- 4. **Load supporting artifacts**:
293
- - `test-design.md` → Risk priorities, DoD checklist
294
- - `story-*.md` or `Epics.md` → Requirements context
295
- - `bmm-workflow-status.md` → Workflow completion status (if `check_all_workflows_complete: true`)
296
-
297
- 5. **Validate evidence freshness** (if `validate_evidence_freshness: true`):
298
- - Check timestamps of test-design, traceability, NFR assessments
299
- - Warn if artifacts are >7 days old
300
-
301
- 6. **Check prerequisite workflows** (if `check_all_workflows_complete: true`):
302
- - Verify test-design workflow complete
303
- - Verify trace workflow complete (Phase 1)
304
- - Verify nfr-assess workflow complete (if release-level gate)
305
-
306
- **Output:** Consolidated evidence bundle with all quality signals
307
-
308
- ---
309
-
310
- ### Step 8: Apply Decision Rules
311
-
312
- **If `decision_mode: "deterministic"`** (rule-based - default):
313
-
314
- **Decision rules** (based on `workflow.yaml` thresholds):
315
-
316
- 1. **PASS** if ALL of the following are true:
317
- - P0 coverage ≥ `min_p0_coverage` (default: 100%)
318
- - P1 coverage ≥ `min_p1_coverage` (default: 90%)
319
- - Overall coverage ≥ `min_overall_coverage` (default: 80%)
320
- - P0 test pass rate = `min_p0_pass_rate` (default: 100%)
321
- - P1 test pass rate ≥ `min_p1_pass_rate` (default: 95%)
322
- - Overall test pass rate ≥ `min_overall_pass_rate` (default: 90%)
323
- - Critical NFRs passed (if `nfr_file` provided)
324
- - No unresolved security issues ≤ `max_security_issues` (default: 0)
325
- - No test quality red flags (hard waits, no assertions)
326
-
327
- 2. **CONCERNS** if ANY of the following are true:
328
- - P1 coverage 80-89% (below threshold but not critical)
329
- - P1 test pass rate 90-94% (below threshold but not critical)
330
- - Overall pass rate 85-89%
331
- - P2 coverage <50% (informational)
332
- - Some non-critical NFRs failing
333
- - Minor test quality concerns (large test files, inferred mappings)
334
- - **Note**: CONCERNS does NOT block deployment but requires acknowledgment
335
-
336
- 3. **FAIL** if ANY of the following are true:
337
- - P0 coverage <100% (missing critical tests)
338
- - P0 test pass rate <100% (failing critical tests)
339
- - P1 coverage <80% (significant gap)
340
- - P1 test pass rate <90% (significant failures)
341
- - Overall coverage <80%
342
- - Overall pass rate <85%
343
- - Critical NFRs failing (`max_critical_nfrs_fail` exceeded)
344
- - Unresolved security issues (`max_security_issues` exceeded)
345
- - Major test quality issues (tests with no assertions, pervasive hard waits)
346
-
347
- 4. **WAIVED** (only if `allow_waivers: true`):
348
- - Decision would be FAIL based on rules above
349
- - Business stakeholder has approved waiver
350
- - Waiver documented with:
351
- - Justification (time constraint, known limitation, acceptable risk)
352
- - Approver name and date
353
- - Mitigation plan (follow-up stories, manual testing)
354
- - Waiver evidence linked (email, Slack thread, ticket)
355
-
356
- **Risk tolerance adjustments:**
357
-
358
- - If `allow_p2_failures: true` → P2 test failures do NOT affect gate decision
359
- - If `allow_p3_failures: true` → P3 test failures do NOT affect gate decision
360
- - If `escalate_p1_failures: true` → P1 failures require explicit manager/lead approval
361
-
362
- **If `decision_mode: "manual"`:**
363
-
364
- - Present evidence summary to team
365
- - Recommend decision based on rules above
366
- - Team makes final call in meeting/chat
367
- - Document decision with approver names
368
-
369
- **Output:** Gate decision (PASS/CONCERNS/FAIL/WAIVED) with rule-based rationale
370
-
371
- ---
372
-
373
- ### Step 9: Document Decision and Evidence
374
-
375
- **Actions:**
376
-
377
- 1. **Create gate decision document**:
378
- - Save to `gate_output_file` (default: `{output_folder}/gate-decision-{gate_type}-{story_id}.md`)
379
- - Use structure below
380
-
381
- 2. **Document structure**:
382
-
383
- ```markdown
384
- # Quality Gate Decision: {gate_type} {story_id/epic_num/release_version}
385
-
386
- **Decision**: [PASS / CONCERNS / FAIL / WAIVED]
387
- **Date**: {date}
388
- **Decider**: {decision_mode} (deterministic | manual)
389
- **Evidence Date**: {test_results_date}
390
-
391
- ---
392
-
393
- ## Summary
394
-
395
- [1-2 sentence summary of decision and key factors]
396
-
397
- ---
398
-
399
- ## Decision Criteria
400
-
401
- | Criterion | Threshold | Actual | Status |
402
- | ----------------- | --------- | -------- | ------- |
403
- | P0 Coverage | ≥100% | 100% | ✅ PASS |
404
- | P1 Coverage | ≥90% | 88% | ⚠️ FAIL |
405
- | Overall Coverage | ≥80% | 92% | ✅ PASS |
406
- | P0 Pass Rate | 100% | 100% | ✅ PASS |
407
- | P1 Pass Rate | ≥95% | 98% | ✅ PASS |
408
- | Overall Pass Rate | ≥90% | 96% | ✅ PASS |
409
- | Critical NFRs | All Pass | All Pass | ✅ PASS |
410
- | Security Issues | 0 | 0 | ✅ PASS |
411
-
412
- **Overall Status**: 7/8 criteria met → Decision: **CONCERNS**
413
-
414
- ---
415
-
416
- ## Evidence Summary
417
-
418
- ### Test Coverage (from Phase 1 Traceability)
419
-
420
- - **P0 Coverage**: 100% (5/5 criteria fully covered)
421
- - **P1 Coverage**: 88% (7/8 criteria fully covered)
422
- - **Overall Coverage**: 92% (12/13 criteria covered)
423
- - **Gap**: AC-5 (P1) missing E2E test
424
-
425
- ### Test Execution Results
426
-
427
- - **P0 Pass Rate**: 100% (12/12 tests passed)
428
- - **P1 Pass Rate**: 98% (45/46 tests passed)
429
- - **Overall Pass Rate**: 96% (67/70 tests passed)
430
- - **Failures**: 3 P2 tests (non-blocking)
431
-
432
- ### Non-Functional Requirements
433
-
434
- - Performance: ✅ PASS (response time <500ms)
435
- - Security: ✅ PASS (no vulnerabilities)
436
- - Scalability: ✅ PASS (handles 10K users)
437
-
438
- ### Test Quality
439
-
440
- - All tests have explicit assertions ✅
441
- - No hard waits detected ✅
442
- - Test files <300 lines ✅
443
- - Test IDs follow convention ✅
444
-
445
- ---
446
-
447
- ## Decision Rationale
448
-
449
- **Why CONCERNS (not PASS)**:
450
-
451
- - P1 coverage at 88% is below 90% threshold
452
- - AC-5 (P1 priority) missing E2E test for error handling scenario
453
- - This is a known gap from test-design phase
454
-
455
- **Why CONCERNS (not FAIL)**:
456
-
457
- - P0 coverage is 100% (critical paths validated)
458
- - Overall coverage is 92% (above 80% threshold)
459
- - Test pass rate is excellent (96% overall)
460
- - Gap is isolated to one P1 criterion (not systemic)
461
-
462
- **Recommendation**:
463
-
464
- - Acknowledge gap and proceed with deployment
465
- - Add missing AC-5 E2E test in next sprint
466
- - Create follow-up story: "Add E2E test for AC-5 error handling"
467
-
468
- ---
469
-
470
- ## Next Steps
471
-
472
- - [ ] Create follow-up story for AC-5 E2E test
473
- - [ ] Deploy to staging environment
474
- - [ ] Monitor production for edge cases related to AC-5
475
- - [ ] Update traceability matrix after follow-up test added
476
-
477
- ---
478
-
479
- ## References
480
-
481
- - Traceability Matrix: `_bmad/output/traceability-matrix.md`
482
- - Test Design: `_bmad/output/test-design-epic-2.md`
483
- - Test Results: `ci-artifacts/test-report-2025-01-15.xml`
484
- - NFR Assessment: `_bmad/output/nfr-assessment-release-1.2.md`
485
- ```
486
-
487
- 3. **Include evidence links** (if `require_evidence: true`):
488
- - Link to traceability matrix
489
- - Link to test execution reports (CI artifacts)
490
- - Link to NFR assessment
491
- - Link to test-design document
492
- - Link to relevant PRs, commits, deployments
493
-
494
- 4. **Waiver documentation** (if decision is WAIVED):
495
- - Approver name and role (e.g., "Jane Doe, Engineering Manager")
496
- - Approval date and method (e.g., "2025-01-15, Slack thread")
497
- - Justification (e.g., "Time-boxed MVP, missing tests will be added in v1.1")
498
- - Mitigation plan (e.g., "Manual testing by QA, follow-up stories created")
499
- - Evidence link (e.g., "Slack: #engineering 2025-01-15 3:42pm")
500
-
501
- **Output:** Complete gate decision document with evidence and rationale
502
-
503
- ---
504
-
505
- ### Step 10: Update Status Tracking and Notify
506
-
507
- **Actions:**
508
-
509
- 1. **Update workflow status** (if `append_to_history: true`):
510
- - Append gate decision to `bmm-workflow-status.md` under "Gate History" section
511
- - Format:
512
-
513
- ```markdown
514
- ## Gate History
515
-
516
- ### Story 1.3 - User Login (2025-01-15)
517
-
518
- - **Decision**: CONCERNS
519
- - **Reason**: P1 coverage 88% (below 90%)
520
- - **Document**: [gate-decision-story-1.3.md](_bmad/output/gate-decision-story-1.3.md)
521
- - **Action**: Deploy with follow-up story for AC-5
522
- ```
523
-
524
- 2. **Generate stakeholder notification** (if `notify_stakeholders: true`):
525
- - Create concise summary message for team communication
526
- - Include: Decision, key metrics, action items
527
- - Format for Slack/email/chat:
528
-
529
- ```
530
- 🚦 Quality Gate Decision: Story 1.3 - User Login
531
-
532
- Decision: ⚠️ CONCERNS
533
- - P0 Coverage: ✅ 100%
534
- - P1 Coverage: ⚠️ 88% (below 90%)
535
- - Test Pass Rate: ✅ 96%
536
-
537
- Action Required:
538
- - Create follow-up story for AC-5 E2E test
539
- - Deploy to staging for validation
540
-
541
- Full Report: _bmad/output/gate-decision-story-1.3.md
542
- ```
543
-
544
- 3. **Request sign-off** (if `require_sign_off: true`):
545
- - Prompt for named approver (tech lead, QA lead, PM)
546
- - Document approver name and timestamp in gate decision
547
- - Block until sign-off received (interactive prompt)
548
-
549
- **Output:** Status tracking updated, stakeholders notified, sign-off obtained (if required)
550
-
551
- **Workflow Complete**: Both Phase 1 (traceability) and Phase 2 (gate decision) deliverables generated.
552
-
553
- ---
554
-
555
- ## Decision Matrix (Quick Reference)
556
-
557
- | Scenario | P0 Cov | P1 Cov | Overall Cov | P0 Pass | P1 Pass | Overall Pass | NFRs | Decision |
558
- | --------------- | ----------------- | ------ | ----------- | ------- | ------- | ------------ | ---- | ------------ |
559
- | All green | 100% | ≥90% | ≥80% | 100% | ≥95% | ≥90% | Pass | **PASS** |
560
- | Minor gap | 100% | 80-89% | ≥80% | 100% | 90-94% | 85-89% | Pass | **CONCERNS** |
561
- | Missing P0 | <100% | - | - | - | - | - | - | **FAIL** |
562
- | P0 test fail | 100% | - | - | <100% | - | - | - | **FAIL** |
563
- | P1 gap | 100% | <80% | - | 100% | - | - | - | **FAIL** |
564
- | NFR fail | 100% | ≥90% | ≥80% | 100% | ≥95% | ≥90% | Fail | **FAIL** |
565
- | Security issue | - | - | - | - | - | - | Yes | **FAIL** |
566
- | Business waiver | [FAIL conditions] | - | - | - | - | - | - | **WAIVED** |
567
-
568
- ---
569
-
570
- ## Waiver Management
571
-
572
- **When to use waivers:**
573
-
574
- - Time-boxed MVP releases (known gaps, follow-up planned)
575
- - Low-risk P1 gaps with mitigation (manual testing, monitoring)
576
- - Technical debt acknowledged by product/engineering leadership
577
- - External dependencies blocking test automation
578
-
579
- **Waiver approval process:**
580
-
581
- 1. Document gap and risk in gate decision
582
- 2. Propose mitigation plan (manual testing, follow-up stories, monitoring)
583
- 3. Request approval from stakeholder (EM, PM, QA lead)
584
- 4. Link approval evidence (email, chat thread, meeting notes)
585
- 5. Add waiver to gate decision document
586
- 6. Create follow-up stories to close gaps
587
-
588
- **Waiver does NOT apply to:**
589
-
590
- - P0 gaps (always blocking)
591
- - Critical security issues (always blocking)
592
- - Critical NFR failures (performance, data integrity)
593
-
594
- ---
595
-
596
- ## Example Gate Decisions
597
-
598
- ### Example 1: PASS (All Criteria Met)
599
-
600
- ```
601
- Decision: ✅ PASS
602
-
603
- Summary: All quality criteria met. Story 1.3 is ready for production deployment.
604
-
605
- Evidence:
606
- - P0 Coverage: 100% (5/5 criteria)
607
- - P1 Coverage: 95% (19/20 criteria)
608
- - Overall Coverage: 92% (24/26 criteria)
609
- - P0 Pass Rate: 100% (12/12 tests)
610
- - P1 Pass Rate: 98% (45/46 tests)
611
- - Overall Pass Rate: 96% (67/70 tests)
612
- - NFRs: All pass (performance, security, scalability)
613
-
614
- Action: Deploy to production ✅
615
- ```
616
-
617
- ### Example 2: CONCERNS (Minor Gap, Non-Blocking)
618
-
619
- ```
620
- Decision: ⚠️ CONCERNS
621
-
622
- Summary: P1 coverage slightly below threshold (88% vs 90%). Recommend deploying with follow-up story.
623
-
624
- Evidence:
625
- - P0 Coverage: 100% ✅
626
- - P1 Coverage: 88% ⚠️ (below 90%)
627
- - Overall Coverage: 92% ✅
628
- - Test Pass Rate: 96% ✅
629
- - Gap: AC-5 (P1) missing E2E test
630
-
631
- Action:
632
- - Deploy to staging for validation
633
- - Create follow-up story for AC-5 E2E test
634
- - Monitor production for edge cases related to AC-5
635
- ```
636
-
637
- ### Example 3: FAIL (P0 Gap, Blocking)
638
-
639
- ```
640
- Decision: ❌ FAIL
641
-
642
- Summary: P0 coverage incomplete. Missing critical validation test. BLOCKING deployment.
643
-
644
- Evidence:
645
- - P0 Coverage: 80% ❌ (4/5 criteria, AC-2 missing)
646
- - AC-2: "User cannot login with invalid credentials" (P0 priority)
647
- - No tests validate login security for invalid credentials
648
- - This is a critical security gap
649
-
650
- Action:
651
- - Add P0 test for AC-2: 1.3-E2E-004 (invalid credentials)
652
- - Re-run traceability after test added
653
- - Re-evaluate gate decision after P0 coverage = 100%
654
-
655
- Deployment BLOCKED until P0 gap resolved ❌
656
- ```
657
-
658
- ### Example 4: WAIVED (Business Decision)
659
-
660
- ```
661
- Decision: ⚠️ WAIVED
662
-
663
- Summary: P1 coverage below threshold (75% vs 90%), but waived for MVP launch.
664
-
665
- Evidence:
666
- - P0 Coverage: 100% ✅
667
- - P1 Coverage: 75% ❌ (below 90%)
668
- - Gap: 5 P1 criteria missing E2E tests (error handling, edge cases)
669
-
670
- Waiver:
671
- - Approver: Jane Doe, Engineering Manager
672
- - Date: 2025-01-15
673
- - Justification: Time-boxed MVP for investor demo. Core functionality (P0) fully validated. P1 gaps are low-risk edge cases.
674
- - Mitigation: Manual QA testing for P1 scenarios, follow-up stories created for automated tests in v1.1
675
- - Evidence: Slack #engineering 2025-01-15 3:42pm
676
-
677
- Action:
678
- - Deploy to production with manual QA validation ✅
679
- - Add 5 E2E tests for P1 gaps in v1.1 sprint
680
- - Monitor production logs for edge case occurrences
681
- ```
682
-
683
- ---
684
-
685
- ## Non-Prescriptive Approach
686
-
687
- **Minimal Examples:** This workflow provides principles and patterns, not rigid templates. Teams should adapt the traceability and gate decision formats to their needs.
688
-
689
- **Key Patterns to Follow:**
690
-
691
- - Map criteria to tests explicitly (don't rely on inference alone)
692
- - Prioritize by risk (P0 gaps are critical, P3 gaps are acceptable)
693
- - Check coverage at appropriate levels (E2E for journeys, Unit for logic)
694
- - Verify test quality (explicit assertions, no flakiness)
695
- - Apply deterministic gate rules for consistency
696
- - Document gate decisions with clear evidence
697
- - Use waivers judiciously (business approved, mitigation planned)
698
-
699
- **Extend as Needed:**
700
-
701
- - Add custom coverage classifications
702
- - Integrate with code coverage tools (Istanbul, NYC)
703
- - Link to external traceability systems (JIRA, Azure DevOps)
704
- - Add compliance or regulatory requirements
705
- - Customize gate decision thresholds per project
706
- - Add manual approval workflows for gate decisions
707
-
708
- ---
709
-
710
- ## Coverage Classification Details
711
-
712
- ### FULL Coverage
713
-
714
- - All scenarios validated at appropriate test level(s)
715
- - Edge cases considered
716
- - Both happy path and error paths tested
717
- - Assertions are explicit and complete
718
-
719
- ### PARTIAL Coverage
720
-
721
- - Some scenarios validated but missing edge cases
722
- - Only happy path tested (missing error paths)
723
- - Assertions present but incomplete
724
- - Coverage exists but needs enhancement
725
-
726
- ### NONE Coverage
727
-
728
- - No tests found for this criterion
729
- - Complete gap requiring new tests
730
- - Critical if P0/P1, acceptable if P3
731
-
732
- ### UNIT-ONLY Coverage
733
-
734
- - Only unit tests exist (business logic validated)
735
- - Missing integration or E2E validation
736
- - Risk: Implementation may not work end-to-end
737
- - Recommendation: Add integration or E2E tests for critical paths
738
-
739
- ### INTEGRATION-ONLY Coverage
740
-
741
- - Only API or Component tests exist
742
- - Missing unit test confidence for business logic
743
- - Risk: Logic errors may not be caught quickly
744
- - Recommendation: Add unit tests for complex algorithms or state machines
745
-
746
- ---
747
-
748
- ## Duplicate Coverage Detection
749
-
750
- Use selective testing principles from `selective-testing.md`:
751
-
752
- **Acceptable Overlap:**
753
-
754
- - Unit tests for business logic + E2E tests for user journey (different aspects)
755
- - API tests for contract + E2E tests for full workflow (defense in depth for critical paths)
756
-
757
- **Unacceptable Duplication:**
758
-
759
- - Same validation at multiple levels (e.g., E2E testing math logic better suited for unit tests)
760
- - Multiple E2E tests covering identical user path
761
- - Component tests duplicating unit test logic
762
-
763
- **Recommendation Pattern:**
764
-
765
- - Test logic at unit level
766
- - Test integration at API/Component level
767
- - Test user experience at E2E level
768
- - Avoid testing framework behavior at any level
769
-
770
- ---
771
-
772
- ## Integration with BMad Artifacts
773
-
774
- ### With test-design.md
775
-
776
- - Use risk assessment to prioritize gap remediation
777
- - Reference test priorities (P0/P1/P2/P3) for severity classification and gate decision
778
- - Align traceability with originally planned test coverage
779
-
780
- ### With tech-spec.md
781
-
782
- - Understand technical implementation details
783
- - Map criteria to specific code modules
784
- - Verify tests cover technical edge cases
785
-
786
- ### With PRD.md
787
-
788
- - Understand full product context
789
- - Verify acceptance criteria align with product goals
790
- - Check for unstated requirements that need coverage
791
-
792
- ### With nfr-assessment.md
793
-
794
- - Load non-functional validation results for gate decision
795
- - Check critical NFR status (performance, security, scalability)
796
- - Include NFR pass/fail in gate decision criteria
797
-
798
- ---
799
-
800
- ## Quality Gates (Phase 1 Recommendations)
801
-
802
- ### P0 Coverage (Critical Paths)
803
-
804
- - **Requirement:** 100% FULL coverage
805
- - **Severity:** BLOCKER if not met
806
- - **Action:** Do not release until P0 coverage is complete
807
-
808
- ### P1 Coverage (High Priority)
809
-
810
- - **Requirement:** 90% FULL coverage
811
- - **Severity:** HIGH if not met
812
- - **Action:** Block PR merge until addressed
813
-
814
- ### P2 Coverage (Medium Priority)
815
-
816
- - **Requirement:** No strict requirement (recommended 80%)
817
- - **Severity:** MEDIUM if gaps exist
818
- - **Action:** Address in nightly test improvements
819
-
820
- ### P3 Coverage (Low Priority)
821
-
822
- - **Requirement:** No requirement
823
- - **Severity:** LOW if gaps exist
824
- - **Action:** Optional - add if time permits
825
-
826
- ---
827
-
828
- ## Example Traceability Matrix
829
-
830
- ````markdown
831
- # Traceability Matrix - Story 1.3
832
-
833
- **Story:** User Authentication
834
- **Date:** 2025-10-14
835
- **Status:** 85% Coverage (1 HIGH gap)
836
-
837
- ## Coverage Summary
838
-
839
- | Priority | Total Criteria | FULL Coverage | Coverage % | Status |
840
- | --------- | -------------- | ------------- | ---------- | ------- |
841
- | P0 | 3 | 3 | 100% | ✅ PASS |
842
- | P1 | 5 | 4 | 80% | ⚠️ WARN |
843
- | P2 | 4 | 3 | 75% | ✅ PASS |
844
- | P3 | 2 | 1 | 50% | ✅ PASS |
845
- | **Total** | **14** | **11** | **79%** | ⚠️ WARN |
846
-
847
- ## Detailed Mapping
848
-
849
- ### AC-1: User can login with email and password (P0)
850
-
851
- - **Coverage:** FULL ✅
852
- - **Tests:**
853
- - `1.3-E2E-001` - tests/e2e/auth.spec.ts:12
854
- - Given: User has valid credentials
855
- - When: User submits login form
856
- - Then: User is redirected to dashboard
857
- - `1.3-UNIT-001` - tests/unit/auth-service.spec.ts:8
858
- - Given: Valid email and password hash
859
- - When: validateCredentials is called
860
- - Then: Returns user object
861
-
862
- ### AC-2: User sees error for invalid credentials (P0)
863
-
864
- - **Coverage:** FULL ✅
865
- - **Tests:**
866
- - `1.3-E2E-002` - tests/e2e/auth.spec.ts:28
867
- - Given: User has invalid password
868
- - When: User submits login form
869
- - Then: Error message is displayed
870
- - `1.3-UNIT-002` - tests/unit/auth-service.spec.ts:18
871
- - Given: Invalid password hash
872
- - When: validateCredentials is called
873
- - Then: Throws AuthenticationError
874
-
875
- ### AC-3: User can reset password via email (P1)
876
-
877
- - **Coverage:** PARTIAL ⚠️
878
- - **Tests:**
879
- - `1.3-E2E-003` - tests/e2e/auth.spec.ts:44
880
- - Given: User requests password reset
881
- - When: User clicks reset link
882
- - Then: User can set new password
883
- - **Gaps:**
884
- - Missing: Email delivery validation
885
- - Missing: Expired token handling
886
- - Missing: Unit test for token generation
887
- - **Recommendation:** Add `1.3-API-001` for email service integration and `1.3-UNIT-003` for token logic
888
-
889
- ## Gap Analysis
890
-
891
- ### Critical Gaps (BLOCKER)
892
-
893
- - None ✅
894
-
895
- ### High Priority Gaps (PR BLOCKER)
896
-
897
- 1. **AC-3: Password reset email edge cases**
898
- - Missing tests for expired tokens, invalid tokens, email failures
899
- - Recommend: `1.3-API-001` (email service integration) and `1.3-E2E-004` (error paths)
900
- - Impact: Users may not be able to recover accounts in error scenarios
901
-
902
- ### Medium Priority Gaps (Nightly)
903
-
904
- 1. **AC-7: Session timeout handling** - UNIT-ONLY coverage (missing E2E validation)
905
-
906
- ## Quality Assessment
907
-
908
- ### Tests with Issues
909
-
910
- - `1.3-E2E-001` ⚠️ - 145 seconds (exceeds 90s target) - Optimize fixture setup
911
- - `1.3-UNIT-005` ⚠️ - 320 lines (exceeds 300 line limit) - Split into multiple test files
912
-
913
- ### Tests Passing Quality Gates
914
-
915
- - 11/13 tests (85%) meet all quality criteria ✅
916
-
917
- ## Gate YAML Snippet
918
-
919
- ```yaml
920
- traceability:
921
- story_id: '1.3'
922
- coverage:
923
- overall: 79%
924
- p0: 100%
925
- p1: 80%
926
- p2: 75%
927
- p3: 50%
928
- gaps:
929
- critical: 0
930
- high: 1
931
- medium: 1
932
- low: 1
933
- status: 'WARN' # P1 coverage below 90% threshold
934
- recommendations:
935
- - 'Add 1.3-API-001 for email service integration'
936
- - 'Add 1.3-E2E-004 for password reset error paths'
937
- - 'Optimize 1.3-E2E-001 performance (145s → <90s)'
938
- ```
939
- ````
940
-
941
- ## Recommendations
942
-
943
- 1. **Address High Priority Gap:** Add password reset edge case tests before PR merge
944
- 2. **Optimize Slow Test:** Refactor `1.3-E2E-001` to use faster fixture setup
945
- 3. **Split Large Test:** Break `1.3-UNIT-005` into focused test files
946
- 4. **Enhance P2 Coverage:** Add E2E validation for session timeout (currently UNIT-ONLY)
947
-
948
- ```
949
-
950
- ---
951
-
952
- ## Validation Checklist
953
-
954
- Before completing this workflow, verify:
955
-
956
- **Phase 1 (Traceability):**
957
- - ✅ All acceptance criteria are mapped to tests (or gaps are documented)
958
- - ✅ Coverage status is classified (FULL, PARTIAL, NONE, UNIT-ONLY, INTEGRATION-ONLY)
959
- - ✅ Gaps are prioritized by risk level (P0/P1/P2/P3)
960
- - ✅ P0 coverage is 100% or blockers are documented
961
- - ✅ Duplicate coverage is identified and flagged
962
- - ✅ Test quality is assessed (assertions, structure, performance)
963
- - ✅ Traceability matrix is generated and saved
964
-
965
- **Phase 2 (Gate Decision - if enabled):**
966
- - ✅ Test execution results loaded and pass rates calculated
967
- - ✅ NFR assessment results loaded (if applicable)
968
- - ✅ Decision rules applied consistently (PASS/CONCERNS/FAIL/WAIVED)
969
- - ✅ Gate decision document created with evidence
970
- - ✅ Waiver documented if decision is WAIVED (approver, justification, mitigation)
971
- - ✅ Workflow status updated (bmm-workflow-status.md)
972
- - ✅ Stakeholders notified (if enabled)
973
-
974
- ---
975
-
976
- ## Notes
977
-
978
- **Phase 1 (Traceability):**
979
- - **Explicit Mapping:** Require tests to reference criteria explicitly (test IDs, describe blocks) for maintainability
980
- - **Risk-Based Prioritization:** Use test-priorities framework (P0/P1/P2/P3) to determine gap severity
981
- - **Quality Over Quantity:** Better to have fewer high-quality tests with FULL coverage than many low-quality tests with PARTIAL coverage
982
- - **Selective Testing:** Avoid duplicate coverage - test each behavior at the appropriate level only
983
-
984
- **Phase 2 (Gate Decision):**
985
- - **Deterministic Rules:** Use consistent thresholds (P0=100%, P1≥90%, overall≥80%) for objectivity
986
- - **Evidence-Based:** Every decision must cite specific metrics (coverage %, pass rates, NFRs)
987
- - **Waiver Discipline:** Waivers require approver name, justification, mitigation plan, and evidence link
988
- - **Non-Blocking CONCERNS:** Use CONCERNS for minor gaps that don't justify blocking deployment (e.g., P1 at 88% vs 90%)
989
- - **Automate in CI/CD:** Generate YAML snippets that can be consumed by CI/CD pipelines for automated quality gates
990
-
991
- ---
992
-
993
- ## Troubleshooting
994
-
995
- ### "No tests found for this story"
996
- - Run `*atdd` workflow first to generate failing acceptance tests
997
- - Check test file naming conventions (may not match story ID pattern)
998
- - Verify test directory path is correct
999
-
1000
- ### "Cannot determine coverage status"
1001
- - Tests may lack explicit mapping to criteria (no test IDs, unclear describe blocks)
1002
- - Review test structure and add Given-When-Then narrative
1003
- - Add test IDs in format: `{STORY_ID}-{LEVEL}-{SEQ}` (e.g., 1.3-E2E-001)
1004
-
1005
- ### "P0 coverage below 100%"
1006
- - This is a **BLOCKER** - do not release
1007
- - Identify missing P0 tests in gap analysis
1008
- - Run `*atdd` workflow to generate missing tests
1009
- - Verify with stakeholders that P0 classification is correct
1010
-
1011
- ### "Duplicate coverage detected"
1012
- - Review selective testing principles in `selective-testing.md`
1013
- - Determine if overlap is acceptable (defense in depth) or wasteful (same validation at multiple levels)
1014
- - Consolidate tests at appropriate level (logic → unit, integration → API, journey → E2E)
1015
-
1016
- ### "Test execution results missing" (Phase 2)
1017
- - Phase 2 gate decision requires `test_results` (CI/CD test reports)
1018
- - If missing, Phase 2 will be skipped with warning
1019
- - Provide JUnit XML, TAP, or JSON test report path via `test_results` variable
1020
-
1021
- ### "Gate decision is FAIL but deployment needed urgently"
1022
- - Request business waiver (if `allow_waivers: true`)
1023
- - Document approver, justification, mitigation plan
1024
- - Create follow-up stories to address gaps
1025
- - Use WAIVED decision only for non-P0 gaps
1026
-
1027
- ---
1028
-
1029
- ## Related Workflows
1030
-
1031
- **Prerequisites:**
1032
- - `testarch-test-design` - Define test priorities (P0/P1/P2/P3) before tracing (required for Phase 2)
1033
- - `testarch-atdd` or `testarch-automate` - Generate tests before tracing coverage
1034
-
1035
- **Complements:**
1036
- - `testarch-nfr-assess` - Non-functional requirements validation (recommended for release gates)
1037
- - `testarch-test-review` - Review test quality issues flagged in traceability
1038
-
1039
- **Next Steps:**
1040
- - If gate decision is PASS/CONCERNS → Deploy and monitor
1041
- - If gate decision is FAIL → Add missing tests, re-run trace workflow
1042
- - If gate decision is WAIVED → Deploy with mitigation, create follow-up stories
1043
-
1044
- ---
1045
-
1046
- <!-- Powered by BMAD-CORE™ -->
1047
- ```