Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.211 Home All releases olderv2.1.210 v2.1.212newer
Claude Code v2.1.211

CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS Environment Variable

What

A new environment variable, CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS, controls how old an interrupted assistant turn can be before it is no longer automatically resumed on session restart. This prevents stale interrupted turns from being replayed after a long pause.

Details
  • If CLAUDE_CODE_RESUME_INTERRUPTED_TURN is set and the interrupted turn's timestamp is older than this value, the resume is skipped.
  • Defaults to 3,600,000 ms (1 hour) when the variable is present but not set to a valid finite positive number; set to 0 to disable age-gating entirely.
  • The variable is passed through to child processes alongside the existing CLAUDE_CODE_RESUME_INTERRUPTED_TURN.
Evidence

New env var with fallback (search for "CLAUDE_CODE_RESUME_INTERRUPTED_TURN_MAX_AGE_MS")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.211 →