This gives more control over timing in the logic that resumes interrupted turns and handles permission requests that were left pending ('parked'), building on the existing CLAUDE_CODE_RESUME_INTERRUPTED_TURN recovery behavior, which was previously narrowed to remote sessions and fixed to report unfinished background tasks after a local claude -p --resume.
CLAUDE_CODE_RESUME_INTERRUPTED_TURNClaude Code changelogmodified, high confidence* Fixed a local `claude -p --resume` started with `CLAUDE_CODE_RESUME_INTERRUPTED_TURN` not reporting background tasks the previous process left unfinishedsee the edit
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.
Added sinceA small documentation edit on Manage sessions touched a line naming CLAUDE_CODE_RESUME_INTERRUPTED_TURN after this was published.* Conversation history: the full history, including tool calls and results. A tool that was still running when the previous process ended, for example in a crash, doesn't finish or run again when you resume. Claude sees the call marked as …sessionssee the edit
Confirmed sinceAnthropic's documentation has since written up CLAUDE_CODE_RESUME_INTERRUPTED_TURN, on Environment variables.| `CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS` | Maximum age in milliseconds of the last transcript message for a session that ended mid-turn to continue automatically on resume. When the last message is older than this bound, Claude C…env-varssee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesCLAUDE_CODE_RESUME_INTERRUPTED_TURN on Claude Code changelog
Anthropic's release notes agreeFixed --resume, the resume picker preview, resumed background agents and the transcript view failing on a session whose saved history…