All scenes
Terminal Agent
Agent on Call
relay-realtime / fix/socket-reconnect
PROMPT · 0%
AGENT REASONING
Form the first hypothesisA reconnect timer may survive route teardown.
◉relay-realtimeStop duplicate websocket reconnects after route changes
codex · agent modecodex fix duplicate reconnect after route change
Mapping websocket lifecycle and teardown paths
Searched scheduleReconnect and dispose
Read realtime-client.ts118 lines
Read realtime-client.test.ts204 lines
pnpm vitest realtime-client --run
Expected connect once, received twice1 failed
Reconnect timer survives component disposal
Patch timer cleanup and close listener+14 −3
Add route-unmount regression coverage+22
pnpm vitest realtime-client --run
12 tests passed in 684ms
TypeScript: 0 errors
Ready to ship2 files changed
✓
Reconnect lifecycle fixed and covered by regression tests2 files changed · +36 −3
❯
About this scene
Agent on Call
A cinematic terminal session where an agent plans, edits files, and ships the fix.
Designed for deep work, streaming backgrounds, and the quiet pleasure of watching software take shape.