{"version":"2.1.271","anchor":"turn-processing-now-treats-a-handed-off-turn-like-an-orphane","canonical_anchor":"turn-processing-now-treats-a-handed-off-turn-like-an-orphane","heading":"New beginTranscriptFlush step added to turn handoff processing","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/turn-processing-now-treats-a-handed-off-turn-like-an-orphane","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### New beginTranscriptFlush step added to turn handoff processing\n\nTurn handoff now waits for transcript flush confirmation, warning after 15 seconds if it doesn't arrive\n\n**Unclear.** What triggers a 'handed-off turn' and what visible effect this has, if any, is not stated.\n\n**What**\n\n- 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 new `beginTranscriptFlush` step into the drain logic. The user-input processor also gets a new `aheadOfSessionStart` flag.\n\n- `beginTranscriptFlush` itself 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.\n\n**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.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}