27 KiB
runScope, runKey, workflowStatus, workflowType, totalSteps, stepsCompleted, lastStep, nextStep, lastSaved, lastEditMode, lastEditScope, auditedRevision, inputDocuments
| runScope | runKey | workflowStatus | workflowType | totalSteps | stepsCompleted | lastStep | nextStep | lastSaved | lastEditMode | lastEditScope | auditedRevision | inputDocuments | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| epic-level | epic-5 | completed | testarch-test-design | 5 |
|
step-05-generate-output | 2026-09-13 | E | approved 5.9–5.13 Prometheus, notification gateway, Grafana, SLO and alert-delivery decomposition | 083974c27f |
|
Test Design: Epic 5 — Полная эксплуатационная видимость
Date: 2026-09-13
Author: Bsodfather / BMad TEA
Status: Updated planning baseline; qualification not evaluated.
Executive Summary
Scope: FR-27–FR-35, 13 stories, system scenario families CP-16..21. This plan reflects the approved numbering revision; it neither changes product scope nor marks stories complete.
Approved decision 2026-09-13: application alert delivery uses self-hosted Apprise API (HTTP gateway, no embedded Python in Rust). Story 5.9 owns Prometheus integration; 5.10 owns the provider-neutral notification gateway and tested evaluator payload adapter; 5.11 owns Grafana; 5.12 owns SLO measurement; 5.13 owns application alert delivery and end-of-epic evidence. Host/network/disk/infrastructure-service monitoring and independent whole-application outage detection belong to the infrastructure owner; application-visible dependency failures and existing safety/recovery obligations remain in scope. This is updated planning, not implementation evidence.
6 inherent risks, 6 high (score ≥6). Coverage seeds: 22 P0 and 4 P1 independently assertable scenarios. Counts describe the two seeds per story below, not implemented tests, coverage percentages or the eventual parameterized case count. The 19 source AC rows now allocated across 5.9/5.10/5.12/5.13 below refine these seeds rather than add unrelated requirements or prescribe a test-file count. Every source AC remains mandatory.
Existing Coverage and Evidence
Source inventory at main 083974c: crates/crank-observability/tests/{request_correlation,propagation,json_logging,redaction,critical_errors,otlp,prometheus,http_metrics,metrics_signals}.rs; apps/mcp-server/tests/integration/execution_stages.rs; apps/admin-api/tests/integration/logs_usage.rs; crates/crank-metrics/tests/.
IDs, local metric registry, redaction and captured OTLP are source-present foundations. Real GlitchTip receiver delivery, durable encrypted spool/loss reconciliation, complete ProductEvent rollups, packaged Prometheus/Grafana and SLO qualification are not proven by them. No services are provisioned in this task.
Source presence ≠ execution ≠ requirement coverage ≠ qualification. No product test, deployment or load execution was performed for this plan. Reuse source tests only after matching their oracle to the current AC and recording a run on the candidate under test.
Edit-mode source check at the same main revision: no Rust/Cargo matches for NotificationMessage, NotificationSink, AppriseNotificationSink or apprise under crates/apps. This search does not evidence the planned port/adapter; existing telemetry tests cannot be counted as its implementation or delivery proof. This targeted edit does not claim a whole-codebase re-audit.
Not in Scope
| Item | Reason | Mitigation |
|---|---|---|
| Unrelated future-epic implementation and whole-product refactoring | This is Epic 5 test planning | Keep explicit prerequisites below; do not invent additional story acceptance |
| SSO/RBAC enterprise features, non-REST adapters, HA/rolling deployment | Outside approved Community scope | Preserve Community boundary checks |
| Declaring current production readiness from source inventory | No bound qualification run | Require real evidence before gate |
| Product-wide 72-hour soak / 30-day burn-in | Owned by Epic 8 | Component fault/performance obligations in this epic remain required |
| Host/LXC/VM, disk/network and infrastructure-service incident monitoring/remediation | Infrastructure owner responsibility | Document external availability monitoring handoff; preserve Crank dependency-failure diagnostics and safety tests |
Risk Assessment
Score = probability × impact on a 1–3 scale. Score ≥6 needs verified mitigation; 9 is an unresolved critical release risk, not a command to implement every mitigation immediately. Categories: SEC security, DATA integrity, OPS operations, PERF performance, BUS user behavior, TECH architecture/testing.
| Risk ID | Category | Failure | P | I | Score | System risk | Mitigation / accountable role / deadline |
|---|---|---|---|---|---|---|---|
| E5-R1 | OPS | Spool/replay loss yields false trace completeness | 2 | 3 | 6 | R-005 | Independent envelope accounting and crash/outage; Observability, 5.6 |
| E5-R2 | SEC | Browser/export/link or notification route leaks secrets or executes unsafe URL | 3 | 3 | 9 | R-004 | Canaries, authenticated fixed routes and egress rejection; Security/UI, 5.2–5.4 and 5.10/5.13 |
| E5-R3 | DATA | Rollups/cardinality/SLI denominators lie | 2 | 3 | 6 | R-011 | Idempotency + UTC + rules oracles; Metrics, 5.8/5.12 |
| E5-R4 | PERF | Telemetry or notification pressure blocks product requests | 3 | 3 | 9 | R-006 | Quota isolation, bounded queue/retry/expiry and enabled/disabled comparison; Observability, 5.6/5.13 |
| E5-R5 | TECH | Provider fields escape the port or replacement silently changes queued recipients | 2 | 3 | 6 | Epic-local / AD-13 | Same suite on Apprise and recording sink; source boundaries and pinned route revision; Backend, 5.10 |
| E5-R6 | OPS | Accepted/uncertain/partial delivery is reported as received, or retries create an alert storm | 2 | 3 | 6 | Epic-local / FR-35 | Independent receiver ledger, fault classification and virtual-clock lifecycle; Backend/QA, 5.13 |
Medium risks: shared R-012 (4), deterministic test isolation; QA owns continuous monitoring. No additional low risk is invented just to fill a template. Residual risk is unmeasured until evidence exists.
NFR Planning
100% support IDs independent of sampling; healthy delivery ≥99.99% within60s; outage≤24h with100% saved-envelope delivery within25h, sized30h spool. Observability overhead≤5% p95 latency and≤10% CPU; drain≤30s. Availability30d≥99.95%, control plane≥99.9%. Exact series budgets/buckets and burn windows must use versioned typed/rule contracts; unspecified values remain UNKNOWN until owning story freezes them.
| Category | Scenario linkage | Planned validation / evidence |
|---|---|---|
| Security/privacy | SEC risks and B scenarios below | Scope/abuse/canary tests, bounded sanitized logs and network/scan report |
| Reliability/data integrity | DATA/OPS risks and fault scenarios | Real authority/state assertions, fault schedule and reconciled counters/digests |
| Performance/scalability | Numeric epic obligations above | Calibrated raw latency/resource samples, achieved load and immutable config/topology fingerprint |
| Maintainability/compatibility | Every changed component | Existing just verify/UI gates as applicable, schema/contract diffs and traceable regression reports |
Unknowns: exact execution hardware and fresh qualification artifacts are not available from this audit. Where the owning story requires a new tolerance, limit or version selection, freeze it in its approved contract before writing a numeric assertion; never replace the PRD threshold with a guessed easier value. Full NFR verdict belongs to bmad-testarch-nfr after execution.
Notification unknowns to freeze once in the owning spec: evaluator/payload adapter and pinned Apprise version, queue/body capacity, timeout, retry/backoff/attempt limit, expiry and repeat/silence windows. Boundary tests use limit−1/limit/limit+1 and virtual time against these values. The trace spool's 24-hour/25-hour obligation is not automatically a notification delivery SLA. Unavailable pinned routes produce an explicit bounded failure, not fallback to another recipient.
Entry Criteria
- Approved owning story/spec and prerequisites are available in the same worktree.
- ATDD loads the actual ACs from
epics.md/ selected spec and the system QA design. - Existing tests and baseline failures are inspected before adding tests; no duplicate test suite solely for new IDs.
- For applicable stories only: local trace receiver and real GlitchTip qualification environment; independent generated/accepted/ACK/lost envelope ledger; bounded disk partitions and fault controls; golden UTC events; Prometheus synthetic series; provisioned Grafana fixture without committed secrets. Pure notification port tests do not require the whole stack.
- For 5.10/5.13: recording/fault-injection sink, controlled clock, bounded queue fixture and versioned logical routes; pinned Apprise API/private auth proxy and isolated local destination for integration. Gateway-acceptance and destination-receipt ledgers are separate. No production tokens, operator destinations or external messaging accounts.
- Missing fixture, service or approval is reported as blocked/not-run, not silently skipped.
Test Coverage Plan
P0/P1/P2/P3 indicate priority, not execution timing. Each table row has two separate scenario seeds: <Story>-<Level>-A and ...-B. Split a seed when independent assertions require different fixtures. Reuse an existing equivalent test rather than duplicating it; ATDD records exact test name/path and AC mapping.
The AC-count column inventories all Given groups under that source story, not a claim that two tests exhaust those groups. ATDD must map each group (story + ordinal + quoted acceptance text) to existing test, new test, or explicit not-run prerequisite before implementation. The approved spec controls finer-grained cases.
P0 — Critical
Security, irreversible data integrity and false acceptance have no safe user workaround.
| Story / scenario IDs | Requirements | AC groups | Primary level | Risk | A: expected behavior | B: rejection / fault |
|---|---|---|---|---|---|---|
| 5.1 / 5.1-INT-A,B | FR-27 | 5 | INT | E5-R1/E5-R2 | Distinct Request/Trace IDs survive ingress, persistence, cache, retry and outbound spans with sampling off | Hostile/malformed upstream context cannot replace identity or leak raw fields |
| 5.3 / 5.3-API-A,B | FR-30 | 5 | API | E5-R2 | Scrubbed browser events use authenticated same-origin relay with bounded schemas | Disabled mode has no hooks/egress; CSRF/rate/body and secrets-in-stack/DOM/query tests reject leakage |
| 5.4 / 5.4-INT-A,B | FR-29 | 5 | INT | E5-R1/E5-R2 | Compatible receiver accepts envelopes with parent topology, release and IDs | Retryable/permanent/duplicate ACK classified; slow/outage exporter cannot change product result or readiness |
| 5.5 / 5.5-INT-A,B | FR-31 | 6 | INT | E5-R1/E5-R4 | Encrypted per-process/destination spool durably appends then ACKs and checkpoints consumption | Crash during append/ACK/compaction, corrupt tail, permissions and disk quota preserve accounting/reserves |
| 5.6 / 5.6-SYS-A,B | FR-29, FR-31 | 5 | SYS | E5-R1/E5-R4 | Measured 30h envelope and 24h outage/recovery satisfy delivery/completeness bounds | Disk-full/drop/rejection emits immutable local loss records; enabled-vs-disabled overhead stays bounded |
| 5.7 / 5.7-UNIT-A,B | FR-32 | 6 | UNIT | E5-R3/E5-R4 | Typed metric names/units/buckets/enum dimensions cover each implemented subsystem | Millions of distinct inputs do not increase series outside budget; IDs only exemplars |
| 5.8 / 5.8-INT-A,B | FR-33 | 7 | INT | E5-R3/E5-R2 | Idempotent ProductEvents and UTC rollups compute unique-Agent DAU, funnel and explicit denominators | Duplicates/late/cross-day/deleted entities give deterministic aggregates; missing data is not zero; offline no phone-home |
| 5.9 / 5.9-INT-A,B | FR-34 | 6 | INT | E5-R2/E5-R3 | Authorized scrape/rules and packaged Prometheus assets work without exposing secrets or blocking product probes | Wrong identity/TLS, arbitrary scrape paths, invalid rules/config reload and service outage remain visible and bounded |
| 5.10 / 5.10-INT-A,B | FR-35 | 3 | UNIT + INT | E5-R2/E5-R4/E5-R5 | Provider-neutral NotificationSink and evaluator payload adapter work with Apprise and recording sink without producer/rule/UI changes | Provider leakage, silent queued-message rerouting, arbitrary routes and disabled egress cannot compromise runtime or expose secrets |
| 5.12 / 5.12-INT-A,B | FR-35 | 5 | UNIT + INT | E5-R3/E5-R4 | Synthetic series prove denominators, burn windows, missing-data treatment and SLO state | Missing scrapes, duplicate/out-of-order data and zero denominators cannot create false green |
| 5.13 / 5.13-INT-A,B | FR-35 | 5 | UNIT + INT | E5-R2/E5-R4/E5-R6 | Real-stack firing/resolved application alerts reach configured test receiver with grouping and silence; final Epic 5 evidence links the same candidate | Uncertain delivery, partial failures, restart, queue/retry expiry and canary leakage cannot create false receipt, notification storm or product blocking |
P1 — High
Core user journeys and complex integrations; limited workaround, not relaxed acceptance.
| Story / scenario IDs | Requirements | AC groups | Primary level | Risk | A: expected behavior | B: rejection / fault |
|---|---|---|---|---|---|---|
| 5.2 / 5.2-E2E-A,B | FR-28 | 6 | E2E | E5-R1/E5-R2 | Scoped exact-ID timeline, separate copy actions and validated trace link find real call | Foreign search, stale response and script/credential URL template rejected; backend outage retains local diagnosis |
| 5.11 / 5.11-E2E-A,B | FR-34 | 5 | E2E | E5-R1/E5-R3 | Provisioned Grafana datasource/panels return correctly unit-labelled data and exemplar links | Missing/stale datasource, unsafe links/variables and upgrade UID drift are visible, never false green; actual Load Run data acceptance is deferred to 6.6 |
Mandatory Prometheus, notification, SLO and alert-delivery design — refinements of the P0 seeds
For 5.9/5.10/5.12/5.13 ATDD, freeze finite cases for endpoint authentication (a config key is not authentication), operator-controlled routes, outbound opt-in, sanitized payloads, stable fingerprint and firing/resolved lifecycle, silence/repeat policy, timeout/permanent/partial failure and bounded retry/expiry. Separate API acceptance from downstream receipt evidence; never infer exactly-once delivery. Use a pinned gateway with a local controlled destination, not real customer channels. No infrastructure monitoring product or new public alert-management surface is implied.
Provider-neutrality regression: run the same NotificationSink contract suite against Apprise and an independent recording/fault-injection sink; assert canonical message serialization, logical routes, typed delivery outcomes, common retry/redaction/accounting and versioned queued-route behavior. Source-boundary checks reject provider DTOs/URLs/credentials in producers and common message types. A second production delivery integration is not required. This general gateway covers operator/application notifications, not MCP wire notifications.
AC identities below retain the ordinal Given group from the pre-split source story and its approved destination. 5.9 owns former groups 1–6, 5.10 former 7–9, 5.12 former SLO groups 1–5, and 5.13 former delivery groups 6–10. ATDD retains quoted text as well as ordinal, so later insertion cannot silently change the mapping. All rows are planned/not-run. Separate fixtures may split a row without adding scope.
| AC / source Given | Level | Required oracle and reusable seam |
|---|---|---|
| 5.9-AC01 — Community minimal profile | INT | Minimal metrics works without gateway; enabled versioned production profile starts its intended services. |
| 5.9-AC02 — metrics endpoint на non-loopback interface | API/INT | Dedicated machine identity accepted; absent/wrong identity and Admin/MCP credentials denied under the configured TLS/proxy policy. |
| 5.9-AC03 — authorized scrape | INT | Valid bounded OpenMetrics; concurrent/slow/unauthorized scrapes respect limits while product probes remain responsive. |
| 5.9-AC04 — packaged Prometheus assets | UNIT/INT | Versioned rules/config validate against registry labels/buckets, not just file existence. |
| 5.9-AC05 — config reload либо service outage | INT | Reload/outage preserves product result/readiness; local diagnostic identifies scrape/auth failure without secret values. |
| 5.9-AC06 — integration/security suite | INT | Supported deployment modes cover auth, proxy, cardinality, rule syntax and restart; evidence records build/config fingerprint. |
| 5.10-AC07 — оператор включает application alert delivery | INT | Packaged and operator-managed fixtures use explicit payload mapping; authenticated private ingress rejects config-key-only access; disabled egress produces no external traffic; local receiver confirms enabled delivery. No embedded Python in Rust. |
| 5.10-AC08 — application producer либо alert evaluator ingress | UNIT/contract | Roundtrip canonical envelope and logical route; dependency/source checks keep provider fields out of producers/core. MCP wire notifications do not invoke the sink; shared dispatch policies are provider-independent. |
| 5.10-AC09 — Apprise sink и независимый recording/fault-injection test sink | UNIT/INT | Unchanged producer fixture/harness run on both sinks with accepted/retryable/permanent/uncertain outcomes. Queue under route revision A, switch config to B: no silent recipient change, identical common sanitization/accounting. |
| 5.12-AC01 — versioned SLO specification | UNIT | Golden contract contains approved objectives, numerator/denominator, exclusions, maintenance and missing-data semantics. |
| 5.12-AC02 — recording rules | UNIT | Synthetic outcome taxonomy separates product, saturation, upstream and client failures as runtime codes prescribe. |
| 5.12-AC03 — 30-day window | INT/E2E | Seeded series drive objective/compliance/budget/trend and distinct Task/telemetry panels; not a real 30-day burn-in claim. |
| 5.12-AC04 — fast либо slow burn | UNIT/INT | Virtual-time thresholds yield expected severity/SLO/burn/dashboard/runbook; unavailable GlitchTip does not erase basic diagnosis. |
| 5.12-AC05 — synthetic good/bad series и missing scrapes | UNIT | Fire/recover at pinned windows, including missing data and zero denominators; linked rule/runbook coverage has no false green. |
| 5.13-AC06 — завершение Epic 5 | SYS | At epic acceptance, link FR-27..35/NFR-O evidence on the same candidate and demonstrate real local/GlitchTip Trace ID lookup. Not a whole-epic rerun on each adapter edit. |
| 5.13-AC07 — каталог application alerts | UNIT/MANUAL | Catalog/runbooks cover application signals and infrastructure handoff. Dependency injection proves application diagnosis/SLI classification, not host remediation. |
| 5.13-AC08 — firing, repeated и resolved состояния | UNIT/INT | Script fingerprint/lifecycle and virtual-clock repeat/silence boundaries; independent receiver confirms grouped firing/resolved and safe links. Missing trace omits the link, never fabricates correlation. |
| 5.13-AC09 — slow/unavailable gateway, partial channel failure, timeout после отправки либо restart dispatcher | INT | Inject timeout before/after receipt, partial/permanent failure and restart. Assert bounded queue/attempts/expiry, typed uncertainty and local accounting without recursive alerts; product probes stay responsive. Gateway ACK alone never proves receipt. |
| 5.13-AC10 — real-stack notification suite и canary secrets | INT | Pinned gateway/local receiver verify routing/lifecycle/recovery. Reject unauthorized ingress/arbitrary targets/attachments; scan captured sinks for canaries and traffic for opt-in. Bind evaluator/adapter/gateway/config versions to sanitized evidence. |
Policy seams: evaluator owns grouping/silence/repeat; common dispatcher owns retry/queue/expiry/redaction/accounting; adapter owns one bounded transport attempt and response translation. Inject failure at each seam and assert no multiplying retries. The receiver ledger must not derive its receipt count from the dispatcher's success counter.
P2 / P3
No additional mandatory scope. Optional exploratory/cosmetic variants need owner and justification, not an endless review queue. Notification checks above are mandatory P0 refinements, not P2/P3 work.
Levels: UNIT pure contract/model; INT real filesystem/database/runtime boundary; API actual handler/protocol; E2E critical browser journey; SYS isolated full-stack qualification; MANUAL named human protocol. Use unit cases for algorithms, real PG for transaction/fencing, wire fixtures for protocol, browser only for user-visible interaction. Intentional defense-in-depth checks different failure surfaces, not identical duplicated assertions.
Execution Strategy
Run all functional tests in PRs when they fit the target 15-minute feedback window; defer only expensive infrastructure/duration, not inconvenient failures. Current Playwright is Chromium, one worker: parallelization is a future isolation-dependent optimization, not a current claim.
- PR: changed functional/negative regressions and boundary suites; applicable Rust/tooling/config and UI gates.
- Nightly: bounded fault/contention, repeated isolation and resource trend tests after the required seams exist.
- Weekly: calibrated production-size performance, fresh-host/offline/recovery and manual qualification as applicable.
- Epic / RC acceptance: every mandatory AC and quantitative obligation must have exact-candidate evidence, even if its normal execution tier is weekly. Epic 8 owns the immutable long-duration release windows.
Nightly/weekly scheduling is a proposed execution model; the current Gitea pipeline has PR/push and release jobs, not those schedules. This planning task does not create them. just verify does not replace Playwright, deployment/image or qualification jobs.
Resource Estimates
Incremental QA test/evidence effort with working production seams and reusable fixtures, excluding feature implementation, provisioning lead time and unaccelerated duration. Low-confidence planning ranges, not token budgets or compulsory numbers of new tests; reassess at each story ATDD after deduplication.
| Priority | Estimated effort |
|---|---|
| P0 | 60–120 hours |
| P1 | 24–48 hours |
| Optional P2 | 0–8 hours |
| Optional P3 | 0–4 hours |
| Total envelope | 84–180 hours, approximately 3–5 contributor-weeks |
If a measurement environment is missing, report the prerequisite; do not run large workloads opportunistically inside a story session.
The earlier estimate envelope has not been independently recalibrated for the gateway decision. It is historical low-confidence sizing until 5.10/5.13 ATDD maps existing fixtures and the selected adapter, not a promise that all contract cases fit that budget.
Exit Criteria and Quality Gates
- P0 pass 100%; P1 ≥95% is an interim development signal only, 100% of mandatory P1 and manual ACs must pass for acceptance.
- Every owning-story AC has test/protocol plus bound execution evidence; no mandatory skipped/flaky/blocked/not-run item becomes pass.
- No unresolved Critical/High defect; high-risk mitigation verified on the owning scenario before release. Mandatory Habr conditions have no waiver.
- Coverage targets remain system planning goals (80% workspace /90% new critical code where measured); no coverage report currently proves them. Scenario counts do not substitute for coverage instrumentation.
- NFR evidence names revision, config/topology, tool/data versions, command, seed, timestamps, raw sanitized output digest and result.
- Story completion follows its spec, not all remaining epic/system gaps; no automatic reopening of done stories.
Mitigation Plans
Each high-risk owner in the matrix: (1) implement/reuse the production-safe seam; (2) run its A/B and detailed AC cases with controlled failures; (3) bind the output to the candidate; (4) re-evaluate residual risk. Status is planned or source-partial, never verified solely by this document. Required completion time is the owning story/epic milestone in the risk table. No generic follow-up review loop is created.
Assumptions and Dependencies
1.5/1.6 foundations; each new subsystem owns its metric/trace additions. 5.4 receiver port → 5.5 spool → 5.6 capacity. 5.7/5.8 metric semantics → 5.9 Prometheus → 5.10 gateway and 5.11 Grafana → 5.12 SLO → 5.13 alert delivery/evidence. Task/Load views must not be called complete before respective epics provide data; actual Load Run data acceptance belongs to 6.6.
5.10 freezes common message/port, route bindings and provider contract before 5.13 verifies delivery lifecycle; reuse that suite rather than recreate it. Pending numeric limits and evaluator/gateway compatibility block affected assertions until frozen, not permission to add infrastructure monitoring, another production provider or a new UI.
Accountable roles are responsibilities, not claims of staffed teams. Reference hardware, operator credentials and manual reviewers must be assigned before relevant qualification. Use disposable fixtures while waiting; lack of resources blocks the affected evidence, not permission to mutate a live deployment.
Interworking and Regression
Affected components and reusable suites are named in Existing Coverage. Preserve existing REST→MCP, auth/credential/approval, config/migration, correlation and Community-boundary behavior whenever those shared contracts change. Frontend failures need actual browser regression; registry races need real-PG assertions, not UI mocks.
ATDD Handoff
For the selected not-yet-implemented story only, load this plan and the exact approved spec; freeze its finite AC-to-test checklist before implementation. Prefer existing Rust/PG/Playwright patterns, add only uncovered acceptance scenarios and reproduce RED for missing behavior without artificial failure. Existing correct behavior may already be GREEN: record it honestly. Resume matching incomplete ATDD, reuse completed matching checklists and update only changed ACs. Do not invoke whole-epic automation on each review.
Automatic pre-implementation ATDD requires the project build-auto handoff override; the stock bmad-loop0.11.1 TEA ATDD injection is post-dev and is not that sequence. Loop configuration is separate from completion of this plan. The design workflow itself does not run ATDD or product implementation.
References and Validation
- Epic/AC source:
_bmad-output/planning-artifacts/epics.md, Epic 5. - System contract: architecture, QA inventory and execution.
- Normative PRD and architecture spine: frontmatter inputDocuments.
- TEA knowledge: risk-governance, probability-impact, test-levels-framework, test-priorities-matrix, nfr-criteria.
- Utility integration: Playwright/Pact flags are true but packages absent. No imports, framework migration or Pact service are generated. Browser CLI unavailable; source-based design only.
- Validation: story IDs/requirements/AC counts, risk arithmetic/linkage and document paths checked; no final test/NFR PASS issued. Approval is planning-level user direction, not fabricated reviewer signatures.