bmad-method-test-architecture-enterprise 0.1.1-beta.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 (320) hide show
  1. package/.github/CODE_OF_CONDUCT.md +128 -0
  2. package/.github/FUNDING.yaml +15 -0
  3. package/.github/ISSUE_TEMPLATE/config.yaml +11 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
  5. package/.github/ISSUE_TEMPLATE/issue.md +61 -0
  6. package/.github/workflows/docs.yaml +66 -0
  7. package/.github/workflows/manual-release.yaml +195 -0
  8. package/.github/workflows/quality.yaml +114 -0
  9. package/.husky/pre-commit +20 -0
  10. package/.markdownlint-cli2.yaml +36 -0
  11. package/.nvmrc +1 -0
  12. package/.prettierignore +9 -0
  13. package/.vscode/settings.json +47 -0
  14. package/CHANGELOG.md +217 -0
  15. package/CONTRIBUTING.md +268 -0
  16. package/LICENSE +26 -0
  17. package/README.md +300 -0
  18. package/SECURITY.md +85 -0
  19. package/TEA-MODULE-MIGRATION-PLAN.md +3788 -0
  20. package/docs/404.md +20 -0
  21. package/docs/MIGRATION.md +447 -0
  22. package/docs/explanation/engagement-models.md +767 -0
  23. package/docs/explanation/fixture-architecture.md +484 -0
  24. package/docs/explanation/knowledge-base-system.md +599 -0
  25. package/docs/explanation/network-first-patterns.md +884 -0
  26. package/docs/explanation/risk-based-testing.md +628 -0
  27. package/docs/explanation/step-file-architecture.md +609 -0
  28. package/docs/explanation/subprocess-architecture.md +578 -0
  29. package/docs/explanation/subprocess-implementation-status.md +327 -0
  30. package/docs/explanation/tea-overview.md +425 -0
  31. package/docs/explanation/test-quality-standards.md +965 -0
  32. package/docs/explanation/testing-as-engineering.md +111 -0
  33. package/docs/glossary/index.md +160 -0
  34. package/docs/how-to/brownfield/use-tea-for-enterprise.md +571 -0
  35. package/docs/how-to/brownfield/use-tea-with-existing-tests.md +631 -0
  36. package/docs/how-to/customization/enable-tea-mcp-enhancements.md +455 -0
  37. package/docs/how-to/customization/integrate-playwright-utils.md +846 -0
  38. package/docs/how-to/workflows/run-atdd.md +460 -0
  39. package/docs/how-to/workflows/run-automate.md +690 -0
  40. package/docs/how-to/workflows/run-nfr-assess.md +731 -0
  41. package/docs/how-to/workflows/run-test-design.md +144 -0
  42. package/docs/how-to/workflows/run-test-review.md +638 -0
  43. package/docs/how-to/workflows/run-trace.md +951 -0
  44. package/docs/how-to/workflows/setup-ci.md +761 -0
  45. package/docs/how-to/workflows/setup-test-framework.md +99 -0
  46. package/docs/index.md +122 -0
  47. package/docs/reference/commands.md +300 -0
  48. package/docs/reference/configuration.md +729 -0
  49. package/docs/reference/knowledge-base.md +365 -0
  50. package/docs/reference/troubleshooting.md +717 -0
  51. package/docs/tutorials/tea-lite-quickstart.md +465 -0
  52. package/eslint.config.mjs +152 -0
  53. package/package.json +117 -0
  54. package/prettier.config.mjs +32 -0
  55. package/release_notes.md +28 -0
  56. package/src/_module-installer/installer.js +92 -0
  57. package/src/agents/tea.agent.yaml +63 -0
  58. package/src/module-help.csv +9 -0
  59. package/src/module.yaml +91 -0
  60. package/src/testarch/knowledge/adr-quality-readiness-checklist.md +377 -0
  61. package/src/testarch/knowledge/api-request.md +442 -0
  62. package/src/testarch/knowledge/api-testing-patterns.md +851 -0
  63. package/src/testarch/knowledge/auth-session.md +548 -0
  64. package/src/testarch/knowledge/burn-in.md +273 -0
  65. package/src/testarch/knowledge/ci-burn-in.md +675 -0
  66. package/src/testarch/knowledge/component-tdd.md +486 -0
  67. package/src/testarch/knowledge/contract-testing.md +957 -0
  68. package/src/testarch/knowledge/data-factories.md +500 -0
  69. package/src/testarch/knowledge/email-auth.md +721 -0
  70. package/src/testarch/knowledge/error-handling.md +725 -0
  71. package/src/testarch/knowledge/feature-flags.md +750 -0
  72. package/src/testarch/knowledge/file-utils.md +456 -0
  73. package/src/testarch/knowledge/fixture-architecture.md +401 -0
  74. package/src/testarch/knowledge/fixtures-composition.md +382 -0
  75. package/src/testarch/knowledge/intercept-network-call.md +426 -0
  76. package/src/testarch/knowledge/log.md +426 -0
  77. package/src/testarch/knowledge/network-error-monitor.md +401 -0
  78. package/src/testarch/knowledge/network-first.md +486 -0
  79. package/src/testarch/knowledge/network-recorder.md +527 -0
  80. package/src/testarch/knowledge/nfr-criteria.md +670 -0
  81. package/src/testarch/knowledge/overview.md +286 -0
  82. package/src/testarch/knowledge/playwright-config.md +730 -0
  83. package/src/testarch/knowledge/probability-impact.md +601 -0
  84. package/src/testarch/knowledge/recurse.md +421 -0
  85. package/src/testarch/knowledge/risk-governance.md +615 -0
  86. package/src/testarch/knowledge/selective-testing.md +732 -0
  87. package/src/testarch/knowledge/selector-resilience.md +527 -0
  88. package/src/testarch/knowledge/test-healing-patterns.md +644 -0
  89. package/src/testarch/knowledge/test-levels-framework.md +473 -0
  90. package/src/testarch/knowledge/test-priorities-matrix.md +373 -0
  91. package/src/testarch/knowledge/test-quality.md +664 -0
  92. package/src/testarch/knowledge/timing-debugging.md +372 -0
  93. package/src/testarch/knowledge/visual-debugging.md +524 -0
  94. package/src/testarch/tea-index.csv +35 -0
  95. package/src/workflows/testarch/README.md +74 -0
  96. package/src/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  97. package/src/workflows/testarch/atdd/checklist.md +374 -0
  98. package/src/workflows/testarch/atdd/instructions.md +38 -0
  99. package/src/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +110 -0
  100. package/src/workflows/testarch/atdd/steps-c/step-02-generation-mode.md +79 -0
  101. package/src/workflows/testarch/atdd/steps-c/step-03-test-strategy.md +76 -0
  102. package/src/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +228 -0
  103. package/src/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md +215 -0
  104. package/src/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md +212 -0
  105. package/src/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +329 -0
  106. package/src/workflows/testarch/atdd/steps-c/step-05-validate-and-complete.md +68 -0
  107. package/src/workflows/testarch/atdd/steps-e/step-01-assess.md +65 -0
  108. package/src/workflows/testarch/atdd/steps-e/step-02-apply-edit.md +60 -0
  109. package/src/workflows/testarch/atdd/steps-v/step-01-validate.md +67 -0
  110. package/src/workflows/testarch/atdd/validation-report-20260127-095021.md +73 -0
  111. package/src/workflows/testarch/atdd/validation-report-20260127-102401.md +116 -0
  112. package/src/workflows/testarch/atdd/workflow-plan.md +21 -0
  113. package/src/workflows/testarch/atdd/workflow.md +39 -0
  114. package/src/workflows/testarch/atdd/workflow.yaml +47 -0
  115. package/src/workflows/testarch/automate/checklist.md +582 -0
  116. package/src/workflows/testarch/automate/instructions.md +43 -0
  117. package/src/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +127 -0
  118. package/src/workflows/testarch/automate/steps-c/step-02-identify-targets.md +95 -0
  119. package/src/workflows/testarch/automate/steps-c/step-03-generate-tests.md +199 -0
  120. package/src/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md +183 -0
  121. package/src/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md +181 -0
  122. package/src/workflows/testarch/automate/steps-c/step-03c-aggregate.md +300 -0
  123. package/src/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md +69 -0
  124. package/src/workflows/testarch/automate/steps-e/step-01-assess.md +65 -0
  125. package/src/workflows/testarch/automate/steps-e/step-02-apply-edit.md +60 -0
  126. package/src/workflows/testarch/automate/steps-v/step-01-validate.md +67 -0
  127. package/src/workflows/testarch/automate/validation-report-20260127-095021.md +72 -0
  128. package/src/workflows/testarch/automate/validation-report-20260127-102401.md +114 -0
  129. package/src/workflows/testarch/automate/workflow-plan.md +20 -0
  130. package/src/workflows/testarch/automate/workflow.md +39 -0
  131. package/src/workflows/testarch/automate/workflow.yaml +54 -0
  132. package/src/workflows/testarch/ci/checklist.md +247 -0
  133. package/src/workflows/testarch/ci/github-actions-template.yaml +198 -0
  134. package/src/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  135. package/src/workflows/testarch/ci/instructions.md +38 -0
  136. package/src/workflows/testarch/ci/steps-c/step-01-preflight.md +92 -0
  137. package/src/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +82 -0
  138. package/src/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +75 -0
  139. package/src/workflows/testarch/ci/steps-c/step-04-validate-and-summary.md +67 -0
  140. package/src/workflows/testarch/ci/steps-e/step-01-assess.md +65 -0
  141. package/src/workflows/testarch/ci/steps-e/step-02-apply-edit.md +60 -0
  142. package/src/workflows/testarch/ci/steps-v/step-01-validate.md +67 -0
  143. package/src/workflows/testarch/ci/validation-report-20260127-095021.md +72 -0
  144. package/src/workflows/testarch/ci/validation-report-20260127-102401.md +114 -0
  145. package/src/workflows/testarch/ci/workflow-plan.md +20 -0
  146. package/src/workflows/testarch/ci/workflow.md +39 -0
  147. package/src/workflows/testarch/ci/workflow.yaml +47 -0
  148. package/src/workflows/testarch/framework/checklist.md +320 -0
  149. package/src/workflows/testarch/framework/instructions.md +38 -0
  150. package/src/workflows/testarch/framework/steps-c/step-01-preflight.md +75 -0
  151. package/src/workflows/testarch/framework/steps-c/step-02-select-framework.md +73 -0
  152. package/src/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +120 -0
  153. package/src/workflows/testarch/framework/steps-c/step-04-docs-and-scripts.md +70 -0
  154. package/src/workflows/testarch/framework/steps-c/step-05-validate-and-summary.md +68 -0
  155. package/src/workflows/testarch/framework/steps-e/step-01-assess.md +65 -0
  156. package/src/workflows/testarch/framework/steps-e/step-02-apply-edit.md +60 -0
  157. package/src/workflows/testarch/framework/steps-v/step-01-validate.md +67 -0
  158. package/src/workflows/testarch/framework/validation-report-20260127-095021.md +73 -0
  159. package/src/workflows/testarch/framework/validation-report-20260127-102401.md +116 -0
  160. package/src/workflows/testarch/framework/workflow-plan.md +22 -0
  161. package/src/workflows/testarch/framework/workflow.md +39 -0
  162. package/src/workflows/testarch/framework/workflow.yaml +49 -0
  163. package/src/workflows/testarch/nfr-assess/checklist.md +407 -0
  164. package/src/workflows/testarch/nfr-assess/instructions.md +36 -0
  165. package/src/workflows/testarch/nfr-assess/nfr-report-template.md +462 -0
  166. package/src/workflows/testarch/nfr-assess/steps-c/step-01-load-context.md +85 -0
  167. package/src/workflows/testarch/nfr-assess/steps-c/step-02-define-thresholds.md +82 -0
  168. package/src/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.md +64 -0
  169. package/src/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +140 -0
  170. package/src/workflows/testarch/nfr-assess/steps-c/step-04a-subprocess-security.md +138 -0
  171. package/src/workflows/testarch/nfr-assess/steps-c/step-04b-subprocess-performance.md +84 -0
  172. package/src/workflows/testarch/nfr-assess/steps-c/step-04c-subprocess-reliability.md +85 -0
  173. package/src/workflows/testarch/nfr-assess/steps-c/step-04d-subprocess-scalability.md +88 -0
  174. package/src/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +219 -0
  175. package/src/workflows/testarch/nfr-assess/steps-c/step-05-generate-report.md +71 -0
  176. package/src/workflows/testarch/nfr-assess/steps-e/step-01-assess.md +65 -0
  177. package/src/workflows/testarch/nfr-assess/steps-e/step-02-apply-edit.md +60 -0
  178. package/src/workflows/testarch/nfr-assess/steps-v/step-01-validate.md +67 -0
  179. package/src/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +73 -0
  180. package/src/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +116 -0
  181. package/src/workflows/testarch/nfr-assess/workflow-plan.md +19 -0
  182. package/src/workflows/testarch/nfr-assess/workflow.md +39 -0
  183. package/src/workflows/testarch/nfr-assess/workflow.yaml +49 -0
  184. package/src/workflows/testarch/test-design/checklist.md +410 -0
  185. package/src/workflows/testarch/test-design/instructions.md +52 -0
  186. package/src/workflows/testarch/test-design/steps-c/step-01-detect-mode.md +109 -0
  187. package/src/workflows/testarch/test-design/steps-c/step-02-load-context.md +127 -0
  188. package/src/workflows/testarch/test-design/steps-c/step-03-risk-and-testability.md +85 -0
  189. package/src/workflows/testarch/test-design/steps-c/step-04-coverage-plan.md +98 -0
  190. package/src/workflows/testarch/test-design/steps-c/step-05-generate-output.md +97 -0
  191. package/src/workflows/testarch/test-design/steps-e/step-01-assess.md +65 -0
  192. package/src/workflows/testarch/test-design/steps-e/step-02-apply-edit.md +60 -0
  193. package/src/workflows/testarch/test-design/steps-v/step-01-validate.md +67 -0
  194. package/src/workflows/testarch/test-design/test-design-architecture-template.md +222 -0
  195. package/src/workflows/testarch/test-design/test-design-qa-template.md +296 -0
  196. package/src/workflows/testarch/test-design/test-design-template.md +294 -0
  197. package/src/workflows/testarch/test-design/validation-report-20260127-095021.md +73 -0
  198. package/src/workflows/testarch/test-design/validation-report-20260127-102401.md +116 -0
  199. package/src/workflows/testarch/test-design/workflow-plan.md +22 -0
  200. package/src/workflows/testarch/test-design/workflow.md +39 -0
  201. package/src/workflows/testarch/test-design/workflow.yaml +71 -0
  202. package/src/workflows/testarch/test-review/checklist.md +472 -0
  203. package/src/workflows/testarch/test-review/instructions.md +36 -0
  204. package/src/workflows/testarch/test-review/steps-c/step-01-load-context.md +101 -0
  205. package/src/workflows/testarch/test-review/steps-c/step-02-discover-tests.md +69 -0
  206. package/src/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +184 -0
  207. package/src/workflows/testarch/test-review/steps-c/step-03a-subprocess-determinism.md +214 -0
  208. package/src/workflows/testarch/test-review/steps-c/step-03b-subprocess-isolation.md +125 -0
  209. package/src/workflows/testarch/test-review/steps-c/step-03c-subprocess-maintainability.md +102 -0
  210. package/src/workflows/testarch/test-review/steps-c/step-03d-subprocess-coverage.md +111 -0
  211. package/src/workflows/testarch/test-review/steps-c/step-03e-subprocess-performance.md +117 -0
  212. package/src/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +246 -0
  213. package/src/workflows/testarch/test-review/steps-c/step-04-generate-report.md +72 -0
  214. package/src/workflows/testarch/test-review/steps-e/step-01-assess.md +65 -0
  215. package/src/workflows/testarch/test-review/steps-e/step-02-apply-edit.md +60 -0
  216. package/src/workflows/testarch/test-review/steps-v/step-01-validate.md +67 -0
  217. package/src/workflows/testarch/test-review/test-review-template.md +390 -0
  218. package/src/workflows/testarch/test-review/validation-report-20260127-095021.md +72 -0
  219. package/src/workflows/testarch/test-review/validation-report-20260127-102401.md +114 -0
  220. package/src/workflows/testarch/test-review/workflow-plan.md +18 -0
  221. package/src/workflows/testarch/test-review/workflow.md +39 -0
  222. package/src/workflows/testarch/test-review/workflow.yaml +48 -0
  223. package/src/workflows/testarch/trace/checklist.md +642 -0
  224. package/src/workflows/testarch/trace/instructions.md +36 -0
  225. package/src/workflows/testarch/trace/steps-c/step-01-load-context.md +80 -0
  226. package/src/workflows/testarch/trace/steps-c/step-02-discover-tests.md +69 -0
  227. package/src/workflows/testarch/trace/steps-c/step-03-map-criteria.md +65 -0
  228. package/src/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +244 -0
  229. package/src/workflows/testarch/trace/steps-c/step-05-gate-decision.md +232 -0
  230. package/src/workflows/testarch/trace/steps-e/step-01-assess.md +65 -0
  231. package/src/workflows/testarch/trace/steps-e/step-02-apply-edit.md +60 -0
  232. package/src/workflows/testarch/trace/steps-v/step-01-validate.md +67 -0
  233. package/src/workflows/testarch/trace/trace-template.md +675 -0
  234. package/src/workflows/testarch/trace/validation-report-20260127-095021.md +73 -0
  235. package/src/workflows/testarch/trace/validation-report-20260127-102401.md +116 -0
  236. package/src/workflows/testarch/trace/workflow-plan.md +21 -0
  237. package/src/workflows/testarch/trace/workflow.md +39 -0
  238. package/src/workflows/testarch/trace/workflow.yaml +57 -0
  239. package/test/README.md +23 -0
  240. package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +27 -0
  241. package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +30 -0
  242. package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +22 -0
  243. package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +20 -0
  244. package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +25 -0
  245. package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +24 -0
  246. package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +25 -0
  247. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +25 -0
  248. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +25 -0
  249. package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +31 -0
  250. package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +25 -0
  251. package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +25 -0
  252. package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +25 -0
  253. package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +25 -0
  254. package/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
  255. package/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
  256. package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +27 -0
  257. package/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
  258. package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +24 -0
  259. package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +27 -0
  260. package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +27 -0
  261. package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +24 -0
  262. package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +29 -0
  263. package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +31 -0
  264. package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +28 -0
  265. package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +28 -0
  266. package/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
  267. package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +28 -0
  268. package/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
  269. package/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
  270. package/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
  271. package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +24 -0
  272. package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +22 -0
  273. package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +27 -0
  274. package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +31 -0
  275. package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +22 -0
  276. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +38 -0
  277. package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +24 -0
  278. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +31 -0
  279. package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +34 -0
  280. package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +24 -0
  281. package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +24 -0
  282. package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +24 -0
  283. package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +24 -0
  284. package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +23 -0
  285. package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +24 -0
  286. package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +24 -0
  287. package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +24 -0
  288. package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +22 -0
  289. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +28 -0
  290. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +30 -0
  291. package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +24 -0
  292. package/test/schema/agent.js +491 -0
  293. package/test/test-agent-schema.js +387 -0
  294. package/test/test-installation-components.js +183 -0
  295. package/test/test-knowledge-base.js +199 -0
  296. package/test/unit-test-schema.js +133 -0
  297. package/test/validate-agent-schema.js +110 -0
  298. package/tools/build-docs.js +575 -0
  299. package/tools/fix-doc-links.js +288 -0
  300. package/tools/schema/agent.js +491 -0
  301. package/tools/validate-agent-schema.js +111 -0
  302. package/tools/validate-doc-links.js +371 -0
  303. package/tools/verify-paths.js +100 -0
  304. package/website/README.md +137 -0
  305. package/website/astro.config.mjs +158 -0
  306. package/website/package-lock.json +6856 -0
  307. package/website/package.json +23 -0
  308. package/website/public/favicon.ico +0 -0
  309. package/website/public/img/tea-logo.svg +7 -0
  310. package/website/public/robots.txt +37 -0
  311. package/website/src/components/Banner.astro +59 -0
  312. package/website/src/components/Header.astro +121 -0
  313. package/website/src/components/MobileMenuFooter.astro +53 -0
  314. package/website/src/content/config.ts +6 -0
  315. package/website/src/lib/site-url.js +25 -0
  316. package/website/src/pages/404.astro +11 -0
  317. package/website/src/rehype-base-paths.js +89 -0
  318. package/website/src/rehype-markdown-links.js +117 -0
  319. package/website/src/styles/custom.css +499 -0
  320. package/website/tsconfig.json +9 -0
package/docs/404.md ADDED
@@ -0,0 +1,20 @@
1
+ ---
2
+ title: Page Not Found
3
+ description: The page you're looking for doesn't exist
4
+ template: splash
5
+ ---
6
+
7
+ # Page Not Found
8
+
9
+ The page you're looking for doesn't exist.
10
+
11
+ ## What can you do?
12
+
13
+ - Check the URL for typos
14
+ - Go back to the [home page](/)
15
+ - Browse the [documentation](/tutorials/tea-lite-quickstart)
16
+ - Search for what you need using the search bar above
17
+
18
+ ## Need Help?
19
+
20
+ If you think this page should exist, please [open an issue](https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/issues) on GitHub.
@@ -0,0 +1,447 @@
1
+ ---
2
+ title: Migration Guide
3
+ description: Migrate from BMM-embedded TEA to standalone TEA module (v1.0.0+)
4
+ ---
5
+
6
+ # Migration Guide: BMM-Embedded TEA → Standalone TEA Module
7
+
8
+ This guide helps you migrate from the BMM-embedded version of TEA to the standalone TEA module (v1.0.0+).
9
+
10
+ ## Overview
11
+
12
+ TEA (Test Architect) has been extracted from the BMAD Method (BMM) core repository into a standalone, independently installable module. This allows:
13
+
14
+ - **Independent versioning** and release cycles
15
+ - **Optional installation** - use TEA only when needed
16
+ - **Cleaner separation** of concerns
17
+ - **Easier maintenance** and contribution
18
+
19
+ ## Breaking Changes
20
+
21
+ ### 1. Command Namespace
22
+
23
+ All TEA commands have changed namespace from `/bmad:bmm:tea:*` to `/bmad:tea:*`.
24
+
25
+ | Old Command (BMM-embedded) | New Command (Standalone) |
26
+ | ------------------------------ | ------------------------ |
27
+ | `/bmad:bmm:tea:framework` | `/bmad:tea:framework` |
28
+ | `/bmad:bmm:tea:ci` | `/bmad:tea:ci` |
29
+ | `/bmad:bmm:tea:test-design` | `/bmad:tea:test-design` |
30
+ | `/bmad:bmm:tea:atdd` | `/bmad:tea:atdd` |
31
+ | `/bmad:bmm:tea:automate` | `/bmad:tea:automate` |
32
+ | `/bmad:bmm:tea:test-review` | `/bmad:tea:test-review` |
33
+ | `/bmad:bmm:tea:trace` | `/bmad:tea:trace` |
34
+ | `/bmad:bmm:tea:nfr-assess` | `/bmad:tea:nfr-assess` |
35
+ | **Short triggers** (unchanged) | |
36
+ | `TF`, `CI`, `TD`, `AT`, `TA` | Same |
37
+ | `RV`, `TR`, `NR` | Same |
38
+
39
+ **Action Required**: Update any saved prompts, scripts, or documentation that reference the old commands.
40
+
41
+ ### 2. Module Installation
42
+
43
+ TEA is no longer bundled with BMM by default. You must install it separately.
44
+
45
+ #### Old Behavior (BMM-embedded)
46
+
47
+ ```bash
48
+ # TEA automatically included
49
+ npx bmad-method install
50
+ ```
51
+
52
+ #### New Behavior (Standalone)
53
+
54
+ ```bash
55
+ # Install BMAD Method first
56
+ npx bmad-method install
57
+ # Select modules (BMM, TEA, etc.)
58
+
59
+ # Or install TEA separately later
60
+ npx bmad-method install
61
+ # Select: Test Architect (TEA)
62
+ ```
63
+
64
+ **Action Required**: Install TEA module explicitly if not already installed.
65
+
66
+ ### 3. File Path Changes
67
+
68
+ Internal file paths have changed to reflect TEA's standalone structure.
69
+
70
+ | Old Path (BMM-embedded) | New Path (Standalone) |
71
+ | ------------------------------- | --------------------------- |
72
+ | `src/bmm/agents/tea.agent.yaml` | `src/agents/tea.agent.yaml` |
73
+ | `src/bmm/testarch/knowledge/` | `src/testarch/knowledge/` |
74
+ | `src/bmm/workflows/testarch/` | `src/workflows/testarch/` |
75
+ | `_bmad/bmm/tea` | `_bmad/tea/` |
76
+
77
+ **Action Required**: None for end users. This only affects contributors and maintainers.
78
+
79
+ ### 4. Configuration Variables
80
+
81
+ TEA configuration is now in its own `src/module.yaml` instead of BMM's configuration.
82
+
83
+ #### Old Configuration (BMM-embedded)
84
+
85
+ Configuration was embedded in BMM's module.yaml:
86
+
87
+ ```yaml
88
+ # In BMM module.yaml
89
+ variables:
90
+ bmm_test_artifacts: test-results
91
+ # TEA variables mixed with BMM
92
+ ```
93
+
94
+ #### New Configuration (Standalone)
95
+
96
+ TEA has its own configuration file:
97
+
98
+ ```yaml
99
+ # In TEA src/module.yaml
100
+ variables:
101
+ test_artifacts:
102
+ description: Base folder for test artifacts
103
+ default: test-results
104
+ prompt: true
105
+
106
+ tea_use_playwright_utils:
107
+ description: Enable Playwright Utils integration
108
+ default: false
109
+ prompt: true
110
+
111
+ tea_use_mcp_enhancements:
112
+ description: Enable Playwright MCP enhancements
113
+ default: false
114
+ prompt: true
115
+
116
+ test_design_output:
117
+ description: Test design documents folder
118
+ default: test-design
119
+ prompt: false
120
+
121
+ test_review_output:
122
+ description: Test review reports folder
123
+ default: test-review
124
+ prompt: false
125
+
126
+ trace_output:
127
+ description: Traceability reports folder
128
+ default: trace
129
+ prompt: false
130
+ ```
131
+
132
+ **Action Required**: Reconfigure TEA variables during installation or update `_bmad/tea/module.yaml` manually.
133
+
134
+ ## Migration Steps
135
+
136
+ ### Step 1: Check Current BMAD Version
137
+
138
+ Ensure you have BMAD Method v7.0.0+ (upcoming) or the latest version that supports modular installation.
139
+
140
+ ```bash
141
+ # Check BMAD version
142
+ bmad --version
143
+ ```
144
+
145
+ ### Step 2: Install Standalone TEA
146
+
147
+ Run the BMAD installer and select TEA:
148
+
149
+ ```bash
150
+ npx bmad-method install
151
+ # When prompted, select:
152
+ # ✓ Test Architect (TEA)
153
+ ```
154
+
155
+ Follow the installation prompts to configure TEA variables:
156
+
157
+ 1. **test_artifacts**: Base folder for test outputs (default: `test-results`)
158
+ 2. **tea_use_playwright_utils**: Enable Playwright Utils integration (yes/no)
159
+ 3. **tea_use_mcp_enhancements**: Enable MCP enhancements (yes/no)
160
+
161
+ ### Step 3: Update Command References
162
+
163
+ Update any saved prompts, documentation, or scripts:
164
+
165
+ **Example: Updating CI/CD Scripts**
166
+
167
+ ```bash
168
+ # Old
169
+ claude "/bmad:bmm:tea:test-design"
170
+
171
+ # New
172
+ claude "/bmad:tea:test-design"
173
+ ```
174
+
175
+ **Example: Updating Documentation**
176
+
177
+ ```markdown
178
+ <!-- Old -->
179
+
180
+ Run `/bmad:bmm:tea:automate` to expand test coverage.
181
+
182
+ <!-- New -->
183
+
184
+ Run `/bmad:tea:automate` to expand test coverage.
185
+ ```
186
+
187
+ ### Step 4: Verify Installation
188
+
189
+ Load the TEA agent and run a test command:
190
+
191
+ ```bash
192
+ # Start Claude Code or Claude Desktop
193
+ claude
194
+
195
+ # Load TEA agent
196
+ tea
197
+
198
+ # Test a workflow
199
+ test-design
200
+ ```
201
+
202
+ You should see TEA load successfully with the message:
203
+
204
+ ```
205
+ ✓ Loaded agent: Murat (Master Test Architect and Quality Advisor)
206
+ ```
207
+
208
+ ### Step 5: Validate Configuration
209
+
210
+ Check that TEA variables are correctly configured:
211
+
212
+ ```bash
213
+ # Check _bmad directory
214
+ ls -la _bmad/tea/
215
+
216
+ # Verify module.yaml
217
+ cat _bmad/tea/module.yaml
218
+ ```
219
+
220
+ Expected contents:
221
+
222
+ ```
223
+ _bmad/tea/
224
+ ├── module.yaml # TEA configuration
225
+ ├── agents/
226
+ │ └── tea.agent.yaml
227
+ ├── workflows/
228
+ │ └── testarch/ # 8 workflows
229
+ └── testarch/
230
+ ├── tea-index.csv # Knowledge base index
231
+ └── knowledge/ # 34 fragments
232
+ ```
233
+
234
+ ## What Stays the Same
235
+
236
+ Despite the migration, these aspects remain **unchanged**:
237
+
238
+ ✅ **Short Trigger Commands**: `TF`, `CI`, `TD`, `AT`, `TA`, `RV`, `TR`, `NR` work exactly the same
239
+
240
+ ✅ **Workflow Behavior**: All 8 workflows function identically
241
+
242
+ ✅ **Knowledge Base**: Same 34 knowledge fragments with identical content
243
+
244
+ ✅ **Output Formats**: Test designs, reports, and checklists maintain the same structure
245
+
246
+ ✅ **Playwright Utils Integration**: Same integration patterns and utilities
247
+
248
+ ✅ **MCP Enhancements**: Same enhancements available with identical configuration
249
+
250
+ ✅ **Quality Standards**: Same testing best practices and quality gates
251
+
252
+ ## Configuration Differences
253
+
254
+ ### Old: BMM-Embedded Configuration
255
+
256
+ ```yaml
257
+ # Variables were part of BMM module
258
+ variables:
259
+ bmm_test_artifacts: test-results
260
+ # Mixed BMM and TEA config
261
+ ```
262
+
263
+ ### New: Standalone Configuration
264
+
265
+ ```yaml
266
+ # TEA has its own module.yaml
267
+ code: tea
268
+ name: Test Architect (TEA)
269
+
270
+ variables:
271
+ test_artifacts:
272
+ description: Base folder for test artifacts
273
+ default: test-results
274
+ prompt: true
275
+
276
+ tea_use_playwright_utils:
277
+ description: Enable Playwright Utils integration
278
+ default: false
279
+ prompt: true
280
+
281
+ tea_use_mcp_enhancements:
282
+ description: Enable Playwright MCP enhancements
283
+ default: false
284
+ prompt: true
285
+
286
+ test_design_output:
287
+ description: Test design documents folder
288
+ default: test-design
289
+ prompt: false
290
+
291
+ test_review_output:
292
+ description: Test review reports folder
293
+ default: test-review
294
+ prompt: false
295
+
296
+ trace_output:
297
+ description: Traceability reports folder
298
+ default: trace
299
+ prompt: false
300
+ ```
301
+
302
+ ## Troubleshooting
303
+
304
+ ### Issue: "Agent Not Found" Error
305
+
306
+ **Symptom**: `Error: Agent '_bmad/tea' not found`
307
+
308
+ **Solution**:
309
+
310
+ 1. Verify TEA is installed:
311
+ ```bash
312
+ ls -la _bmad/tea/
313
+ ```
314
+ 2. If missing, reinstall TEA:
315
+ ```bash
316
+ npx bmad-method install
317
+ # Select: Test Architect (TEA)
318
+ ```
319
+
320
+ ### Issue: Old Commands Not Working
321
+
322
+ **Symptom**: `/bmad:bmm:tea:test-design` returns "Command not found"
323
+
324
+ **Solution**: Update to new namespace:
325
+
326
+ ```bash
327
+ # Old (won't work)
328
+ /bmad:bmm:tea:test-design
329
+
330
+ # New (correct)
331
+ /bmad:tea:test-design
332
+ ```
333
+
334
+ ### Issue: Configuration Variables Not Set
335
+
336
+ **Symptom**: TEA asks for variables every time
337
+
338
+ **Solution**: Ensure `_bmad/tea/module.yaml` exists and contains variable definitions.
339
+
340
+ ### Issue: Knowledge Base Fragments Not Loading
341
+
342
+ **Symptom**: TEA workflows run but don't include knowledge base context
343
+
344
+ **Solution**:
345
+
346
+ 1. Check tea-index.csv exists:
347
+ ```bash
348
+ ls -la _bmad/tea/testarch/tea-index.csv
349
+ ```
350
+ 2. Verify knowledge fragments:
351
+ ```bash
352
+ ls -la _bmad/tea/testarch/knowledge/
353
+ # Should show 34 .md files
354
+ ```
355
+
356
+ ### Issue: Workflows Producing Different Outputs
357
+
358
+ **Symptom**: Test designs or reports look different than before
359
+
360
+ **Solution**: This shouldn't happen - workflows are functionally identical. If you notice differences:
361
+
362
+ 1. Check you're using the same workflow (e.g., `test-design` not `test-review`)
363
+ 2. Verify knowledge base fragments loaded correctly
364
+ 3. Check variable configuration matches your previous setup
365
+
366
+ For additional help, see [docs/reference/troubleshooting.md](/docs/reference/troubleshooting.md) or open an issue on GitHub.
367
+
368
+ ## Benefits of Standalone TEA
369
+
370
+ ### For End Users
371
+
372
+ - ✅ **Optional Installation**: Only install TEA if you need test architecture guidance
373
+ - ✅ **Lighter Weight**: Don't carry TEA's dependencies if you're not using it
374
+ - ✅ **Clearer Purpose**: TEA focuses exclusively on test engineering
375
+ - ✅ **Faster Updates**: TEA can release independently of BMM
376
+
377
+ ### For Contributors
378
+
379
+ - ✅ **Focused Codebase**: Work on testing features without BMM complexity
380
+ - ✅ **Independent Testing**: Test suite focused only on TEA functionality
381
+ - ✅ **Easier Maintenance**: Changes to TEA don't affect BMM and vice versa
382
+ - ✅ **Clearer Ownership**: Test engineering contributions go to TEA repo
383
+
384
+ ## Compatibility Matrix
385
+
386
+ | BMAD Method Version | TEA Version | Compatible? | Notes |
387
+ | ------------------- | ----------- | ----------- | ----------------------------------- |
388
+ | v6.x (legacy) | Embedded | ✅ | Old BMM-embedded TEA |
389
+ | v7.0.0+ | 1.0.0+ | ✅ | Standalone TEA module |
390
+ | v7.0.0+ | Embedded | ❌ | TEA removed from BMM in v7.0.0 |
391
+ | v6.x (legacy) | 1.0.0+ | ❌ | Standalone TEA requires BMM v7.0.0+ |
392
+
393
+ ## Migration Checklist
394
+
395
+ Use this checklist to ensure a smooth migration:
396
+
397
+ - [ ] Verify BMAD Method version is v7.0.0 or later
398
+ - [ ] Install standalone TEA module via `npx bmad-method install`
399
+ - [ ] Configure TEA variables (test_artifacts, Playwright Utils, MCP)
400
+ - [ ] Update saved prompts to use new namespace (`/bmad:tea:*`)
401
+ - [ ] Update documentation references to new commands
402
+ - [ ] Update CI/CD scripts if they invoke TEA commands
403
+ - [ ] Test each workflow you use (e.g., `test-design`, `automate`, `atdd`)
404
+ - [ ] Verify knowledge base fragments load correctly
405
+ - [ ] Confirm output formats match expectations
406
+ - [ ] Update team documentation and onboarding guides
407
+
408
+ ## Getting Help
409
+
410
+ If you encounter issues during migration:
411
+
412
+ 1. **Documentation**: Check [test-architect.bmad-method.org](https://test-architect.bmad-method.org)
413
+ 2. **Troubleshooting**: See [docs/reference/troubleshooting.md](/docs/reference/troubleshooting.md)
414
+ 3. **GitHub Issues**: Open an issue at [bmad-code-org/bmad-method-test-architecture-enterprise](https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/issues)
415
+ 4. **Community**: Join discussions in GitHub Discussions
416
+
417
+ ## FAQ
418
+
419
+ ### Do I need to migrate immediately?
420
+
421
+ **No.** If you're on BMAD Method v6.x with embedded TEA, you can continue using it. However, new features and updates will only be released for standalone TEA (v1.0.0+).
422
+
423
+ ### Can I use both BMM and TEA together?
424
+
425
+ **Yes!** That's the recommended approach. Install both modules for integrated development and testing workflows.
426
+
427
+ ### Will my old test designs/reports still work?
428
+
429
+ **Yes.** Output formats remain compatible. You can continue using test designs and reports generated by BMM-embedded TEA.
430
+
431
+ ### What if I don't want to use TEA?
432
+
433
+ **That's fine!** TEA is now optional. Simply don't install it during BMAD Method setup.
434
+
435
+ ### Is standalone TEA compatible with Playwright Utils?
436
+
437
+ **Yes.** Standalone TEA has the same Playwright Utils integration as BMM-embedded TEA. Enable it via the `tea_use_playwright_utils` variable during installation.
438
+
439
+ ### Where can I find the old BMM-embedded TEA?
440
+
441
+ BMM-embedded TEA will remain available in BMAD Method v6.x releases for backwards compatibility. However, it won't receive new features or updates.
442
+
443
+ ---
444
+
445
+ **Ready to migrate?** Start with [Step 1: Check Current BMAD Version](#step-1-check-current-bmad-version)
446
+
447
+ **Need help?** See [Troubleshooting](#troubleshooting) or [Getting Help](#getting-help)