When a context handoff could not fit the target's context budget, turn start failed with "Insufficient context allowance" on every turn, so the thread was unusable until the user compacted it manually. An oversized handoff is now marked deferred and the turn proceeds without it. Later turns on the same provider thread retry it until it fits, and the flag clears once it is sent. The flag is an additive optional field, so no migration is needed. Fixes #16147 Co-Authored-By: GPT-6.1-Sol at high effort <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: GPT-6.1-Sol at high effort, implementation subagent for handoff deferral <noreply@openai.com> Co-Authored-By: GPT-6.1-Sol at xhigh effort, review subagent for PR 19414 maintenance rebase <noreply@openai.com>
Alb11747 committed on 10/19/2026, 6:37:18 PMparent89424d9
7 files changedLine totals unavailable