From beb26880ebdfc8140d141c46e9baced173920c99 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 06:42:32 +0000 Subject: [PATCH] Document renderer websocket close-metadata diagnostics Co-authored-by: Theo Browne --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 85c4cbfd20..2d46594afe 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ Runtime command semantics: - Runtime currently enforces a single active browser client (new client replaces old one). - When replaced by a newer connection, the previous active websocket is closed with code `4000`. - Replacement closes use reason string `replaced-by-new-client` for deterministic client handling. +- Renderer websocket connection errors now preserve close metadata (`code`/`reason`) to improve reconnect diagnostics. - Runtime validates request payloads with shared Zod contracts. - Codex execution sandbox policy (`read-only`, `workspace-write`, `danger-full-access`) is still selected per session startup options. - Static HTML responses are served with `Cache-Control: no-store`; built `/assets/*` files are served with long-lived immutable cache headers.