bmad-method 6.0.0-alpha.6 → 6.0.0-alpha.8

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 (716) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +11 -0
  2. package/{bmad → .bmad}/_cfg/files-manifest.csv +170 -157
  3. package/{bmad → .bmad}/_cfg/ides/claude-code.yaml +2 -2
  4. package/.bmad/_cfg/manifest.yaml +10 -0
  5. package/{bmad → .bmad}/_cfg/task-manifest.csv +1 -1
  6. package/{bmad → .bmad}/_cfg/workflow-manifest.csv +1 -1
  7. package/{bmad → .bmad}/bmb/agents/bmad-builder.md +12 -12
  8. package/.bmad/bmb/config.yaml +16 -0
  9. package/{bmad → .bmad}/bmb/workflows/audit-workflow/checklist.md +2 -2
  10. package/{bmad → .bmad}/bmb/workflows/audit-workflow/instructions.md +5 -5
  11. package/{bmad → .bmad}/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  12. package/{bmad → .bmad}/bmb/workflows/convert-legacy/README.md +5 -5
  13. package/{bmad → .bmad}/bmb/workflows/convert-legacy/checklist.md +2 -2
  14. package/{bmad → .bmad}/bmb/workflows/convert-legacy/instructions.md +17 -17
  15. package/{bmad → .bmad}/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  16. package/{bmad → .bmad}/bmb/workflows/create-agent/README.md +5 -5
  17. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-architecture.md +15 -15
  18. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  19. package/{bmad → .bmad}/bmb/workflows/create-agent/agent-types.md +15 -15
  20. package/{bmad → .bmad}/bmb/workflows/create-agent/checklist.md +3 -3
  21. package/{bmad → .bmad}/bmb/workflows/create-agent/instructions.md +34 -18
  22. package/{bmad → .bmad}/bmb/workflows/create-agent/workflow.yaml +6 -6
  23. package/{bmad → .bmad}/bmb/workflows/create-module/README.md +1 -1
  24. package/{bmad → .bmad}/bmb/workflows/create-module/checklist.md +1 -1
  25. package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  26. package/{bmad → .bmad}/bmb/workflows/create-module/instructions.md +7 -7
  27. package/{bmad → .bmad}/bmb/workflows/create-module/module-structure.md +36 -2
  28. package/{bmad → .bmad}/bmb/workflows/create-module/workflow.yaml +9 -9
  29. package/{bmad → .bmad}/bmb/workflows/create-workflow/README.md +4 -4
  30. package/{bmad → .bmad}/bmb/workflows/create-workflow/checklist.md +1 -1
  31. package/{bmad → .bmad}/bmb/workflows/create-workflow/instructions.md +29 -29
  32. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-creation-guide.md +36 -36
  33. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  34. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/workflow.yaml +1 -1
  35. package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow.yaml +5 -5
  36. package/{bmad → .bmad}/bmb/workflows/edit-agent/checklist.md +1 -1
  37. package/{bmad → .bmad}/bmb/workflows/edit-agent/instructions.md +2 -2
  38. package/{bmad → .bmad}/bmb/workflows/edit-agent/workflow.yaml +8 -8
  39. package/{bmad → .bmad}/bmb/workflows/edit-module/README.md +2 -2
  40. package/{bmad → .bmad}/bmb/workflows/edit-module/checklist.md +2 -2
  41. package/{bmad → .bmad}/bmb/workflows/edit-module/instructions.md +4 -4
  42. package/{bmad → .bmad}/bmb/workflows/edit-module/workflow.yaml +10 -10
  43. package/{bmad → .bmad}/bmb/workflows/edit-workflow/instructions.md +4 -4
  44. package/{bmad → .bmad}/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  45. package/{bmad → .bmad}/bmb/workflows/module-brief/README.md +2 -2
  46. package/{bmad → .bmad}/bmb/workflows/module-brief/instructions.md +2 -2
  47. package/{bmad → .bmad}/bmb/workflows/module-brief/workflow.yaml +4 -4
  48. package/{bmad → .bmad}/bmb/workflows/redoc/README.md +5 -5
  49. package/{bmad → .bmad}/bmb/workflows/redoc/instructions.md +1 -1
  50. package/{bmad → .bmad}/bmb/workflows/redoc/workflow.yaml +1 -1
  51. package/{bmad → .bmad}/bmm/agents/analyst.md +20 -12
  52. package/{bmad → .bmad}/bmm/agents/architect.md +19 -11
  53. package/{bmad → .bmad}/bmm/agents/dev.md +10 -10
  54. package/{bmad → .bmad}/bmm/agents/pm.md +23 -15
  55. package/{bmad → .bmad}/bmm/agents/sm.md +26 -18
  56. package/{bmad → .bmad}/bmm/agents/tea.md +25 -17
  57. package/{bmad → .bmad}/bmm/agents/tech-writer.md +16 -8
  58. package/{bmad → .bmad}/bmm/agents/ux-designer.md +18 -10
  59. package/{bmad → .bmad}/bmm/config.yaml +7 -7
  60. package/.bmad/bmm/docs/README.md +235 -0
  61. package/.bmad/bmm/docs/agents-guide.md +1056 -0
  62. package/.bmad/bmm/docs/brownfield-guide.md +754 -0
  63. package/.bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  64. package/.bmad/bmm/docs/faq.md +587 -0
  65. package/.bmad/bmm/docs/glossary.md +320 -0
  66. package/.bmad/bmm/docs/party-mode.md +224 -0
  67. package/.bmad/bmm/docs/quick-spec-flow.md +652 -0
  68. package/.bmad/bmm/docs/quick-start.md +366 -0
  69. package/.bmad/bmm/docs/scale-adaptive-system.md +599 -0
  70. package/.bmad/bmm/docs/test-architecture.md +394 -0
  71. package/.bmad/bmm/docs/workflow-architecture-reference.md +371 -0
  72. package/.bmad/bmm/docs/workflow-document-project-reference.md +487 -0
  73. package/.bmad/bmm/docs/workflows-analysis.md +370 -0
  74. package/.bmad/bmm/docs/workflows-implementation.md +284 -0
  75. package/.bmad/bmm/docs/workflows-planning.md +601 -0
  76. package/.bmad/bmm/docs/workflows-solutioning.md +501 -0
  77. package/{bmad → .bmad}/bmm/tasks/daily-standup.xml +2 -2
  78. package/.bmad/bmm/teams/default-party.csv +19 -0
  79. package/{bmad → .bmad}/bmm/teams/team-fullstack.yaml +1 -0
  80. package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  81. package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +3 -3
  82. package/{bmad → .bmad}/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  83. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +40 -0
  84. package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  85. package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/workflow.yaml +2 -2
  86. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  87. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-market.md +6 -6
  88. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  89. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  90. package/{bmad → .bmad}/bmm/workflows/1-analysis/research/workflow.yaml +2 -2
  91. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  92. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +3 -7
  93. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  94. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +2 -2
  95. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/instructions.md +6 -6
  96. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  97. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  98. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  99. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  100. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  101. package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  102. package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  103. package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/workflow.yaml +3 -2
  104. package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  105. package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  106. package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/instructions.md +2 -2
  107. package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -13
  108. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  109. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  110. package/{bmad → .bmad}/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  111. package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/instructions.md +3 -3
  112. package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/workflow.yaml +3 -3
  113. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  114. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  115. package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  116. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  117. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/instructions.md +2 -2
  118. package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +2 -2
  119. package/{bmad → .bmad}/bmm/workflows/4-implementation/retrospective/instructions.md +2 -2
  120. package/{bmad → .bmad}/bmm/workflows/4-implementation/retrospective/workflow.yaml +4 -4
  121. package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/instructions.md +2 -2
  122. package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +3 -3
  123. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  124. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  125. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/instructions.md +2 -2
  126. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-context/workflow.yaml +4 -4
  127. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  128. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-done/workflow.yaml +3 -3
  129. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  130. package/{bmad → .bmad}/bmm/workflows/4-implementation/story-ready/workflow.yaml +3 -3
  131. package/{bmad → .bmad}/bmm/workflows/document-project/instructions.md +5 -5
  132. package/{bmad → .bmad}/bmm/workflows/document-project/workflow.yaml +2 -2
  133. package/{bmad → .bmad}/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  134. package/{bmad → .bmad}/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  135. package/{bmad → .bmad}/bmm/workflows/testarch/atdd/instructions.md +2 -2
  136. package/{bmad → .bmad}/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  137. package/{bmad → .bmad}/bmm/workflows/testarch/automate/instructions.md +2 -2
  138. package/{bmad → .bmad}/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  139. package/{bmad → .bmad}/bmm/workflows/testarch/ci/instructions.md +2 -2
  140. package/{bmad → .bmad}/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  141. package/{bmad → .bmad}/bmm/workflows/testarch/framework/instructions.md +2 -2
  142. package/{bmad → .bmad}/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  143. package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  144. package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  145. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/instructions.md +2 -2
  146. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  147. package/{bmad → .bmad}/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  148. package/{bmad → .bmad}/bmm/workflows/testarch/test-review/instructions.md +1 -1
  149. package/{bmad → .bmad}/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  150. package/{bmad → .bmad}/bmm/workflows/testarch/trace/instructions.md +9 -9
  151. package/{bmad → .bmad}/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  152. package/{bmad → .bmad}/bmm/workflows/workflow-status/init/instructions.md +74 -23
  153. package/{bmad → .bmad}/bmm/workflows/workflow-status/init/workflow.yaml +4 -4
  154. package/{bmad → .bmad}/bmm/workflows/workflow-status/instructions.md +5 -4
  155. package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  156. package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  157. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +52 -0
  158. package/{bmad → .bmad}/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  159. package/{bmad → .bmad}/bmm/workflows/workflow-status/workflow.yaml +2 -2
  160. package/{bmad → .bmad}/core/agents/bmad-master.md +7 -7
  161. package/{bmad → .bmad}/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  162. package/{bmad → .bmad}/core/config.yaml +4 -2
  163. package/{bmad → .bmad}/core/tasks/adv-elicit.xml +5 -3
  164. package/{bmad → .bmad}/core/tasks/index-docs.xml +1 -1
  165. package/{bmad → .bmad}/core/tasks/validate-workflow.xml +1 -1
  166. package/{bmad → .bmad}/core/tasks/workflow.xml +1 -1
  167. package/{bmad → .bmad}/core/tools/shard-doc.xml +1 -1
  168. package/{bmad → .bmad}/core/workflows/brainstorming/README.md +2 -2
  169. package/{bmad → .bmad}/core/workflows/brainstorming/instructions.md +3 -3
  170. package/{bmad → .bmad}/core/workflows/brainstorming/workflow.yaml +8 -8
  171. package/{bmad → .bmad}/core/workflows/party-mode/instructions.md +2 -7
  172. package/.bmad/core/workflows/party-mode/workflow.yaml +27 -0
  173. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +12 -12
  174. package/.claude/commands/bmad/bmm/agents/analyst.md +20 -12
  175. package/.claude/commands/bmad/bmm/agents/architect.md +19 -11
  176. package/.claude/commands/bmad/bmm/agents/dev.md +10 -10
  177. package/.claude/commands/bmad/bmm/agents/pm.md +23 -15
  178. package/.claude/commands/bmad/bmm/agents/sm.md +26 -18
  179. package/.claude/commands/bmad/bmm/agents/tea.md +25 -17
  180. package/.claude/commands/bmad/bmm/agents/tech-writer.md +16 -8
  181. package/.claude/commands/bmad/bmm/agents/ux-designer.md +18 -10
  182. package/.claude/commands/bmad/bmm/workflows/domain-research.md +15 -0
  183. package/.claude/commands/bmad/core/agents/bmad-master.md +7 -7
  184. package/.claude/commands/bmad/core/tasks/adv-elicit.md +9 -0
  185. package/.claude/settings.local.json +6 -5
  186. package/.github/workflows/{lint.yaml → quality.yaml} +19 -2
  187. package/.husky/pre-commit +4 -0
  188. package/.vscode/settings.json +2 -1
  189. package/README.md +59 -1
  190. package/docs/installers-bundlers/installers-modules-platforms-reference.md +61 -0
  191. package/package.json +5 -3
  192. package/src/core/_module-installer/install-config.yaml +15 -9
  193. package/src/core/_module-installer/installer.js +0 -8
  194. package/src/core/agents/bmad-master.agent.yaml +5 -5
  195. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  196. package/src/core/tasks/adv-elicit.xml +5 -3
  197. package/src/core/tasks/index-docs.xml +1 -1
  198. package/src/core/tasks/validate-workflow.xml +1 -1
  199. package/src/core/tasks/workflow.xml +1 -1
  200. package/src/core/tools/shard-doc.xml +1 -1
  201. package/src/core/workflows/brainstorming/README.md +2 -2
  202. package/src/core/workflows/brainstorming/instructions.md +3 -3
  203. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  204. package/src/core/workflows/party-mode/instructions.md +2 -7
  205. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  206. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  207. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  208. package/src/modules/bmb/workflows/audit-workflow/checklist.md +2 -2
  209. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  210. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  211. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  212. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  213. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  214. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  215. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  216. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -15
  217. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  218. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  219. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  220. package/src/modules/bmb/workflows/create-agent/instructions.md +34 -18
  221. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  222. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  223. package/src/modules/bmb/workflows/create-module/checklist.md +1 -1
  224. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  225. package/src/modules/bmb/workflows/create-module/instructions.md +7 -7
  226. package/src/modules/bmb/workflows/create-module/module-structure.md +36 -2
  227. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  228. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  229. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  230. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  231. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +42 -42
  232. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  233. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  234. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  235. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  236. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  237. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  238. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  239. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  240. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  241. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  242. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  243. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  244. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  245. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  246. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  247. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  248. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  249. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  250. package/src/modules/bmgd/README.md +208 -0
  251. package/src/modules/bmgd/_module-installer/install-config.yaml +67 -0
  252. package/src/modules/bmgd/agents/game-architect.agent.yaml +33 -0
  253. package/src/modules/bmgd/agents/game-designer.agent.yaml +40 -0
  254. package/src/modules/bmgd/agents/game-dev.agent.yaml +40 -0
  255. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +75 -0
  256. package/src/modules/bmgd/teams/default-party.csv +10 -0
  257. package/src/modules/{bmm → bmgd}/teams/team-gamedev.yaml +5 -1
  258. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/instructions.md +1 -1
  259. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/workflow.yaml +10 -10
  260. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/instructions.md +1 -1
  261. package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/workflow.yaml +9 -9
  262. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/instructions-gdd.md +8 -8
  263. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +81 -0
  264. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/instructions-narrative.md +6 -6
  265. package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/narrative/workflow.yaml +6 -6
  266. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +347 -0
  267. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-template.md +103 -0
  268. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +244 -0
  269. package/src/modules/bmgd/workflows/3-technical/game-architecture/decision-catalog.yaml +222 -0
  270. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +704 -0
  271. package/src/modules/bmgd/workflows/3-technical/game-architecture/pattern-categories.csv +13 -0
  272. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +67 -0
  273. package/src/modules/bmgd/workflows/4-production/code-review/backlog_template.md +12 -0
  274. package/src/modules/bmgd/workflows/4-production/code-review/checklist.md +22 -0
  275. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +420 -0
  276. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +67 -0
  277. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +279 -0
  278. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +201 -0
  279. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +45 -0
  280. package/src/modules/bmgd/workflows/4-production/create-story/checklist.md +240 -0
  281. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +283 -0
  282. package/src/modules/bmgd/workflows/4-production/create-story/template.md +51 -0
  283. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +76 -0
  284. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +367 -0
  285. package/src/modules/bmgd/workflows/4-production/dev-story/checklist.md +38 -0
  286. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +262 -0
  287. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +28 -0
  288. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +17 -0
  289. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +189 -0
  290. package/src/modules/bmgd/workflows/4-production/epic-tech-context/template.md +76 -0
  291. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +60 -0
  292. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +1460 -0
  293. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +73 -0
  294. package/src/modules/bmgd/workflows/4-production/sprint-planning/checklist.md +33 -0
  295. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +238 -0
  296. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +55 -0
  297. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +49 -0
  298. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +16 -0
  299. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +34 -0
  300. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +234 -0
  301. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +59 -0
  302. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +111 -0
  303. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +27 -0
  304. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +117 -0
  305. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +27 -0
  306. package/src/modules/bmm/_module-installer/install-config.yaml +10 -24
  307. package/src/modules/bmm/_module-installer/installer.js +2 -2
  308. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  309. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  310. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  311. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  312. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  313. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  314. package/src/modules/bmm/agents/tech-writer.agent.yaml +14 -10
  315. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  316. package/src/modules/bmm/docs/README.md +8 -9
  317. package/src/modules/bmm/docs/agents-guide.md +4 -5
  318. package/src/modules/bmm/docs/brownfield-guide.md +9 -13
  319. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  320. package/src/modules/bmm/docs/faq.md +5 -7
  321. package/src/modules/bmm/docs/glossary.md +0 -1
  322. package/src/modules/bmm/docs/party-mode.md +3 -3
  323. package/src/modules/bmm/docs/quick-spec-flow.md +4 -4
  324. package/src/modules/bmm/docs/quick-start.md +5 -5
  325. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  326. package/src/modules/bmm/docs/test-architecture.md +184 -119
  327. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  328. package/src/modules/bmm/docs/workflows-analysis.md +203 -539
  329. package/src/modules/bmm/docs/workflows-planning.md +326 -850
  330. package/src/modules/bmm/docs/workflows-solutioning.md +250 -505
  331. package/src/modules/bmm/sub-modules/claude-code/README.md +1 -1
  332. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +22 -22
  333. package/src/modules/bmm/tasks/daily-standup.xml +2 -2
  334. package/src/modules/bmm/teams/default-party.csv +19 -0
  335. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  336. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  337. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  338. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  339. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +65 -32
  340. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +1 -1
  341. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +12 -8
  342. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +2 -2
  343. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +6 -6
  344. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  345. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +4 -4
  346. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  347. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  348. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +36 -7
  349. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +3 -3
  350. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +6 -6
  351. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +6 -6
  352. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +21 -13
  353. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +1 -1
  354. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +5 -5
  355. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +6 -6
  356. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +2 -2
  357. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +15 -9
  358. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +6 -6
  359. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +49 -2
  360. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +2 -2
  361. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +4 -4
  362. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +38 -38
  363. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +6 -23
  364. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  365. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  366. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +2 -2
  367. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +38 -40
  368. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +6 -19
  369. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +3 -3
  370. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +2 -2
  371. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  372. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  373. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +26 -28
  374. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +6 -18
  375. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +11 -11
  376. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +8 -11
  377. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +6 -15
  378. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +5 -4
  379. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  380. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  381. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +8 -9
  382. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +6 -14
  383. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  384. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +4 -4
  385. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +1 -1
  386. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +4 -4
  387. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  388. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  389. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  390. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  391. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  392. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  393. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  394. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  395. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  396. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  397. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  398. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  399. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  400. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  401. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +2 -2
  402. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +1 -1
  403. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +2 -2
  404. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  405. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  406. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  407. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  408. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +78 -26
  409. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  410. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  411. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +18 -11
  412. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +18 -11
  413. package/src/modules/bmm/workflows/workflow-status/paths/game-design.yaml +42 -65
  414. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  415. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  416. package/src/modules/cis/README.md +1 -1
  417. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  418. package/src/modules/cis/agents/README.md +1 -1
  419. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  420. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  421. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  422. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  423. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  424. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  425. package/src/modules/cis/teams/default-party.csv +11 -0
  426. package/src/modules/cis/workflows/README.md +1 -1
  427. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  428. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  429. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  430. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  431. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  432. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  433. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  434. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  435. package/src/utility/models/action-command-header.md +0 -0
  436. package/src/utility/models/agent-activation-ide.xml +3 -3
  437. package/src/utility/models/agent-activation-web.xml +4 -4
  438. package/src/utility/models/agent-command-header.md +1 -0
  439. package/src/utility/models/fragments/activation-steps.xml +3 -2
  440. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  441. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  442. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  443. package/test/test-installation-components.js +214 -0
  444. package/tools/cli/bundlers/web-bundler.js +208 -20
  445. package/tools/cli/commands/install.js +1 -4
  446. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  447. package/tools/cli/installers/lib/core/detector.js +62 -7
  448. package/tools/cli/installers/lib/core/installer.js +158 -23
  449. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  450. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  451. package/tools/cli/installers/lib/ide/auggie.js +81 -238
  452. package/tools/cli/installers/lib/ide/claude-code.js +47 -25
  453. package/tools/cli/installers/lib/ide/cline.js +15 -18
  454. package/tools/cli/installers/lib/ide/codex.js +17 -48
  455. package/tools/cli/installers/lib/ide/crush.js +14 -50
  456. package/tools/cli/installers/lib/ide/cursor.js +68 -8
  457. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  458. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  459. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  460. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  461. package/tools/cli/installers/lib/ide/manager.js +15 -0
  462. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  463. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  464. package/tools/cli/installers/lib/ide/roo.js +27 -62
  465. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  466. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  467. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  468. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  469. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  470. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  471. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  472. package/tools/cli/installers/lib/ide/trae.js +20 -32
  473. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  474. package/tools/cli/installers/lib/modules/manager.js +207 -7
  475. package/tools/cli/lib/cli-utils.js +52 -50
  476. package/tools/cli/lib/ui.js +15 -8
  477. package/tools/cli/lib/yaml-xml-builder.js +9 -1
  478. package/tools/schema/agent.js +8 -3
  479. package/v6-open-items.md +3 -9
  480. package/web-bundles/bmgd/agents/game-architect.xml +664 -0
  481. package/web-bundles/bmgd/agents/game-designer.xml +5489 -0
  482. package/web-bundles/bmgd/agents/game-dev.xml +595 -0
  483. package/web-bundles/bmgd/agents/game-scrum-master.xml +699 -0
  484. package/web-bundles/bmgd/teams/team-gamedev.xml +6588 -0
  485. package/web-bundles/bmm/agents/analyst.xml +5263 -0
  486. package/web-bundles/bmm/agents/architect.xml +2378 -0
  487. package/web-bundles/bmm/agents/dev.xml +248 -0
  488. package/web-bundles/bmm/agents/pm.xml +4137 -0
  489. package/web-bundles/bmm/agents/sm.xml +708 -0
  490. package/web-bundles/bmm/agents/tea.xml +759 -0
  491. package/web-bundles/bmm/agents/tech-writer.xml +624 -0
  492. package/web-bundles/bmm/agents/ux-designer.xml +2492 -0
  493. package/web-bundles/bmm/teams/team-fullstack.xml +12369 -0
  494. package/web-bundles/cis/agents/brainstorming-coach.xml +1069 -0
  495. package/web-bundles/cis/agents/creative-problem-solver.xml +1060 -0
  496. package/web-bundles/cis/agents/design-thinking-coach.xml +955 -0
  497. package/web-bundles/cis/agents/innovation-strategist.xml +1108 -0
  498. package/web-bundles/cis/agents/storyteller.xml +598 -0
  499. package/web-bundles/cis/teams/creative-squad.xml +3449 -0
  500. package/.claude/agents/bmad-analysis/api-documenter.md +0 -102
  501. package/.claude/agents/bmad-analysis/codebase-analyzer.md +0 -82
  502. package/.claude/agents/bmad-analysis/data-analyst.md +0 -101
  503. package/.claude/agents/bmad-analysis/pattern-detector.md +0 -84
  504. package/.claude/agents/bmad-planning/dependency-mapper.md +0 -83
  505. package/.claude/agents/bmad-planning/epic-optimizer.md +0 -81
  506. package/.claude/agents/bmad-planning/requirements-analyst.md +0 -61
  507. package/.claude/agents/bmad-planning/technical-decisions-curator.md +0 -168
  508. package/.claude/agents/bmad-planning/trend-spotter.md +0 -115
  509. package/.claude/agents/bmad-planning/user-journey-mapper.md +0 -123
  510. package/.claude/agents/bmad-planning/user-researcher.md +0 -72
  511. package/.claude/agents/bmad-research/market-researcher.md +0 -51
  512. package/.claude/agents/bmad-research/tech-debt-auditor.md +0 -106
  513. package/.claude/agents/bmad-review/document-reviewer.md +0 -102
  514. package/.claude/agents/bmad-review/technical-evaluator.md +0 -68
  515. package/.claude/agents/bmad-review/test-coverage-analyzer.md +0 -108
  516. package/.claude/commands/bmad/bmb/workflows/README.md +0 -67
  517. package/.claude/commands/bmad/bmm/workflows/README.md +0 -132
  518. package/.claude/commands/bmad/bmm/workflows/narrative.md +0 -15
  519. package/.claude/commands/bmad/cis/agents/README.md +0 -104
  520. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +0 -62
  521. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +0 -62
  522. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +0 -62
  523. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +0 -62
  524. package/.claude/commands/bmad/cis/agents/storyteller.md +0 -59
  525. package/.claude/commands/bmad/cis/workflows/README.md +0 -37
  526. package/.claude/commands/bmad/cis/workflows/design-thinking.md +0 -15
  527. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +0 -15
  528. package/.claude/commands/bmad/cis/workflows/problem-solving.md +0 -15
  529. package/.claude/commands/bmad/cis/workflows/storytelling.md +0 -15
  530. package/.claude/commands/bmad/core/workflows/README.md +0 -27
  531. package/bmad/_cfg/agent-manifest.csv +0 -11
  532. package/bmad/_cfg/manifest.yaml +0 -10
  533. package/bmad/bmb/config.yaml +0 -14
  534. package/bmad/bmm/teams/team-gamedev.yaml +0 -14
  535. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -36
  536. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +0 -608
  537. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +0 -29
  538. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -75
  539. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  540. package/bmd/README.md +0 -193
  541. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  542. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  543. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  544. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  545. package/bmd/agents/cli-chief.agent.yaml +0 -126
  546. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  547. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  548. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  549. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  550. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  551. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  552. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  553. package/bmd/agents/release-chief.agent.yaml +0 -127
  554. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  555. package/bmd/config.yaml +0 -12
  556. package/src/modules/bmm/agents/game-architect.agent.yaml +0 -35
  557. package/src/modules/bmm/agents/game-designer.agent.yaml +0 -47
  558. package/src/modules/bmm/agents/game-dev.agent.yaml +0 -35
  559. package/src/modules/bmm/docs/troubleshooting.md +0 -680
  560. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +0 -81
  561. package/src/modules/bmm/workflows/2-plan-workflows/narrative/checklist.md +0 -139
  562. package/src/modules/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +0 -195
  563. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  564. /package/{bmad → .bmad}/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -0
  565. /package/{bmad → .bmad}/_cfg/agents/bmm-analyst.customize.yaml +0 -0
  566. /package/{bmad → .bmad}/_cfg/agents/bmm-architect.customize.yaml +0 -0
  567. /package/{bmad → .bmad}/_cfg/agents/bmm-dev.customize.yaml +0 -0
  568. /package/{bmad → .bmad}/_cfg/agents/bmm-pm.customize.yaml +0 -0
  569. /package/{bmad → .bmad}/_cfg/agents/bmm-sm.customize.yaml +0 -0
  570. /package/{bmad → .bmad}/_cfg/agents/bmm-tea.customize.yaml +0 -0
  571. /package/{bmad → .bmad}/_cfg/agents/bmm-tech-writer.customize.yaml +0 -0
  572. /package/{bmad → .bmad}/_cfg/agents/bmm-ux-designer.customize.yaml +0 -0
  573. /package/{bmad → .bmad}/_cfg/agents/core-bmad-master.customize.yaml +0 -0
  574. /package/{bmad → .bmad}/_cfg/tool-manifest.csv +0 -0
  575. /package/{bmad → .bmad}/bmb/README.md +0 -0
  576. /package/{bmad → .bmad}/bmb/workflows/audit-workflow/template.md +0 -0
  577. /package/{bmad → .bmad}/bmb/workflows/create-agent/brainstorm-context.md +0 -0
  578. /package/{bmad → .bmad}/bmb/workflows/create-agent/communication-styles.md +0 -0
  579. /package/{bmad → .bmad}/bmb/workflows/create-module/brainstorm-context.md +0 -0
  580. /package/{bmad → .bmad}/bmb/workflows/create-module/installer-templates/installer.js +0 -0
  581. /package/{bmad → .bmad}/bmb/workflows/create-workflow/brainstorm-context.md +0 -0
  582. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -0
  583. /package/{bmad → .bmad}/bmb/workflows/create-workflow/workflow-template/template.md +0 -0
  584. /package/{bmad → .bmad}/bmb/workflows/edit-agent/README.md +0 -0
  585. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/README.md +0 -0
  586. /package/{bmad → .bmad}/bmb/workflows/edit-workflow/checklist.md +0 -0
  587. /package/{bmad → .bmad}/bmb/workflows/module-brief/checklist.md +0 -0
  588. /package/{bmad → .bmad}/bmb/workflows/module-brief/template.md +0 -0
  589. /package/{bmad → .bmad}/bmb/workflows/redoc/checklist.md +0 -0
  590. /package/{bmad → .bmad}/bmm/README.md +0 -0
  591. /package/{bmad → .bmad}/bmm/testarch/knowledge/ci-burn-in.md +0 -0
  592. /package/{bmad → .bmad}/bmm/testarch/knowledge/component-tdd.md +0 -0
  593. /package/{bmad → .bmad}/bmm/testarch/knowledge/contract-testing.md +0 -0
  594. /package/{bmad → .bmad}/bmm/testarch/knowledge/data-factories.md +0 -0
  595. /package/{bmad → .bmad}/bmm/testarch/knowledge/email-auth.md +0 -0
  596. /package/{bmad → .bmad}/bmm/testarch/knowledge/error-handling.md +0 -0
  597. /package/{bmad → .bmad}/bmm/testarch/knowledge/feature-flags.md +0 -0
  598. /package/{bmad → .bmad}/bmm/testarch/knowledge/fixture-architecture.md +0 -0
  599. /package/{bmad → .bmad}/bmm/testarch/knowledge/network-first.md +0 -0
  600. /package/{bmad → .bmad}/bmm/testarch/knowledge/nfr-criteria.md +0 -0
  601. /package/{bmad → .bmad}/bmm/testarch/knowledge/playwright-config.md +0 -0
  602. /package/{bmad → .bmad}/bmm/testarch/knowledge/probability-impact.md +0 -0
  603. /package/{bmad → .bmad}/bmm/testarch/knowledge/risk-governance.md +0 -0
  604. /package/{bmad → .bmad}/bmm/testarch/knowledge/selective-testing.md +0 -0
  605. /package/{bmad → .bmad}/bmm/testarch/knowledge/selector-resilience.md +0 -0
  606. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-healing-patterns.md +0 -0
  607. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-levels-framework.md +0 -0
  608. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-priorities-matrix.md +0 -0
  609. /package/{bmad → .bmad}/bmm/testarch/knowledge/test-quality.md +0 -0
  610. /package/{bmad → .bmad}/bmm/testarch/knowledge/timing-debugging.md +0 -0
  611. /package/{bmad → .bmad}/bmm/testarch/knowledge/visual-debugging.md +0 -0
  612. /package/{bmad → .bmad}/bmm/testarch/tea-index.csv +0 -0
  613. /package/{bmad → .bmad}/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -0
  614. /package/{bmad → .bmad}/bmm/workflows/1-analysis/domain-research/template.md +0 -0
  615. /package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/checklist.md +0 -0
  616. /package/{bmad → .bmad}/bmm/workflows/1-analysis/product-brief/template.md +0 -0
  617. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -0
  618. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist-technical.md +0 -0
  619. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/checklist.md +0 -0
  620. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -0
  621. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -0
  622. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-market.md +0 -0
  623. /package/{bmad → .bmad}/bmm/workflows/1-analysis/research/template-technical.md +0 -0
  624. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -0
  625. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -0
  626. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -0
  627. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -0
  628. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -0
  629. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -0
  630. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -0
  631. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -0
  632. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -0
  633. /package/{bmad → .bmad}/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -0
  634. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -0
  635. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -0
  636. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/checklist.md +0 -0
  637. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -0
  638. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -0
  639. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -0
  640. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -0
  641. /package/{bmad → .bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -0
  642. /package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -0
  643. /package/{bmad → .bmad}/bmm/workflows/4-implementation/code-review/checklist.md +0 -0
  644. /package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/checklist.md +0 -0
  645. /package/{bmad → .bmad}/bmm/workflows/4-implementation/create-story/template.md +0 -0
  646. /package/{bmad → .bmad}/bmm/workflows/4-implementation/dev-story/checklist.md +0 -0
  647. /package/{bmad → .bmad}/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -0
  648. /package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -0
  649. /package/{bmad → .bmad}/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -0
  650. /package/{bmad → .bmad}/bmm/workflows/document-project/checklist.md +0 -0
  651. /package/{bmad → .bmad}/bmm/workflows/document-project/documentation-requirements.csv +0 -0
  652. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/deep-dive-template.md +0 -0
  653. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/index-template.md +0 -0
  654. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/project-overview-template.md +0 -0
  655. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -0
  656. /package/{bmad → .bmad}/bmm/workflows/document-project/templates/source-tree-template.md +0 -0
  657. /package/{bmad → .bmad}/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -0
  658. /package/{bmad → .bmad}/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -0
  659. /package/{bmad → .bmad}/bmm/workflows/techdoc/documentation-standards.md +0 -0
  660. /package/{bmad → .bmad}/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -0
  661. /package/{bmad → .bmad}/bmm/workflows/testarch/atdd/checklist.md +0 -0
  662. /package/{bmad → .bmad}/bmm/workflows/testarch/automate/checklist.md +0 -0
  663. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/checklist.md +0 -0
  664. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -0
  665. /package/{bmad → .bmad}/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -0
  666. /package/{bmad → .bmad}/bmm/workflows/testarch/framework/checklist.md +0 -0
  667. /package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/checklist.md +0 -0
  668. /package/{bmad → .bmad}/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -0
  669. /package/{bmad → .bmad}/bmm/workflows/testarch/test-design/checklist.md +0 -0
  670. /package/{bmad → .bmad}/bmm/workflows/testarch/test-review/checklist.md +0 -0
  671. /package/{bmad → .bmad}/bmm/workflows/testarch/test-review/test-review-template.md +0 -0
  672. /package/{bmad → .bmad}/bmm/workflows/testarch/trace/checklist.md +0 -0
  673. /package/{bmad → .bmad}/bmm/workflows/testarch/trace/trace-template.md +0 -0
  674. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -0
  675. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -0
  676. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -0
  677. /package/{bmad → .bmad}/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -0
  678. /package/{bmad → .bmad}/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -0
  679. /package/{bmad → .bmad}/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -0
  680. /package/{bmad → .bmad}/core/tasks/adv-elicit-methods.csv +0 -0
  681. /package/{bmad → .bmad}/core/workflows/brainstorming/brain-methods.csv +0 -0
  682. /package/{bmad → .bmad}/core/workflows/brainstorming/template.md +0 -0
  683. /package/{bmad → .bmad}/docs/claude-code-instructions.md +0 -0
  684. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-brain-methods.csv +0 -0
  685. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/brainstorm-game/game-context.md +0 -0
  686. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/checklist.md +0 -0
  687. /package/src/modules/{bmm/workflows/1-analysis → bmgd/workflows/1-preproduction}/game-brief/template.md +0 -0
  688. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/checklist.md +0 -0
  689. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/action-platformer.md +0 -0
  690. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/adventure.md +0 -0
  691. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/card-game.md +0 -0
  692. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/fighting.md +0 -0
  693. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/horror.md +0 -0
  694. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/idle-incremental.md +0 -0
  695. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/metroidvania.md +0 -0
  696. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/moba.md +0 -0
  697. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/party-game.md +0 -0
  698. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/puzzle.md +0 -0
  699. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/racing.md +0 -0
  700. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rhythm.md +0 -0
  701. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/roguelike.md +0 -0
  702. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/rpg.md +0 -0
  703. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sandbox.md +0 -0
  704. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/shooter.md +0 -0
  705. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/simulation.md +0 -0
  706. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/sports.md +0 -0
  707. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/strategy.md +0 -0
  708. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/survival.md +0 -0
  709. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/text-based.md +0 -0
  710. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/tower-defense.md +0 -0
  711. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/turn-based-tactics.md +0 -0
  712. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types/visual-novel.md +0 -0
  713. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/game-types.csv +0 -0
  714. /package/src/modules/{bmm/workflows/2-plan-workflows → bmgd/workflows/2-design}/gdd/gdd-template.md +0 -0
  715. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/checklist.md +0 -0
  716. /package/{bmad/bmm/workflows/2-plan-workflows → src/modules/bmgd/workflows/2-design}/narrative/narrative-template.md +0 -0
@@ -1,5 +1,5 @@
1
1
  ---
2
- last-redoc-date: 2025-10-14
2
+ last-redoc-date: 2025-11-05
3
3
  ---
4
4
 
5
5
  # Test Architect (TEA) Agent Guide
@@ -7,29 +7,37 @@ last-redoc-date: 2025-10-14
7
7
  ## Overview
8
8
 
9
9
  - **Persona:** Murat, Master Test Architect and Quality Advisor focused on risk-based testing, fixture architecture, ATDD, and CI/CD governance.
10
- - **Mission:** Deliver actionable quality strategies, automation coverage, and gate decisions that scale with project level and compliance demands.
11
- - **Use When:** Project level ≥2, integration risk is non-trivial, brownfield regression risk exists, or compliance/NFR evidence is required.
10
+ - **Mission:** Deliver actionable quality strategies, automation coverage, and gate decisions that scale with project complexity and compliance demands.
11
+ - **Use When:** BMad Method or Enterprise track projects, integration risk is non-trivial, brownfield regression risk exists, or compliance/NFR evidence is required. (Quick Flow projects typically don't require TEA)
12
12
 
13
13
  ## TEA Workflow Lifecycle
14
14
 
15
- TEA integrates across the entire BMad development lifecycle, providing quality assurance at every phase:
15
+ TEA integrates into the BMad development lifecycle during Solutioning (Phase 3) and Implementation (Phase 4):
16
16
 
17
17
  ```mermaid
18
18
  %%{init: {'theme':'base', 'themeVariables': { 'primaryColor':'#fff','primaryTextColor':'#000','primaryBorderColor':'#000','lineColor':'#000','secondaryColor':'#fff','tertiaryColor':'#fff','fontSize':'16px','fontFamily':'arial'}}}%%
19
19
  graph TB
20
20
  subgraph Phase2["<b>Phase 2: PLANNING</b>"]
21
- PM["<b>PM: *prd</b>"]
21
+ PM["<b>PM: *prd (creates PRD + epics)</b>"]
22
+ PlanNote["<b>Business requirements phase</b>"]
23
+ PM -.-> PlanNote
24
+ end
25
+
26
+ subgraph Phase3["<b>Phase 3: SOLUTIONING</b>"]
27
+ Architecture["<b>Architect: *architecture</b>"]
22
28
  Framework["<b>TEA: *framework</b>"]
23
29
  CI["<b>TEA: *ci</b>"]
24
- TestDesign["<b>TEA: *test-design</b>"]
25
- PM --> Framework
30
+ GateCheck["<b>Architect: *solutioning-gate-check</b>"]
31
+ Architecture --> Framework
26
32
  Framework --> CI
27
- CI --> TestDesign
28
- SetupNote["<b>Setup once per project</b>"]
29
- TestDesign -.-> SetupNote
33
+ CI --> GateCheck
34
+ Phase3Note["<b>Test infrastructure AFTER architecture</b><br/>defines technology stack"]
35
+ Framework -.-> Phase3Note
30
36
  end
31
37
 
32
- subgraph Phase4["<b>Phase 4: IMPLEMENTATION - Per Story Cycle</b>"]
38
+ subgraph Phase4["<b>Phase 4: IMPLEMENTATION - Per Epic Cycle</b>"]
39
+ SprintPlan["<b>SM: *sprint-planning</b>"]
40
+ TestDesign["<b>TEA: *test-design (per epic)</b>"]
33
41
  CreateStory["<b>SM: *create-story</b>"]
34
42
  ATDD["<b>TEA: *atdd (optional, before dev)</b>"]
35
43
  DevImpl["<b>DEV: implements story</b>"]
@@ -37,12 +45,16 @@ graph TB
37
45
  TestReview1["<b>TEA: *test-review (optional)</b>"]
38
46
  Trace1["<b>TEA: *trace (refresh coverage)</b>"]
39
47
 
48
+ SprintPlan --> TestDesign
49
+ TestDesign --> CreateStory
40
50
  CreateStory --> ATDD
41
51
  ATDD --> DevImpl
42
52
  DevImpl --> Automate
43
53
  Automate --> TestReview1
44
54
  TestReview1 --> Trace1
45
55
  Trace1 -.->|next story| CreateStory
56
+ TestDesignNote["<b>Test design: 'How do I test THIS epic?'</b><br/>Creates test-design-epic-N.md per epic"]
57
+ TestDesign -.-> TestDesignNote
46
58
  end
47
59
 
48
60
  subgraph Gate["<b>EPIC/RELEASE GATE</b>"]
@@ -60,10 +72,12 @@ graph TB
60
72
  GateDecision -->|WAIVED| Waived["<b>WAIVED ⏭️</b>"]
61
73
  end
62
74
 
63
- Phase2 --> Phase4
75
+ Phase2 --> Phase3
76
+ Phase3 --> Phase4
64
77
  Phase4 --> Gate
65
78
 
66
79
  style Phase2 fill:#bbdefb,stroke:#0d47a1,stroke-width:3px,color:#000
80
+ style Phase3 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px,color:#000
67
81
  style Phase4 fill:#e1bee7,stroke:#4a148c,stroke-width:3px,color:#000
68
82
  style Gate fill:#ffe082,stroke:#f57c00,stroke-width:3px,color:#000
69
83
  style Pass fill:#4caf50,stroke:#1b5e20,stroke-width:3px,color:#000
@@ -72,82 +86,129 @@ graph TB
72
86
  style Waived fill:#9c27b0,stroke:#4a148c,stroke-width:3px,color:#000
73
87
  ```
74
88
 
75
- ### TEA Integration with BMad v6 Workflow
89
+ **Phase Numbering Note:** BMad uses a 4-phase methodology with optional Phase 0/1:
90
+
91
+ - **Phase 0** (Optional): Documentation (brownfield prerequisite - `*document-project`)
92
+ - **Phase 1** (Optional): Discovery/Analysis (`*brainstorm`, `*research`, `*product-brief`)
93
+ - **Phase 2** (Required): Planning (`*prd` creates PRD + epics)
94
+ - **Phase 3** (Track-dependent): Solutioning (`*architecture` → TEA: `*framework`, `*ci` → `*solutioning-gate-check`)
95
+ - **Phase 4** (Required): Implementation (`*sprint-planning` → per-epic: `*test-design` → per-story: dev workflows)
96
+
97
+ **TEA workflows:** `*framework` and `*ci` run once in Phase 3 after architecture. `*test-design` runs per-epic in Phase 4. Output: `test-design-epic-N.md`.
76
98
 
77
- TEA operates **across all four BMad phases**, unlike other agents that are phase-specific:
99
+ Quick Flow track skips Phases 0, 1, and 3. BMad Method and Enterprise use all phases based on project needs.
100
+
101
+ ### Why TEA is Different from Other BMM Agents
102
+
103
+ TEA is the only BMM agent that operates in **multiple phases** (Phase 3 and Phase 4) and has its own **knowledge base architecture**.
78
104
 
79
105
  <details>
80
- <summary><strong>Cross-Phase Integration & Workflow Complexity</strong></summary>
106
+ <summary><strong>Cross-Phase Operation & Unique Architecture</strong></summary>
81
107
 
82
108
  ### Phase-Specific Agents (Standard Pattern)
83
109
 
110
+ Most BMM agents work in a single phase:
111
+
84
112
  - **Phase 1 (Analysis)**: Analyst agent
85
113
  - **Phase 2 (Planning)**: PM agent
86
114
  - **Phase 3 (Solutioning)**: Architect agent
87
115
  - **Phase 4 (Implementation)**: SM, DEV agents
88
116
 
89
- ### TEA: Cross-Phase Quality Agent (Unique Pattern)
117
+ ### TEA: Multi-Phase Quality Agent (Unique Pattern)
90
118
 
91
- TEA is **the only agent that spans all phases**:
119
+ TEA is **the only agent that operates in multiple phases**:
92
120
 
93
121
  ```
94
122
  Phase 1 (Analysis) → [TEA not typically used]
95
123
 
96
- Phase 2 (Planning) → TEA: *framework, *ci, *test-design (setup)
124
+ Phase 2 (Planning) → [PM defines requirements - TEA not active]
97
125
 
98
- Phase 3 (Solutioning) → [TEA validates architecture testability]
126
+ Phase 3 (Solutioning) → TEA: *framework, *ci (test infrastructure AFTER architecture)
99
127
 
100
- Phase 4 (Implementation) → TEA: *atdd, *automate, *test-review, *trace (per story)
128
+ Phase 4 (Implementation) → TEA: *test-design (per epic: "how do I test THIS feature?")
129
+ → TEA: *atdd, *automate, *test-review, *trace (per story)
101
130
 
102
131
  Epic/Release Gate → TEA: *nfr-assess, *trace Phase 2 (release decision)
103
132
  ```
104
133
 
105
- ### Why TEA Needs 8 Workflows
134
+ ### TEA's 8 Workflows Across Phases
106
135
 
107
136
  **Standard agents**: 1-3 workflows per phase
108
- **TEA**: 8 workflows across 3+ phases
137
+ **TEA**: 8 workflows across Phase 3, Phase 4, and Release Gate
109
138
 
110
- | Phase | TEA Workflows | Frequency | Purpose |
111
- | ----------- | -------------------------------------- | ---------------- | -------------------------------- |
112
- | **Phase 2** | *framework, *ci, \*test-design | Once per project | Establish quality infrastructure |
113
- | **Phase 4** | *atdd, *automate, *test-review, *trace | Per story/sprint | Continuous quality validation |
114
- | **Release** | *nfr-assess, *trace (Phase 2: gate) | Per epic/release | Go/no-go decision |
139
+ | Phase | TEA Workflows | Frequency | Purpose |
140
+ | ----------- | ----------------------------------------------------- | ---------------- | ---------------------------------------------- |
141
+ | **Phase 2** | (none) | - | Planning phase - PM defines requirements |
142
+ | **Phase 3** | *framework, *ci | Once per project | Setup test infrastructure AFTER architecture |
143
+ | **Phase 4** | *test-design, *atdd, *automate, *test-review, \*trace | Per epic/story | Test planning per epic, then per-story testing |
144
+ | **Release** | *nfr-assess, *trace (Phase 2: gate) | Per epic/release | Go/no-go decision |
115
145
 
116
146
  **Note**: `*trace` is a two-phase workflow: Phase 1 (traceability) + Phase 2 (gate decision). This reduces cognitive load while maintaining natural workflow.
117
147
 
118
- This complexity **requires specialized documentation** (this guide), **extensive knowledge base** (19+ fragments), and **unique architecture** (`testarch/` directory).
148
+ ### Unique Directory Architecture
119
149
 
120
- </details>
150
+ TEA is the only BMM agent with its own top-level module directory (`bmm/testarch/`):
121
151
 
122
- ## Prerequisites and Setup
152
+ ```
153
+ src/modules/bmm/
154
+ ├── agents/
155
+ │ └── tea.agent.yaml # Agent definition (standard location)
156
+ ├── workflows/
157
+ │ └── testarch/ # TEA workflows (standard location)
158
+ └── testarch/ # Knowledge base (UNIQUE!)
159
+ ├── knowledge/ # 21 production-ready test pattern fragments
160
+ ├── tea-index.csv # Centralized knowledge lookup (21 fragments indexed)
161
+ └── README.md # This guide
162
+ ```
163
+
164
+ ### Why TEA Gets Special Treatment
165
+
166
+ TEA uniquely requires:
123
167
 
124
- 1. Run the core planning workflows first:
125
- - Analyst `*product-brief`
126
- - Product Manager `*prd`
127
- - Architect `*create-architecture`
128
- 2. Confirm `bmad/bmm/config.yaml` defines `project_name`, `output_folder`, `dev_story_location`, and language settings.
129
- 3. Ensure a test test framework setup exists; if not, use `*framework` command to create a test framework setup, prior to development.
130
- 4. Skim supporting references (knowledge under `testarch/`, command workflows under `workflows/testarch/`).
131
- - `tea-index.csv` + `knowledge/*.md`
168
+ - **Extensive domain knowledge**: 21 fragments, 12,821 lines covering test patterns, CI/CD, fixtures, quality practices, healing strategies
169
+ - **Centralized reference system**: `tea-index.csv` for on-demand fragment loading during workflow execution
170
+ - **Cross-cutting concerns**: Domain-specific testing patterns (vs project-specific artifacts like PRDs/stories)
171
+ - **Optional MCP integration**: Healing, exploratory, and verification modes for enhanced testing capabilities
172
+
173
+ This architecture enables TEA to maintain consistent, production-ready testing patterns across all BMad projects while operating across multiple development phases.
174
+
175
+ </details>
132
176
 
133
177
  ## High-Level Cheat Sheets
134
178
 
135
- ### Greenfield Feature Launch (Level 2)
179
+ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks** across the **4-Phase Methodology** (Phase 1: Analysis, Phase 2: Planning, Phase 3: Solutioning, Phase 4: Implementation).
180
+
181
+ **Note:** Quick Flow projects typically don't require TEA (covered in Overview). These cheat sheets focus on BMad Method and Enterprise tracks where TEA adds value.
182
+
183
+ **Legend for Track Deltas:**
184
+
185
+ - ➕ = New workflow or phase added (doesn't exist in baseline)
186
+ - 🔄 = Modified focus (same workflow, different emphasis or purpose)
187
+ - 📦 = Additional output or archival requirement
188
+
189
+ ### Greenfield - BMad Method (Simple/Standard Work)
136
190
 
137
- | Phase | Test Architect | Dev / Team | Outputs |
138
- | ------------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
139
- | Setup | - | Analyst `*product-brief`, PM `*prd`, Architect `*create-architecture` | `{output_folder}/product-brief*.md`, `PRD.md`, `epics.md`, `architecture.md` |
140
- | Pre-Implementation | Run `*framework` (if harness missing), `*ci`, and `*test-design` | Review risk/design/CI guidance, align backlog | Test scaffold, CI pipeline, risk and coverage strategy |
141
- | Story Prep | - | Scrum Master `*create-story`, `*story-context` | Story markdown + context XML |
142
- | Implementation | (Optional) Trigger `*atdd` before dev to supply failing tests + checklist | Implement story guided by ATDD checklist | Failing acceptance tests + implementation checklist |
143
- | Post-Dev | Execute `*automate`, (Optional) `*test-review`, re-run `*trace` | Address recommendations, update code/tests | Regression specs, quality report, refreshed coverage matrix |
144
- | Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Confirm Definition of Done, share release notes | Quality audit, Gate YAML + release summary (owners, waivers) |
191
+ **Planning Track:** BMad Method (PRD + Architecture)
192
+ **Use Case:** New projects with standard complexity
193
+
194
+ | Workflow Stage | Test Architect | Dev / Team | Outputs |
195
+ | -------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------------- |
196
+ | **Phase 1**: Discovery | - | Analyst `*product-brief` (optional) | `product-brief.md` |
197
+ | **Phase 2**: Planning | - | PM `*prd` (creates PRD + epics) | PRD, epics |
198
+ | **Phase 3**: Solutioning | Run `*framework`, `*ci` AFTER architecture | Architect `*architecture`, `*solutioning-gate-check` | Architecture, test scaffold, CI pipeline |
199
+ | **Phase 4**: Sprint Start | - | SM `*sprint-planning` | Sprint status file with all epics and stories |
200
+ | **Phase 4**: Epic Planning | Run `*test-design` for THIS epic (per-epic test plan) | Review epic scope | `test-design-epic-N.md` with risk assessment and test plan |
201
+ | **Phase 4**: Story Dev | (Optional) `*atdd` before dev, then `*automate` after | SM `*create-story`, DEV implements | Tests, story implementation |
202
+ | **Phase 4**: Story Review | Execute `*test-review` (optional), re-run `*trace` | Address recommendations, update code/tests | Quality report, refreshed coverage matrix |
203
+ | **Phase 4**: Release Gate | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Confirm Definition of Done, share release notes | Quality audit, Gate YAML + release summary |
145
204
 
146
205
  <details>
147
206
  <summary>Execution Notes</summary>
148
207
 
149
208
  - Run `*framework` only once per repo or when modern harness support is missing.
150
- - `*framework` followed by `*ci` establishes install + pipeline; `*test-design` then handles risk scoring, mitigations, and scenario planning in one pass.
209
+ - **Phase 3 (Solutioning)**: After architecture is complete, run `*framework` and `*ci` to setup test infrastructure based on architectural decisions.
210
+ - **Phase 4 starts**: After solutioning is complete, sprint planning loads all epics.
211
+ - **`*test-design` runs per-epic**: At the beginning of working on each epic, run `*test-design` to create a test plan for THAT specific epic/feature. Output: `test-design-epic-N.md`.
151
212
  - Use `*atdd` before coding when the team can adopt ATDD; share its checklist with the dev agent.
152
213
  - Post-implementation, keep `*trace` current, expand coverage with `*automate`, optionally review test quality with `*test-review`. For release gate, run `*trace` with Phase 2 enabled to get deployment decision.
153
214
  - Use `*test-review` after `*atdd` to validate generated tests, after `*automate` to ensure regression quality, or before gate for final audit.
@@ -157,79 +218,110 @@ This complexity **requires specialized documentation** (this guide), **extensive
157
218
  <details>
158
219
  <summary>Worked Example – “Nova CRM” Greenfield Feature</summary>
159
220
 
160
- 1. **Planning:** Analyst runs `*product-brief`; PM executes `*prd` to produce PRD and epics; Architect completes `*create-architecture` for the new module.
161
- 2. **Setup:** TEA checks harness via `*framework`, configures `*ci`, and runs `*test-design` to capture risk/coverage plans.
162
- 3. **Story Prep:** Scrum Master generates the story via `*create-story`; PO validates using `*solutioning-gate-check`.
163
- 4. **Implementation:** TEA optionally runs `*atdd`; Dev implements with guidance from failing tests and the plan.
164
- 5. **Post-Dev and Release:** TEA runs `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` with Phase 2 enabled to generate both traceability and gate decision.
221
+ 1. **Planning (Phase 2):** Analyst runs `*product-brief`; PM executes `*prd` to produce PRD and epics.
222
+ 2. **Solutioning (Phase 3):** Architect completes `*architecture` for the new module; TEA sets up test infrastructure via `*framework` and `*ci` based on architectural decisions; gate check validates planning completeness.
223
+ 3. **Sprint Start (Phase 4):** Scrum Master runs `*sprint-planning` to load all epics into sprint status.
224
+ 4. **Epic 1 Planning (Phase 4):** TEA runs `*test-design` to create test plan for Epic 1, producing `test-design-epic-1.md` with risk assessment.
225
+ 5. **Story Implementation (Phase 4):** For each story in Epic 1, SM generates story via `*create-story`; TEA optionally runs `*atdd`; Dev implements with guidance from failing tests.
226
+ 6. **Post-Dev (Phase 4):** TEA runs `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` to refresh coverage.
227
+ 7. **Release Gate:** TEA runs `*trace` with Phase 2 enabled to generate gate decision.
165
228
 
166
229
  </details>
167
230
 
168
- ### Brownfield Feature Enhancement (Level 3–4)
231
+ ### Brownfield - BMad Method or Enterprise (Simple or Complex)
232
+
233
+ **Planning Tracks:** BMad Method or Enterprise Method
234
+ **Use Case:** Existing codebases - simple additions (BMad Method) or complex enterprise requirements (Enterprise Method)
235
+
236
+ **🔄 Brownfield Deltas from Greenfield:**
237
+
238
+ - ➕ Phase 0 (Documentation) - Document existing codebase if undocumented
239
+ - ➕ Phase 2: `*trace` - Baseline existing test coverage before planning
240
+ - 🔄 Phase 4: `*test-design` - Focus on regression hotspots and brownfield risks
241
+ - 🔄 Phase 4: Story Review - May include `*nfr-assess` if not done earlier
169
242
 
170
- | Phase | Test Architect | Dev / Team | Outputs |
171
- | ----------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ----------------------------------------------------------------------- |
172
- | Refresh Context | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
173
- | Baseline Coverage | Run `*trace` to inventory existing tests | Review matrix, flag hotspots | Coverage matrix + initial gate snippet |
174
- | Risk Targeting | Run `*test-design` | Align remediation/backlog priorities | Brownfield risk memo + scenario matrix |
175
- | Story Prep | - | Scrum Master `*create-story` | Updated story markdown |
176
- | Implementation | (Optional) Run `*atdd` before dev | Implement story, referencing checklist/tests | Failing acceptance tests + implementation checklist |
177
- | Post-Dev | Apply `*automate`, (Optional) `*test-review`, re-run `*trace`, `*nfr-assess` if needed | Resolve gaps, update docs/tests | Regression specs, quality report, refreshed coverage matrix, NFR report |
178
- | Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Product Owner `*solutioning-gate-check`, share release notes | Quality audit, Gate YAML + release summary |
243
+ | Workflow Stage | Test Architect | Dev / Team | Outputs |
244
+ | ----------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------- |
245
+ | **Phase 0**: Documentation ➕ | - | Analyst `*document-project` (if undocumented) | Comprehensive project documentation |
246
+ | **Phase 1**: Discovery | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
247
+ | **Phase 2**: Planning | Run `*trace` (baseline coverage) | PM `*prd` (creates PRD + epics) | PRD, epics, coverage baseline |
248
+ | **Phase 3**: Solutioning | Run `*framework`, `*ci` AFTER architecture | Architect `*architecture`, `*solutioning-gate-check` | Architecture, test framework, CI pipeline |
249
+ | **Phase 4**: Sprint Start | - | SM `*sprint-planning` | Sprint status file with all epics and stories |
250
+ | **Phase 4**: Epic Planning | Run `*test-design` for THIS epic 🔄 (regression hotspots) | Review epic scope and brownfield risks | `test-design-epic-N.md` with brownfield risk assessment and mitigation |
251
+ | **Phase 4**: Story Dev | (Optional) `*atdd` before dev, then `*automate` after | SM `*create-story`, DEV implements | Tests, story implementation |
252
+ | **Phase 4**: Story Review | Apply `*test-review` (optional), re-run `*trace`, ➕ `*nfr-assess` if needed | Resolve gaps, update docs/tests | Quality report, refreshed coverage matrix, NFR report |
253
+ | **Phase 4**: Release Gate | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Capture sign-offs, share release notes | Quality audit, Gate YAML + release summary |
179
254
 
180
255
  <details>
181
256
  <summary>Execution Notes</summary>
182
257
 
183
- - Lead with `*trace` so remediation plans target true coverage gaps. Ensure `*framework` and `*ci` are in place early in the engagement; if the brownfield lacks them, run those setup steps immediately after refreshing context.
184
- - `*test-design` should highlight regression hotspots, mitigations, and P0 scenarios.
258
+ - Lead with `*trace` during Planning (Phase 2) to baseline existing test coverage before architecture work begins.
259
+ - **Phase 3 (Solutioning)**: After architecture is complete, run `*framework` and `*ci` to modernize test infrastructure. For brownfield, framework may need to integrate with or replace existing test setup.
260
+ - **Phase 4 starts**: After solutioning is complete and sprint planning loads all epics.
261
+ - **`*test-design` runs per-epic**: At the beginning of working on each epic, run `*test-design` to identify regression hotspots, integration risks, and mitigation strategies for THAT specific epic/feature. Output: `test-design-epic-N.md`.
185
262
  - Use `*atdd` when stories benefit from ATDD; otherwise proceed to implementation and rely on post-dev automation.
186
263
  - After development, expand coverage with `*automate`, optionally review test quality with `*test-review`, re-run `*trace` (Phase 2 for gate decision). Run `*nfr-assess` now if non-functional risks weren't addressed earlier.
187
264
  - Use `*test-review` to validate existing brownfield tests or audit new tests before gate.
188
- - Product Owner `*solutioning-gate-check` confirms the team has artifacts before handoff or release.
189
265
 
190
266
  </details>
191
267
 
192
268
  <details>
193
269
  <summary>Worked Example – “Atlas Payments” Brownfield Story</summary>
194
270
 
195
- 1. **Context Refresh:** Analyst reruns `*product-brief`; PM executes `*prd` to update PRD, analysis, and `epics.md`; Architect triggers `*create-architecture` capturing legacy payment flows.
196
- 2. **Baseline Coverage:** TEA executes `*trace` to record current coverage in `docs/qa/assessments/atlas-payment-trace.md`.
197
- 3. **Risk and Design:** `*test-design` flags settlement edge cases, plans mitigations, and allocates new API/E2E scenarios with P0 priorities.
198
- 4. **Story Prep:** Scrum Master generates `stories/story-1.1.md` via `*create-story`, automatically pulling updated context.
199
- 5. **ATDD First:** TEA runs `*atdd`, producing failing Playwright specs under `tests/e2e/payments/` plus an implementation checklist.
200
- 6. **Implementation:** Dev pairs with the checklist/tests to deliver the story.
201
- 7. **Post-Implementation:** TEA applies `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` with Phase 2 enabled, performs `*nfr-assess` to validate SLAs. The `*trace` Phase 2 output marks PASS with follow-ups.
271
+ 1. **Planning (Phase 2):** PM executes `*prd` to update PRD and `epics.md` (Epic 1: Payment Processing); TEA runs `*trace` to baseline existing coverage.
272
+ 2. **Solutioning (Phase 3):** Architect triggers `*architecture` capturing legacy payment flows and integration architecture; TEA sets up `*framework` and `*ci` based on architectural decisions; gate check validates planning.
273
+ 3. **Sprint Start (Phase 4):** Scrum Master runs `*sprint-planning` to load Epic 1 into sprint status.
274
+ 4. **Epic 1 Planning (Phase 4):** TEA runs `*test-design` for Epic 1 (Payment Processing), producing `test-design-epic-1.md` that flags settlement edge cases, regression hotspots, and mitigation plans.
275
+ 5. **Story Implementation (Phase 4):** For each story in Epic 1, SM generates story via `*create-story`; TEA runs `*atdd` producing failing Playwright specs; Dev implements with guidance from tests and checklist.
276
+ 6. **Post-Dev (Phase 4):** TEA applies `*automate`, optionally `*test-review` to audit test quality, re-runs `*trace` to refresh coverage.
277
+ 7. **Release Gate:** TEA performs `*nfr-assess` to validate SLAs, runs `*trace` with Phase 2 enabled to generate gate decision (PASS/CONCERNS/FAIL).
202
278
 
203
279
  </details>
204
280
 
205
- ### Enterprise / Compliance Program (Level 4)
281
+ ### Greenfield - Enterprise Method (Enterprise/Compliance Work)
206
282
 
207
- | Phase | Test Architect | Dev / Team | Outputs |
208
- | ------------------- | ----------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------------------------- |
209
- | Strategic Planning | - | Analyst/PM/Architect standard workflows | Enterprise-grade PRD, epics, architecture |
210
- | Quality Planning | Run `*framework`, `*test-design`, `*nfr-assess` | Review guidance, align compliance requirements | Harness scaffold, risk + coverage plan, NFR documentation |
211
- | Pipeline Enablement | Configure `*ci` | Coordinate secrets, pipeline approvals | `.github/workflows/test.yml`, helper scripts |
212
- | Execution | Enforce `*atdd`, `*automate`, `*test-review`, `*trace` per story | Implement stories, resolve TEA findings | Tests, fixtures, quality reports, coverage matrices |
213
- | Release | (Optional) `*test-review` for final audit, Run `*trace` (Phase 2) | Capture sign-offs, archive artifacts | Quality audit, updated assessments, gate YAML, audit trail |
283
+ **Planning Track:** Enterprise Method (BMad Method + extended security/devops/test strategies)
284
+ **Use Case:** New enterprise projects with compliance, security, or complex regulatory requirements
285
+
286
+ **🏢 Enterprise Deltas from BMad Method:**
287
+
288
+ - Phase 1: `*research` - Domain and compliance research (recommended)
289
+ - Phase 2: `*nfr-assess` - Capture NFR requirements early (security/performance/reliability)
290
+ - 🔄 Phase 4: `*test-design` - Enterprise focus (compliance, security architecture alignment)
291
+ - 📦 Release Gate - Archive artifacts and compliance evidence for audits
292
+
293
+ | Workflow Stage | Test Architect | Dev / Team | Outputs |
294
+ | -------------------------- | ------------------------------------------------------------------------ | ---------------------------------------------------- | ------------------------------------------------------------------ |
295
+ | **Phase 1**: Discovery | - | Analyst ➕ `*research`, `*product-brief` | Domain research, compliance analysis, product brief |
296
+ | **Phase 2**: Planning | Run ➕ `*nfr-assess` | PM `*prd` (creates PRD + epics), UX `*create-design` | Enterprise PRD, epics, UX design, ➕ NFR documentation |
297
+ | **Phase 3**: Solutioning | Run `*framework`, `*ci` AFTER architecture | Architect `*architecture`, `*solutioning-gate-check` | Architecture, test framework, CI pipeline |
298
+ | **Phase 4**: Sprint Start | - | SM `*sprint-planning` | Sprint plan with all epics |
299
+ | **Phase 4**: Epic Planning | Run `*test-design` for THIS epic 🔄 (compliance focus) | Review epic scope and compliance requirements | `test-design-epic-N.md` with security/performance/compliance focus |
300
+ | **Phase 4**: Story Dev | (Optional) `*atdd`, `*automate`, `*test-review`, `*trace` per story | SM `*create-story`, DEV implements | Tests, fixtures, quality reports, coverage matrices |
301
+ | **Phase 4**: Release Gate | Final `*test-review` audit, Run `*trace` (Phase 2), 📦 archive artifacts | Capture sign-offs, 📦 compliance evidence | Quality audit, updated assessments, gate YAML, 📦 audit trail |
214
302
 
215
303
  <details>
216
304
  <summary>Execution Notes</summary>
217
305
 
218
- - Use `*atdd` for every story when feasible so acceptance tests lead implementation in regulated environments.
219
- - `*ci` scaffolds selective testing scripts, burn-in jobs, caching, and notifications for long-running suites.
220
- - Enforce `*test-review` per story or sprint to maintain quality standards and ensure compliance with testing best practices.
221
- - Prior to release, rerun coverage (`*trace`, `*automate`), perform final quality audit with `*test-review`, and formalize the decision with `*trace` Phase 2 (gate decision); store everything for audits. Call `*nfr-assess` here if compliance/performance requirements weren't captured during planning.
306
+ - `*nfr-assess` runs early in Planning (Phase 2) to capture compliance, security, and performance requirements upfront.
307
+ - **Phase 3 (Solutioning)**: After architecture is complete, run `*framework` and `*ci` with enterprise-grade configurations (selective testing, burn-in jobs, caching, notifications).
308
+ - **Phase 4 starts**: After solutioning is complete and sprint planning loads all epics.
309
+ - **`*test-design` runs per-epic**: At the beginning of working on each epic, run `*test-design` to create an enterprise-focused test plan for THAT specific epic, ensuring alignment with security architecture, performance targets, and compliance requirements. Output: `test-design-epic-N.md`.
310
+ - Use `*atdd` for stories when feasible so acceptance tests can lead implementation.
311
+ - Use `*test-review` per story or sprint to maintain quality standards and ensure compliance with testing best practices.
312
+ - Prior to release, rerun coverage (`*trace`, `*automate`), perform final quality audit with `*test-review`, and formalize the decision with `*trace` Phase 2 (gate decision); archive artifacts for compliance audits.
222
313
 
223
314
  </details>
224
315
 
225
316
  <details>
226
317
  <summary>Worked Example – “Helios Ledger” Enterprise Release</summary>
227
318
 
228
- 1. **Strategic Planning:** Analyst/PM/Architect complete PRD, epics, and architecture using the standard workflows.
229
- 2. **Quality Planning:** TEA runs `*framework`, `*test-design`, and `*nfr-assess` to establish mitigations, coverage, and NFR targets.
230
- 3. **Pipeline Setup:** TEA configures CI via `*ci` with selective execution scripts.
231
- 4. **Execution:** For each story, TEA enforces `*atdd`, `*automate`, `*test-review`, and `*trace`; Dev teams iterate on the findings.
232
- 5. **Release:** TEA re-checks coverage, performs final quality audit with `*test-review`, and logs the final gate decision via `*trace` Phase 2, archiving artifacts for compliance.
319
+ 1. **Planning (Phase 2):** Analyst runs `*research` and `*product-brief`; PM completes `*prd` creating PRD and epics; TEA runs `*nfr-assess` to establish NFR targets.
320
+ 2. **Solutioning (Phase 3):** Architect completes `*architecture` with enterprise considerations; TEA sets up `*framework` and `*ci` with enterprise-grade configurations based on architectural decisions; gate check validates planning completeness.
321
+ 3. **Sprint Start (Phase 4):** Scrum Master runs `*sprint-planning` to load all epics into sprint status.
322
+ 4. **Per-Epic (Phase 4):** For each epic, TEA runs `*test-design` to create epic-specific test plan (e.g., `test-design-epic-1.md`, `test-design-epic-2.md`) with compliance-focused risk assessment.
323
+ 5. **Per-Story (Phase 4):** For each story, TEA uses `*atdd`, `*automate`, `*test-review`, and `*trace`; Dev teams iterate on the findings.
324
+ 6. **Release Gate:** TEA re-checks coverage, performs final quality audit with `*test-review`, and logs the final gate decision via `*trace` Phase 2, archiving artifacts for compliance.
233
325
 
234
326
  </details>
235
327
 
@@ -251,7 +343,7 @@ MCP provides additional capabilities on top of TEA's default AI-based approach:
251
343
  - Default: Analysis + documentation
252
344
  - **+ MCP**: Interactive UI discovery with `browser_navigate`, `browser_click`, `browser_snapshot`, behavior observation
253
345
 
254
- Benefit:Discover actual functionality, edge cases, undocumented features
346
+ Benefit: Discover actual functionality, edge cases, undocumented features
255
347
 
256
348
  2. `*atdd`, `*automate`:
257
349
  - Default: Infers selectors and interactions from requirements and knowledge fragments
@@ -282,7 +374,7 @@ MCP provides additional capabilities on top of TEA's default AI-based approach:
282
374
  }
283
375
  ```
284
376
 
285
- **To disable**: Set `tea_use_mcp_enhancements: false` in `bmad/bmm/config.yaml` OR remove MCPs from IDE config.
377
+ **To disable**: Set `tea_use_mcp_enhancements: false` in `{bmad_folder}/bmm/config.yaml` OR remove MCPs from IDE config.
286
378
 
287
379
  </details>
288
380
 
@@ -300,30 +392,3 @@ MCP provides additional capabilities on top of TEA's default AI-based approach:
300
392
  | `*trace` | [📖](../workflows/testarch/trace/README.md) | Phase 1: Coverage matrix, recommendations. Phase 2: Gate decision (PASS/CONCERNS/FAIL/WAIVED) | Two-phase workflow: traceability + gate decision | - |
301
393
 
302
394
  **📖** = Click to view detailed workflow documentation
303
-
304
- ## Why TEA is Architecturally Different
305
-
306
- TEA is the only BMM agent with its own top-level module directory (`bmm/testarch/`). This intentional design pattern reflects TEA's unique requirements:
307
-
308
- <details>
309
- <summary><strong>Unique Architecture Pattern & Rationale</strong></summary>
310
-
311
- ### Directory Structure
312
-
313
- ```
314
- src/modules/bmm/
315
- ├── agents/
316
- │ └── tea.agent.yaml # Agent definition (standard location)
317
- ├── workflows/
318
- │ └── testarch/ # TEA workflows (standard location)
319
- └── testarch/ # Knowledge base (UNIQUE!)
320
- ├── knowledge/ # 21 production-ready test pattern fragments
321
- ├── tea-index.csv # Centralized knowledge lookup (21 fragments indexed)
322
- └── README.md # This guide
323
- ```
324
-
325
- ### Why TEA Gets Special Treatment
326
-
327
- TEA uniquely requires **extensive domain knowledge** (21 fragments, 12,821 lines: test patterns, CI/CD, fixtures, quality practices, healing strategies), a **centralized reference system** (`tea-index.csv` for on-demand fragment loading), **cross-cutting concerns** (domain-specific patterns vs project-specific artifacts like PRDs/stories), and **optional MCP integration** (healing, exploratory, verification modes). Other BMM agents don't require this architecture.
328
-
329
- </details>
@@ -179,7 +179,7 @@ The workflow uses a single comprehensive CSV file:
179
179
 
180
180
  **documentation-requirements.csv** - Complete project analysis guide
181
181
 
182
- - Location: `/bmad/bmm/workflows/document-project/documentation-requirements.csv`
182
+ - Location: `/{bmad_folder}/bmm/workflows/document-project/documentation-requirements.csv`
183
183
  - 12 project types (web, mobile, backend, cli, library, desktop, game, data, extension, infra, embedded)
184
184
  - 24 columns combining:
185
185
  - **Detection columns**: `project_type_id`, `key_file_patterns` (identifies project type from codebase)