Group of 2 Under the hood
Whether Claude Code resumes an interrupted turn is now configurable per call and read from a lane config object instead of only an env var
What
Behavior around resuming an interrupted turn, previously controlled only by the CLAUDE_CODE_RESUME_INTERRUPTED_TURN environment variable, changed in two ways:
- The message-deserialization/resume function gained a fifth parameter that, when provided, overrides the
CLAUDE_CODE_RESUME_INTERRUPTED_TURNcheck for that specific call instead of always reading the environment variable directly. - More broadly, this and related behaviors — resuming interrupted turns, holding unanswered parked permissions, retiring parked stops, and tolerating context appends on resume — now read from a
this.laneconfig object (resumeInterruptedTurn,holdUnanswered,parkedStopRetires,toleratesContextAppends) instead of directly from theCLAUDE_CODE_RESUME_INTERRUPTED_TURN,CLAUDE_CODE_HOLD_UNANSWERED_PARKED_PERMISSION,CLAUDE_CODE_PARKED_STOP_RETIRES, andCLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDSenvironment variables.
Why
Moving these settings into a lane config object, with the option to override per call, allows resume-related behavior to be controlled more flexibly than a fixed environment variable read for the whole process.