GeezerVison is showing github.com — id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) · Issue #5811 · developing-today/code
id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811DescriptionSummary
Follow-on design ticket from #5674 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
The browser/restrictive-network adapter: WebSocket/WSS with HTTPS fallback, and what the fallback costs in latency and semantics.
Context from the parent
The parent design fixes the postcard wire-format family and the transport-adapter model that carries ID over non-UDP transports and relays. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5674. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass). Activitydeveloping-today commented on Nov 5, 2026 developing-today commented on Nov 5, 2026 🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane code-i
- Session / ID: task 10214
- Found via: queue claim
- Task: Work issue id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811 — assigned_lane=opencode, handed off to opencode claimant per §1b; parked 1800s for claimant launch
- Expectation: claimant launches bound opencode session
- Links: n/a
developing-today commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
developing-today commented on Nov 5, 2026 agent-note:v1 — task 10214 (triage, #5811) picked up by lane code-u and handed off to the opencode execution lane (assigned_lane=opencode). The opencode-claimant launches the bound opencode session, which drives task 10214 to its terminal state. Labels synced: queue/claimed + status/in-progress + work/assigned. (Posted via the developing.today GitHub App — user gh token GraphQL rate-limited until ~16:46Z.) dezren39 commented on Nov 10, 2026 agent-note:v1
task 12897 — picked up by lane code-k, revalidated fresh: issue #5811 OPEN, no hard-stop labels, no status/needs-triage.
execution_lane: opencode (row 4595); handed_off — scheduled shift is time-bounded; claimant is the persistent execution session. Claimant launches the bound opencode session.
attempts: 10/12. Parked 1200s for the claimant. dezren39 commented on Nov 10, 2026
Lane code-y — task 12897 handed off to opencode claimant
dezren39 commented on Nov 10, 2026
🤖 Agent note · handed off to opencode claimant
dezren39 commented on Nov 10, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), lane code-p
- Session / ID: task 12897
- Found via: queue claim (execution lane: direct, row 6060 — worked direct per §1b/fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187)
- Task: task 12897 (small_fix) for issue id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811 — WebSocket/WSS + HTTPS fallback adapter decision record.
- Resume, don't restart (§10): the decision record already exists as PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613 on branch
queue/12897-5811-wss-https-adapter (single doc file, head 2bcf3fa); it merges cleanly against current main (verified with merge-tree). No competing record will be created.
- Codex gate (§5): PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613 carries ONE unresolved Codex finding (P2, comment 4505782520): the record's WebSocket message cap of
MAX_FRAME_BYTES rejects the largest valid frame, because pkgs/id/src/frames.rs::encode_frame permits a MAX_FRAME_BYTES payload plus a 4-byte length prefix. Verified against current code this shift — the finding is real. This lane fixes the record (WebSocket message limit MAX_FRAME_BYTES + 4, payload limit unchanged), replies on the Codex thread, and merges once dispositioned.
- Links: issue id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811, task 12897, PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613
dezren39 commented on Nov 10, 2026 🤖 Agent note · done — closing #5811 as completed
- Agent: queue worker (repo-worker-code), lane code-p
- Session / ID: task 12897
- Found via: queue claim (execution lane: direct, row 6060)
- Outcome: fixed_merged. The decision record for issue id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811 already existed as PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613 (branch
queue/12897-5811-wss-https-adapter); this lane resumed it (§10) instead of writing a competing record.
- Codex gate (§5) dispositioned: the one unresolved Codex finding (P2, comment 4505782520 — WebSocket message cap must account for the 4-byte length prefix) was verified real against
pkgs/id/src/frames.rs::encode_frame and fixed in the record at 2b436b6 (payload ≤ MAX_FRAME_BYTES; WebSocket message ≤ MAX_FRAME_BYTES + 4; the world_ws.rs:582 guard must be raised by 4 at implementation). Reply posted on the thread (discussion_r4529856010) and the thread is resolved.
- Acceptance check: record covers the chosen WSS + HTTPS fallback shape, the fallback's latency/semantics cost, eight rejected alternatives, and ten implementation invariants; no id: design: Wire format & transport adapters — postcard schema, non-UDP carriers, relays/proxies #5674/id: design: ID messaging/relay protocol v1 #2036/id: design: transport negotiation & fallback ordering (from #5671) #5791 decision is re-decided. The required tracked next action exists: implementation issue impl(id): WebSocket/WSS + HTTPS fallback adapter per #5811 decision record #8215, now named in the record's §8 (21d6d6b).
- Merge: PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613 MERGED as 19920ea. This design issue's deliverable (the record) has landed, so id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811 closes as completed; implementation proceeds via impl(id): WebSocket/WSS + HTTPS fallback adapter per #5811 decision record #8215 when its timing is decided.
- Links: issue id: design: adapter: WebSocket/WSS + HTTPS fallback (from #5674) #5811, task 12897, PR doc: decision record for #5811 WebSocket/WSS + HTTPS fallback adapter #7613, issue impl(id): WebSocket/WSS + HTTPS fallback adapter per #5811 decision record #8215
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|