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

Session tracker now tracks a distinct "head hooks pending" state before recording transcript history

Session history recorder gains a pending state that holds messages until startup hooks finish

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaSession Lifecyclewhat it touches
KindInternal Changesin v2.1.277,
Under the hood

Session history recorder gains a pending state that holds messages until startup hooks finish

What

Claude Code's internal session-history tracker now has a "head hooks pending" state. When it's active, incoming messages are held instead of being recorded immediately, and are replayed once the hooks that run at the start of a session finish resolving. The underlying hook lifecycle machinery now publishes this pending state and waits until after the transcript is spliced in before releasing it, rather than releasing right away.

Why

This avoids recording conversation history out of order or before session-start hooks have had a chance to run, keeping the saved transcript consistent.

See this entry in the whole of v2.1.277 →