{"version":"2.1.277","anchor":"new-per-turn-wait-for-staged-files-before-handoff-tengu-tur","canonical_anchor":"new-per-turn-wait-for-staged-files-before-handoff-tengu-tur","heading":"New per-turn wait for staged files before handoff (tengu_turn_handoff_staged_files_wait)","tier":"internal","area":"Turn Handling","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/new-per-turn-wait-for-staged-files-before-handoff-tengu-tur","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New per-turn wait for staged files before handoff (tengu_turn_handoff_staged_files_wait)\n\nClaude Code now waits for in-flight staged file operations to settle before handing off a turn\n\n**Unclear.** Nothing has been read yet about whether the `tengu_turn_handoff_staged_files_wait` gate is on or off for any account.\n\n**What**\n\nClaude Code now tracks staged file operations that are still in progress, and before handing off control at the end of a turn, it waits (up to a timeout) for those operations to finish. It records an event, `tengu_turn_handoff_staged_files_wait`, with the outcome, how long it waited, and how many operations were still pending, and logs a warning if the wait times out.\n\n**Why**\n\nThis is meant to avoid a turn handing off while file staging is still mid-flight, though it isn't yet known whether this behavior is active for any given user.\n\n- Area: Turn Handling\n- Names: `tengu_turn_handoff_staged_files_wait`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}