Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Resumed remote sessions stop instead of running without their saved state

When a resumed remote session cannot read its saved state, Claude Code now exits with an error instead of starting a turn with nothing

You'll notice Improvements
JSON All of v2.1.296
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.296,
ImprovementsSection of the release
What

This applies when Claude Code resumes a remote session, for example in --print mode, where it runs a single request without the interactive screen, or when another program drives it through the Agent SDK. Claude Code loads the session's stored state, which includes its history. If that state cannot be read, the worker (the process doing the work) now waits and then exits with an error. The error says it could not read the session's stored state and will not start a turn without it, and carries the code worker_state_unread.

A remote kill switch, a server-side setting that can turn the behaviour off, can stop this exit from happening.

Why

Without this check, a remote session could carry on as if it had an empty history, with no sign that anything was lost. Stopping with a clear error makes the problem visible.

Read from
Names in the bundle--print
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --print, on Error reference. ### Conflict between `--bg` and `--print` errors see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --print, on Error reference.

See this entry in the whole of v2.1.296 →

Feedback