Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.219 ·

Shutdown-synthesized tool results no longer resolve an interrupted turn

Resuming a turn interrupted by shutdown now correctly sees the tool call as still pending instead of faked-answered.

Nothing to try yet Notable In Development
JSON All of v2.1.219
Nothing to try yetTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
In DevelopmentKind: in v2.1.219,
What probably matters to youSection of the release

The corrected resume logic only runs when CLAUDE_CODE_RESUME_INTERRUPTED_TURN is set.

What

When history is rebuilt to resume an interrupted turn, tool results that were only synthesized by a shutdown are no longer treated as answers, so the underlying tool call is seen as still pending.

Details
  • the unwind pass is called with a new option shutdownUnwindResultsDoNotResolve: !0
  • the affected messages are user messages with interruptedByShutdown === !0 that contain a tool_result block; these no longer resolve their tool_use and are dropped from the rebuilt list
  • the transcript scan for an unresolved tool_use skips those same messages, so a synthesized result cannot mask a genuinely unresolved tool use
  • that scan was split into a pure over-messages helper, findUnresolvedToolUseInTranscript, with I/O, warn logging and try/catch left in the async wrapper
  • consecutive user messages are no longer merged if either was interrupted by shutdown, and the tail-scan for the last live turn skips shutdown-interrupted content
  • the user-rejected tool denial path now records interruptedByShutdown from the abort signal
  • the whole path is reached only under the CLAUDE_CODE_RESUME_INTERRUPTED_TURN environment variable
Evidence

shutdownUnwindResultsDoNotResolve, findUnresolvedToolUseInTranscript, interruptedByShutdown

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from

See this entry in the whole of v2.1.219 →

Feedback