ma-agents 3.12.2 → 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/bin/cli.js +11 -6
  2. package/docs/architecture.md +18 -0
  3. package/lib/bmad-cache/bmb/.claude-plugin/marketplace.json +1 -1
  4. package/lib/bmad-cache/bmb/_git_preserved/hooks/commit-msg.sample +52 -2
  5. package/lib/bmad-cache/bmb/_git_preserved/hooks/fsmonitor-watchman.sample +2 -8
  6. package/lib/bmad-cache/bmb/_git_preserved/index +0 -0
  7. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-8f8b045fef5af6911495cf3b2a89f1ed75e120f7.idx +0 -0
  8. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-8f8b045fef5af6911495cf3b2a89f1ed75e120f7.pack +0 -0
  9. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-8f8b045fef5af6911495cf3b2a89f1ed75e120f7.rev +0 -0
  10. package/lib/bmad-cache/bmb/_git_preserved/packed-refs +1 -1
  11. package/lib/bmad-cache/bmb/_git_preserved/refs/heads/main +1 -1
  12. package/lib/bmad-cache/bmb/_git_preserved/shallow +1 -1
  13. package/lib/bmad-cache/bmb/package-lock.json +2 -2
  14. package/lib/bmad-cache/bmb/package.json +1 -1
  15. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/assets/module-help.csv +1 -1
  16. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/merge-config.py +33 -0
  17. package/lib/bmad-cache/bmb/samples/bmad-agent-dream-weaver/scripts/merge-help-csv.py +28 -0
  18. package/lib/bmad-cache/bmb/samples/sample-module-setup/assets/module-help.csv +1 -1
  19. package/lib/bmad-cache/bmb/samples/sample-module-setup/scripts/cleanup-legacy.py +28 -0
  20. package/lib/bmad-cache/bmb/samples/sample-module-setup/scripts/merge-config.py +33 -0
  21. package/lib/bmad-cache/bmb/samples/sample-module-setup/scripts/merge-help-csv.py +28 -0
  22. package/lib/bmad-cache/bmb/skills/bmad-bmb-setup/assets/module-help.csv +1 -1
  23. package/lib/bmad-cache/bmb/skills/bmad-bmb-setup/scripts/cleanup-legacy.py +28 -0
  24. package/lib/bmad-cache/bmb/skills/bmad-bmb-setup/scripts/merge-config.py +33 -0
  25. package/lib/bmad-cache/bmb/skills/bmad-bmb-setup/scripts/merge-help-csv.py +28 -0
  26. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/assets/Dockerfile +29 -0
  27. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/docker_setup.py +115 -0
  28. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/generate_report.py +184 -0
  29. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/pty_runner.py +171 -0
  30. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/run_evals.py +492 -0
  31. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/run_triggers.py +366 -0
  32. package/lib/bmad-cache/bmb/skills/bmad-eval-runner/scripts/utils.py +260 -0
  33. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/setup-skill-template/assets/module-help.csv +1 -1
  34. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/setup-skill-template/scripts/cleanup-legacy.py +28 -0
  35. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/setup-skill-template/scripts/merge-config.py +33 -0
  36. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/setup-skill-template/scripts/merge-help-csv.py +28 -0
  37. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/standalone-module-template/merge-config.py +33 -0
  38. package/lib/bmad-cache/bmb/skills/bmad-module-builder/assets/standalone-module-template/merge-help-csv.py +28 -0
  39. package/lib/bmad-cache/bmb/skills/bmad-module-builder/scripts/tests/test-validate-module.py +74 -1
  40. package/lib/bmad-cache/bmb/skills/bmad-module-builder/scripts/validate-module.py +24 -13
  41. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/assets/sample-customize-product-brief.toml +48 -33
  42. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/scripts/extract-report-json.py +287 -0
  43. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/scripts/generate-html-report.py +57 -8
  44. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/scripts/prepass-prompt-metrics.py +7 -7
  45. package/lib/bmad-cache/bmb/skills/module-help.csv +1 -1
  46. package/lib/bmad-cache/bmb/website/public/img/eval-test-types.png +0 -0
  47. package/lib/bmad-cache/cache-manifest.json +17 -18
  48. package/lib/bmad-cache/cis/_git_preserved/hooks/commit-msg.sample +52 -2
  49. package/lib/bmad-cache/cis/_git_preserved/hooks/fsmonitor-watchman.sample +2 -8
  50. package/lib/bmad-cache/cis/_git_preserved/index +0 -0
  51. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-18c8290560a98bcb7bf0676e6cc9b2ac5ca2823e.idx +0 -0
  52. package/lib/bmad-cache/cis/_git_preserved/objects/pack/{pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.pack → pack-18c8290560a98bcb7bf0676e6cc9b2ac5ca2823e.pack} +0 -0
  53. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-18c8290560a98bcb7bf0676e6cc9b2ac5ca2823e.rev +0 -0
  54. package/lib/bmad-cache/cis/_git_preserved/packed-refs +1 -1
  55. package/lib/bmad-cache/cis/_git_preserved/refs/heads/main +1 -1
  56. package/lib/bmad-cache/cis/_git_preserved/refs/tags/v0.2.1 +1 -0
  57. package/lib/bmad-cache/cis/_git_preserved/shallow +1 -1
  58. package/lib/bmad-cache/cis/package-lock.json +2 -2
  59. package/lib/bmad-cache/cis/package.json +1 -1
  60. package/lib/bmad-cache/cis/src/module-help.csv +1 -1
  61. package/lib/bmad-cache/gds/.claude-plugin/marketplace.json +4 -7
  62. package/lib/bmad-cache/gds/README.md +3 -1
  63. package/lib/bmad-cache/gds/_git_preserved/hooks/commit-msg.sample +52 -2
  64. package/lib/bmad-cache/gds/_git_preserved/hooks/fsmonitor-watchman.sample +2 -8
  65. package/lib/bmad-cache/gds/_git_preserved/index +0 -0
  66. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-dcb7c556d9bb6b6b70d2301e094eaac6d7300552.idx +0 -0
  67. package/lib/bmad-cache/gds/_git_preserved/objects/pack/{pack-9427a146a90c00bb542cba038874bf9671ba4dc0.pack → pack-dcb7c556d9bb6b6b70d2301e094eaac6d7300552.pack} +0 -0
  68. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-dcb7c556d9bb6b6b70d2301e094eaac6d7300552.rev +0 -0
  69. package/lib/bmad-cache/gds/_git_preserved/packed-refs +1 -1
  70. package/lib/bmad-cache/gds/_git_preserved/refs/heads/main +1 -1
  71. package/lib/bmad-cache/gds/_git_preserved/shallow +1 -1
  72. package/lib/bmad-cache/gds/package.json +1 -1
  73. package/lib/bmad-cache/gds/src/agents/gds-agent-game-designer/customize.toml +5 -5
  74. package/lib/bmad-cache/gds/src/agents/gds-agent-game-dev/customize.toml +5 -5
  75. package/lib/bmad-cache/gds/src/agents/gds-agent-game-solo-dev/customize.toml +0 -5
  76. package/lib/bmad-cache/gds/src/module-help.csv +6 -12
  77. package/lib/bmad-cache/gds/src/module.yaml +1 -1
  78. package/lib/bmad-cache/gds/src/workflows/1-preproduction/gds-create-game-brief/customize.toml +97 -22
  79. package/lib/bmad-cache/gds/src/workflows/2-design/gds-gdd/assets/validation-report-template.html +190 -0
  80. package/lib/bmad-cache/gds/src/workflows/2-design/gds-gdd/customize.toml +99 -0
  81. package/lib/bmad-cache/gds/src/workflows/2-design/gds-gdd/scripts/render-validation-html.py +290 -0
  82. package/lib/bmad-cache/gds/src/workflows/2-design/gds-prd/assets/validation-report-template.html +190 -0
  83. package/lib/bmad-cache/gds/src/workflows/2-design/gds-prd/customize.toml +84 -0
  84. package/lib/bmad-cache/gds/src/workflows/2-design/gds-ux/assets/validation-report-template.html +319 -0
  85. package/lib/bmad-cache/gds/src/workflows/2-design/gds-ux/customize.toml +101 -0
  86. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-game-architecture/architecture-patterns.yaml +1 -0
  87. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-game-architecture/decision-catalog.yaml +88 -0
  88. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-game-architecture/engine-mcps.yaml +124 -2
  89. package/lib/bmad-cache/gds/src/workflows/4-production/gds-investigate/customize.toml +62 -0
  90. package/lib/bmad-cache/tea/.claude-plugin/marketplace.json +1 -1
  91. package/lib/bmad-cache/tea/.github/workflows/docs.yaml +3 -3
  92. package/lib/bmad-cache/tea/.github/workflows/quality.yaml +10 -10
  93. package/lib/bmad-cache/tea/AGENTS.md +31 -0
  94. package/lib/bmad-cache/tea/CHANGELOG.md +42 -1
  95. package/lib/bmad-cache/tea/README.md +8 -5
  96. package/lib/bmad-cache/tea/_git_preserved/hooks/commit-msg.sample +52 -2
  97. package/lib/bmad-cache/tea/_git_preserved/hooks/fsmonitor-watchman.sample +2 -8
  98. package/lib/bmad-cache/tea/_git_preserved/index +0 -0
  99. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-9e4197e37df7763dd7a05c2965ee921dfd2eb617.idx +0 -0
  100. package/lib/bmad-cache/tea/_git_preserved/objects/pack/{pack-f0df537f2649464ff6c5aee241165eb9c8664227.pack → pack-9e4197e37df7763dd7a05c2965ee921dfd2eb617.pack} +0 -0
  101. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-9e4197e37df7763dd7a05c2965ee921dfd2eb617.rev +0 -0
  102. package/lib/bmad-cache/tea/_git_preserved/packed-refs +1 -1
  103. package/lib/bmad-cache/tea/_git_preserved/refs/heads/main +1 -1
  104. package/lib/bmad-cache/tea/_git_preserved/refs/tags/v1.19.0 +1 -0
  105. package/lib/bmad-cache/tea/_git_preserved/shallow +1 -1
  106. package/lib/bmad-cache/tea/docs/explanation/engagement-models.md +15 -16
  107. package/lib/bmad-cache/tea/docs/explanation/knowledge-base-system.md +2 -0
  108. package/lib/bmad-cache/tea/docs/explanation/risk-based-testing.md +1 -1
  109. package/lib/bmad-cache/tea/docs/explanation/tea-overview.md +88 -52
  110. package/lib/bmad-cache/tea/docs/explanation/testing-as-engineering.md +13 -12
  111. package/lib/bmad-cache/tea/docs/glossary/index.md +2 -2
  112. package/lib/bmad-cache/tea/docs/how-to/brownfield/use-tea-for-enterprise.md +19 -18
  113. package/lib/bmad-cache/tea/docs/how-to/brownfield/use-tea-with-existing-tests.md +1 -1
  114. package/lib/bmad-cache/tea/docs/how-to/workflows/run-nfr-assess.md +32 -26
  115. package/lib/bmad-cache/tea/docs/how-to/workflows/run-test-design.md +20 -14
  116. package/lib/bmad-cache/tea/docs/how-to/workflows/run-trace.md +3 -3
  117. package/lib/bmad-cache/tea/docs/index.md +13 -11
  118. package/lib/bmad-cache/tea/docs/reference/commands.md +37 -13
  119. package/lib/bmad-cache/tea/docs/reference/knowledge-base.md +2 -2
  120. package/lib/bmad-cache/tea/package-lock.json +2 -2
  121. package/lib/bmad-cache/tea/package.json +1 -1
  122. package/lib/bmad-cache/tea/src/agents/bmad-tea/customize.toml +20 -15
  123. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/confidence-gate.md +73 -0
  124. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/test-quality.md +1 -0
  125. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/tea-index.csv +2 -1
  126. package/lib/bmad-cache/tea/src/module-help.csv +2 -2
  127. package/lib/bmad-cache/tea/src/workflows/testarch/README.md +5 -4
  128. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/role-paths.yaml +1 -1
  129. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/data/tea-resources-index.yaml +1 -1
  130. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-01.md +2 -2
  131. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-07.md +1 -1
  132. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-teach-me-testing/templates/certificate-template.md +1 -1
  133. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-atdd/resources/tea-index.csv +1 -1
  134. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-automate/resources/tea-index.csv +1 -1
  135. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-ci/resources/tea-index.csv +1 -1
  136. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-framework/resources/tea-index.csv +1 -1
  137. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/SKILL.md +3 -3
  138. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/checklist.md +11 -11
  139. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/instructions.md +4 -2
  140. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/nfr-report-template.md +5 -5
  141. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/resources/tea-index.csv +1 -1
  142. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01-load-context.md +1 -1
  143. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01b-resume.md +1 -1
  144. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-02-define-thresholds.md +14 -3
  145. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04-evaluate-and-score.md +7 -7
  146. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04a-subagent-security.md +4 -4
  147. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04b-subagent-performance.md +4 -4
  148. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04c-subagent-reliability.md +4 -4
  149. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04d-subagent-scalability.md +4 -4
  150. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04e-aggregate-nfr.md +4 -4
  151. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-05-generate-report.md +1 -1
  152. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/workflow-plan.md +1 -1
  153. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-nfr/workflow.yaml +3 -3
  154. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/checklist.md +23 -3
  155. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/resources/tea-index.csv +1 -1
  156. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-02-load-context.md +7 -0
  157. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-03-risk-and-testability.md +16 -2
  158. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-04-coverage-plan.md +20 -4
  159. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-05-generate-output.md +2 -0
  160. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-architecture-template.md +17 -0
  161. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-qa-template.md +15 -0
  162. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-design/test-design-template.md +16 -0
  163. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-test-review/resources/tea-index.csv +1 -1
  164. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/checklist.md +1 -1
  165. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/resources/tea-index.csv +1 -1
  166. package/lib/bmad-cache/tea/src/workflows/testarch/bmad-testarch-trace/trace-template.md +1 -1
  167. package/lib/bmad-cache/tea/test/test-installation-components.js +49 -0
  168. package/lib/bmad-cache/tea/website/astro.config.mjs +2 -2
  169. package/lib/bmad-cache/wds/README.md +1 -1
  170. package/lib/bmad-cache/wds/_git_preserved/hooks/commit-msg.sample +52 -2
  171. package/lib/bmad-cache/wds/_git_preserved/hooks/fsmonitor-watchman.sample +2 -8
  172. package/lib/bmad-cache/wds/_git_preserved/index +0 -0
  173. package/lib/bmad-cache/wds/_git_preserved/objects/pack/pack-656c3d8d5426e73043b6a7f45eedaab74e3c419e.idx +0 -0
  174. package/lib/bmad-cache/wds/_git_preserved/objects/pack/{pack-96877c1c09123cccb1f91c1412184b11d2b492ad.pack → pack-656c3d8d5426e73043b6a7f45eedaab74e3c419e.pack} +0 -0
  175. package/lib/bmad-cache/wds/_git_preserved/objects/pack/pack-656c3d8d5426e73043b6a7f45eedaab74e3c419e.rev +0 -0
  176. package/lib/bmad-cache/wds/_git_preserved/packed-refs +1 -1
  177. package/lib/bmad-cache/wds/_git_preserved/refs/heads/main +1 -1
  178. package/lib/bmad-cache/wds/_git_preserved/refs/tags/v0.4.3 +1 -0
  179. package/lib/bmad-cache/wds/_git_preserved/shallow +1 -1
  180. package/lib/bmad-cache/wds/eslint.config.mjs +1 -1
  181. package/lib/bmad-cache/wds/package.json +1 -1
  182. package/lib/bmad-cache/wds/src/agents/wds-agent-freya-ux/customize.toml +80 -0
  183. package/lib/bmad-cache/wds/src/agents/wds-agent-mimir-builder/customize.toml +52 -0
  184. package/lib/bmad-cache/wds/src/agents/wds-agent-saga-analyst/customize.toml +70 -0
  185. package/lib/bmad-cache/wds/src/module-help.csv +19 -19
  186. package/lib/bmad-cache/wds/src/module.yaml +28 -0
  187. package/lib/bmad-cache/wds/src/scripts/README.md +155 -0
  188. package/lib/bmad-cache/wds/src/scripts/wds-add-object.js +202 -0
  189. package/lib/bmad-cache/wds/src/scripts/wds-add-spacing.js +158 -0
  190. package/lib/bmad-cache/wds/src/scripts/wds-init-page.js +229 -0
  191. package/lib/bmad-cache/wds/src/scripts/wds-init-scenario.js +120 -0
  192. package/lib/bmad-cache/wds/src/scripts/wds-nav.js +201 -0
  193. package/lib/bmad-cache/wds/src/scripts/wds-validate.js +301 -0
  194. package/lib/bmad-cache/wds/src/workflows/wds-3-scenarios/workflow.xml +450 -0
  195. package/lib/bmad-cache/wds/src/workflows/wds-4-ux-design/workflow-specify.xml +387 -0
  196. package/lib/bmad-extension/.claude-plugin/marketplace.json.template +1 -1
  197. package/lib/bmad-extension-plugin/.claude-plugin/marketplace.json +2 -2
  198. package/lib/bmad.js +91 -7
  199. package/lib/installer.js +28 -6
  200. package/lib/mil498-templates/OCD.md +169 -169
  201. package/lib/mil498-templates/README.md +4 -4
  202. package/lib/mil498-templates/SDD.md +163 -163
  203. package/lib/mil498-templates/SDP.md +307 -307
  204. package/lib/mil498-templates/SRS.md +219 -219
  205. package/lib/mil498-templates/SSDD.md +154 -154
  206. package/lib/mil498-templates/SSS.md +225 -225
  207. package/lib/mil498-templates/STD.md +188 -188
  208. package/lib/templates/instruction-block-git.template.md +25 -0
  209. package/package.json +5 -4
  210. package/scripts/build-bmad-cache.js +143 -42
  211. package/skills/git-workflow-skill/skill.json +21 -21
  212. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-6ecd9fc6445b1281449c5ec49a6c5794708e662e.idx +0 -0
  213. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-6ecd9fc6445b1281449c5ec49a6c5794708e662e.pack +0 -0
  214. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-6ecd9fc6445b1281449c5ec49a6c5794708e662e.rev +0 -0
  215. package/lib/bmad-cache/bmb/_git_preserved/refs/remotes/origin/HEAD +0 -1
  216. package/lib/bmad-cache/bmb/_git_preserved/refs/tags/v1.7.0 +0 -1
  217. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/scripts/generate-convert-report.py +0 -406
  218. package/lib/bmad-cache/bmb/skills/bmad-workflow-builder/scripts/tests/test_generate_convert_report.py +0 -243
  219. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.idx +0 -0
  220. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.rev +0 -0
  221. package/lib/bmad-cache/cis/_git_preserved/refs/remotes/origin/HEAD +0 -1
  222. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-9427a146a90c00bb542cba038874bf9671ba4dc0.idx +0 -0
  223. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-9427a146a90c00bb542cba038874bf9671ba4dc0.rev +0 -0
  224. package/lib/bmad-cache/gds/_git_preserved/refs/remotes/origin/HEAD +0 -1
  225. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-gdd/customize.toml +0 -41
  226. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-prd/customize.toml +0 -41
  227. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-prd/data/domain-complexity.csv +0 -15
  228. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-prd/data/project-types.csv +0 -11
  229. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-ux-design/customize.toml +0 -41
  230. package/lib/bmad-cache/gds/src/workflows/2-design/gds-edit-gdd/customize.toml +0 -41
  231. package/lib/bmad-cache/gds/src/workflows/2-design/gds-edit-prd/customize.toml +0 -41
  232. package/lib/bmad-cache/gds/src/workflows/2-design/gds-validate-gdd/customize.toml +0 -41
  233. package/lib/bmad-cache/gds/src/workflows/2-design/gds-validate-prd/customize.toml +0 -41
  234. package/lib/bmad-cache/gds/src/workflows/2-design/gds-validate-prd/data/domain-complexity.csv +0 -15
  235. package/lib/bmad-cache/gds/src/workflows/2-design/gds-validate-prd/data/project-types.csv +0 -11
  236. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-f0df537f2649464ff6c5aee241165eb9c8664227.idx +0 -0
  237. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-f0df537f2649464ff6c5aee241165eb9c8664227.rev +0 -0
  238. package/lib/bmad-cache/tea/_git_preserved/refs/remotes/origin/HEAD +0 -1
  239. package/lib/bmad-cache/wds/_git_preserved/objects/pack/pack-96877c1c09123cccb1f91c1412184b11d2b492ad.idx +0 -0
  240. package/lib/bmad-cache/wds/_git_preserved/objects/pack/pack-96877c1c09123cccb1f91c1412184b11d2b492ad.rev +0 -0
  241. package/lib/bmad-cache/wds/_git_preserved/refs/remotes/origin/HEAD +0 -1
  242. package/lib/bmad-cache/wds/src/agents/wds-agent-freya-ux/bmad-skill-manifest.yaml +0 -12
  243. package/lib/bmad-cache/wds/src/agents/wds-agent-saga-analyst/bmad-skill-manifest.yaml +0 -12
  244. package/lib/bmad-cache/wds/src/workflows/wds-0-alignment-signoff/bmad-skill-manifest.yaml +0 -1
  245. package/lib/bmad-cache/wds/src/workflows/wds-0-project-setup/bmad-skill-manifest.yaml +0 -1
  246. package/lib/bmad-cache/wds/src/workflows/wds-1-project-brief/bmad-skill-manifest.yaml +0 -1
  247. package/lib/bmad-cache/wds/src/workflows/wds-2-trigger-mapping/bmad-skill-manifest.yaml +0 -1
  248. package/lib/bmad-cache/wds/src/workflows/wds-3-scenarios/bmad-skill-manifest.yaml +0 -1
  249. package/lib/bmad-cache/wds/src/workflows/wds-4-ux-design/bmad-skill-manifest.yaml +0 -1
  250. package/lib/bmad-cache/wds/src/workflows/wds-5-agentic-development/bmad-skill-manifest.yaml +0 -1
  251. package/lib/bmad-cache/wds/src/workflows/wds-6-asset-generation/bmad-skill-manifest.yaml +0 -1
  252. package/lib/bmad-cache/wds/src/workflows/wds-7-design-system/bmad-skill-manifest.yaml +0 -1
  253. package/lib/bmad-cache/wds/src/workflows/wds-8-product-evolution/bmad-skill-manifest.yaml +0 -1
  254. /package/lib/bmad-cache/gds/src/workflows/2-design/{gds-create-gdd → gds-gdd/assets}/game-types.csv +0 -0
  255. /package/lib/bmad-cache/gds/src/workflows/2-design/{gds-validate-gdd/data → gds-gdd/assets}/genre-complexity.csv +0 -0
@@ -96,6 +96,8 @@ network-first,Network-First Safeguards,Intercept-before-navigate workflow,"netwo
96
96
  fixture-architecture,Fixture Architecture,Composable fixture patterns,"fixtures,architecture",knowledge/fixture-architecture.md
97
97
  ```
98
98
 
99
+ The agent-level `resources/` directory is the reference catalog for Murat. Workflow skills also carry their own `resources/tea-index.csv` and `resources/knowledge/` directories. That duplication is intentional: workflow step frontmatter resolves `knowledgeIndex: './resources/tea-index.csv'` from `{skill-root}`, keeping each workflow skill modular and self-contained.
100
+
99
101
  **2. Workflow Loads Relevant Fragments**
100
102
 
101
103
  When user runs `atdd`:
@@ -611,7 +611,7 @@ flowchart TD
611
611
 
612
612
  - [How to Run Test Design](/docs/how-to/workflows/run-test-design.md) - Apply risk scoring
613
613
  - [How to Run Trace](/docs/how-to/workflows/run-trace.md) - Gate decisions based on risk
614
- - [How to Run NFR Assessment](/docs/how-to/workflows/run-nfr-assess.md) - NFR risk assessment
614
+ - [How to Run NFR Evidence Audit](/docs/how-to/workflows/run-nfr-assess.md) - NFR evidence status for gate decisions
615
615
 
616
616
  **Use-Case Guides:**
617
617
 
@@ -51,28 +51,44 @@ BMad does not mandate TEA. There are five valid ways to use it (or skip it). Pic
51
51
  - Phase 2: baseline `trace`.
52
52
  - Phase 3: system-level `test-design`, then `framework` and `ci`.
53
53
  - Phase 4: per-epic `test-design` focused on regression and integration risks.
54
- - Gate (Phase 2): `trace`; `nfr-assess` (if not done earlier).
55
- - For brownfield BMad Method, follow the same flow with `nfr-assess` optional.
54
+ - Gate: optional `nfr-assess` for NFR Evidence Audit, then `trace` Phase 2.
55
+ - For brownfield BMad Method, run `nfr-assess` only when NFR evidence exists and matters to release.
56
56
 
57
57
  5. **Integrated: Greenfield - Enterprise Method (Enterprise/Compliance Work)**
58
- - Phase 2: `nfr-assess`.
59
- - Phase 3: system-level `test-design`, then `framework` and `ci`.
58
+ - Phase 2: PM defines NFRs in PRD.
59
+ - Phase 3: system-level `test-design` plans NFR thresholds/evidence, then `framework` and `ci`.
60
60
  - Phase 4: per-epic `test-design`, plus `atdd`/`automate`/`test-review`.
61
- - Gate (Phase 2): `trace`; archive artifacts as needed.
61
+ - Gate: `nfr-assess` audits evidence, `trace` Phase 2 makes the gate decision; archive artifacts as needed.
62
62
 
63
63
  If you are unsure, default to the integrated path for your track and adjust later.
64
64
 
65
+ ### Exact Phase 3 Commands
66
+
67
+ When this page says `test-design`, `framework`, or `ci`, those are TEA workflow names. If the TEA agent menu is already active, you can use the menu codes `TD`, `TF`, and `CI`. Otherwise, use the full command form for your tool:
68
+
69
+ | Phase 3 Step | Claude Code / Cursor / Windsurf | Codex |
70
+ | ------------------------ | ------------------------------- | -------------------------------- |
71
+ | System-level test design | `/bmad:tea:test-design` | `$bmad-tea-testarch-test-design` |
72
+ | Test framework setup | `/bmad:tea:framework` | `$bmad-tea-testarch-framework` |
73
+ | CI/CD quality pipeline | `/bmad:tea:ci` | `$bmad-tea-testarch-ci` |
74
+
75
+ Example Phase 3 sequence:
76
+
77
+ 1. Run `/bmad:tea:test-design` and ask for **system-level** mode against the PRD, architecture, and ADRs.
78
+ 2. Run `/bmad:tea:framework` after the architecture and test design establish the test stack and quality requirements.
79
+ 3. Run `/bmad:tea:ci` after the framework exists so TEA can wire the pipeline to real test commands.
80
+
65
81
  ## TEA Command Catalog
66
82
 
67
83
  | Command | Primary Outputs | Notes | With Browser Automation (CLI/MCP) |
68
84
  | ------------- | --------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
85
+ | `test-design` | Combined risk assessment, NFR planning, mitigation plan, and coverage strategy | Risk scoring + NFR thresholds/evidence plan | **+ Exploratory**: Interactive UI discovery with browser automation (uncover actual functionality) |
69
86
  | `framework` | Playwright/Cypress scaffold, `.env.example`, `.nvmrc`, sample specs | Use when no production-ready harness exists | - |
70
87
  | `ci` | CI workflow, selective test scripts, secrets checklist | Platform-aware (GitHub Actions default) | - |
71
- | `test-design` | Combined risk assessment, mitigation plan, and coverage strategy | Risk scoring + optional exploratory mode | **+ Exploratory**: Interactive UI discovery with browser automation (uncover actual functionality) |
72
88
  | `atdd` | Red-phase acceptance test scaffolds + implementation checklist | TDD red phase + optional recording mode | **+ Recording**: UI selectors verified with live browser; API tests benefit from trace analysis |
73
89
  | `automate` | Prioritized specs, fixtures, README/script updates, DoD summary | Optional healing/recording, avoid duplicate coverage | **+ Healing**: Visual debugging + trace analysis for test fixes; **+ Recording**: Verified selectors (UI) + network inspection (API) |
74
90
  | `test-review` | Test quality review report with 0-100 score, violations, fixes | Reviews tests against knowledge base patterns | - |
75
- | `nfr-assess` | NFR assessment report with actions | Focus on security/performance/reliability | - |
91
+ | `nfr-assess` | NFR Evidence Audit report with actions | Audits implemented evidence against thresholds | - |
76
92
  | `trace` | Phase 1: Coverage matrix, recommendations. Phase 2: Gate decision (PASS/CONCERNS/FAIL/WAIVED) | Two-phase workflow: traceability + gate decision | - |
77
93
 
78
94
  ## TEA Workflow Lifecycle
@@ -93,7 +109,7 @@ graph TB
93
109
  subgraph Phase2["<b>Phase 2: PLANNING</b>"]
94
110
  PM["<b>PM: prd (creates PRD with FRs/NFRs)</b>"]
95
111
  PlanNote["<b>Business requirements phase</b>"]
96
- NFR2["<b>TEA: nfr-assess (optional, enterprise)</b>"]
112
+ NFR2["<b>NFRs captured in PRD</b>"]
97
113
  PM -.-> NFR2
98
114
  NFR2 -.-> PlanNote
99
115
  PM -.-> PlanNote
@@ -102,7 +118,7 @@ graph TB
102
118
  subgraph Phase3["<b>Phase 3: SOLUTIONING</b>"]
103
119
  Architecture["<b>Architect: architecture</b>"]
104
120
  EpicsStories["<b>PM/Architect: create-epics-and-stories</b>"]
105
- TestDesignSys["<b>TEA: test-design (system-level)</b>"]
121
+ TestDesignSys["<b>TEA: test-design (system-level + NFR planning)</b>"]
106
122
  Framework["<b>TEA: framework (optional if needed)</b>"]
107
123
  CI["<b>TEA: ci (optional if needed)</b>"]
108
124
  GateCheck["<b>Architect: implementation-readiness</b>"]
@@ -139,7 +155,7 @@ graph TB
139
155
  end
140
156
 
141
157
  subgraph Gate["<b>EPIC/RELEASE GATE</b>"]
142
- NFR["<b>TEA: nfr-assess (if not done earlier)</b>"]
158
+ NFR["<b>TEA: nfr-assess (NFR Evidence Audit)</b>"]
143
159
  TestReview2["<b>TEA: test-review (final audit, optional)</b>"]
144
160
  TraceGate["<b>TEA: trace - Phase 2: Gate</b>"]
145
161
  GateDecision{"<b>Gate Decision</b>"}
@@ -167,10 +183,28 @@ graph TB
167
183
  style Waived fill:#9c27b0,stroke:#4a148c,stroke-width:3px,color:#000
168
184
  ```
169
185
 
170
- **TEA workflows:** `framework` and `ci` run once in Phase 3 after architecture. `test-design` is **dual-mode**:
186
+ **TEA workflows:** `test-design` runs before `framework` and `ci` so NFR evidence needs can influence infrastructure. `framework` and `ci` run once in Phase 3 after architecture. `test-design` is **dual-mode**:
187
+
188
+ - **System-level (Phase 3):** Run immediately after architecture/ADR drafting to produce TWO documents: `test-design-architecture.md` (for Architecture/Dev teams: testability gaps, ASRs, NFR requirements, planned evidence) + `test-design-qa.md` (for QA team: test execution recipe, coverage plan, Sprint 0 setup, NFR coverage plan). Feeds the implementation-readiness gate.
189
+ - **Epic-level (Phase 4):** Run per-epic to produce `test-design-epic-N.md` (risk, priorities, coverage plan, and epic-specific NFR planning when relevant).
190
+
191
+ Use the same `test-design` workflow command for both modes; make the scope explicit in your prompt:
192
+
193
+ **Phase 3 system-level example**
194
+
195
+ ```text
196
+ /bmad:tea:test-design
197
+ Run system-level test-design for Phase 3 using docs/prd.md, docs/architecture.md, and docs/adr/*.md. Focus on architecture testability, ASRs, NFR thresholds, planned NFR evidence, integration risks, and Sprint 0 setup. Produce test-design-architecture.md and test-design-qa.md before implementation-readiness.
198
+ ```
199
+
200
+ **Phase 4 per-epic example**
201
+
202
+ ```text
203
+ /bmad:tea:test-design
204
+ Run epic-level test-design for Phase 4 on Epic 3 using docs/epics/epic-3.md and its stories. Use prior system-level test-design outputs if present. Produce test-design-epic-3.md with risk scores, P0-P3 scenarios, regression/integration/NFR coverage, and follow-on guidance for atdd and automate.
205
+ ```
171
206
 
172
- - **System-level (Phase 3):** Run immediately after architecture/ADR drafting to produce TWO documents: `test-design-architecture.md` (for Architecture/Dev teams: testability gaps, ASRs, NFR requirements) + `test-design-qa.md` (for QA team: test execution recipe, coverage plan, Sprint 0 setup). Feeds the implementation-readiness gate.
173
- - **Epic-level (Phase 4):** Run per-epic to produce `test-design-epic-N.md` (risk, priorities, coverage plan).
207
+ Codex users run `$bmad-tea-testarch-test-design` instead of `/bmad:tea:test-design` and use the same scope-setting prompt.
174
208
 
175
209
  The Quick Flow track skips Phases 1 and 3.
176
210
  BMad Method and Enterprise use all phases based on project needs.
@@ -180,14 +214,15 @@ When an ADR or architecture draft is produced, run `test-design` in **system-lev
180
214
 
181
215
  TEA spans multiple phases (Phase 3, Phase 4, and the release gate). Most BMM agents operate in a single phase. That multi-phase role is paired with a dedicated testing knowledge base so standards stay consistent across projects.
182
216
 
183
- ### TEA's 8 Workflows Across Phases
217
+ ### TEA's 9 Workflows Across Phases
184
218
 
185
- | Phase | TEA Workflows | Frequency | Purpose |
186
- | ----------- | --------------------------------------------------------- | ---------------- | ------------------------------------------------------- |
187
- | **Phase 2** | (none) | - | Planning phase - PM defines requirements |
188
- | **Phase 3** | `test-design` (system-level), `framework`, `ci` | Once per project | System testability review and test infrastructure setup |
189
- | **Phase 4** | `test-design`, `atdd`, `automate`, `test-review`, `trace` | Per epic/story | Test planning per epic, then per-story testing |
190
- | **Release** | `nfr-assess`, `trace` (Phase 2: gate) | Per epic/release | Go/no-go decision |
219
+ | Phase | TEA Workflows | Frequency | Purpose |
220
+ | ------------ | --------------------------------------------------------- | ---------------- | --------------------------------------------------------------- |
221
+ | **Learning** | `teach-me-testing` | Per learner | Progressive testing education |
222
+ | **Phase 2** | (none) | - | Planning phase - PM defines FRs/NFRs |
223
+ | **Phase 3** | `test-design` (system-level), `framework`, `ci` | Once per project | System testability, NFR planning, and test infrastructure setup |
224
+ | **Phase 4** | `test-design`, `atdd`, `automate`, `test-review`, `trace` | Per epic/story | Test planning per epic, then per-story testing |
225
+ | **Release** | `nfr-assess` (optional), `trace` (Phase 2: gate) | Per epic/release | Optional NFR evidence audit; go/no-go gate decision |
191
226
 
192
227
  **Note**: `trace` is a two-phase workflow: Phase 1 (traceability) + Phase 2 (gate decision). This reduces cognitive load while maintaining natural workflow.
193
228
 
@@ -245,25 +280,25 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
245
280
  - ➕ Documentation (Prerequisite) - Document existing codebase if undocumented
246
281
  - ➕ Phase 2: `trace` - Baseline existing test coverage before planning
247
282
  - 🔄 Phase 4: `test-design` - Focus on regression hotspots and brownfield risks
248
- - 🔄 Phase 4: Story Review - May include `nfr-assess` if not done earlier
249
-
250
- | Workflow Stage | Test Architect | Dev / Team | Outputs |
251
- | ---------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
252
- | **Documentation**: Prerequisite ➕ | - | Analyst `document-project` (if undocumented) | Comprehensive project documentation |
253
- | **Phase 1**: Discovery | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
254
- | **Phase 2**: Planning | Run ➕ `trace` (baseline coverage) | PM `prd` (creates PRD with FRs/NFRs) | PRD with FRs/NFRs, ➕ coverage baseline |
255
- | **Phase 3**: Solutioning | Run `framework`, `ci` AFTER architecture and epic creation | Architect `architecture`, `create-epics-and-stories`, `implementation-readiness` | Architecture, epics/stories, test framework, CI pipeline |
256
- | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint status file with all epics and stories |
257
- | **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 |
258
- | **Phase 4**: Story Dev | (Optional) `atdd` before dev, then `automate` after | SM `create-story`, DEV implements | Tests, story implementation |
259
- | **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 |
260
- | **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 |
283
+ - 🔄 Release Gate - May include `nfr-assess` when NFR evidence exists
284
+
285
+ | Workflow Stage | Test Architect | Dev / Team | Outputs |
286
+ | ---------------------------------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
287
+ | **Documentation**: Prerequisite ➕ | - | Analyst `document-project` (if undocumented) | Comprehensive project documentation |
288
+ | **Phase 1**: Discovery | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
289
+ | **Phase 2**: Planning | Run ➕ `trace` (baseline coverage) | PM `prd` (creates PRD with FRs/NFRs) | PRD with FRs/NFRs, ➕ coverage baseline |
290
+ | **Phase 3**: Solutioning | Run `test-design`, then `framework` and `ci` | Architect `architecture`, `create-epics-and-stories`, `implementation-readiness` | Architecture, epics/stories, NFR evidence plan, test framework, CI pipeline |
291
+ | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint status file with all epics and stories |
292
+ | **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 |
293
+ | **Phase 4**: Story Dev | (Optional) `atdd` before dev, then `automate` after | SM `create-story`, DEV implements | Tests, story implementation |
294
+ | **Phase 4**: Story Review | Apply `test-review` (optional), re-run `trace` | Resolve gaps, update docs/tests | Quality report, refreshed coverage matrix |
295
+ | **Phase 4**: Release Gate | Optional `test-review`, optional `nfr-assess`, then `trace` Phase 2 | Capture sign-offs, share release notes | Quality audit, NFR evidence audit, Gate YAML + release summary |
261
296
 
262
297
  **Key notes:**
263
298
 
264
299
  - Start with `trace` in Phase 2 to baseline coverage.
265
300
  - Focus `test-design` on regression hotspots and integration risk.
266
- - Run `nfr-assess` before the gate if it wasn't done earlier.
301
+ - Run `nfr-assess` before the gate when NFR evidence exists and matters to release.
267
302
 
268
303
  ### Greenfield - Enterprise Method (Enterprise/Compliance Work)
269
304
 
@@ -273,24 +308,25 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
273
308
  **🏢 Enterprise Deltas from BMad Method:**
274
309
 
275
310
  - ➕ Phase 1: `research` - Domain and compliance research (recommended)
276
- - Phase 2: `nfr-assess` - Capture NFR requirements early (security/performance/reliability)
311
+ - 🔄 Phase 3: `test-design` - Capture NFR thresholds and planned evidence early (security/performance/reliability)
277
312
  - 🔄 Phase 4: `test-design` - Enterprise focus (compliance, security architecture alignment)
313
+ - ➕ Release Gate: `nfr-assess` - Audit NFR evidence before final gate
278
314
  - 📦 Release Gate - Archive artifacts and compliance evidence for audits
279
315
 
280
- | Workflow Stage | Test Architect | Dev / Team | Outputs |
281
- | -------------------------- | ---------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
282
- | **Phase 1**: Discovery | - | Analyst ➕ `research`, `product-brief` | Domain research, compliance analysis, product brief |
283
- | **Phase 2**: Planning | Run ➕ `nfr-assess` | PM `prd` (creates PRD with FRs/NFRs), UX `create-ux-design` | Enterprise PRD with FRs/NFRs, UX design, ➕ NFR documentation |
284
- | **Phase 3**: Solutioning | Run `framework`, `ci` AFTER architecture and epic creation | Architect `architecture`, `create-epics-and-stories`, `implementation-readiness` | Architecture, epics/stories, test framework, CI pipeline |
285
- | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint plan with all epics |
286
- | **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 |
287
- | **Phase 4**: Story Dev | (Optional) `atdd`, `automate`, `test-review`, `trace` per story | SM `create-story`, DEV implements | Tests, fixtures, quality reports, coverage matrices |
288
- | **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 |
316
+ | Workflow Stage | Test Architect | Dev / Team | Outputs |
317
+ | -------------------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
318
+ | **Phase 1**: Discovery | - | Analyst ➕ `research`, `product-brief` | Domain research, compliance analysis, product brief |
319
+ | **Phase 2**: Planning | - | PM `prd` (creates PRD with FRs/NFRs), UX `create-ux-design` | Enterprise PRD with FRs/NFRs, UX design |
320
+ | **Phase 3**: Solutioning | Run `test-design`, then `framework` and `ci` | Architect `architecture`, `create-epics-and-stories`, `implementation-readiness` | Architecture, epics/stories, NFR evidence plan, test framework, CI pipeline |
321
+ | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint plan with all epics |
322
+ | **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 |
323
+ | **Phase 4**: Story Dev | (Optional) `atdd`, `automate`, `test-review`, `trace` per story | SM `create-story`, DEV implements | Tests, fixtures, quality reports, coverage matrices |
324
+ | **Phase 4**: Release Gate | Final `test-review`, `nfr-assess`, `trace` Phase 2, 📦 archive artifacts | Capture sign-offs, 📦 compliance evidence | Quality audit, NFR evidence audit, gate YAML, 📦 audit trail |
289
325
 
290
326
  **Key notes:**
291
327
 
292
- - Run `nfr-assess` early in Phase 2.
293
- - `test-design` emphasizes compliance, security, and performance alignment.
328
+ - Run `test-design` early enough to define NFR thresholds and planned evidence before implementation.
329
+ - Run `nfr-assess` at the release gate after evidence exists.
294
330
  - Archive artifacts at the release gate for audits.
295
331
 
296
332
  **Related how-to guides:**
@@ -301,7 +337,7 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
301
337
  - [How to Run Automate](/docs/how-to/workflows/run-automate.md)
302
338
  - [How to Run Test Review](/docs/how-to/workflows/run-test-review.md)
303
339
  - [How to Set Up CI Pipeline](/docs/how-to/workflows/setup-ci.md)
304
- - [How to Run NFR Assessment](/docs/how-to/workflows/run-nfr-assess.md)
340
+ - [How to Run NFR Evidence Audit](/docs/how-to/workflows/run-nfr-assess.md)
305
341
  - [How to Run Trace](/docs/how-to/workflows/run-trace.md)
306
342
 
307
343
  ## Deep Dive Concepts
@@ -423,13 +459,13 @@ Optional MCP integration for design-time broker interaction in contract testing
423
459
  **All 9 TEA workflows with step-by-step instructions:**
424
460
 
425
461
  1. [How to Learn Testing with TEA Academy](/docs/how-to/workflows/teach-me-testing.md) - Teach Me Testing (TEA Academy)
426
- 2. [How to Set Up a Test Framework with TEA](/docs/how-to/workflows/setup-test-framework.md) - Scaffold Playwright or Cypress
427
- 3. [How to Set Up CI Pipeline with TEA](/docs/how-to/workflows/setup-ci.md) - Configure CI/CD with selective testing
428
- 4. [How to Run Test Design with TEA](/docs/how-to/workflows/run-test-design.md) - Risk-based test planning (system or epic)
462
+ 2. [How to Run Test Design with TEA](/docs/how-to/workflows/run-test-design.md) - Risk-based test and NFR planning (system or epic)
463
+ 3. [How to Set Up a Test Framework with TEA](/docs/how-to/workflows/setup-test-framework.md) - Scaffold Playwright or Cypress
464
+ 4. [How to Set Up CI Pipeline with TEA](/docs/how-to/workflows/setup-ci.md) - Configure CI/CD with selective testing
429
465
  5. [How to Run ATDD with TEA](/docs/how-to/workflows/run-atdd.md) - Generate red-phase test scaffolds before implementation
430
466
  6. [How to Run Automate with TEA](/docs/how-to/workflows/run-automate.md) - Expand test coverage after implementation
431
467
  7. [How to Run Test Review with TEA](/docs/how-to/workflows/run-test-review.md) - Audit test quality (0-100 scoring)
432
- 8. [How to Run NFR Assessment with TEA](/docs/how-to/workflows/run-nfr-assess.md) - Validate non-functional requirements
468
+ 8. [How to Run NFR Evidence Audit with TEA](/docs/how-to/workflows/run-nfr-assess.md) - Audit non-functional requirement evidence
433
469
  9. [How to Run Trace with TEA](/docs/how-to/workflows/run-trace.md) - Coverage traceability + gate decisions
434
470
 
435
471
  ### Customization & Integration
@@ -445,7 +481,7 @@ Optional MCP integration for design-time broker interaction in contract testing
445
481
  **Specialized guidance for specific contexts:**
446
482
 
447
483
  - [Using TEA with Existing Tests (Brownfield)](/docs/how-to/brownfield/use-tea-with-existing-tests.md) - Incremental improvement, regression hotspots, baseline coverage
448
- - [Running TEA for Enterprise](/docs/how-to/brownfield/use-tea-for-enterprise.md) - Compliance, NFR assessment, audit trails, SOC 2/HIPAA
484
+ - [Running TEA for Enterprise](/docs/how-to/brownfield/use-tea-for-enterprise.md) - Compliance, NFR evidence audit, audit trails, SOC 2/HIPAA
449
485
 
450
486
  ### Concept Deep Dives (Understanding-Oriented)
451
487
 
@@ -47,18 +47,19 @@ Together, these utility libraries eliminate the need to reinvent core testing pr
47
47
 
48
48
  ### 2. Process: TEA (Test Architect Agent)
49
49
 
50
- A quality operating model packaged as eight executable workflows spanning test design, CI/CD gates, and release readiness. TEA encodes test architecture expertise into repeatable processes.
51
-
52
- | Workflow | Purpose |
53
- | ------------- | --------------------------------------------- |
54
- | `test-design` | Risk-based test planning per epic |
55
- | `framework` | Scaffold production-ready test infrastructure |
56
- | `ci` | CI pipeline with selective testing |
57
- | `atdd` | Acceptance test-driven development |
58
- | `automate` | Prioritized test automation |
59
- | `test-review` | Test quality audits (0-100 score) |
60
- | `nfr-assess` | Non-functional requirements assessment |
61
- | `trace` | Coverage traceability and gate decisions |
50
+ A quality operating model packaged as nine workflows spanning learning, test design, CI/CD gates, and release readiness. TEA encodes test architecture expertise into repeatable processes.
51
+
52
+ | Workflow | Purpose |
53
+ | ------------------ | --------------------------------------------- |
54
+ | `teach-me-testing` | Guided testing education |
55
+ | `test-design` | Risk-based planning plus NFR planning |
56
+ | `framework` | Scaffold production-ready test infrastructure |
57
+ | `ci` | CI pipeline with selective testing |
58
+ | `atdd` | Acceptance test-driven development |
59
+ | `automate` | Prioritized test automation |
60
+ | `test-review` | Test quality audits (0-100 score) |
61
+ | `nfr-assess` | NFR Evidence Audit |
62
+ | `trace` | Coverage traceability and gate decisions |
62
63
 
63
64
  :::tip[Key Insight]
64
65
  TEA doesn't just generate tests—it provides a complete quality operating model with workflows for planning, execution, and release gates.
@@ -63,7 +63,7 @@ Terminology reference for Test Architect (TEA).
63
63
  | **Party Mode** | Multi-agent collaboration feature where agents discuss challenges together. BMad Master orchestrates, selecting 2-3 relevant agents per message. |
64
64
  | **PM** | Product Manager agent creating PRDs and tech-specs. Primary agent for Phase 2 planning. |
65
65
  | **SM** | Scrum Master agent managing sprints, creating stories, and coordinating implementation. Primary orchestrator for Phase 4. |
66
- | **TEA** | Test Architect agent responsible for test strategy, quality gates, and NFR assessment. Integrates throughout all phases. |
66
+ | **TEA** | Test Architect agent responsible for test strategy, quality gates, NFR planning, and NFR evidence audit. Integrates throughout all phases. |
67
67
  | **Technical Writer** | Agent specialized in creating technical documentation, diagrams, and maintaining documentation standards. |
68
68
  | **UX Designer** | Agent creating UX design documents, interaction patterns, and visual specifications for UI-heavy projects. |
69
69
 
@@ -136,7 +136,7 @@ Terminology reference for Test Architect (TEA).
136
136
  | **Knowledge Fragment** | Individual markdown file in TEA's knowledge base covering a specific testing pattern or practice (42 fragments total). |
137
137
  | **Browser Automation** | Playwright CLI and/or MCP servers enabling live browser interaction during test generation. CLI provides token-efficient stateless commands; MCP provides rich stateful automation. Configured via `tea_browser_automation`. |
138
138
  | **Network-First Pattern** | Testing pattern that waits for actual network responses instead of fixed timeouts to avoid race conditions and flakiness. |
139
- | **NFR Assessment** | Validation of non-functional requirements (security, performance, reliability, maintainability) with evidence-based decisions. |
139
+ | **NFR Evidence Audit** | Validation of non-functional requirement evidence (security, performance, reliability, maintainability) against defined thresholds. |
140
140
  | **Playwright Utils** | Optional package (`@seontechnologies/playwright-utils`) providing production-ready fixtures and utilities for Playwright tests. |
141
141
  | **Risk-Based Testing** | Testing approach where depth scales with business impact using probability × impact scoring (1-9 scale). |
142
142
  | **System-Level Test Design** | Test planning at architecture level (Phase 3) focusing on testability review, ADR mapping, and test infrastructure needs. |
@@ -5,7 +5,7 @@ description: Use TEA with compliance, security, and regulatory requirements in e
5
5
 
6
6
  # Running TEA for Enterprise Projects
7
7
 
8
- Use TEA on enterprise projects with compliance, security, audit, and regulatory requirements. This guide covers NFR assessment, audit trails, and evidence collection.
8
+ Use TEA on enterprise projects with compliance, security, audit, and regulatory requirements. This guide covers NFR planning, NFR Evidence Audit, audit trails, and evidence collection.
9
9
 
10
10
  ## When to Use This
11
11
 
@@ -24,11 +24,11 @@ Use TEA on enterprise projects with compliance, security, audit, and regulatory
24
24
 
25
25
  ## Enterprise-Specific TEA Workflows
26
26
 
27
- ### NFR Assessment (`nfr-assess`)
27
+ ### NFR Evidence Audit (`nfr-assess`)
28
28
 
29
- **Purpose:** Validate non-functional requirements with evidence.
29
+ **Purpose:** Audit implemented non-functional requirement evidence against defined thresholds.
30
30
 
31
- **When:** Phase 2 (early) and Release Gate
31
+ **When:** Release Gate, or earlier only when implementation evidence already exists. Use `test-design` in Phase 3 to plan NFR thresholds and evidence.
32
32
 
33
33
  **Why Enterprise Needs This:**
34
34
 
@@ -56,7 +56,7 @@ Evidence:
56
56
  - Compliance audit: reports/soc2-evidence.zip
57
57
  ```
58
58
 
59
- **Output:** NFR assessment with PASS/CONCERNS/FAIL for each category.
59
+ **Output:** NFR evidence audit with PASS/CONCERNS/FAIL for each category.
60
60
 
61
61
  ### Trace with Audit Evidence (`trace`)
62
62
 
@@ -156,17 +156,18 @@ Include in PRD:
156
156
  - Compliance mandates (data retention, audit logs)
157
157
  ```
158
158
 
159
- **2. Assess NFRs:**
159
+ **2. Plan NFR evidence with test-design:**
160
160
 
161
161
  ```
162
- TEA: nfr-assess
162
+ TEA: test-design
163
163
 
164
- Categories: All (Security, Performance, Reliability, Maintainability)
164
+ Scope: system-level
165
+ Focus: NFR thresholds, planned validation, required evidence
165
166
 
166
- Output: nfr-assessment.md
167
- - NFR requirements documented
168
- - Acceptance criteria defined
169
- - Test strategy planned
167
+ Output: test-design-architecture.md + test-design-qa.md
168
+ - NFR thresholds and unknowns documented
169
+ - Planned evidence sources defined
170
+ - Test strategy and NFR coverage planned
170
171
  ```
171
172
 
172
173
  **3. Baseline (brownfield only):**
@@ -240,12 +241,12 @@ Requirements:
240
241
 
241
242
  ### Release Gate (Required)
242
243
 
243
- **1. Final NFR assessment:**
244
+ **1. Final NFR Evidence Audit:**
244
245
 
245
246
  ```
246
247
  TEA: nfr-assess
247
248
 
248
- All categories (if not done earlier)
249
+ All categories with available evidence
249
250
  Latest evidence (performance tests, security scans)
250
251
  ```
251
252
 
@@ -266,7 +267,7 @@ TEA: trace Phase 2
266
267
  Evidence required:
267
268
  - traceability-matrix.md (from Phase 1)
268
269
  - test-review.md (from quality audit)
269
- - nfr-assessment.md (from NFR assessment)
270
+ - nfr-assessment.md (from NFR Evidence Audit)
270
271
  - Test execution results (must have test results available)
271
272
 
272
273
  Decision: PASS/CONCERNS/FAIL/WAIVED
@@ -282,7 +283,7 @@ Archive all artifacts for compliance audit
282
283
  Archive:
283
284
  - All test results
284
285
  - Coverage reports
285
- - NFR assessments
286
+ - NFR evidence audits
286
287
  - Gate decisions
287
288
  - Approver signatures
288
289
 
@@ -297,7 +298,7 @@ Retention: Per compliance requirements (7 years for HIPAA)
297
298
 
298
299
  - Requirements traceability matrix
299
300
  - Test execution results (with timestamps)
300
- - NFR assessment reports
301
+ - NFR evidence audit reports
301
302
  - Security scan results
302
303
  - Performance test results
303
304
  - Gate decision records
@@ -539,7 +540,7 @@ testWithAuth('admin can access admin endpoint', async ({ apiRequest, authToken,
539
540
 
540
541
  **Workflow Guides:**
541
542
 
542
- - [How to Run NFR Assessment](/docs/how-to/workflows/run-nfr-assess.md) - Deep dive on NFRs
543
+ - [How to Run NFR Evidence Audit](/docs/how-to/workflows/run-nfr-assess.md) - Deep dive on evidence auditing
543
544
  - [How to Run Trace](/docs/how-to/workflows/run-trace.md) - Gate decisions with evidence
544
545
  - [How to Run Test Review](/docs/how-to/workflows/run-test-review.md) - Quality audits
545
546
  - [How to Run Test Design](/docs/how-to/workflows/run-test-design.md) - Compliance-focused planning
@@ -595,7 +595,7 @@ trace Phase 1 - Refresh coverage
595
595
  **6. Release Gate:**
596
596
 
597
597
  ```
598
- nfr-assess - Validate NFRs (if enterprise)
598
+ nfr-assess - Audit NFR evidence (if enterprise and evidence exists)
599
599
  trace Phase 2 - Gate decision
600
600
  ```
601
601
 
@@ -1,17 +1,20 @@
1
1
  ---
2
- title: 'How to Run NFR Assessment with TEA'
3
- description: Validate non-functional requirements for security, performance, reliability, and maintainability using TEA
2
+ title: 'How to Run NFR Evidence Audit with TEA'
3
+ description: Audit non-functional requirement evidence for security, performance, reliability, and maintainability using TEA
4
4
  ---
5
5
 
6
- # How to Run NFR Assessment with TEA
6
+ # How to Run NFR Evidence Audit with TEA
7
7
 
8
- Use TEA's `nfr-assess` workflow to validate non-functional requirements (NFRs) with evidence-based assessment across security, performance, reliability, and maintainability.
8
+ Use TEA's `nfr-assess` workflow to audit non-functional requirement (NFR) evidence across security, performance, reliability, and maintainability. The command remains `nfr-assess` for compatibility; the workflow role is an evidence audit.
9
+
10
+ Use `test-design` before implementation to define NFR thresholds, planned validation, and expected evidence. Use `nfr-assess` after evidence exists to decide PASS/CONCERNS/FAIL.
9
11
 
10
12
  ## When to Use This
11
13
 
12
14
  - Enterprise projects with compliance requirements
13
15
  - Projects with strict NFR thresholds
14
16
  - Before production release
17
+ - After tests, scans, metrics, logs, monitoring data, or CI reports exist
15
18
  - When NFRs are critical to project success
16
19
  - Security or performance is mission-critical
17
20
 
@@ -26,14 +29,14 @@ Use TEA's `nfr-assess` workflow to validate non-functional requirements (NFRs) w
26
29
 
27
30
  - BMad Method installed
28
31
  - TEA agent available
29
- - NFRs defined in PRD or requirements doc
30
- - Evidence preferred but not required (test results, security scans, performance metrics)
32
+ - NFRs defined in PRD, requirements doc, architecture, or `test-design`
33
+ - Evidence sources available or explicitly missing (test results, security scans, performance metrics, logs, dashboards, CI reports)
31
34
 
32
- **Note:** You can run NFR assessment without complete evidence. TEA will mark categories as CONCERNS where evidence is missing and document what's needed.
35
+ **Note:** You can run the audit without complete evidence. TEA will mark categories as CONCERNS where evidence is missing and document what's needed.
33
36
 
34
37
  ## Steps
35
38
 
36
- ### 1. Run the NFR Assessment Workflow
39
+ ### 1. Run the NFR Evidence Audit Workflow
37
40
 
38
41
  Start a fresh chat and run:
39
42
 
@@ -41,11 +44,11 @@ Start a fresh chat and run:
41
44
  nfr-assess
42
45
  ```
43
46
 
44
- This loads TEA and starts the NFR assessment workflow.
47
+ This loads TEA and starts the NFR Evidence Audit workflow.
45
48
 
46
49
  ### 2. Specify NFR Categories
47
50
 
48
- TEA will ask which NFR categories to assess.
51
+ TEA will ask which NFR categories to audit.
49
52
 
50
53
  **Available Categories:**
51
54
 
@@ -69,11 +72,11 @@ Skip maintainability for now
69
72
 
70
73
  ### 3. Provide NFR Thresholds
71
74
 
72
- TEA will ask for specific thresholds for each category.
75
+ TEA will use specific thresholds for each category, preferably from PRD, architecture, or `test-design`.
73
76
 
74
77
  **Critical Principle: Never guess thresholds.**
75
78
 
76
- If you don't know the exact requirement, tell TEA to mark as CONCERNS and request clarification from stakeholders.
79
+ If you don't know the exact requirement, tell TEA to mark it as UNKNOWN/CONCERNS and request clarification from stakeholders.
77
80
 
78
81
  #### Security Thresholds
79
82
 
@@ -159,14 +162,14 @@ Don't have:
159
162
  - Mark as CONCERNS and request monitoring setup
160
163
  ```
161
164
 
162
- ### 5. Review NFR Assessment Report
165
+ ### 5. Review NFR Evidence Audit Report
163
166
 
164
- TEA generates a comprehensive assessment report.
167
+ TEA generates a comprehensive evidence audit report.
165
168
 
166
- #### Assessment Report (`nfr-assessment.md`):
169
+ #### Evidence Audit Report (`nfr-assessment.md`):
167
170
 
168
171
  ````markdown
169
- # Non-Functional Requirements Assessment
172
+ # NFR Evidence Audit
170
173
 
171
174
  **Date:** 2026-01-13
172
175
  **Epic:** User Profile Management
@@ -411,8 +414,8 @@ Lines : 85.2% ( 1205/1414 )
411
414
  - Validate P99 < 200ms
412
415
  - Validate throughput > 1000 rps
413
416
 
414
- 3. **Update this assessment** (TEA, 1 hour)
415
- - Re-run `*nfr-assess` with new results
417
+ 3. **Update this audit** (TEA, 1 hour)
418
+ - Re-run `*nfr-assess` with new evidence
416
419
  - Confirm PASS status
417
420
 
418
421
  ### Waiver Option (If Business Approves)
@@ -461,13 +464,13 @@ If business decides to deploy with current performance:
461
464
 
462
465
  - Daily: Check performance dashboards
463
466
  - Weekly: Review alert trends
464
- - Monthly: Re-assess NFRs
467
+ - Monthly: Re-audit NFR evidence
465
468
 
466
469
  ```
467
470
 
468
471
  ## What You Get
469
472
 
470
- ### NFR Assessment Report
473
+ ### NFR Evidence Audit Report
471
474
  - Category-by-category analysis (Security, Performance, Reliability, Maintainability)
472
475
  - Requirements status (target vs actual)
473
476
  - Evidence for each requirement
@@ -482,7 +485,7 @@ If business decides to deploy with current performance:
482
485
  ### Mitigation Plans
483
486
  - Specific actions to address concerns
484
487
  - Owners and deadlines
485
- - Re-assessment criteria
488
+ - Re-audit criteria
486
489
 
487
490
  ### Monitoring Plan
488
491
  - Post-release monitoring strategy
@@ -491,17 +494,20 @@ If business decides to deploy with current performance:
491
494
 
492
495
  ## Tips
493
496
 
494
- ### Run NFR Assessment Early
497
+ ### Plan NFRs Early, Audit Evidence Later
495
498
 
496
499
  **Phase 2 (Enterprise):**
497
- Run `nfr-assess` during planning to:
500
+ Define NFR requirements in the PRD so `test-design` can:
498
501
  - Identify NFR requirements early
499
502
  - Plan for performance testing
500
503
  - Budget for security audits
501
504
  - Set up monitoring infrastructure
502
505
 
506
+ **Phase 3:**
507
+ Run `test-design` to turn NFRs into thresholds, planned validation, and expected evidence.
508
+
503
509
  **Phase 4 or Gate:**
504
- Re-run before release to validate all requirements met.
510
+ Run `nfr-assess` before release to audit the evidence.
505
511
 
506
512
  ### Never Guess Thresholds
507
513
 
@@ -649,7 +655,7 @@ Don't deploy with CONCERNS without mitigation or waiver.
649
655
  ```
650
656
  Mark as CONCERNS for categories without evidence
651
657
  Document what evidence is needed
652
- Set up tests/scans before re-assessment
658
+ Set up tests/scans before re-audit
653
659
  ```
654
660
 
655
661
  **Don't block on missing evidence** - document what's needed and proceed.
@@ -675,7 +681,7 @@ Negotiate thresholds with stakeholders:
675
681
 
676
682
  Use data to negotiate realistic requirements.
677
683
 
678
- ### Assessment Takes Too Long
684
+ ### Audit Takes Too Long
679
685
 
680
686
  **Problem:** Gathering evidence for all categories is time-consuming.
681
687