Skip to content

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 ​

TierStatusWhat it establishes
Core and model testsautomatedSnapshots, transitions, timing, ordering, reentrancy, ownership, error containment
Generated tracesautomated, fixed seedsThe runtime agrees with an independent oracle; metamorphic properties hold
Mutation testsautomatedEvery silent rule is defended by a test that goes red when it is weakened
Browser adapter on jsdomautomatedMapping, listener registration and cleanup, the pagehide latch, sampling races
Native adapter on a fakeautomatediOS and Android mapping, Android focus evidence, baseline races, cleanup
React on jsdom and a serverautomatedPassive subscriptions, Strict Mode, source replacement, server render, hydration
Packed tarball consumerautomatedExports, declarations without DOM or Node types, platform isolation, Node smoke run
Browser lab in ChromiumautomatedA real page load, ordinary back navigation, disposal, the Expo web build
Expo native bundlesautomatedMetro resolves the React Native entry for iOS and Android
Tab switch and window focusnot yet verifiedVisibility and focus changes in a real browser; Playwright keeps pages visible
Real back/forward cachenot yet verifiedPersisted restoration with the same document and live listeners
Real freeze and discardnot yet verifiedEngine behavior of freeze, resume and discarding
Physical iOS and Androidnot yet verifiedAppState 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-001 to C-072, the core: src/utils/*.test.ts and src/utils/internal/**.
  • B-001 to B-046, the browser adapter: src/adapters/browser/**. B-047, a real back/forward cache restore, is a host exercise.
  • N-001 to N-030, the native adapter: src/adapters/react-native/**. N-031, device multi-window and credential picker traces, is a host exercise.
  • R-001 to R-021, the framework bindings: packages/{react,solid,vue,svelte}/src/**, each rendered on the server and hydrated.
  • I-001 to I-011 and I-017, integrations: examples/shared/recipes/**.
  • P-001 to P-015, packaging: scripts/verify-packages.mjs, scripts/measure-size.mjs and scripts/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.

Released under the MIT License.