Verification
A green test run proves the core's rules and the adapters' mappings against fakes. It does not prove what a real browser or device delivers.
Evidence tiers
| Tier | Status | What it establishes |
|---|---|---|
| Core and model tests | automated | Snapshots, transitions, timing, ordering, reentrancy, ownership, error containment |
| Generated traces | automated, fixed seeds | The runtime agrees with an independent oracle; metamorphic properties hold |
| Mutation tests | automated | Every silent rule is defended by a test that goes red when it is weakened |
| Browser adapter on jsdom | automated | Mapping, listener registration and cleanup, the pagehide latch, sampling races |
| Native adapter on a fake | automated | iOS and Android mapping, Android focus evidence, baseline races, cleanup |
| React on jsdom and a server | automated | Passive subscriptions, Strict Mode, source replacement, server render, hydration |
| Packed tarball consumer | automated | Exports, declarations without DOM or Node types, platform isolation, Node smoke run |
| Browser lab in Chromium | automated | A real page load, ordinary back navigation, disposal, the Expo web build |
| Expo native bundles | automated | Metro resolves the React Native entry for iOS and Android |
| Tab switch and window focus | not yet verified | Visibility and focus changes in a real browser; Playwright keeps pages visible |
| Real back/forward cache | not yet verified | Persisted restoration with the same document and live listeners |
| Real freeze and discard | not yet verified | Engine behavior of freeze, resume and discarding |
| Physical iOS and Android | not yet verified | AppState and focus order on real devices, interruptions, multi-window |
An unverified tier is unverified, never a passing mock test. Playwright documents that it does not support back/forward cache testing, so a page.goBack() test is not restoration evidence: that exercise needs a browser where pageshow.persisted is true and the original document survives.
Scenario catalog
The specification names 200 scenarios. The tests carry their IDs:
C-001toC-072, the core:src/utils/*.test.tsandsrc/utils/internal/**.B-001toB-046, the browser adapter:src/adapters/browser/**.B-047, a real back/forward cache restore, is a host exercise.N-001toN-030, the native adapter:src/adapters/react-native/**.N-031, device multi-window and credential picker traces, is a host exercise.R-001toR-021, the framework bindings:packages/{react,solid,vue,svelte}/src/**, each rendered on the server and hydrated.I-001toI-011andI-017, integrations:examples/shared/recipes/**.P-001toP-015, packaging:scripts/verify-packages.mjs,scripts/measure-size.mjsandscripts/verify-release.mjs.
Malformed snapshots and options are ruled out by the types and the *.contracts.ts files instead of runtime checks; see decisions. Host failures are not type errors: a throwing document getter leaves only its own axis unknown and is reported after that state, and a setup that throws removes every listener it had installed.
Running a platform exercise
The browser lab and the Expo lab list their manual exercises and record the raw host signals next to the Pulse commits. The browser lab exports both as JSON.
Reporting a platform exercise
Record the package revision, the exact browser or device and runtime versions, the build and launch configuration, the scenario IDs exercised, the raw signals next to the Pulse commits, the result, and any discrepancy. Label simulator evidence as simulator evidence.