--- id: multi-user/agent-sessions-are-not-durable-and-it-is-one title: "Agent sessions are not durable, and it is one property behind three symptoms" theme: multi-user status: open created: 2026-08-20 date_source: assumed order: 5 --- **Agent sessions are not durable, and it is one property behind three symptoms.** A sidecar restart loses session identity, which is why `endTurnIfAgentIsGone` must skip sessions with no recorded `userId`, why a stuck "generating" spinner survives until a reconnect, and why any crash in that process is destructive rather than merely inconvenient. Fixing the three separately would miss that they are one missing property. `docs/open-threads-after-per-user-claude.md` ยง2.