You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Background AgentsArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release
What
A background session is one Claude Code runs without you watching it. When one restarts after stopping, Claude Code can now use a record of the session it already has loaded, rather than reading it again, and treat the session as finished with no transcript (the saved record of the conversation). In that case it removes CLAUDE_CODE_RESUME_INTERRUPTED_TURN from the restarted process's environment. Before, it always reread the record and could set that variable.
Why
This changes how background agents recover after a crash. A session with nothing to resume is no longer told to pick up an interrupted turn.