$ pnpm test # 2,194 unit tests, no browser required
$ pnpm regression # 20 end-to-end scenarios against local fixtures
$ pnpm label-eval # region-recovery accuracy against authored ground truth
$ pnpm typecheck
The unit suite runs the replay engine against a scripted browser and the CDP client against a real WebSocket server, so the fail-closed properties and the connection's failure modes are verified without launching Chrome. The regression suite covers what only a real browser can: observational recording driven by real input events, cross-origin iframes, popups, shadow DOM, drift-and-repair, polling for late elements, stale-ref refusal, capture fidelity, the mirror's action proxy, and the browser's link-following and history.
Reading further: docs/ARCHITECTURE.md in the repository carries the
full design, the three-phase plan, the security boundaries and the sourced research
behind every claim on this page.