Lumen/tests/integration
2026-10-02 21:28:10 -05:00
..
.gitkeep Stage 1: project foundation (strict TS, lint boundaries B-1..B-7, directory structure, CI, boundary tests) 2026-08-30 23:25:35 -05:00
ab-lifecycle.test.ts Stage 8 acceptance: fault-injection integration suite S01-S14 + X1-X3 (SPIKE-02 §3) on real pull-verify-stage-activate-boot machine 2026-10-02 21:28:10 -05:00
README.md Stage 8 acceptance: fault-injection integration suite S01-S14 + X1-X3 (SPIKE-02 §3) on real pull-verify-stage-activate-boot machine 2026-10-02 21:28:10 -05:00

tests/integration

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.

  • 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.