bmad-method-test-architecture-enterprise 1.22.0 → 1.22.1

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 (143) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.github/ISSUE_TEMPLATE/config.yaml +3 -6
  3. package/.github/ISSUE_TEMPLATE/issue.md +1 -1
  4. package/CHANGELOG.md +29 -0
  5. package/CONTRIBUTING.md +5 -5
  6. package/README.md +54 -81
  7. package/docs/explanation/engagement-models.md +101 -676
  8. package/docs/explanation/fixture-architecture.md +48 -182
  9. package/docs/explanation/knowledge-base-system.md +55 -500
  10. package/docs/explanation/network-first-patterns.md +141 -685
  11. package/docs/explanation/risk-based-testing.md +99 -538
  12. package/docs/explanation/step-file-architecture.md +120 -490
  13. package/docs/explanation/tea-overview.md +51 -325
  14. package/docs/explanation/test-quality-standards.md +145 -635
  15. package/docs/explanation/test-review-cli-architecture.md +22 -24
  16. package/docs/explanation/testing-as-engineering.md +11 -3
  17. package/docs/glossary/index.md +43 -43
  18. package/docs/how-to/brownfield/use-tea-for-enterprise.md +46 -224
  19. package/docs/how-to/brownfield/use-tea-with-existing-tests.md +84 -216
  20. package/docs/how-to/customization/configure-browser-automation.md +19 -49
  21. package/docs/how-to/customization/integrate-playwright-utils.md +42 -30
  22. package/docs/how-to/install-behind-firewall.md +43 -0
  23. package/docs/how-to/workflows/run-atdd.md +23 -32
  24. package/docs/how-to/workflows/run-automate.md +26 -46
  25. package/docs/how-to/workflows/run-nfr-assess.md +43 -57
  26. package/docs/how-to/workflows/run-test-design.md +25 -35
  27. package/docs/how-to/workflows/run-test-review.md +8 -20
  28. package/docs/how-to/workflows/run-trace.md +32 -33
  29. package/docs/how-to/workflows/setup-ci.md +23 -45
  30. package/docs/how-to/workflows/setup-test-framework.md +24 -27
  31. package/docs/how-to/workflows/teach-me-testing.md +19 -34
  32. package/docs/index.md +22 -27
  33. package/docs/reference/commands.md +59 -45
  34. package/docs/reference/configuration.md +207 -823
  35. package/docs/reference/knowledge-base.md +117 -276
  36. package/docs/reference/live-verification-results.md +6 -3
  37. package/docs/reference/tea-test-review-cli.md +33 -23
  38. package/docs/reference/troubleshooting.md +175 -696
  39. package/docs/tutorials/learn-testing-tea-academy.md +37 -236
  40. package/docs/tutorials/tea-lite-quickstart.md +96 -102
  41. package/package.json +1 -1
  42. package/src/agents/bmad-tea/resources/knowledge/api-request.md +12 -3
  43. package/src/agents/bmad-tea/resources/knowledge/api-testing-patterns.md +23 -7
  44. package/src/agents/bmad-tea/resources/knowledge/auth-session.md +6 -1
  45. package/src/agents/bmad-tea/resources/knowledge/burn-in.md +1 -1
  46. package/src/agents/bmad-tea/resources/knowledge/fixtures-composition.md +8 -5
  47. package/src/agents/bmad-tea/resources/knowledge/log.md +8 -2
  48. package/src/agents/bmad-tea/resources/knowledge/network-error-monitor.md +2 -1
  49. package/src/agents/bmad-tea/resources/knowledge/overview.md +13 -9
  50. package/src/agents/bmad-tea/resources/knowledge/recurse.md +16 -4
  51. package/src/module-help.csv +1 -1
  52. package/src/workflows/testarch/bmad-teach-me-testing/data/tea-resources-index.yaml +71 -11
  53. package/src/workflows/testarch/bmad-teach-me-testing/instructions.md +4 -12
  54. package/src/workflows/testarch/bmad-teach-me-testing/steps-e/step-e-02-apply-edits.md +2 -2
  55. package/src/workflows/testarch/bmad-teach-me-testing/workflow-plan-teach-me-testing.md +2 -2
  56. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/api-request.md +12 -3
  57. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/api-testing-patterns.md +23 -7
  58. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/auth-session.md +6 -1
  59. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/burn-in.md +1 -1
  60. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/fixtures-composition.md +8 -5
  61. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/log.md +8 -2
  62. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/network-error-monitor.md +2 -1
  63. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/overview.md +13 -9
  64. package/src/workflows/testarch/bmad-testarch-atdd/resources/knowledge/recurse.md +16 -4
  65. package/src/workflows/testarch/bmad-testarch-automate/checklist.md +2 -2
  66. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/api-request.md +12 -3
  67. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/api-testing-patterns.md +23 -7
  68. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/auth-session.md +6 -1
  69. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/burn-in.md +1 -1
  70. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/fixtures-composition.md +8 -5
  71. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/log.md +8 -2
  72. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/network-error-monitor.md +2 -1
  73. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/overview.md +13 -9
  74. package/src/workflows/testarch/bmad-testarch-automate/resources/knowledge/recurse.md +16 -4
  75. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/api-request.md +12 -3
  76. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/api-testing-patterns.md +23 -7
  77. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/auth-session.md +6 -1
  78. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/burn-in.md +1 -1
  79. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/fixtures-composition.md +8 -5
  80. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/log.md +8 -2
  81. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/network-error-monitor.md +2 -1
  82. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/overview.md +13 -9
  83. package/src/workflows/testarch/bmad-testarch-ci/resources/knowledge/recurse.md +16 -4
  84. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/api-request.md +12 -3
  85. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/api-testing-patterns.md +23 -7
  86. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/auth-session.md +6 -1
  87. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/burn-in.md +1 -1
  88. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/fixtures-composition.md +8 -5
  89. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/log.md +8 -2
  90. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/network-error-monitor.md +2 -1
  91. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/overview.md +13 -9
  92. package/src/workflows/testarch/bmad-testarch-framework/resources/knowledge/recurse.md +16 -4
  93. package/src/workflows/testarch/bmad-testarch-nfr/SKILL.md +1 -1
  94. package/src/workflows/testarch/bmad-testarch-nfr/checklist.md +25 -29
  95. package/src/workflows/testarch/bmad-testarch-nfr/instructions.md +1 -1
  96. package/src/workflows/testarch/bmad-testarch-nfr/nfr-report-template.md +20 -36
  97. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/api-request.md +12 -3
  98. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/api-testing-patterns.md +23 -7
  99. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/auth-session.md +6 -1
  100. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/burn-in.md +1 -1
  101. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/fixtures-composition.md +8 -5
  102. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/log.md +8 -2
  103. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/network-error-monitor.md +2 -1
  104. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/overview.md +13 -9
  105. package/src/workflows/testarch/bmad-testarch-nfr/resources/knowledge/recurse.md +16 -4
  106. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-03-gather-evidence.md +1 -1
  107. package/src/workflows/testarch/bmad-testarch-nfr/workflow.yaml +1 -1
  108. package/src/workflows/testarch/bmad-testarch-test-design/checklist.md +3 -3
  109. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/api-request.md +12 -3
  110. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/api-testing-patterns.md +23 -7
  111. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/auth-session.md +6 -1
  112. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/burn-in.md +1 -1
  113. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/fixtures-composition.md +8 -5
  114. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/log.md +8 -2
  115. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/network-error-monitor.md +2 -1
  116. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/overview.md +13 -9
  117. package/src/workflows/testarch/bmad-testarch-test-design/resources/knowledge/recurse.md +16 -4
  118. package/src/workflows/testarch/bmad-testarch-test-design/test-design-template.md +2 -2
  119. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/api-request.md +12 -3
  120. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/api-testing-patterns.md +23 -7
  121. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/auth-session.md +6 -1
  122. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/burn-in.md +1 -1
  123. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/fixtures-composition.md +8 -5
  124. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/log.md +8 -2
  125. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/network-error-monitor.md +2 -1
  126. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/overview.md +13 -9
  127. package/src/workflows/testarch/bmad-testarch-test-review/resources/knowledge/recurse.md +16 -4
  128. package/src/workflows/testarch/bmad-testarch-trace/checklist.md +3 -3
  129. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/api-request.md +12 -3
  130. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/api-testing-patterns.md +23 -7
  131. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/auth-session.md +6 -1
  132. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/burn-in.md +1 -1
  133. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/fixtures-composition.md +8 -5
  134. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/log.md +8 -2
  135. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/network-error-monitor.md +2 -1
  136. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/overview.md +13 -9
  137. package/src/workflows/testarch/bmad-testarch-trace/resources/knowledge/recurse.md +16 -4
  138. package/src/workflows/testarch/bmad-testarch-trace/steps-c/step-04-analyze-gaps.md +3 -3
  139. package/src/workflows/testarch/bmad-testarch-trace/trace-template.md +4 -4
  140. package/tools/validate-doc-links.js +75 -6
  141. package/tools/validate-tea-workflow-descriptions.js +3 -2
  142. package/website/astro.config.mjs +2 -2
  143. package/docs/explanation/subagent-architecture.md +0 -189
@@ -31,7 +31,7 @@
31
31
  "name": "bmad-method-test-architecture-enterprise",
32
32
  "source": "./",
33
33
  "description": "Master Test Architect module for quality strategy, test automation, CI/CD quality gates, and structured testing education. Part of the BMad Method ecosystem.",
34
- "version": "1.22.0",
34
+ "version": "1.22.1",
35
35
  "author": {
36
36
  "name": "Murat K Ozcan (TEA Creator) & Brian (BMad) Madison"
37
37
  },
@@ -1,11 +1,8 @@
1
1
  blank_issues_enabled: false
2
2
  contact_links:
3
3
  - name: 📚 Documentation
4
- url: https://test-architect.bmad-method.org
5
- about: Check the docs first tutorials, guides, and reference
6
- - name: 💬 GitHub Discussions
7
- url: https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/discussions
8
- about: Ask questions and discuss TEA usage before opening an issue
4
+ url: https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/
5
+ about: Check the docs first for tutorials, guides, and reference
9
6
  - name: 🐛 Troubleshooting Guide
10
- url: https://test-architect.bmad-method.org/reference/troubleshooting
7
+ url: https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/reference/troubleshooting/
11
8
  about: Common issues and solutions
@@ -54,7 +54,7 @@ Before submitting, please check:
54
54
 
55
55
  - [ ] I've read the [Troubleshooting Guide](https://test-architect.bmad-method.org/reference/troubleshooting)
56
56
  - [ ] I've verified TEA is installed: `ls -la _bmad/tea/`
57
- - [ ] I'm using the correct command namespace: `/bmad:tea:*` not `/bmad:bmm:tea:*`
57
+ - [ ] I'm using the current invocation: `/bmad-testarch-*` (Claude Code, Cursor, Windsurf) or `$bmad-testarch-*` (Codex)
58
58
  - [ ] I've checked for existing issues on GitHub
59
59
 
60
60
  **Contribution**
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.22.1] - 2026-08-13
11
+
12
+ ### Removed
13
+
14
+ - `user_skill_level` from `docs/reference/configuration.md`. It was documented with a full "Impact on TEA" behavior table and exists nowhere in `src/`, `cli/`, `tools/`, or `test/`.
15
+ - The `## Maintainability Assessment` section from `nfr-report-template.md` and `checklist.md`. No maintainability worker exists; `steps-c/step-04-evaluate-and-score.md` dispatches security, performance, reliability, and scalability, and throws if a domain's output is missing. Scalability, which is audited by `steps-c/step-04d-subagent-scalability.md`, is promoted from a subsection of Performance to a top-level assessment.
16
+ - The `.claude/commands/` directory tree from `README.md`. The installer generates no commands directory for Claude Code; only `github-copilot` and `opencode` declare a `commands_target_dir`.
17
+
10
18
  ### Added
11
19
 
12
20
  - Stable releases now convert `[Unreleased]` into a dated version section on their own. The publish workflow runs `tools/stamp-changelog.js` after the version bump and commits `CHANGELOG.md` with it, so the GitHub Release step finds an exact version heading instead of falling back to an `[Unreleased]` block that grows across releases. Contributors keep writing under `[Unreleased]` exactly as before. Covered by `npm run test:changelog`.
@@ -17,6 +25,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
25
 
18
26
  ### Fixed
19
27
 
28
+ - Codex invocation is `$bmad-testarch-<workflow>`, not `$bmad-tea-testarch-<workflow>`. The installer derives a skill's `canonicalId` from its directory name with no module prefix, requires the `SKILL.md` `name` to equal that directory name, and installs to `<target_dir>/<canonicalId>`, so the prefixed form resolves to nothing on any platform. `cli/lib/resolve-skill.js` already probed the unprefixed path. Roughly 24 occurrences corrected, including the ones introduced across nine how-to guides and the quickstart.
29
+ - Removed the remaining `/bmad:tea:*` and `/bmad:bmm:tea:*` namespace from `README.md`, `docs/explanation/tea-overview.md`, `docs/reference/commands.md`, `docs/reference/troubleshooting.md`, and the issue template. Roughly 20 occurrences.
30
+ - Removed the BMad v4 `*<workflow>` syntax from the templates, checklists, and step files that write it into generated artifacts, so a traceability matrix or NFR report no longer instructs the reader to run a command that does not exist. `*gate` named a workflow that has never existed in this module; the NFR report now routes to `/bmad-testarch-trace` Phase 2, which is what the `GATE` menu entry actually does.
31
+ - Code samples imported `@seontechnologies/playwright-utils/fixtures`, which is absent from the package's `exports` map and raises `ERR_PACKAGE_PATH_NOT_EXPORTED`. 113 occurrences across the knowledge base and `docs/how-to/` now use the real per-module subpaths. Related defects in the same samples: `expect` was imported from `api-request/fixtures`, which does not export it; several samples destructured fixtures from a module their import did not provide; and `log.info()` was called on the `log` fixture, which is a plain function rather than the root export's logger object.
32
+ - `nfr-assess` audits scalability, not maintainability. Corrected in `docs/reference/commands.md` and `docs/how-to/workflows/run-nfr-assess.md`, which documented thresholds, evidence sources, and a full report section for a domain the workflow never evaluates.
33
+ - The knowledge base holds 54 fragments, not 42. Corrected in 21 places, including a `wc -l` check in the troubleshooting guide that told the reader to expect 43 lines from a 55-line file. `docs/reference/knowledge-base.md` documented 44 of the 54 and now indexes all of them, with a tier column checked against `tea-index.csv` and fragment ids matching the manifest.
34
+ - `docs/reference/commands.md` described the `test-review` score as four weighted categories. The workflow uses a deduction ledger over 14 criteria with six bonus lines, and `steps-c/step-03f-aggregate-scores.md` explicitly forbids substituting a weighted average.
35
+ - `trace` writes `gate-decision.json`, not `gate-decision-{gate_type}-{story_id}.md`. Corrected in `commands.md` and `configuration.md`, along with the omitted `e2e-trace-summary.json` and the undocumented system-level `test-design/{project_name}-handoff.md`.
36
+ - The troubleshooting guide pointed at `_bmad/tea/module.yaml` for user configuration; workflows read `_bmad/tea/config.yaml`. It also named `@muratkeremozcan/playwright-utils` for a package published as `@seontechnologies/playwright-utils`, used `test-results/` for an artifacts directory that defaults to `_bmad-output/test-artifacts`, and shipped an installation-validation script that reported every workflow missing on a correct install because it looped over pre-rename directory names.
37
+ - Removed published commands that fail when run: `npx playwright install --with-deps chromium@1.40.0` (Playwright has no version-pinning syntax there), six `npm run test:*` scripts the `framework` workflow never generates, `bmad --version`, `npx bmad-method install --verbose` and `--interactive` (neither flag exists), `export TEST_ARTIFACTS` (read by nothing), `node tools/validate-agent-schema.js` (a repo-dev tool absent from a consumer install), and a `DEBUG=bmad:tea:*` mode with no implementation.
38
+ - `https://test-architect.bmad-method.org` has no DNS record. Replaced with the published site URL in the quickstart, the troubleshooting guide, and the issue-template contact links. `CONTRIBUTING.md` pointed its clone URL and both issue-template links at an unrelated repository, and three places linked GitHub Discussions, which is disabled here.
39
+ - `tools/validate-doc-links.js` only matched hrefs beginning with `/`, so relative links were never checked and the gate reported "All links valid" against nine broken ones. It now resolves `./`, `../`, and bare-filename links against the containing file and validates anchors on them.
40
+ - `tools/validate-tea-workflow-descriptions.js` globbed `workflow.md`, a filename removed repo-wide, so `bmad-teach-me-testing` was silently unvalidated while the script's docstring claimed coverage. It now reads `SKILL.md`.
41
+ - A code fence in `docs/how-to/workflows/run-nfr-assess.md` closed 254 lines early, so `## What You Get`, `## Tips`, and two subheadings rendered inside a code block on the published site.
42
+ - `docs/tutorials/tea-lite-quickstart.md` claimed TodoMVC exposes no test IDs and taught CSS-class selectors on that basis. The app ships `data-testid` on every interactive element, so the tutorial taught the pattern `test-review` scores down. The rewritten spec uses `getByTestId` and `getByRole` and was executed against the live app. The tutorial's first actionable step also referenced an installation guide that does not exist, leaving no way to start it.
43
+ - `README.md` claimed support for "10+ platforms" against 45 in the installer's platform table, and a "40-50%" context reduction that measures parallel-subagent speed elsewhere in the docs rather than context. Unverifiable fragment-line counts removed.
44
+ - Fixed workflow invocation instructions across tutorials and how-to guides to use valid slash commands (e.g. `/bmad-tea`, `/bmad-testarch-framework`, `/bmad-testarch-test-design`, `/bmad-testarch-automate`), Codex skill syntax (`$bmad-tea`), and agent menu shortcodes (`TF`, `TD`, `TA`, etc.), replacing invalid bare strings.
45
+ - Updated BMad installation instructions in `tea-lite-quickstart.md` tutorial to explicitly instruct selecting BMad Test Architect alongside BMad Method.
20
46
  - `trace` no longer treats "a matching test file exists" as the only shape coverage can take. A requirement verified by running the system produced no file, so trace marked it uncovered and a P0 among them failed the gate, which meant verifying a story scored worse than not verifying it. Trace now reads recorded runtime verification from `{test_artifacts}/live-verification-results.json` as a `live` coverage level. Only a `pass` recorded against the commit under trace counts; `stale`, `unverifiable`, `fail`, `contradicted`, `blocked`, `skipped`, `unmatched`, and `invalid` records are reported as blockers with reasons and count as no coverage. A requirement covered only by live evidence caps the gate at CONCERNS through the same overlay that already caps inferred-oracle coverage, so live evidence can never produce an unconditional PASS. Trace remains a consumer only: it never produces the file and never runs anything to produce it.
21
47
  - Aligned forced-unscorable candidate handling in `cli/lib/build-prompt.js` and `cli/lib/parse-report.js`: candidates without matching criteria rows are removed from `## Reviewed Files` when excluded in `## Excluded From Review Set`. Added end-to-end stub-agent coverage in `test/test-test-review-cli.js`.
22
48
  - Corrected shared-account guidance in `mobile-test-strategy.md` to recommend per-run accounts/data or explicit backend reset when server state changes.
@@ -48,6 +74,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
48
74
 
49
75
  ### Changed
50
76
 
77
+ - Documentation sweep for correctness and concision across `docs/`, `README.md`, and the workflow templates that emit text into generated artifacts. `docs/` drops from 17,608 to 12,273 lines with no workflow, parameter, footgun, or caveat removed. `docs/reference/troubleshooting.md` 837 to 315, `docs/reference/configuration.md` 1,149 to 531, `docs/tutorials/learn-testing-tea-academy.md` 258 to 67 (it was a second copy of the how-to and is now a tutorial), and `docs/explanation/` down 29% by collapsing arguments that were stated in full in three to six places into one owner plus pointers.
78
+ - `docs/explanation/subagent-architecture.md` merged into `docs/explanation/step-file-architecture.md`. The two documented one subsystem from opposite sides and neither was complete alone: the worker-split map lived in one and the resulting speedups in the other.
79
+ - The nine `docs/how-to/workflows/*` guides no longer repeat a 9 to 13 line invocation preamble each. `docs/reference/commands.md` gains `## Invoking a TEA Workflow` as the single canonical description of the three invocation surfaces, and the guides point at it. The reference had also kept documenting the superseded weighted-average `test-review` score after `steps-c/step-03f-aggregate-scores.md` moved to the deduction ledger, and kept documenting maintainability as an NFR domain after the workflow moved to scalability.
51
80
  - Removed `test:cli` from the default `npm test` script (and Husky pre-commit hook) to keep local git hooks fast, running `test:cli` as part of CI validation in `quality.yaml` and `publish.yaml`.
52
81
  - `test-review` now has a single scoring model. The deduction ledger printed in `test-review-template.md` (Critical -10, High -5, Medium -2, Low -1, plus six bonus categories worth 0 or 5 each) is authoritative, and `steps-c/step-03f-aggregate-scores.md` no longer computes a competing weighted average of the four quality dimensions. Grades are limited to A/B/C/D/F. Two live runs over an identical file set had returned 83 and 92 under the old ambiguity, one of them printing a breakdown that did not sum to its own total.
53
82
  - `tea-test-review` recomputes the ledger from the report's own violation counts and rejects a report whose published score contradicts its breakdown, whose bonus total is not a multiple of 5 within 0-30, or that omits the `## Quality Score Breakdown` section. The prompt states the same arithmetic, so the strict check never demands a shape the reviewer was not told to produce.
package/CONTRIBUTING.md CHANGED
@@ -69,7 +69,7 @@ Every contribution should strengthen human-AI collaboration. Ask yourself: **"Do
69
69
  ### Suggesting Features or New Modules
70
70
 
71
71
  1. **Discuss first in Discord** (#suggestions-feedback channel) - the feature request template asks if you've done this
72
- 2. **Check existing issues and discussions** to avoid duplicates
72
+ 2. **Check existing issues** to avoid duplicates
73
73
  3. **Use the feature request template** when creating an issue
74
74
  4. **Be specific** about why this feature would benefit the BMad community and strengthen human-AI collaboration
75
75
 
@@ -130,7 +130,7 @@ Example breakdown:
130
130
  If you're new to GitHub or pull requests, here's a quick guide:
131
131
 
132
132
  1. **Fork the repository** - Click the "Fork" button on GitHub to create your own copy
133
- 2. **Clone your fork** - `git clone https://github.com/YOUR-USERNAME/bmad-module-creative-intelligence-suite.git`
133
+ 2. **Clone your fork** - `git clone https://github.com/YOUR-USERNAME/bmad-method-test-architecture-enterprise.git`
134
134
  3. **Create a new branch** - Never work on `main` directly!
135
135
  ```bash
136
136
  git checkout -b fix/description
@@ -255,9 +255,9 @@ By participating in this project, you agree to abide by our Code of Conduct. We
255
255
  - **#bmad-development** - Technical questions and discussions
256
256
  - **#suggestions-feedback** - Feature ideas and suggestions
257
257
  - **#report-bugs-and-issues** - Get help with bugs before filing issues
258
- - 🐛 Report bugs using the [bug report template](https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite/issues/new?template=bug_report.md)
259
- - 💡 Suggest features using the [feature request template](https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite/issues/new?template=feature_request.md)
260
- - 📖 Browse the [GitHub Discussions](https://github.com/bmad-code-org/bmad-module-creative-intelligence-suite/discussions)
258
+ - 🐛 Report bugs using the [bug report template](https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/issues/new?template=issue.md)
259
+ - 💡 Suggest features using the [feature request template](https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/issues/new?template=feature_request.md)
260
+ - 📖 Browse [open and closed issues](https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise/issues)
261
261
 
262
262
  ---
263
263
 
package/README.md CHANGED
@@ -1,9 +1,11 @@
1
- # Test Architect (TEA)
1
+ # TEA: Test Engineering Architect
2
2
 
3
3
  [![Node Version](https://img.shields.io/badge/node-%3E%3D20-brightgreen?logo=node.js&logoColor=white)](https://nodejs.org)
4
4
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](./LICENSE)
5
5
 
6
- TEA (Test Engineering Architect) is a standalone BMAD module that delivers risk-based test strategy, test automation guidance, and release gate decisions. It provides a single expert agent (Murat, Master Test Architect and Quality Advisor) and nine workflows spanning Teach Me Testing (TEA Academy), test design, framework setup, CI guidance, ATDD, automation, test review, NFR Evidence Audit, and traceability.
6
+ **TEA** stands for **Test Engineering Architect**. The npm package and repository slug `bmad-method-test-architecture-enterprise` is a package name and never an expansion of the acronym.
7
+
8
+ TEA is a standalone BMAD module that delivers risk-based test strategy, test automation guidance, and release gate decisions. It provides a single expert agent (Murat, Master Test Architect and Quality Advisor) and nine workflows spanning Teach Me Testing (TEA Academy), test design, framework setup, CI guidance, ATDD, automation, test review, NFR Evidence Audit, and traceability.
7
9
 
8
10
  TEA is two layers. **TEA Core** decides what must be verified, at what depth, with what evidence, and whether that evidence is sufficient to release; it assumes nothing about your language, framework, or platform. **Execution targets** turn those decisions into runnable tests on a specific stack, and that layer is swappable. See [Verification Architecture](./docs/explanation/verification-architecture.md) for the split, and [Execution Targets](./docs/reference/execution-targets.md) for exactly which stacks are covered at which depth.
9
11
 
@@ -27,28 +29,28 @@ TEA plugs into BMad the same way a specialist plugs into a team. It uses the sam
27
29
 
28
30
  ## Architecture & Flow
29
31
 
30
- BMad is a small **agent + workflow engine**. There is no external orchestrator everything runs inside the LLM context window through structured instructions.
32
+ BMad is a small **agent + workflow engine**. There is no external orchestrator; everything runs inside the LLM context window through structured instructions.
31
33
 
32
34
  ### Building Blocks
33
35
 
34
36
  TEA has two layers of files, and each has a specific job:
35
37
 
36
- | File / Scope | What it does | When it loads |
37
- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
38
- | `src/agents/bmad-tea/SKILL.md` | Murat's persona — identity, principles, critical actions, capabilities table | First — activates the TEA agent |
39
- | `src/agents/bmad-tea/customize.toml` | Agent customization surface — menu items, persistent facts, activation hooks | During agent activation |
40
- | `src/workflows/testarch/<workflow>/SKILL.md` | Workflow entrypoint — resolves workflow customization, picks mode, routes to the first step | When a TEA workflow is invoked |
41
- | `src/workflows/testarch/<workflow>/customize.toml` | Workflow customization surface — activation hooks, persistent facts, optional `on_complete` behavior | During workflow activation |
42
- | `src/workflows/testarch/<workflow>/workflow.yaml` | Machine-readable workflow metadata — descriptions, defaults, tool hints, output paths | Used by installer/tooling and workflow metadata lookups |
43
- | `instructions.md` | Workflow-specific summary and operator notes | On demand |
44
- | `steps-c/*.md` | **Create** steps — primary execution, 5-9 sequential files | One at a time (just-in-time) |
45
- | `steps-e/*.md` | **Edit** steps — always 2 files: assess target, apply edit | One at a time |
46
- | `steps-v/*.md` | **Validate** steps — always 1 file: evaluate against checklist | On demand |
47
- | `checklist.md` | Validation criteria — what "done" looks like for this workflow | Read by steps-v |
48
- | `*-template.md` | Output skeleton with `{PLACEHOLDER}` vars — steps fill these in to produce the final artifact | Read by steps-c when generating output |
49
- | `src/agents/bmad-tea/resources/tea-index.csv` | Agent-level knowledge fragment index — id, name, tags, tier (core/extended/specialized), file path | Read by the TEA agent for direct recommendations |
50
- | `src/workflows/testarch/<workflow>/resources/` | Workflow-local knowledge index and fragments | Read by workflow steps from that workflow's skill root |
51
- | `resources/knowledge/*.md` | Reusable fragments — standards, patterns, API references | Selectively read into context based on tier + config |
38
+ | File / Scope | What it does | When it loads |
39
+ | -------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
40
+ | `src/agents/bmad-tea/SKILL.md` | Murat's persona — identity, principles, critical actions; renders the `{agent.menu}` placeholder | First — activates the TEA agent |
41
+ | `src/agents/bmad-tea/customize.toml` | Agent customization surface — `[[agent.menu]]` items (two-letter code → skill), persistent facts, activation hooks | During agent activation |
42
+ | `src/workflows/testarch/<workflow>/SKILL.md` | Workflow entrypoint — resolves workflow customization, picks mode, routes to the first step | When a TEA workflow is invoked |
43
+ | `src/workflows/testarch/<workflow>/customize.toml` | Workflow customization surface — activation hooks, persistent facts, optional `on_complete` behavior | During workflow activation |
44
+ | `src/workflows/testarch/<workflow>/workflow.yaml` | Machine-readable workflow metadata — descriptions, defaults, tool hints, output paths | Used by installer/tooling and workflow metadata lookups |
45
+ | `instructions.md` | Workflow-specific summary and operator notes | On demand |
46
+ | `steps-c/*.md` | **Create** steps — primary execution, 5-9 sequential files | One at a time (just-in-time) |
47
+ | `steps-e/*.md` | **Edit** steps — always 2 files: assess target, apply edit | One at a time |
48
+ | `steps-v/*.md` | **Validate** steps — always 1 file: evaluate against checklist | On demand |
49
+ | `checklist.md` | Validation criteria — what "done" looks like for this workflow | Read by steps-v |
50
+ | `*-template.md` | Output skeleton with `{PLACEHOLDER}` vars — steps fill these in to produce the final artifact | Read by steps-c when generating output |
51
+ | `src/agents/bmad-tea/resources/tea-index.csv` | Agent-level knowledge fragment index — id, name, tags, tier (core/extended/specialized), file path | Read by the TEA agent for direct recommendations |
52
+ | `src/workflows/testarch/<workflow>/resources/` | Workflow-local knowledge index and fragments | Read by workflow steps from that workflow's skill root |
53
+ | `resources/knowledge/*.md` | Reusable fragments — standards, patterns, API references | Selectively read into context based on tier + config |
52
54
 
53
55
  Workflow resource directories intentionally duplicate the TEA knowledge base. Each workflow skill must stay self-contained so it can be installed, copied, or invoked without reaching across skill boundaries. When knowledge changes, propagate the intended updates to the affected workflow resource directories instead of replacing them with a central runtime path.
54
56
 
@@ -65,45 +67,12 @@ flowchart LR
65
67
 
66
68
  ### How It Works at Runtime
67
69
 
68
- 1. **Trigger** — Direct commands are `/bmad:tea:automate` (Claude/Cursor/Windsurf) and `$bmad-tea-testarch-automate` (Codex). Load the conversational TEA menu with `$bmad-tea` in Codex. `TA` is an agent-menu trigger available only after TEA is activated; the capabilities table in `SKILL.md` maps `TA` to the `bmad-testarch-automate` skill.
69
- 2. **Agent loads** `SKILL.md` injects the persona (identity, principles, critical actions) into the context window.
70
- 3. **Workflow loads** — The workflow's `SKILL.md` becomes the entrypoint. It resolves the workflow block from `customize.toml`, loads persistent facts and config, decides the mode (Create / Edit / Validate), then routes to the first step file.
71
- 4. **Step-by-step execution** — Only the current step file is in context (just-in-time loading). Each step explicitly names the next one with a `{skill-root}`-anchored path. The LLM reads, executes, saves output, then loads the next step. No future steps are ever preloaded.
72
- 5. **Knowledge injection** — Step-01 reads `tea-index.csv` and selectively loads fragments by **tier** (core = always, extended = on-demand, specialized = only when relevant) and **config flags** (e.g., `tea_use_pactjs_utils`). This is deliberate context engineering: a backend project loads ~1,800 lines of fragments; a fullstack project loads ~4,500 lines. Conditional loading cuts context usage by 40-50%.
73
- 6. **Templates** — When a step produces output (e.g., a traceability matrix or test review report), it reads the `*-template.md` file and fills in the `{PLACEHOLDER}` values with computed results. The template provides consistent structure; the step provides the content.
74
- 7. **Subagent isolation** — Heavy workflows (e.g., `automate`) spawn parallel subagents that each run in an isolated context. Subagents write structured JSON to temp files. An aggregation step reads the JSON outputs — only the results enter the main context, not the full subagent history.
75
- 8. **Progress tracking** — Each step appends to an output file with YAML frontmatter (`stepsCompleted`, `lastStep`, `lastSaved`). Resume mode reads this frontmatter and routes to the next incomplete step.
76
- 9. **Validation** — The `steps-v/` mode reads `checklist.md` and evaluates the workflow's output against its criteria, producing a pass/fail validation report.
77
-
78
- ### Workflows vs Skills
79
-
80
- BMad workflows and Claude Code Skills solve different problems at different scales:
81
-
82
- | Capability | Claude Code Skills | BMad Workflows |
83
- | ----------------- | --------------------------- | ---------------------------------------------------------------------------- |
84
- | **Execution** | Single prompt, one shot | 5-9 sequential steps with explicit handoffs |
85
- | **State** | Stateless | YAML frontmatter tracking (`stepsCompleted`, `lastStep`) with resume |
86
- | **Knowledge** | Whatever fits in one prompt | Tiered index (54 fragments), conditional loading by config + stack detection |
87
- | **Context mgmt** | Everything in one shot | Just-in-time step loading, subagent isolation (separate contexts) |
88
- | **Output** | Freeform | Templates with `{PLACEHOLDER}` vars filled by specific steps |
89
- | **Validation** | None | Dedicated mode (`steps-v/`) evaluating against checklists |
90
- | **Configuration** | None | `module.yaml` with prompted config flags driving conditional behavior |
91
- | **Modes** | None | Create / Edit / Validate — three separate step chains per workflow |
70
+ 1. **Trigger** — Direct commands are `/bmad-testarch-automate` (Claude Code, Cursor, Windsurf) and `$bmad-testarch-automate` (Codex). Load the conversational TEA menu with `/bmad-tea` or `$bmad-tea`. `TA` is an agent-menu code available only after TEA is activated; the `[[agent.menu]]` entries in `src/agents/bmad-tea/customize.toml` map `TA` to the `bmad-testarch-automate` skill, and `SKILL.md` renders that menu at runtime from the `{agent.menu}` placeholder.
71
+ 2. **Step files carry everything after that.** The workflow's `SKILL.md` resolves its `customize.toml` block, picks the mode (Create / Edit / Validate), and routes to the first step; each step loads on its own, pulls only the knowledge fragments its tier and config flags call for (a backend project pulls ~1,800 lines of Playwright Utils fragments; a fullstack project pulls the browser fragments too), fills any `*-template.md` placeholders, and names the next step. Progress lands in the output file's YAML frontmatter (`stepsCompleted`, `lastStep`, `lastSaved`), so an interrupted run resumes at the next incomplete step, and `steps-v/` scores a finished output against `checklist.md`.
92
72
 
93
- The key insight is that there is **no external runtime engine** — the LLM _is_ the engine. BMad workflows are structured markdown that the LLM follows as instructions: "read this file, execute it completely, save your output, load the next file." Skills are a single tool in a toolbox; BMad workflows are a workshop with a process manual.
73
+ See [Step-File Architecture](./docs/explanation/step-file-architecture.md) for the loading model, subagent isolation, and the per-workflow step patterns.
94
74
 
95
- **How workflows become commands.** When you run `npx bmad-method install`, the installer generates tool-specific artifacts for your runtime (for example, Claude Code uses `.claude/commands/`, while Codex uses `.agents/skills/`). Those launchers bridge into the installed TEA agent or workflow package. Once invoked, the workflow's `SKILL.md` is the conversational entrypoint, and the step-file process takes over from there.
96
-
97
- ```text
98
- .claude/commands/ # Generated by installer
99
- ├── bmad-tea.md # /tea → loads agent persona + menu
100
- ├── bmad-tea-testarch-automate.md # /automate → invokes the automate workflow package
101
- ├── bmad-tea-testarch-test-design.md # /test-design → ...
102
- ├── bmad-bmm-create-prd.md # /create-prd → BMM workflow
103
- └── ... (61 commands total across all installed modules)
104
- ```
105
-
106
- The BMAD-METHOD source repo also has standalone `.claude/skills/` (e.g., `bmad-os-release-module`, `bmad-os-gh-triage`) for its own maintenance workflows. External tools can register skills too (e.g., `playwright-cli install --skills`). The installer supports 10+ platforms: Claude Code, Cursor, GitHub Copilot, Codex, Gemini, Windsurf, Cline, and more.
75
+ **How workflows become commands.** `npx bmad-method install` copies each TEA skill into your tool's skills directory under its own name: `.claude/skills/` for Claude Code, `.agents/skills/` for Codex, Cursor, and Windsurf. Invoking that name loads the skill, and the step-file process takes over. The installer covers 45 platforms, and the skill name is identical on every one of them.
107
76
 
108
77
  ## Install
109
78
 
@@ -116,19 +85,19 @@ npx bmad-method install
116
85
 
117
86
  ### Tool-specific invocation
118
87
 
119
- | Tool | Invocation style | Example |
120
- | ------------------------------- | ------------------------------- | -------------------------------------------- |
121
- | Claude Code / Cursor / Windsurf | Slash command | `/bmad:tea:automate` |
122
- | Codex | `$` skill from `.agents/skills` | `$bmad-tea` or `$bmad-tea-testarch-automate` |
88
+ | Tool | Invocation style | Example |
89
+ | ------------------------------- | ------------------------------- | ---------------------------------------- |
90
+ | Claude Code / Cursor / Windsurf | Slash command | `/bmad-testarch-automate` |
91
+ | Codex | `$` skill from `.agents/skills` | `$bmad-tea` or `$bmad-testarch-automate` |
123
92
 
124
93
  ## Quickstart
125
94
 
126
95
  1. Install TEA (above)
127
- 2. Load the TEA menu with `$bmad-tea` if you want a conversational entrypoint.
96
+ 2. Load the TEA menu with `/bmad-tea` or `$bmad-tea` if you want a conversational entrypoint.
128
97
  3. Run one of the core workflows:
129
- - `TD` / `/bmad:tea:test-design` / `$bmad-tea-testarch-test-design` — test design, risk assessment, and NFR planning
130
- - `AT` / `/bmad:tea:atdd` / `$bmad-tea-testarch-atdd` — failing acceptance tests first (TDD red phase)
131
- - `TA` / `/bmad:tea:automate` / `$bmad-tea-testarch-automate` — expand automation coverage
98
+ - `TD` / `/bmad-testarch-test-design` / `$bmad-testarch-test-design` — test design, risk assessment, and NFR planning
99
+ - `AT` / `/bmad-testarch-atdd` / `$bmad-testarch-atdd` — failing acceptance tests first (TDD red phase)
100
+ - `TA` / `/bmad-testarch-automate` / `$bmad-testarch-automate` — expand automation coverage
132
101
  4. Or use in party mode: `/party` to include TEA with other agents
133
102
 
134
103
  ## Engagement Models
@@ -140,17 +109,20 @@ npx bmad-method install
140
109
 
141
110
  ## Workflows
142
111
 
143
- | Trigger | Slash Command | Codex Skill | Purpose |
144
- | ------- | ---------------------------- | -------------------------------- | ----------------------------------------------------------------- |
145
- | TMT | `/bmad:tea:teach-me-testing` | `$bmad-tea-teach-me-testing` | Teach Me Testing (TEA Academy) |
146
- | TD | `/bmad:tea:test-design` | `$bmad-tea-testarch-test-design` | System-level or epic-level test design and NFR planning |
147
- | TF | `/bmad:tea:framework` | `$bmad-tea-testarch-framework` | Scaffold test framework (frontend, backend, fullstack, or mobile) |
148
- | CI | `/bmad:tea:ci` | `$bmad-tea-testarch-ci` | Set up CI/CD quality pipeline (multi-platform) |
149
- | AT | `/bmad:tea:atdd` | `$bmad-tea-testarch-atdd` | Generate failing acceptance tests + checklist |
150
- | TA | `/bmad:tea:automate` | `$bmad-tea-testarch-automate` | Expand test automation coverage |
151
- | RV | `/bmad:tea:test-review` | `$bmad-tea-testarch-test-review` | Review test quality and score |
152
- | NR | `/bmad:tea:nfr-assess` | `$bmad-tea-testarch-nfr` | Audit implemented NFR evidence |
153
- | TR | `/bmad:tea:trace` | `$bmad-tea-testarch-trace` | Trace requirements to tests + gate decision |
112
+ | Trigger | Slash Command | Codex Skill | Purpose |
113
+ | ------- | ---------------------------- | ---------------------------- | --------------------------------------------------------------------------- |
114
+ | TMT | `/bmad-teach-me-testing` | `$bmad-teach-me-testing` | Teach Me Testing (TEA Academy) |
115
+ | TD | `/bmad-testarch-test-design` | `$bmad-testarch-test-design` | System-level or epic-level test design and NFR planning |
116
+ | TF | `/bmad-testarch-framework` | `$bmad-testarch-framework` | Scaffold test framework (frontend, backend, fullstack, or mobile) |
117
+ | CI | `/bmad-testarch-ci` | `$bmad-testarch-ci` | Set up CI/CD quality pipeline (multi-platform) |
118
+ | AT | `/bmad-testarch-atdd` | `$bmad-testarch-atdd` | Generate failing acceptance tests + checklist |
119
+ | TA | `/bmad-testarch-automate` | `$bmad-testarch-automate` | Expand test automation coverage |
120
+ | RV | `/bmad-testarch-test-review` | `$bmad-testarch-test-review` | Review test quality and score |
121
+ | NR | `/bmad-testarch-nfr` | `$bmad-testarch-nfr` | Audit implemented NFR evidence |
122
+ | TR | `/bmad-testarch-trace` | `$bmad-testarch-trace` | Trace requirements to tests + gate decision |
123
+ | GATE | agent menu only | agent menu only | Route the release gate: test review, NFR evidence audit, then trace Phase 2 |
124
+
125
+ `GATE` is a routing prompt on the agent menu, so it has no standalone command. Load the agent with `/bmad-tea` or `$bmad-tea` and pick it there.
154
126
 
155
127
  ## Configuration
156
128
 
@@ -178,7 +150,7 @@ Workflows load only the fragments required for the current task to stay focused
178
150
 
179
151
  ## Module Structure
180
152
 
181
- ```
153
+ ```text
182
154
  src/
183
155
  ├── module.yaml
184
156
  ├── agents/
@@ -331,14 +303,15 @@ npx bmad-method install
331
303
  # Select "Test Architect (TEA)"
332
304
  ```
333
305
 
334
- **Test Workflows:**
306
+ **Test Workflows:** type these in the assistant chat, not in a shell.
335
307
 
336
- ```bash
337
- # In your project
338
- tea # Load agent
339
- test-design # Test workflow
308
+ ```text
309
+ /bmad-tea # load the agent persona and menu
310
+ /bmad-testarch-test-design # run a workflow directly
340
311
  ```
341
312
 
313
+ Codex uses `$` in place of `/`.
314
+
342
315
  ### Rollback a Release (if needed)
343
316
 
344
317
  If you need to unpublish a version: