Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaHeadless Modewhat it touches
KindImprovementsin v2.1.271,
You'll notice

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

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 →