Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

More startup and resume failures now say why Claude Code quit

Several startup and resume failures still exit with code 1 but now record a reason, such as a failed resume or a session held by a background task

Under the hood Internal Changes
JSON All of v2.1.321
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
TelemetryArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release
What

When Claude Code cannot start, it stops with exit code 1. An exit code is the number a program hands back to whatever launched it. Some of these exits already recorded a reason, and more of them now do. The exit code is still 1. The reasons now recorded are:

  • session_held_by_background: the session is already held by a background task
  • sandbox_worktree_protection_failed: protection for a sandboxed worktree could not be set up
  • resume_failed: resuming an earlier session failed
  • worker_state_unread: the saved state of a worker could not be read
Why

A reason attached to each exit makes failed starts and failed resumes easier to tell apart when they are reported and counted. A plain exit code of 1 says only that something went wrong.

See this entry in the whole of v2.1.321 →

Feedback