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.271 ·

SessionStart hook waiting reworked across queued prompts and messages

Claude Code now waits for pending SessionStart hooks before sending queued prompts, but no longer waits before routing host messages

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

What

  • The core per-turn input processor now waits for any pending SessionStart hooks to finish before a queued prompt (or a non-prompt-type slash command) is sent to the model, handling cancellation and re-queueing if that wait is interrupted.
  • When draining the command queue for a resurrected session, if every currently queued exempt command came from that resurrection, execution now waits for SessionStart hooks to resolve before running the queue, instead of executing immediately.
  • In the host's reply/message-launch flow, a previous wait for pending hooks before deciding how to send an outgoing queued message (direct insert, enqueue, or immediate run) was removed from that path.

Why

This ensures prompts and resurrected-session commands aren't sent to the model until session-start setup has actually finished, while removing a redundant wait in the separate host message-dispatch path.

See this entry in the whole of v2.1.271 →

Feedback