Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Pre-warmed spare sessions stay idle and skip SessionEnd hooks

Pre-started spare Claude Code processes now refuse most control requests while waiting and no longer run SessionEnd hooks

Group of 2 You'll notice Bug Fixes
JSON All of v2.1.281
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.281,
Bug FixesSection of the release

What

Claude Code can start a spare process in the background ahead of time, ready to become a session when one is needed. While a spare is parked (waiting), claiming (being taken for a session) or failed, it now behaves differently:

  • A parked spare records spare_parked before it reads any input.
  • Control requests, the instructions a program sends to a running Claude Code, are refused with an error unless they are of a permitted kind.
  • After start-up, a parked spare skips the step that sets up the terminal host, and it tracks idle time for when input arrives.
  • When the process shuts down, it does not run your SessionEnd hooks. Before, these hooks always ran at this point. A hook is a script you configure to run at set points, and SessionEnd runs when a session ends.

Why

A spare that never became a real session no longer runs your SessionEnd hooks, so those scripts do not fire for sessions you never opened. Refusing most requests while it waits keeps a spare idle until it is actually claimed.

Read from
Names in the bundleSessionEnd
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up SessionEnd, on Sessions. - `stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or 2 more` api/beta/sessions see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up SessionEnd, on Sessions.

See this entry in the whole of v2.1.281 →

Feedback