plans/prompts/wave_3/pr_b1_window_infrastructure.md
Implement B1 of plans/cleanup-state-machines.md ("Phase B — B1"). The plan wins over this prompt. Prereqs: the golden single-window suite has landed (verify — do not start without it); B0 ADR merged.
Read: the plan's "Window identity and routing", "Cross-window React Query coherence", "High-volume window subscriptions", and "Single-window protection" sections — they ARE the spec; this prompt only adds execution discipline.
Scope:
Constraints: no production flow reroutes in this PR except the single reference mutation path (run the golden suite against it); everything else ships dark. Kernel purity where applicable; boundary tests extended to forbid renderer code importing the registry's main-side internals.
Verify: typecheck, full unit tests, lint, golden suite green, harness self-tests green. /deep-review — new permanent subsystem. Branch cleanup-b1-window-infra; /pr-push; update plan status.