Resuming can pick up an interrupted tool call, but only with two env vars set.
Re-attaching to an in-flight tool call requires both CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS and CLAUDE_CODE_RESUME_INTERRUPTED_TURN.
What's wrong with this entry?
Resuming a session can pick up a tool call that was still in flight instead of discarding it, when the pending action names a tool use that is still the last real turn. Both CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS and CLAUDE_CODE_RESUME_INTERRUPTED_TURN must be set for this path; with either unset the old behaviour stands.
- When the recorded tool name does not match the pending action, resume reports a name mismatch rather than re-attaching.
CLAUDE_CODE_PARKED_PERMISSION_WAIT_MSsets how long a parked permission prompt waits, defaulting to 2000ms.
CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Shutdown-synthesized tool results no longer resolve an interrupted turn
Both mention resume interrupted turn