Stage 8 acceptance: fault-injection integration suite S01-S14 + X1-X3 (SPIKE-02 §3) on real pull-verify-stage-activate-boot machine
Some checks failed
ci / check (push) Has been cancelled

This commit is contained in:
avi 2026-10-02 21:28:10 -05:00
commit 506bebed9c
2 changed files with 619 additions and 2 deletions

View file

@ -1,5 +1,13 @@
# tests/integration
Full update lifecycle mocked transport + fault injection 9 stages, exp2 model.
Full update lifecycle on fake-indexeddb with mocked transport + fault
injection, mirroring `experiments/exp2-ab-update-sim.mjs` (SPIKE-02 §3)
against the real pull → verify → stage → activate → boot state machine.
Stage 1: directory exists with .gitkeep; no feature code yet per IMPLEMENTATION-CONTRACT.md Stage 1. See IMPLEMENTATION-CONTRACT.md §4 responsibilities and §6 B-1…B-7.
- `ab-lifecycle.test.ts` — Stage 8 acceptance: S01–S14 + X1–X3 (16 SPIKE-02
scenarios as 18 tests; no-loop and retry-once covered separately).
Invariant: either the previous valid dataset stays active or the new one
becomes active; favorites are never lost. State-machine level only —
iOS jetsam proof is device test T10 (§36).
See IMPLEMENTATION-CONTRACT.md §4 responsibilities and §6 B-1…B-7.