Group of 2 Under the hood
Turn handoff now waits for transcript flush confirmation, warning after 15 seconds if it doesn't arrive
What
- The main input/query pipeline now checks for a handed-off turn (
handedOffTurn) alongside the existing orphaned-permission check when deciding whether to send an initial state message, and it now passes a newbeginTranscriptFlushstep into the drain logic. The user-input processor also gets a newaheadOfSessionStartflag. beginTranscriptFlushitself is a new confirmation wait: it races flushing internal events against an abort signal, and if the flush hasn't been confirmed within 15 seconds, it logs a warning that the session store hasn't confirmed the carried-over lines.
Why This adds a safety check during turn handoff so Claude Code can tell when the session store is slow to confirm it has received carried-over transcript lines, surfacing a warning instead of silently proceeding as if the handoff succeeded.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What triggers a 'handed-off turn' and what visible effect this has, if any, is not stated.