Conversation
Contributor
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR changes the default production behavior for exhausted provider contexts by adding native compaction, retry, and new persistent orchestration transitions across several services. The scope and state-machine complexity are substantial enough to require human review. You can add or adjust custom eligibility rules. Learn more. |
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 23, 2026 00:50
a419382 to
f2bdd9f
Compare
Bil0000
force-pushed
the
fix-provider-handoff-context
branch
from
September 23, 2026 04:08
d746793 to
d6fcc0d
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 23, 2026 04:10
060756d to
d6dcd10
Compare
Bil0000
force-pushed
the
fix-provider-handoff-context
branch
from
September 23, 2026 04:16
d6fcc0d to
660852f
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
2 times, most recently
from
September 23, 2026 07:35
d2675dc to
9cbaf77
Compare
Bil0000
force-pushed
the
fix-provider-handoff-context
branch
from
September 23, 2026 18:26
28bab89 to
ecf7d81
Compare
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
2 times, most recently
from
September 23, 2026 23:24
6ca6a24 to
3e4ca4c
Compare
Bil0000
force-pushed
the
fix-provider-handoff-context
branch
from
September 24, 2026 01:44
ecf7d81 to
2028b74
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 24, 2026 04:06
1bd44f2 to
3b9c885
Compare
juliusmarminge
force-pushed
the
fix-provider-handoff-context
branch
from
September 24, 2026 07:37
f37e16b to
2bdd29b
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
2 times, most recently
from
September 24, 2026 23:21
6448cfe to
1563a64
Compare
Bil0000
force-pushed
the
fix-provider-handoff-context
branch
from
September 25, 2026 00:46
c933cdc to
eba76ef
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 25, 2026 05:55
fe4f6ad to
87c67bd
Compare
The selection-change preflight treated every model or option change with a known window as a potential overflow. Switching only reasoning effort on a large Claude session therefore compacted the native session before the turn, even though the window was unchanged. Only run the selection-change exhaustion check when the new window is smaller than the previous selection's window. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A provider can finish an automatic /compact after the user presses Stop (the interrupt races the native compaction). The compaction attempt then reported completed, so RunExecutionService created the retry attempt and sent the user's original request despite the Stop. Skip the retry when the run has an unpaired interrupt request, so the run settles normally without sending the request. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
juliusmarminge
force-pushed
the
fix-provider-handoff-context
branch
from
September 25, 2026 20:13
eba76ef to
a78d56c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switching to a smaller model can exhaust the target native session. V2 now compacts that same session, then retries the unchanged request once. Saved chat stays visible; no encrypted provider state is copied.
Verified: 209 focused tests, adapter compaction tests, server typecheck, targeted lint and formatting, and an Opus 5.5 pr-audit. Unknown capacity or unsupported/insufficient compaction can still fail safely.
Built with GPT-6 Astra / Codex; audited with Opus 5.5 / Claude.