Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Changes to how interrupted turns are resumed, including in background sessions

Resume now keeps turns that ended in an API error closed and honours stop markers, and background sessions decide on respawn whether to resume

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

Unclear It is not clear what CLAUDE_CODE_RESUME_INTERRUPTED_TURN does or whether a reader should set it.

What

A turn is one round of Claude responding to you. When a session is reopened after a turn was cut short, Claude Code decides whether to tell Claude to carry on. That decision changed in several places:

  • Turns that ended in an API error can now stay ended rather than being continued (resume_failed_turn_stays_ended). This case sits behind a flag whose name is not visible.
  • A new stop_marker reason means no "continue" message is added.
  • An open turn with no message is now always left alone. Before, this was behind a flag that defaulted to off. The old resume_no_message_continued case is gone.
  • tengu_partitioned_finch still falls back to on. Nothing has been read about whether it is enabled.
  • Background sessions: when a background session is restarted, it now decides whether to resume an interrupted turn and sets CLAUDE_CODE_RESUME_PROMPT, the message sent to continue.
  • The error for an unusable background worker socket folder now reads "worker socket directory unusable" instead of "worker socket directory is not owned by this user". A socket is the channel the background process communicates through.

Why

A resumed session is now less likely to carry on automatically after a turn failed with an API error or was deliberately stopped. Background sessions now make the same kind of resume decision when they restart.

Read from
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what `CLAUDE_CODE_RESUME_INTERRUPTED_TURN` does or whether a reader should set it.
Anthropic's release notes agreeFixed CLAUDE_CODE_RESUME_INTERRUPTED_TURN sending Claude a request that nobody asked for in a session with no stored prompt or reply

See this entry in the whole of v2.1.333 →

Feedback