Files
crank/_bmad-output/test-artifacts/test-design-progress-epic-8.md

5.3 KiB
Raw Permalink Blame History

runScope, runKey, workflowStatus, totalSteps, stepsCompleted, lastStep, nextStep, inputDocuments, lastSaved
runScope runKey workflowStatus totalSteps stepsCompleted lastStep nextStep inputDocuments lastSaved
epic-level epic-8 completed 5
step-01-detect-mode
step-02-load-context
step-03-risk-and-testability
step-04-coverage-plan
step-05-generate-output
step-05-generate-output
_bmad-output/planning-artifacts/epics.md
_bmad-output/test-artifacts/test-design-architecture.md
_bmad-output/test-artifacts/test-design-qa.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/tea/config.yaml
2026-09-13

Epic 8 test design progress

Output: test-design-epic-8.md. Completed 2026-09-13. Story/requirement/AC-count coverage, source references, risk scores and format validated. Template adapted to existing-project inventory: counts are scenario seeds, estimates are provisional QA deltas, no synthetic code-coverage or execution claim. Native loop ATDD is post-dev; pre-implementation customization is a separate pending approval, not executed by this design run.

Coverage decisions

10 story families, two independently assertable scenario seeds per family (A positive contract; B rejection/fault). Stories 8.3, 8.6, 8.8 and 8.9 require external-qualification handoff with accepted candidate-bound evidence; planned/rejected/missing handoff is not done. In 8.9, a planned restart is operational maintenance, not qualification continuity; an integrity-changing restart resets its window. All owning-story Given/When/Then groups remain required ATDD input; these are not a claim of exhaustive implemented test cases.

Scope: FR-46–FR-54; system families CP-28..34. Lowest effective level assigned per family. P0 security/data integrity with no workaround; P1 user/core flow. No speculative mandatory P2/P3 additions.

Source reuse: docs/capability-inventory.json; docs/capability-baseline/results.json; scripts/collect-capability-baseline.py; scripts/validate-capability-run.py; tests/unit/; .gitea/workflows/{ci,release}.yml; scripts/scan-images.sh; docs/manual-regression-checklist.md.

Gaps: Existing inventory/collector and CI scans are foundations, not full signed RC evidence. Historical baseline2026.08.24.1 uses revision767428, not current main. Chromium-only current suite is not Firefox/WebKit×RU/EN qualification. No measured coverage report,72h/30day accepted run or3PITR restores was produced by this planning task.

NFR: Inherit every PRD/system quantitative gate: full P0 and mandatory P1/manual pass, zero mandatory flakes and Critical/High; 3performance runs;72h then30calendar days≥1M eligible events on exact RC, no acceleration/stitching. Reference dataset2kOperations/200Agents/500keys/1Mhistory; UI≤2sp95. MCP stable window and exact tool/browser/image/scanner versions freeze at execution, not invented now.

Fixtures: Content-addressed valid and one-fault-per-input signed manifests with disposable test trust root; immutable RC environment with calibrated load/fault schedule; actual fresh-user/manual reviewers; sanitized raw reports and logs plus independent timestamps. Synthetic verifier fixtures never count as production qualification.

Execution: PR functional tests, nightly bounded expensive/fault work, weekly calibrated qualifications; scheduled tiers are planned, not configured. Mandatory story ACs still must pass before acceptance, regardless of tier. 72h/30day release windows only in Epic8. QA effort assumption with prerequisite implementation ready: P0 48–96h; P1 24–48h; optional P2 0–8h/P3 0–4h; total 72–156h (~2–5 contributor-weeks). Not a backlog of compulsory new tests; refine against existing-test reuse during ATDD.

Risks and NFR planning

Risk Category Failure P I Score System risk Mitigation / owner / deadline
E8-R1 OPS Mixed/stale/forged evidence produces PUBLIC_READY 3 3 9 R-013 Offline signed verifier with negative fixture per gate input; Release, 8.1/8.10
E8-R2 OPS Leaks/recovery failures appear only after sustained traffic 2 3 6 R-015 72h + 30 calendar days fixed RC; SRE, 8.6/8.9
E8-R3 SEC Incomplete matrix/security/manual pass hides unsafe claims 2 3 6 R-014 Full qualified cells + zero mandatory skips; QA/Security, 8.3/8.4/8.7

Scores describe inherent risk, not observed failures or a release verdict. Security/reliability/performance thresholds inherit the system design and owning story ACs; missing environment/measurement evidence remains explicit, never inferred PASS.

Context: Rust/PostgreSQL + browser JavaScript fullstack. Existing test source inventory at main 083974c; f8ee7c9 candidate is separate. Browser CLI absent; no live exploration, no fabricated evidence. Playwright/Pact utility flags are intentions only: packages absent; no library migration or Pact scaffolding in this planning scope. Required risk, probability/impact, test levels/priorities and NFR knowledge loaded; concrete source reuse and gaps appear in the epic plan.

Explicit batch request, independent epic scope. Requirements and acceptance criteria: planning-artifacts/epics.md, Epic 8. System designs already updated; no product implementation or test execution authorized by this planning run.