Origin: docs/todo.md entry dated 2026-04-12
Plan: docs/plans/plan-testing-observability.md (testing layers)
Description
Lock down the preload bridge API so renderer/main don't silently drift. Add tests for main-process replay/export behavior (IPC handlers for shadow:snapshot, shadow:open-replay, shadow:export-replay) and renderer state transitions (busy / error / open / export) so UI regressions are caught without a full e2e.
Acceptance criteria
Origin:
docs/todo.mdentry dated 2026-04-12Plan:
docs/plans/plan-testing-observability.md(testing layers)Description
Lock down the preload bridge API so renderer/main don't silently drift. Add tests for main-process replay/export behavior (IPC handlers for
shadow:snapshot,shadow:open-replay,shadow:export-replay) and renderer state transitions (busy / error / open / export) so UI regressions are caught without a full e2e.Acceptance criteria