Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Headless session turns can be cut short by hook-queued input, and gain a memory snapshot kick

Headless session turns now end early if new input arrives while waiting on hooks, and gain a memory-snapshot kick

You'll notice Improvements
JSON All of v2.1.271
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Headless ModeArea: what it touches
ImprovementsKind: in v2.1.271,
ImprovementsSection of the release
What

In headless sessions (running without the interactive terminal UI), a turn waits for its turn-event hooks to finish before ending. That wait now races against new input arriving on the message queue: if a hook queues new input while the turn is waiting, the current turn ends immediately so the new input can run right away, and the still-pending hook events are carried over to be settled alongside the next turn instead of being lost.

Separately, the start of a turn now kicks off a "memory snapshot" fetch, replacing a previous call, wrapped in error handling so a failure doesn't stop the turn.

Why

This stops headless turns from stalling when a hook queues new work, letting that work run without dropping the hook results that were still in progress.

See this entry in the whole of v2.1.271 →

Feedback