289 lines
22 KiB
Markdown
289 lines
22 KiB
Markdown
---
|
||
workflowStatus: 'completed'
|
||
totalSteps: 5
|
||
stepsCompleted: ['step-01-detect-mode', 'step-02-load-context', 'step-03-risk-and-testability', 'step-04-coverage-plan', 'step-05-generate-output']
|
||
lastStep: 'step-05-generate-output'
|
||
nextStep: ''
|
||
lastSaved: '2026-09-13'
|
||
lastEdited: '2026-09-13'
|
||
runScope: 'epic-level'
|
||
runKey: 'epic-1'
|
||
auditedRevision: '083974c27f3a21a15807dd248bb6bc4fe04a5cd8'
|
||
workflowType: 'testarch-test-design'
|
||
inputDocuments:
|
||
- '_bmad-output/planning-artifacts/epics.md'
|
||
- '_bmad-output/planning-artifacts/prds/prd-crank-2026-08-03/prd.md'
|
||
- '_bmad-output/planning-artifacts/architecture/architecture-crank-2026-08-03/ARCHITECTURE-SPINE.md'
|
||
- '_bmad-output/project-context.md'
|
||
- '_bmad-output/test-artifacts/test-design-architecture.md'
|
||
- '_bmad-output/test-artifacts/test-design-qa.md'
|
||
---
|
||
|
||
# Test Design: Epic 1 — Надёжный базовый REST → MCP продукт
|
||
|
||
**Date:** 2026-09-13
|
||
**Author:** Bsodfather / BMad TEA
|
||
**Status:** Updated regression planning baseline; implementation status unchanged, qualification not evaluated.
|
||
|
||
## Executive Summary
|
||
|
||
This epic-level plan covers Stories 1.1–1.16 and proves the safe core journey: create/test/version/publish a REST Operation, publish an Agent catalog, manage credentials/approvals, execute through MCP and diagnose the result. It also establishes configuration, migrations, identity, metrics and evidence contracts required by later epics.
|
||
|
||
There are 15 risks: 13 high (six score 9), two medium and none low. The dominant categories are security, data integrity, execution consistency and operational correctness.
|
||
|
||
Coverage retains the 41 historical scenario-family IDs for continuity. The former 650–1,050-case / 655–1,150-hour forecast predates completed Epic 1 work and is not a remaining-work estimate. Reuse existing tests before identifying gaps; do not reopen completed stories or create hundreds of tests just to satisfy a forecast.
|
||
|
||
## Not in Scope
|
||
|
||
| Item | Reason | Mitigation |
|
||
|---|---|---|
|
||
| Full modern Resources/Prompts/Tasks | Epics 3–4 | Epic 1 establishes shared config/identity/metrics/runtime contracts |
|
||
| GlitchTip spool, Grafana/SLO implementation | Epic 5 | Epic 1 proves correlation/redaction/typed metric foundations |
|
||
| Built-in load runner | Epic 6 | Use test-only calibrated performance harness for Epic 1 thresholds |
|
||
| Complete deployment/restore/air-gap qualification | Epics 7–8 | Migration/master-key contracts remain compatible and evidence-ready |
|
||
| 72-hour soak and 30-day burn-in | Epic 8 | Bounded contention/resource trend checks are proposed; nightly scheduling is not currently configured |
|
||
|
||
## Existing Evidence Baseline
|
||
|
||
- Real PostgreSQL 16 Testcontainers and unique-schema fixtures exist.
|
||
- Admin API covers basic Operation/Agent/key/secret/history/usage flows.
|
||
- MCP suites cover tool calls, catalog scope/refresh, approvals, transport and correlation.
|
||
- Runtime covers confirmation, idempotency, fail-closed stores and uncertain outcomes.
|
||
- Metrics/observability cover closed labels, redaction, propagation, Prometheus and OTLP configuration.
|
||
- Playwright covers key current screens, but is Chromium-only, one-worker and not yet production-qualification complete.
|
||
|
||
Existing tests are reusable evidence candidates, not automatic acceptance: each must be linked to the Inventory and rerun against the Epic candidate.
|
||
|
||
### 2026-09-13 Source and Gap Audit
|
||
|
||
Main is `083974c27f3a21a15807dd248bb6bc4fe04a5cd8`. Epic 1 is already implemented in sprint tracking; this is a regression/evidence update, not instructions to restart 1.1. Source presence is not current execution evidence. Historical baseline `2026.08.24.1` binds revision `767428`, not this HEAD. No product tests were rerun during this planning update.
|
||
|
||
| Story | Existing source to reuse | Remaining qualification distinction |
|
||
|---|---|---|
|
||
| 1.1 | `tests/unit/test_validate_capability_inventory.py`, `docs/capability-inventory.json` | Inventory schema correctness is not functional pass for every listed flow |
|
||
| 1.2 | `docs/capability-baseline/results.json`, `scripts/collect-capability-baseline.py` | Old results and manual not-run/fail entries require fresh disposition, not inferred pass |
|
||
| 1.3 | `crates/crank-config/tests/{contract,generation,redaction}.rs` | Config exists; later-process fields belong to owning stories/7.1 |
|
||
| 1.4 | `crates/crank-registry/tests/integration/migrations.rs`, `apps/admin-api/tests/migration_command.rs` | Real migration regressions exist; full production N/N-1 qualification is 7.2 |
|
||
| 1.5 | `crates/crank-observability/tests/{request_correlation,propagation}.rs` | Support IDs/capture do not prove GlitchTip delivery |
|
||
| 1.6 | `crates/crank-metrics/tests/`, `crates/crank-runtime/tests/product_metrics.rs` | Typed schema/budget tests are not complete future subsystem coverage |
|
||
| 1.7 | `apps/admin-api/tests/integration/operation_lifecycle.rs`, `apps/ui/tests/e2e/operation-lifecycle.spec.js` | Reuse immutable/conflict and RU/EN cases on changed lifecycle paths |
|
||
| 1.8 | `crates/crank-runtime/tests/stages.rs`, `apps/mcp-server/tests/integration/execution_stages.rs` | Preserve synchronous parity; candidate 2.9 evidence remains separate |
|
||
| 1.9 | `crates/crank-adapter-rest/tests/integration/outbound_security.rs` | Extend only new connection surfaces; production security qualification remains separate |
|
||
| 1.10 | `apps/admin-api/tests/integration/credential_lifecycle.rs` | Reuse credential scope/rotation/canary tests |
|
||
| 1.11 | `apps/admin-api/tests/migration_command.rs`, `apps/admin-api/tests/config_startup.rs` | Rotation/startup tests are not three qualified restore runs |
|
||
| 1.12 | `apps/admin-api/tests/integration/auth_rate_limit.rs`, `apps/ui/tests/e2e/login.spec.js` | Full deployment exposure matrix belongs to 7.4 |
|
||
| 1.13 | `apps/mcp-server/tests/integration/catalog_access.rs` | Source access/refresh regressions do not measure reference-scale discovery |
|
||
| 1.14 | `crates/crank-runtime/tests/integration/confirmation.rs` | Preserve counted side effects, replay/race and honest uncertainty |
|
||
| 1.15 | `apps/admin-api/tests/integration/logs_usage.rs`, `crates/crank-registry/tests/integration/observability.rs` | `production_size_invocation_history_queries_stay_bounded` is ignored; 1M-row qualification not claimed |
|
||
| 1.16 | `apps/ui/tests/e2e/onboarding.spec.js` | Real public MCP path exists; fresh-user five-participant ≤15-min protocol remains separate manual evidence |
|
||
|
||
Current browser discovery: 56 tests /13 files, Chromium only, one worker. This is not full Firefox/WebKit × RU/EN coverage. No measured code-coverage report was found. Read the updated system QA inventory before scheduling gaps.
|
||
|
||
## Risk Assessment
|
||
|
||
### High-priority risks
|
||
|
||
| Risk | Category | Failure | P | I | Score | Mitigation | Owner | Target |
|
||
|---|---|---|---:|---:|---:|---|---|---|
|
||
| E1-R-001 | TECH | False Capability Inventory/baseline hides gaps/regressions | 3 | 3 | **9** | Strict validator, checksummed evidence and blocked severe flows | QA + Release | 1.1–1.2 |
|
||
| E1-R-002 | OPS | Cross-process config drift/unsafe defaults | 3 | 3 | **9** | Single typed schema, golden config and boundary scans | Config/Core | 1.3 |
|
||
| E1-R-003 | DATA | Migration corruption/race/incompatibility | 2 | 3 | **6** | Real-PG fresh/current/concurrent/failure matrix | Registry | 1.4 |
|
||
| E1-R-004 | OPS | Missing/conflated/attacker-controlled IDs | 2 | 3 | **6** | Boundary contracts and golden correlation chain | Observability | 1.5 |
|
||
| E1-R-005 | PERF | Metric cardinality/overhead exhaustion | 2 | 3 | **6** | Closed API, million-value stress and budget | Metrics | 1.6 |
|
||
| E1-R-006 | DATA | Draft/import/archive mutates published behavior | 2 | 3 | **6** | State model, conflicts, roundtrip and snapshot regression | Operation | 1.7 |
|
||
| E1-R-007 | TECH | Admin and MCP execute/classify differently | 3 | 3 | **9** | Table-driven parity and architecture guardrails | Runtime | 1.8 |
|
||
| E1-R-008 | SEC | SSRF/proxy/redirect/header/retry bypass | 3 | 3 | **9** | Malicious-network matrix on Admin and MCP | Security + REST | 1.9 |
|
||
| E1-R-009 | SEC | Credential leak/scope bypass/master-key data loss | 3 | 3 | **9** | Canaries, purpose/scope matrix and crash-safe rotation | Security + Registry | 1.10–1.11 |
|
||
| E1-R-010 | SEC | Bootstrap/session/CSRF/proxy/recovery takeover | 2 | 3 | **6** | Auth model, concurrency and web-security matrix | Auth + Security | 1.12 |
|
||
| E1-R-011 | DATA | Stale/foreign/Draft catalog leakage | 2 | 3 | **6** | Atomic snapshot, exact pinning and cache differential | Agent + MCP | 1.13 |
|
||
| E1-R-012 | BUS | Approval race/replay causes unauthorized duplicate side effect | 3 | 3 | **9** | PG race model, single-use admission and uncertainty proof | Approval + Runtime | 1.14 |
|
||
| E1-R-013 | SEC | History/CSV leaks data or large queries fail | 2 | 3 | **6** | Redaction/scope/CSV/UTC/retention and 1M dataset | History + Admin | 1.15 |
|
||
|
||
### Medium risks
|
||
|
||
| Risk | Category | Failure | P | I | Score | Mitigation | Owner |
|
||
|---|---|---|---:|---:|---:|---|---|
|
||
| E1-R-014 | BUS | Onboarding duplicates state or never proves real MCP value | 2 | 2 | 4 | Server-authoritative real-endpoint/resume/usability E2E | Product + UI |
|
||
| E1-R-015 | TECH | Serial/shared-state browser suite masks races | 2 | 2 | 4 | Per-worker data/ports, trace-on-failure and burn-in | QA Automation |
|
||
|
||
No low-priority risks were identified. Score 9 blocks the epic gate; score 6 requires verified mitigation.
|
||
|
||
## NFR Planning
|
||
|
||
| Category | Epic threshold/invariant | Risks | Validation | Evidence |
|
||
|---|---|---|---|---|
|
||
| Security/privacy | Default deny; no metadata/secret leakage; encryption; SSRF on actual connections; zero Critical/High | E1-R-008/009/010/013 | Malicious network, key/auth scope matrix, canaries, web-security, SAST/SCA | JUnit/JSON, network capture, canary and scanner reports |
|
||
| Performance/scale | Discovery ≤150 ms p95 at 200 Agents/2,000 Operations; Logs/Usage ≤2 s p95 at 1M records; bounded metric cardinality | E1-R-005/011/013 | Checksummed datasets, PG plans, raw browser/API timings, million-value metric stress | Plans, timing samples, resource/series report |
|
||
| Reliability/data | Durable immutable revisions/config/approvals; transactional checksummed migrations; safety stores fail closed | E1-R-003/006/011/012 | PG contention/restart/failure, state/property tests and adapter call counters | Seeds/schedules, checksums and invariant results |
|
||
| Observability | 100% Epic ingress/execution/history records have separate Request/Trace IDs; labels bounded; no secret payloads | E1-R-004/005/013 | Boundary/cross-process correlation, persistence queries, schema/redaction | Correlation map, trace capture, metric/redaction report |
|
||
| Compatibility/maintainability | Existing wire/core behavior retained; MSRV/boundaries unchanged; RU+EN; regression per defect | E1-R-001/002/007/015 | Inventory, `just verify`, snapshots, localization/static/flake checks | Inventory/evidence links and CI reports |
|
||
| UX/business | Fresh manual path reaches real MCP call ≤15 min; async states/recovery/stale guards/accessibility | E1-R-014 | Real-stack Playwright and frozen guided-usability protocol | Traces, accessibility and timing results |
|
||
|
||
Controlled inputs and remaining execution prerequisites:
|
||
|
||
- Reuse the shipped typed metric contract/series budgets from 1.6; freeze additional subsystem metrics in their owning stories, not by reopening 1.6.
|
||
- Session/bootstrap/backoff/retention defaults and bounds are authoritative in `crank-config`; regression tests must use that contract.
|
||
- The manual regression checklist specifies five fresh participants and median time-to-first-value ≤15 minutes; execution evidence is still required.
|
||
|
||
This plan defines evidence; final NFR PASS/CONCERNS/FAIL belongs to the later NFR assessment.
|
||
|
||
## Entry Criteria
|
||
|
||
- Story acceptance criteria and Requirements tags are unchanged or their change is reviewed.
|
||
- Applicable typed config/migration/test-control seam exists and is production-safe.
|
||
- PostgreSQL/Valkey/upstream/telemetry/browser fixtures use deterministic scoped data and cleanup.
|
||
- Expected wire/state/security oracle is frozen before implementation.
|
||
- Existing affected suites pass or their baseline failure is recorded in Capability Inventory.
|
||
|
||
## Exit Criteria
|
||
|
||
- Every acceptance criterion in Stories 1.1–1.16 maps to test and immutable evidence.
|
||
- P0 and Story-acceptance P1 pass 100%; no blocked/skipped mandatory/manual item.
|
||
- Six score-9 risks are closed; score-6 risks have verified mitigations.
|
||
- No Critical/High defect or security finding; secret and cross-scope scans are clean.
|
||
- Numeric discovery/UI/cardinality/usability targets pass on checksummed inputs.
|
||
- Existing REST→MCP journey remains green; no unrelated dependency/toolchain/wire change is mixed in.
|
||
|
||
## Test Coverage Plan
|
||
|
||
P0/P1/P2/P3 describe risk priority, not execution timing. Detailed IDs E1-01..E1-41 are stable scenario-family identifiers.
|
||
|
||
### P0 — Critical
|
||
|
||
| IDs | Story | Primary coverage | Risk | Historical sizing, not remaining cases |
|
||
|---|---|---|---|---:|
|
||
| E1-01, E1-02, E1-03, E1-04 | 1.1–1.2 | Inventory/scope validator and real current REST→MCP baseline | E1-R-001 | 40–69 |
|
||
| E1-06, E1-07 | 1.3 | Typed config values, conflicts, redaction, fingerprints and boundary scan | E1-R-002 | 53–85 |
|
||
| E1-08, E1-09 | 1.4 | PG migration sequence/checksum/concurrency/failure/backfill | E1-R-003 | 30–48 |
|
||
| E1-10, E1-11 | 1.5 | Hostile IDs and full correlation/persistence chain | E1-R-004 | 30–48 |
|
||
| E1-12, E1-13 | 1.6 | Metric schema/guardrail/cardinality/exemplar/overhead | E1-R-005 | 28–44 + profiles |
|
||
| E1-14, E1-15 | 1.7 | Operation state/revision/YAML/API/history invariants | E1-R-006 | 55–85 |
|
||
| E1-17, E1-18, E1-19 | 1.8 | Admin/MCP target and failure parity plus boundaries | E1-R-007 | 51–82 |
|
||
| E1-20, E1-21 | 1.9 | Actual-connect SSRF, redirects, proxy, headers, bounds/retries | E1-R-008 | 60–95 |
|
||
| E1-22, E1-23, E1-24, E1-25 | 1.10–1.11 | Credential lifecycle/UI canary and master-key rotation/crash | E1-R-009 | 85–141 |
|
||
| E1-26, E1-27 | 1.12 | Bootstrap/auth/session concurrency and security config | E1-R-010 | 55–90 |
|
||
| E1-29, E1-30 | 1.13 | Atomic catalog/pinning/scope/cache/performance | E1-R-011 | 50–75 + profiles |
|
||
| E1-32, E1-33 | 1.14 | Approval model/races/scope/single-use/uncertainty | E1-R-012 | 55–85 |
|
||
| E1-35, E1-36, E1-37 | 1.15 | History redaction/scope/CSV/UTC/retention/1M performance | E1-R-013 | 53–87 + profiles |
|
||
|
||
### P1 — High
|
||
|
||
| IDs | Story | Primary coverage | Risk | Historical sizing, not remaining cases |
|
||
|---|---|---|---|---:|
|
||
| E1-05 | 1.2 | Bounded exploratory RU/EN baseline | E1-R-001 | 10–16 charters |
|
||
| E1-16 | 1.7 | Operation lifecycle stale/immutable/YAML UI journey | E1-R-006 | 8–14 |
|
||
| E1-23 | 1.10 | One-time secret DOM/storage/telemetry behavior | E1-R-009 | 10–16 |
|
||
| E1-28 | 1.12 | Login/throttle/expiry/recovery browser states | E1-R-010 | 10–16 |
|
||
| E1-31 | 1.13 | Agent Draft/Published/revision/conflict UI | E1-R-011 | 8–14 |
|
||
| E1-34 | 1.14 | Approval safe summary/expiry/conflict/stale UI | E1-R-012 | 8–12 |
|
||
| E1-38, E1-39, E1-40 | 1.16 | Authoritative onboarding, real call, failures, accessibility and usability | E1-R-014 | 41–69 + usability |
|
||
| E1-41 | All | Isolation, deterministic burn-in and traceability quality | E1-R-015 | 8–12 harness checks |
|
||
|
||
### P2/P3
|
||
|
||
P2/P3 are optional focused exploratory/benchmark variants only. No numeric quota of new tests is required; neither replaces mandatory evidence.
|
||
|
||
## Execution Strategy
|
||
|
||
Run all functional coverage in PR when it fits the ≤15-minute target; defer only expensive infrastructure or duration.
|
||
|
||
Nightly/weekly below describe the intended execution tiers, not existing scheduled jobs. Current CI runs PR/push and release gates. `just verify` does not include UI E2E, image or deployment qualification. Mandatory owning-story acceptance still requires its evidence even when a profile is expensive.
|
||
|
||
- **PR:** changed unit/property/static tests; targeted PostgreSQL/Admin/MCP integration; Inventory/config/boundary contracts; changed Playwright plus shared auth/API smoke.
|
||
- **Nightly:** full Epic Rust/PG/Valkey/Admin/MCP and Chromium UI; security negatives; correlation; cardinality; migration/rotation/approval contention and flake burn-in.
|
||
- **Weekly:** malicious network, 200/2k/1M performance profiles, web-security matrix, master-key crash/recovery, guided onboarding/accessibility and required exploratory refresh.
|
||
- **Epic qualification:** complete traceability and evidence for one Epic candidate digest. Product-wide 72-hour/30-day qualification remains Epic 8.
|
||
|
||
## Resource Estimates
|
||
|
||
The old initial-implementation estimate is superseded. Provisional incremental QA audit/regression effort, assuming existing seams are reusable, excluding product implementation and qualification elapsed time:
|
||
|
||
| Priority | Effort |
|
||
|---|---:|
|
||
| P0 | ~16–32 hours |
|
||
| P1 | ~8–16 hours |
|
||
| P2 | ~0–8 hours |
|
||
| P3 | ~0–4 hours |
|
||
| **Total** | **~24–60 hours** |
|
||
|
||
Approximately 1–2 contributor-weeks, low confidence until AC-to-existing-test reconciliation. These are planning bounds, not authorizations for extra work or a token target. Missing reference hardware/manual reviewers add lead time; do not fold 1M-row or release qualification into every story session.
|
||
|
||
Prerequisites include scoped data factories, malicious upstream/DNS proxy, controllable clock/IDs, ciphertext/key fixtures, production-size datasets, captured telemetry and safe failure injection.
|
||
|
||
## Quality Gate Criteria
|
||
|
||
- P0 100%; P1 ≥95% during development and 100% for acceptance/epic qualification.
|
||
- Security scenarios and score-9 mitigations 100%; no Critical/High findings.
|
||
- Requirement-to-test-to-evidence mapping 100% for Stories 1.1–1.16.
|
||
- Workspace coverage ≥80%; new critical config/migration/state/security code targets ≥90% where measured. These remain goals: no current coverage report proves them, and test counts cannot substitute for one.
|
||
- Discovery/UI/cardinality/usability targets pass; metric budget must be frozen first.
|
||
- Full NFR decision is deferred until implementation evidence is assessed.
|
||
|
||
## Mitigation Plans
|
||
|
||
The statuses below mean pending qualification evidence, not absent implementation. Use the source audit above to distinguish implemented controls from unexecuted qualification; no risk is closed solely by source presence. Risk scores are inherited conservative planning scores, not observed current failures.
|
||
|
||
| Risk | Strategy | Verification | Status |
|
||
|---|---|---|---|
|
||
| E1-R-001 | Schema/validator → full mapping → immutable baseline | E1-01..05 and zero hidden severe flow | Planned |
|
||
| E1-R-002 | Central schema → process parity → env-read guardrail | E1-06, E1-07 | Planned |
|
||
| E1-R-003 | Immutable sequence → contention/faults → N/N-1 fixture | E1-08, E1-09 | Planned |
|
||
| E1-R-004 | Typed IDs → hostile boundary inputs → golden chain | E1-10, E1-11 | Planned |
|
||
| E1-R-005 | Closed registry → series budget → stress/overhead | E1-12, E1-13 | Planned |
|
||
| E1-R-006 | State model → PG revision conflicts → API/UI roundtrip | E1-14..16 | Planned |
|
||
| E1-R-007 | Unified request → stage parity → dependency guardrail | E1-17, E1-18, E1-19 | Planned |
|
||
| E1-R-008 | Actual-connect policy → attack matrix → no-secret scan | E1-20, E1-21 | Planned |
|
||
| E1-R-009 | Credential scope/canary → durable rotation → browser proof | E1-22, E1-23, E1-24, E1-25 | Planned |
|
||
| E1-R-010 | Auth model → web config matrix → browser/recovery proof | E1-26..28 | Planned |
|
||
| E1-R-011 | Atomic snapshot → cache/scope differential → scale/UI | E1-29..31 | Planned |
|
||
| E1-R-012 | Fingerprint/model → PG races → side-effect counters/UI | E1-32..34 | Planned |
|
||
| E1-R-013 | Redaction/scope → time/CSV/retention → 1M UI | E1-35, E1-36, E1-37 | Planned |
|
||
|
||
## Assumptions and Dependencies
|
||
|
||
Assumptions:
|
||
|
||
1. PostgreSQL remains correctness authority; Valkey is optional acceleration.
|
||
2. Reference datasets and thresholds in PRD/epics are normative.
|
||
3. Existing tests may be refactored for traceability/isolation without changing product semantics.
|
||
4. Security-sensitive test controls are unavailable in production configuration.
|
||
|
||
Dependencies:
|
||
|
||
1. Preserve completed 1.1–1.16 state; rerun only relevant regressions when a later story touches shared contracts.
|
||
2. Reuse existing metric/security/key fixtures and approved usability protocol; remaining full-system evidence follows Epics 5–8.
|
||
3. Docker is available for PostgreSQL/Valkey/full-stack evidence.
|
||
|
||
Risk to plan: single-worker/default-port Playwright infrastructure may delay PR feedback. Contingency is to keep targeted browser smoke serial while building per-worker data/ports; do not raise workers until repeated burn-in proves isolation.
|
||
|
||
## Interworking and Regression
|
||
|
||
| Component | Regression scope |
|
||
|---|---|
|
||
| Scope/docs/project context | Community boundary and Inventory validator tests |
|
||
| Admin API/UI | Existing Operations/Agents/keys/secrets/login/Logs/Usage specs plus owning Story gaps |
|
||
| MCP server/catalog | Transport, catalog access/search, approval and tool execution suites |
|
||
| Runtime/REST adapter | Mapping/stages/idempotency/confirmation/Valkey and outbound client suites |
|
||
| Registry/PostgreSQL | Operations/artifacts/workspace/approval/observability/migration suites |
|
||
| Metrics/trace/observability | Closed schema, propagation, redaction, Prometheus/OTLP/history-loss suites |
|
||
|
||
Every defect fix starts with the lowest-level regression and adds a boundary test when the contract crossed layers.
|
||
|
||
## Manual Follow-on
|
||
|
||
- Do not restart Epic 1. For a separately approved new/fix story, run bounded ATDD before implementation, reusing existing tests and completed matching checklists. Never add red tests solely to make already-correct behavior fail.
|
||
- The requested automatic pre-implementation handoff is configured separately from this design; stock bmad-loop 0.11.1 TEA runs ATDD after dev and must not be mistaken for the intended order.
|
||
- Run broader automation after the corresponding production seams exist.
|
||
- Run traceability and NFR assessment only against implementation evidence.
|
||
|
||
## References
|
||
|
||
- `_bmad-output/planning-artifacts/epics.md` — Epic 1 Stories 1.1–1.16
|
||
- `_bmad-output/test-artifacts/test-design-architecture.md`
|
||
- `_bmad-output/test-artifacts/test-design-qa.md`
|
||
- `_bmad-output/test-artifacts/test-design/crank-handoff.md` — historical handoff, not current execution evidence; current system QA/design and epic plans take precedence
|
||
- Risk governance, probability-impact, test levels/priorities and NFR criteria knowledge fragments
|
||
|
||
**Generated by:** BMad TEA Agent
|
||
**Workflow:** `bmad-testarch-test-design`
|