bmad-method-test-architecture-enterprise 1.18.0 → 1.19.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 (61) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +7 -0
  3. package/README.md +4 -4
  4. package/docs/explanation/engagement-models.md +15 -16
  5. package/docs/explanation/risk-based-testing.md +1 -1
  6. package/docs/explanation/tea-overview.md +56 -54
  7. package/docs/explanation/testing-as-engineering.md +13 -12
  8. package/docs/glossary/index.md +2 -2
  9. package/docs/how-to/brownfield/use-tea-for-enterprise.md +19 -18
  10. package/docs/how-to/brownfield/use-tea-with-existing-tests.md +1 -1
  11. package/docs/how-to/workflows/run-nfr-assess.md +32 -26
  12. package/docs/how-to/workflows/run-test-design.md +20 -14
  13. package/docs/how-to/workflows/run-trace.md +3 -3
  14. package/docs/index.md +13 -11
  15. package/docs/reference/commands.md +37 -13
  16. package/docs/reference/knowledge-base.md +2 -2
  17. package/package.json +1 -1
  18. package/src/agents/bmad-tea/customize.toml +20 -15
  19. package/src/agents/bmad-tea/resources/tea-index.csv +1 -1
  20. package/src/module-help.csv +1 -1
  21. package/src/workflows/testarch/README.md +5 -4
  22. package/src/workflows/testarch/bmad-teach-me-testing/data/role-paths.yaml +1 -1
  23. package/src/workflows/testarch/bmad-teach-me-testing/data/tea-resources-index.yaml +1 -1
  24. package/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-01.md +2 -2
  25. package/src/workflows/testarch/bmad-teach-me-testing/steps-c/step-04-session-07.md +1 -1
  26. package/src/workflows/testarch/bmad-teach-me-testing/templates/certificate-template.md +1 -1
  27. package/src/workflows/testarch/bmad-testarch-atdd/resources/tea-index.csv +1 -1
  28. package/src/workflows/testarch/bmad-testarch-automate/resources/tea-index.csv +1 -1
  29. package/src/workflows/testarch/bmad-testarch-ci/resources/tea-index.csv +1 -1
  30. package/src/workflows/testarch/bmad-testarch-framework/resources/tea-index.csv +1 -1
  31. package/src/workflows/testarch/bmad-testarch-nfr/SKILL.md +3 -3
  32. package/src/workflows/testarch/bmad-testarch-nfr/checklist.md +11 -11
  33. package/src/workflows/testarch/bmad-testarch-nfr/instructions.md +4 -2
  34. package/src/workflows/testarch/bmad-testarch-nfr/nfr-report-template.md +5 -5
  35. package/src/workflows/testarch/bmad-testarch-nfr/resources/tea-index.csv +1 -1
  36. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01-load-context.md +1 -1
  37. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-01b-resume.md +1 -1
  38. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-02-define-thresholds.md +14 -3
  39. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04-evaluate-and-score.md +7 -7
  40. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04a-subagent-security.md +4 -4
  41. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04b-subagent-performance.md +4 -4
  42. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04c-subagent-reliability.md +4 -4
  43. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04d-subagent-scalability.md +4 -4
  44. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-04e-aggregate-nfr.md +4 -4
  45. package/src/workflows/testarch/bmad-testarch-nfr/steps-c/step-05-generate-report.md +1 -1
  46. package/src/workflows/testarch/bmad-testarch-nfr/workflow-plan.md +1 -1
  47. package/src/workflows/testarch/bmad-testarch-nfr/workflow.yaml +3 -3
  48. package/src/workflows/testarch/bmad-testarch-test-design/checklist.md +23 -3
  49. package/src/workflows/testarch/bmad-testarch-test-design/resources/tea-index.csv +1 -1
  50. package/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-02-load-context.md +7 -0
  51. package/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-03-risk-and-testability.md +16 -2
  52. package/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-04-coverage-plan.md +20 -4
  53. package/src/workflows/testarch/bmad-testarch-test-design/steps-c/step-05-generate-output.md +2 -0
  54. package/src/workflows/testarch/bmad-testarch-test-design/test-design-architecture-template.md +17 -0
  55. package/src/workflows/testarch/bmad-testarch-test-design/test-design-qa-template.md +15 -0
  56. package/src/workflows/testarch/bmad-testarch-test-design/test-design-template.md +16 -0
  57. package/src/workflows/testarch/bmad-testarch-test-review/resources/tea-index.csv +1 -1
  58. package/src/workflows/testarch/bmad-testarch-trace/checklist.md +1 -1
  59. package/src/workflows/testarch/bmad-testarch-trace/resources/tea-index.csv +1 -1
  60. package/src/workflows/testarch/bmad-testarch-trace/trace-template.md +1 -1
  61. package/website/astro.config.mjs +2 -2
@@ -12,7 +12,7 @@
12
12
  "name": "bmad-method-test-architecture-enterprise",
13
13
  "source": "./",
14
14
  "description": "Master Test Architect module for quality strategy, test automation, CI/CD quality gates, and structured testing education. Part of the BMad Method ecosystem.",
15
- "version": "1.18.0",
15
+ "version": "1.19.0",
16
16
  "author": {
17
17
  "name": "Murat K Ozcan (TEA Creator) & Brian (BMad) Madison"
18
18
  },
package/CHANGELOG.md CHANGED
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Changed
11
11
 
12
+ - NFR workflow boundary clarified: `test-design` now owns NFR planning (thresholds, planned evidence, NFR-derived risks) and `nfr-assess` is reframed as NFR Evidence Audit — evaluating implementation evidence against planned thresholds after code exists.
13
+ - `nfr-assess` step-02 now checks for an existing `test-design` NFR plan first and uses it as the primary threshold source, falling back to raw documents only for missing or UNKNOWN thresholds.
14
+ - TEA agent menu gains a `GATE` routing intent that guides users through the release gate sequence (optional test-review → optional nfr-assess → trace Phase 2 gate) without merging those workflows.
15
+ - NFR domains in `nfr-assess` corrected from "maintainability" to "scalability" to match the four parallel subagent domains (security, performance, reliability, scalability).
16
+ - TEA phase table updated: `nfr-assess` marked optional at the Release phase.
17
+ - NFR planning items in `test-design` step-05 output checklist conditioned on NFR scope.
18
+ - Engagement models table: TEA Solo row for NFR Evidence Audit updated from No to Optional.
12
19
  - GitHub Actions workflow dependencies upgraded to Node 24-compatible major versions:
13
20
  - `actions/checkout@v5`
14
21
  - `actions/setup-node@v6`
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Python Version](https://img.shields.io/badge/python-%3E%3D3.10-blue?logo=python&logoColor=white)](https://www.python.org)
4
4
  [![uv](https://img.shields.io/badge/uv-package%20manager-blueviolet?logo=uv)](https://docs.astral.sh/uv/)
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), framework setup, test design, ATDD, automation, traceability, NFR assessment, CI guidance, and test review.
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.
7
7
 
8
8
  Docs: <https://bmad-code-org.github.io/bmad-method-test-architecture-enterprise/>
9
9
 
@@ -123,7 +123,7 @@ npx bmad-method install
123
123
  1. Install TEA (above)
124
124
  2. Load the TEA menu with `$bmad-tea` if you want a conversational entrypoint.
125
125
  3. Run one of the core workflows:
126
- - `TD` / `/bmad:tea:test-design` / `$bmad-tea-testarch-test-design` — test design and risk assessment
126
+ - `TD` / `/bmad:tea:test-design` / `$bmad-tea-testarch-test-design` — test design, risk assessment, and NFR planning
127
127
  - `AT` / `/bmad:tea:atdd` / `$bmad-tea-testarch-atdd` — failing acceptance tests first (TDD red phase)
128
128
  - `TA` / `/bmad:tea:automate` / `$bmad-tea-testarch-automate` — expand automation coverage
129
129
  4. Or use in party mode: `/party` to include TEA with other agents
@@ -140,14 +140,14 @@ npx bmad-method install
140
140
  | Trigger | Slash Command | Codex Skill | Purpose |
141
141
  | ------- | ---------------------------- | -------------------------------- | --------------------------------------------------------- |
142
142
  | TMT | `/bmad:tea:teach-me-testing` | `$bmad-tea-teach-me-testing` | Teach Me Testing (TEA Academy) |
143
+ | TD | `/bmad:tea:test-design` | `$bmad-tea-testarch-test-design` | System-level or epic-level test design and NFR planning |
143
144
  | TF | `/bmad:tea:framework` | `$bmad-tea-testarch-framework` | Scaffold test framework (frontend, backend, or fullstack) |
144
145
  | CI | `/bmad:tea:ci` | `$bmad-tea-testarch-ci` | Set up CI/CD quality pipeline (multi-platform) |
145
- | TD | `/bmad:tea:test-design` | `$bmad-tea-testarch-test-design` | System-level or epic-level test design |
146
146
  | AT | `/bmad:tea:atdd` | `$bmad-tea-testarch-atdd` | Generate failing acceptance tests + checklist |
147
147
  | TA | `/bmad:tea:automate` | `$bmad-tea-testarch-automate` | Expand test automation coverage |
148
148
  | RV | `/bmad:tea:test-review` | `$bmad-tea-testarch-test-review` | Review test quality and score |
149
+ | NR | `/bmad:tea:nfr-assess` | `$bmad-tea-testarch-nfr` | Audit implemented NFR evidence |
149
150
  | TR | `/bmad:tea:trace` | `$bmad-tea-testarch-trace` | Trace requirements to tests + gate decision |
150
- | NR | `/bmad:tea:nfr-assess` | `$bmad-tea-testarch-nfr` | Assess non-functional requirements |
151
151
 
152
152
  ## Configuration
153
153
 
@@ -205,12 +205,11 @@ Steps:
205
205
  **Phase 2: Planning**
206
206
 
207
207
  - PM creates PRD with NFRs
208
- - (Optional) TEA runs `nfr-assess` (Enterprise only)
209
208
 
210
209
  **Phase 3: Solutioning**
211
210
 
212
211
  - Architect creates architecture
213
- - TEA runs `test-design` (system-level) → testability review
212
+ - TEA runs `test-design` (system-level) → testability review and NFR evidence plan
214
213
  - TEA runs `framework` → test infrastructure
215
214
  - TEA runs `ci` → CI/CD pipeline
216
215
  - Architect runs `implementation-readiness` (fed by test design)
@@ -229,7 +228,7 @@ Steps:
229
228
  **Release Gate:**
230
229
 
231
230
  - (Optional) TEA runs `test-review` → final audit
232
- - (Optional) TEA runs `nfr-assess` → validate NFRs
231
+ - (Optional) TEA runs `nfr-assess` → audit NFR evidence
233
232
  - TEA runs `trace` Phase 2 → gate decision (PASS/CONCERNS/FAIL/WAIVED)
234
233
 
235
234
  **What You Get:**
@@ -396,7 +395,7 @@ flowchart TD
396
395
  | -------------------------- | --------------------------- | ----------------------------- |
397
396
  | **None** | Any model | Choose based on project needs |
398
397
  | **Light** (internal audit) | TEA Solo or Integrated | Gate decisions helpful |
399
- | **Heavy** (SOC 2, HIPAA) | TEA Integrated (Enterprise) | NFR assessment mandatory |
398
+ | **Heavy** (SOC 2, HIPAA) | TEA Integrated (Enterprise) | NFR evidence audit mandatory |
400
399
 
401
400
  ## Switching Between Models
402
401
 
@@ -444,17 +443,17 @@ Result: TEA where it adds value, skip where it doesn't
444
443
 
445
444
  ## Comparison Table
446
445
 
447
- | Aspect | No TEA | TEA Lite | TEA Solo | Integrated (Green) | Integrated (Brown) |
448
- | --------------------- | ------- | --------- | ---------- | ------------------ | ------------------ |
449
- | **BMad Required** | No | No | No | Yes | Yes |
450
- | **Learning Curve** | None | Low | Medium | High | High |
451
- | **Setup Time** | 0 | 30 min | 2 hours | 1 day | 2 days |
452
- | **Workflows Used** | 0 | 2-3 | 4-6 | 8 | 8 |
453
- | **Test Planning** | Manual | Optional | Yes | Systematic | + Regression focus |
454
- | **Quality Gates** | No | No | Optional | Yes | Yes + baseline |
455
- | **NFR Assessment** | No | No | No | Optional | Recommended |
456
- | **Coverage Tracking** | Manual | No | Optional | Yes | Yes + trending |
457
- | **Best For** | Experts | Beginners | Standalone | New projects | Legacy code |
446
+ | Aspect | No TEA | TEA Lite | TEA Solo | Integrated (Green) | Integrated (Brown) |
447
+ | ---------------------- | ------- | --------- | ---------- | ------------------ | ------------------ |
448
+ | **BMad Required** | No | No | No | Yes | Yes |
449
+ | **Learning Curve** | None | Low | Medium | High | High |
450
+ | **Setup Time** | 0 | 30 min | 2 hours | 1 day | 2 days |
451
+ | **Workflows Used** | 0 | 2-3 | 4-6 | 8 | 8 |
452
+ | **Test Planning** | Manual | Optional | Yes | Systematic | + Regression focus |
453
+ | **Quality Gates** | No | No | Optional | Yes | Yes + baseline |
454
+ | **NFR Evidence Audit** | No | No | Optional | Optional | Recommended |
455
+ | **Coverage Tracking** | Manual | No | Optional | Yes | Yes + trending |
456
+ | **Best For** | Experts | Beginners | Standalone | New projects | Legacy code |
458
457
 
459
458
  ## Real-World Examples
460
459
 
@@ -496,7 +495,7 @@ Decision: Full BMad Method + TEA Integrated
496
495
  Result:
497
496
  - Full lifecycle integration
498
497
  - Quality gates before releases
499
- - NFR assessment for enterprise customers
498
+ - NFR evidence audit for enterprise customers
500
499
  ```
501
500
 
502
501
  ### Example 2: Enterprise (TEA Integrated - Brownfield)
@@ -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,14 +51,14 @@ 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
 
@@ -82,13 +82,13 @@ Example Phase 3 sequence:
82
82
 
83
83
  | Command | Primary Outputs | Notes | With Browser Automation (CLI/MCP) |
84
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) |
85
86
  | `framework` | Playwright/Cypress scaffold, `.env.example`, `.nvmrc`, sample specs | Use when no production-ready harness exists | - |
86
87
  | `ci` | CI workflow, selective test scripts, secrets checklist | Platform-aware (GitHub Actions default) | - |
87
- | `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) |
88
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 |
89
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) |
90
90
  | `test-review` | Test quality review report with 0-100 score, violations, fixes | Reviews tests against knowledge base patterns | - |
91
- | `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 | - |
92
92
  | `trace` | Phase 1: Coverage matrix, recommendations. Phase 2: Gate decision (PASS/CONCERNS/FAIL/WAIVED) | Two-phase workflow: traceability + gate decision | - |
93
93
 
94
94
  ## TEA Workflow Lifecycle
@@ -109,7 +109,7 @@ graph TB
109
109
  subgraph Phase2["<b>Phase 2: PLANNING</b>"]
110
110
  PM["<b>PM: prd (creates PRD with FRs/NFRs)</b>"]
111
111
  PlanNote["<b>Business requirements phase</b>"]
112
- NFR2["<b>TEA: nfr-assess (optional, enterprise)</b>"]
112
+ NFR2["<b>NFRs captured in PRD</b>"]
113
113
  PM -.-> NFR2
114
114
  NFR2 -.-> PlanNote
115
115
  PM -.-> PlanNote
@@ -118,7 +118,7 @@ graph TB
118
118
  subgraph Phase3["<b>Phase 3: SOLUTIONING</b>"]
119
119
  Architecture["<b>Architect: architecture</b>"]
120
120
  EpicsStories["<b>PM/Architect: create-epics-and-stories</b>"]
121
- TestDesignSys["<b>TEA: test-design (system-level)</b>"]
121
+ TestDesignSys["<b>TEA: test-design (system-level + NFR planning)</b>"]
122
122
  Framework["<b>TEA: framework (optional if needed)</b>"]
123
123
  CI["<b>TEA: ci (optional if needed)</b>"]
124
124
  GateCheck["<b>Architect: implementation-readiness</b>"]
@@ -155,7 +155,7 @@ graph TB
155
155
  end
156
156
 
157
157
  subgraph Gate["<b>EPIC/RELEASE GATE</b>"]
158
- NFR["<b>TEA: nfr-assess (if not done earlier)</b>"]
158
+ NFR["<b>TEA: nfr-assess (NFR Evidence Audit)</b>"]
159
159
  TestReview2["<b>TEA: test-review (final audit, optional)</b>"]
160
160
  TraceGate["<b>TEA: trace - Phase 2: Gate</b>"]
161
161
  GateDecision{"<b>Gate Decision</b>"}
@@ -183,10 +183,10 @@ graph TB
183
183
  style Waived fill:#9c27b0,stroke:#4a148c,stroke-width:3px,color:#000
184
184
  ```
185
185
 
186
- **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
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) + `test-design-qa.md` (for QA team: test execution recipe, coverage plan, Sprint 0 setup). Feeds the implementation-readiness gate.
189
- - **Epic-level (Phase 4):** Run per-epic to produce `test-design-epic-N.md` (risk, priorities, coverage plan).
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
190
 
191
191
  Use the same `test-design` workflow command for both modes; make the scope explicit in your prompt:
192
192
 
@@ -194,14 +194,14 @@ Use the same `test-design` workflow command for both modes; make the scope expli
194
194
 
195
195
  ```text
196
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, NFRs, integration risks, and Sprint 0 setup. Produce test-design-architecture.md and test-design-qa.md before implementation-readiness.
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
198
  ```
199
199
 
200
200
  **Phase 4 per-epic example**
201
201
 
202
202
  ```text
203
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 coverage, and follow-on guidance for atdd and automate.
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
205
  ```
206
206
 
207
207
  Codex users run `$bmad-tea-testarch-test-design` instead of `/bmad:tea:test-design` and use the same scope-setting prompt.
@@ -214,14 +214,15 @@ When an ADR or architecture draft is produced, run `test-design` in **system-lev
214
214
 
215
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.
216
216
 
217
- ### TEA's 8 Workflows Across Phases
217
+ ### TEA's 9 Workflows Across Phases
218
218
 
219
- | Phase | TEA Workflows | Frequency | Purpose |
220
- | ----------- | --------------------------------------------------------- | ---------------- | ------------------------------------------------------- |
221
- | **Phase 2** | (none) | - | Planning phase - PM defines requirements |
222
- | **Phase 3** | `test-design` (system-level), `framework`, `ci` | Once per project | System testability review and test infrastructure setup |
223
- | **Phase 4** | `test-design`, `atdd`, `automate`, `test-review`, `trace` | Per epic/story | Test planning per epic, then per-story testing |
224
- | **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 |
225
226
 
226
227
  **Note**: `trace` is a two-phase workflow: Phase 1 (traceability) + Phase 2 (gate decision). This reduces cognitive load while maintaining natural workflow.
227
228
 
@@ -279,25 +280,25 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
279
280
  - ➕ Documentation (Prerequisite) - Document existing codebase if undocumented
280
281
  - ➕ Phase 2: `trace` - Baseline existing test coverage before planning
281
282
  - 🔄 Phase 4: `test-design` - Focus on regression hotspots and brownfield risks
282
- - 🔄 Phase 4: Story Review - May include `nfr-assess` if not done earlier
283
-
284
- | Workflow Stage | Test Architect | Dev / Team | Outputs |
285
- | ---------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
286
- | **Documentation**: Prerequisite ➕ | - | Analyst `document-project` (if undocumented) | Comprehensive project documentation |
287
- | **Phase 1**: Discovery | - | Analyst/PM/Architect rerun planning workflows | Updated planning artifacts in `{output_folder}` |
288
- | **Phase 2**: Planning | Run ➕ `trace` (baseline coverage) | PM `prd` (creates PRD with FRs/NFRs) | PRD with FRs/NFRs, ➕ coverage baseline |
289
- | **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 |
290
- | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint status file with all epics and stories |
291
- | **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 |
292
- | **Phase 4**: Story Dev | (Optional) `atdd` before dev, then `automate` after | SM `create-story`, DEV implements | Tests, story implementation |
293
- | **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 |
294
- | **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 |
295
296
 
296
297
  **Key notes:**
297
298
 
298
299
  - Start with `trace` in Phase 2 to baseline coverage.
299
300
  - Focus `test-design` on regression hotspots and integration risk.
300
- - 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.
301
302
 
302
303
  ### Greenfield - Enterprise Method (Enterprise/Compliance Work)
303
304
 
@@ -307,24 +308,25 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
307
308
  **🏢 Enterprise Deltas from BMad Method:**
308
309
 
309
310
  - ➕ Phase 1: `research` - Domain and compliance research (recommended)
310
- - 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)
311
312
  - 🔄 Phase 4: `test-design` - Enterprise focus (compliance, security architecture alignment)
313
+ - ➕ Release Gate: `nfr-assess` - Audit NFR evidence before final gate
312
314
  - 📦 Release Gate - Archive artifacts and compliance evidence for audits
313
315
 
314
- | Workflow Stage | Test Architect | Dev / Team | Outputs |
315
- | -------------------------- | ---------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
316
- | **Phase 1**: Discovery | - | Analyst ➕ `research`, `product-brief` | Domain research, compliance analysis, product brief |
317
- | **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 |
318
- | **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 |
319
- | **Phase 4**: Sprint Start | - | SM `sprint-planning` | Sprint plan with all epics |
320
- | **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 |
321
- | **Phase 4**: Story Dev | (Optional) `atdd`, `automate`, `test-review`, `trace` per story | SM `create-story`, DEV implements | Tests, fixtures, quality reports, coverage matrices |
322
- | **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 |
323
325
 
324
326
  **Key notes:**
325
327
 
326
- - Run `nfr-assess` early in Phase 2.
327
- - `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.
328
330
  - Archive artifacts at the release gate for audits.
329
331
 
330
332
  **Related how-to guides:**
@@ -335,7 +337,7 @@ These cheat sheets map TEA workflows to the **BMad Method and Enterprise tracks*
335
337
  - [How to Run Automate](/docs/how-to/workflows/run-automate.md)
336
338
  - [How to Run Test Review](/docs/how-to/workflows/run-test-review.md)
337
339
  - [How to Set Up CI Pipeline](/docs/how-to/workflows/setup-ci.md)
338
- - [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)
339
341
  - [How to Run Trace](/docs/how-to/workflows/run-trace.md)
340
342
 
341
343
  ## Deep Dive Concepts
@@ -457,13 +459,13 @@ Optional MCP integration for design-time broker interaction in contract testing
457
459
  **All 9 TEA workflows with step-by-step instructions:**
458
460
 
459
461
  1. [How to Learn Testing with TEA Academy](/docs/how-to/workflows/teach-me-testing.md) - Teach Me Testing (TEA Academy)
460
- 2. [How to Set Up a Test Framework with TEA](/docs/how-to/workflows/setup-test-framework.md) - Scaffold Playwright or Cypress
461
- 3. [How to Set Up CI Pipeline with TEA](/docs/how-to/workflows/setup-ci.md) - Configure CI/CD with selective testing
462
- 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
463
465
  5. [How to Run ATDD with TEA](/docs/how-to/workflows/run-atdd.md) - Generate red-phase test scaffolds before implementation
464
466
  6. [How to Run Automate with TEA](/docs/how-to/workflows/run-automate.md) - Expand test coverage after implementation
465
467
  7. [How to Run Test Review with TEA](/docs/how-to/workflows/run-test-review.md) - Audit test quality (0-100 scoring)
466
- 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
467
469
  9. [How to Run Trace with TEA](/docs/how-to/workflows/run-trace.md) - Coverage traceability + gate decisions
468
470
 
469
471
  ### Customization & Integration
@@ -479,7 +481,7 @@ Optional MCP integration for design-time broker interaction in contract testing
479
481
  **Specialized guidance for specific contexts:**
480
482
 
481
483
  - [Using TEA with Existing Tests (Brownfield)](/docs/how-to/brownfield/use-tea-with-existing-tests.md) - Incremental improvement, regression hotspots, baseline coverage
482
- - [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
483
485
 
484
486
  ### Concept Deep Dives (Understanding-Oriented)
485
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