{"name":"CLAUDE_CODE_RESUME_INTERRUPTED_TURN","slug":"claude-code-resume-interrupted-turn","family":"env","title":"Environment variables","noun":"environment variable","description":"Resuming a turn interrupted by shutdown now correctly sees the tool call as still pending instead of faked-answered.","description_source":"entry","described_by":{"version":"2.1.219","anchor":"shutdown-synthesized-tool-results-no-longer-resolve-an-inter"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.232","released_at":"2026-08-13 21:30:53","spans":5}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"resume-of-interrupted-remote-turn-can-add-a-critical-system","heading":"Resuming an interrupted remote turn can now add an urgent reminder for Claude","line":"On `CLAUDE_CODE_RESUME_INTERRUPTED_TURN` resumes, Claude Code can queue an urgent reminder when something is left unresolved","released_at":"2026-10-21 20:47:18","reason":"named in this entry, found in this entry's text"},{"version":"2.1.307","anchor":"resume-interrupted-turn-adoption-of-underivable-pending-acti","heading":"Fewer permission questions come back when an interrupted turn resumes","line":"When resuming an interrupted turn, Claude Code now only brings back permission questions it can tie to that turn","released_at":"2026-10-21 20:47:18","reason":"named in this entry, found in this entry's text"},{"version":"2.1.304","anchor":"headless-resumable-orphaned-agents-and-memory-extract-place","heading":"Restarted remote workers can offer to resume background agents that were cut off","line":"When a remote worker restarts, background agents it left behind can now be offered for resuming, and memory extraction picks up where it stopped","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"remote-resume-can-recover-cut-off-foreground-agents","heading":"Resumed remote sessions now report subagents that were cut off","line":"When a remote session resumes after an interrupted turn, Claude now learns which foreground subagents were cut off","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"resume-of-interrupted-turns-recovers-journaled-off-chain-too","heading":"Resuming an interrupted turn recovers tool calls the previous worker already handled","line":"With CLAUDE_CODE_RESUME_INTERRUPTED_TURN set, resume now finds tool calls the previous worker recorded but the transcript left unfinished","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"stopped-main-thread-agents-can-be-resumed-after-worker-resta","heading":"After a restart, Claude is told which stopped agents it can resume","line":"The notice shown to Claude after a worker restart now lists stopped agents it can resume by messaging their id","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.288","anchor":"parked-run-config-now-read-as-a-savedserved-object-instead","heading":"Settings for resuming interrupted turns now come from prepared sets","line":"Settings for resuming interrupted turns and parked runs are now chosen from one of two prepared sets instead of read directly from environment variables","released_at":"2026-10-02 18:30:40","reason":"found in this entry's text, named in this entry"},{"version":"2.1.286","anchor":"resume-stale-turn-detection-tracks-tool-call-cards-and-resp","heading":"Resumed sessions restart interrupted turns less often by mistake","line":"On resume, Claude Code checks unanswered tool calls per response and skips restarting a turn whose calls were answered in a restored card","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"headless-resume-of-interrupted-turn-orphaned-task-flush-is","heading":"Resuming after a worker restart now records whether task cleanup timed out","line":"When Claude Code resumes an interrupted turn after a worker restart, cleanup of leftover background task notices is now timed and logged","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.275","anchor":"new-env-var-claude-code-parked-permission-wait-ms-with-2000m","heading":"New env var CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS with 2000ms fallback","line":"New CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS env var sets a 2 second default wait for parked permissions","released_at":"2026-09-17 20:20:31","reason":"found in this entry's text, named in this entry"}],"entries_total":24,"docs":[{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"headless","title":"Run Claude Code programmatically","documented":false},{"source":"claude-code","path":"sessions","title":"Manage sessions","documented":false},{"source":"claude-code","path":"vs-code","title":"Use Claude Code in VS Code","documented":false}],"docs_total":5,"gates":[],"related":[{"name":"CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS","slug":"claude-code-resume-interrupted-turn-max-age-ms","description":"The staleness cutoff for auto-resuming an interrupted turn is now configurable, defaulting to 6 hours"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-resume-interrupted-turn","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}