CLAUDE_CODE_RESUME_INTERRUPTED_TURN
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.138, including the newest one read.
Resuming a turn interrupted by shutdown now correctly sees the tool call as still pending instead of faked-answered.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.219.
In the changelogs
24Releases whose published page names CLAUDE_CODE_RESUME_INTERRUPTED_TURN.
-
v2.1.307
Resuming an interrupted remote turn can now add an urgent reminder for Claude
On
CLAUDE_CODE_RESUME_INTERRUPTED_TURNresumes, Claude Code can queue an urgent reminder when something is left unresolvednamed in this entry, found in this entry's text
-
v2.1.307
Fewer permission questions come back when an interrupted turn resumes
When resuming an interrupted turn, Claude Code now only brings back permission questions it can tie to that turn
named in this entry, found in this entry's text
-
v2.1.304
Restarted remote workers can offer to resume background agents that were cut off
When a remote worker restarts, background agents it left behind can now be offered for resuming, and memory extraction picks up where it stopped
found in this entry's text
-
v2.1.299
Resumed remote sessions now report subagents that were cut off
When a remote session resumes after an interrupted turn, Claude now learns which foreground subagents were cut off
found in this entry's text
-
v2.1.292
Resuming an interrupted turn recovers tool calls the previous worker already handled
With CLAUDE_CODE_RESUME_INTERRUPTED_TURN set, resume now finds tool calls the previous worker recorded but the transcript left unfinished
found in this entry's text
-
v2.1.292
After a restart, Claude is told which stopped agents it can resume
The notice shown to Claude after a worker restart now lists stopped agents it can resume by messaging their id
found in this entry's text
-
v2.1.288
Settings for resuming interrupted turns now come from prepared sets
Settings for resuming interrupted turns and parked runs are now chosen from one of two prepared sets instead of read directly from environment variables
found in this entry's text, named in this entry
-
v2.1.286
Resumed sessions restart interrupted turns less often by mistake
On resume, Claude Code checks unanswered tool calls per response and skips restarting a turn whose calls were answered in a restored card
found in this entry's text
-
v2.1.285
Resuming after a worker restart now records whether task cleanup timed out
When Claude Code resumes an interrupted turn after a worker restart, cleanup of leftover background task notices is now timed and logged
found in this entry's text
-
v2.1.275
New env var CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS with 2000ms fallback
New CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS env var sets a 2 second default wait for parked permissions
found in this entry's text, named in this entry
-
v2.1.274
Orphaned background-task recovery on resume now restricted to remote transport
Recovering interrupted background tasks on restart now requires a remote session
found in this entry's text
-
v2.1.273
Resume-interrupted-turn logic can now be overridden per call
The internal resume-interrupted-turn check can now be overridden per call instead of always reading an env var
found in this entry's text, named in this entry
-
v2.1.273
Interrupted-turn resume and parked-permission-hold behavior moved from env vars to a 'lane' config object
Turn-resume and parked-permission behavior now comes from a 'lane' config object instead of direct env var reads
found in this entry's text
-
v2.1.271
New CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS bridge env var
New CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS bridge env var, plus a new auto settings argument on worker resume
found in this entry's text
-
v2.1.268
New resume_reason field on streaming assistant-message frames
Streaming assistant messages can now carry a resume_reason explaining an automatic re-run after an interruption
found in this entry's text, named in this entry
-
v2.1.268
SDK turn result schema gains resume_reason and result_index fields
SDK turn results can now report a resume_reason and a result_index
found in this entry's text
-
v2.1.247
Resume can classify a turn that was interrupted at shutdown
Resuming now recognises a turn that was cut off when Claude Code shut down mid-tool.
found in this entry's text
-
v2.1.247
Orphaned background tasks are deduplicated before you are told about them
Orphaned background tasks after a cloud restart are deduplicated before you get the notice.
found in this entry's text
-
v2.1.242
Cloud workflow launches survive a worker restart
A cloud workflow turn cut off by a worker restart now resumes instead of vanishing.
found in this entry's text
-
v2.1.242
Resume can re-attach to a tool call that was interrupted
Resuming can pick up an interrupted tool call, but only with two env vars set.
named in this entry, found in this entry's text
-
v2.1.239
Remote workers can start up reporting a pending permission, if three env vars are set
Remote workers can start up reporting a pending permission if you set three environment variables.
named in this entry, found in this entry's text
-
v2.1.232
Worker processes no longer inherit resume state
Child worker processes no longer inherit your session id, resume prompt or auth handles.
found in this entry's text
-
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.
named in this entry, found in this entry's text
-
v2.1.211
CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS Environment Variable
found in this entry's text
First cited
5The earliest release whose published evidence quoted CLAUDE_CODE_RESUME_INTERRUPTED_TURN was v2.1.232, 13 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
1Build by build
149One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.