GeezerVison is showing github.com — fix(fork): resolve upstream merge db51b6719f11 (2026-11-19) by orbitingflea · Pull Request #229 · orbitingflea/t3code
Conversation
This pull request resolves the merge of upstream db51b67 (commit A e0d21bc left conflict markers in 24 files) and fixes the type and test breaks the merge brought.
改了什么行为
Behaviour change: no
- Fork features work as before the merge, and upstream's new features arrive as upstream ships them.
- Three fork changes give way to upstream's own versions. A Claude steer still waits for the tool calls in flight and joins the same turn, now through upstream's code. Antigravity sessions offer
/compact when the runtime advertises it, and upstream no longer runs Antigravity below 1.5. Limits read the CLI's saved sign-in through upstream's code.
- For a user's own Antigravity CLI, this brings three small changes from upstream's sign-in read. Limits now load when the sign-in is only in the system keyring. When the saved access expires, the page keeps the last limits it read and shows upstream's message. When Google's user info cannot be read, the account key is upstream's fallback.
- The merge brings four upstream SQLite migrations for the app's database (
099_BackgroundRecoveryIndexes, 100_TurnStartReadIndexes, 101_DelegatedTaskReadIndexes, 102_ThreadItemCounts).
Undo
Revert this commit and commit A together.
Files
- Most conflicts keep both sides: upstream's code, with the fork's change on top.
ProviderTurnStartService.ts, ProviderTurnControlService.ts, handoffBudget.ts: upstream's note that an agent, a scheduled task or a tool sent a message goes inside the fork's display-mode text and next to its FYI history.
ClaudeAdapterV2.ts: upstream's list of --plugin-dir plugins also carries the whiteboard plugin. The fork's steer queue (fix(server): a Claude steer waits in Claude's queue instead of cutting the reply #63) is removed, with its tests and its replay fixture, because upstream fix(server): an unread Claude steer no longer hangs the turn or gets lost pingdotgg/t3code#39018 sends steers with priority "next" and keeps the turn open until Claude reads or drops them. One fork case stays on top: an aborted result that has taken in every steer ends the turn, as it did with fix(server): a Claude steer waits in Claude's queue instead of cutting the reply #63. Upstream's code would wait for another result. A test covers it.
- Antigravity: upstream fix(server): refuse Antigravity runtimes below 1.5 pingdotgg/t3code#38970 removes the 1.4.5 runtime. The fork's agy module drops that runtime, its extra session directory and its compaction switch, and keeps the user's own agy state. Upstream's usage probe gets an
appDirectory option, so a fork wrapper reads limits from the folder of the runtime that runs, and the account email rides on both of upstream's sign-in branches. The fork's own CLI sign-in reader goes.
AntigravityDriver.ts: the user's own agy keeps its own state in upstream's shared spawn step, so the runtime and upstream's new sign-in flow use the same login.
Orchestrator.ts: upstream perf(server): sending to a long compacted thread skips its old prompts pingdotgg/t3code#36289 reads only a compacted thread's recent runs for a new message, and a waiting FYI has no run. Before this fix, a repeated FYI on such a thread rewrote the waiting one, and the 6-hour wake saw no waiting FYI. Now an FYI post also checks the stored item, and an FYI wake reads the thread in full, as an idle compaction does. Other messages keep upstream's narrow read. A test covers both.
- Fork tests follow upstream's changes: the sender note on a delegated child's first prompt, Codex's
config/read and thread/name/set frames, the unread-steers recovery kind, ModelManifest, the MCP server's forge lookup, and the htmlPolicy of preview files.
agentContextBudget.json holds the measured sizes. Upstream's agent instructions and tool list grew, so this pull request carries the agent-context-increase label.
- Upstream's new Antigravity child-work reader looks only in T3's own profile, so with a user's own agy it finds no running children. That gap needs an upstream file that the fork does not change, so it is left as it is.
- This pull request did not run the model evals, which need a key, or the native mobile app.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Resolves the 24 conflicts that commit A (e0d21bc) left, and the type
and test breaks the merge brought, keeping upstream's structure with the
fork's changes on top.
Fork changes upstream now ships, so the fork copy goes:
- The Claude steer queue (fork #63): upstream pingdotgg#39018 sends steers with
priority "next" and holds the turn until Claude reads or drops them.
The fork's steer-queue tests and fixture go; upstream's are taken.
- The agy runtime's 1.4.5 harness handling: upstream pingdotgg#38970 refuses
runtimes below 1.5. The fork's harness state, its extra session
directory and its compaction switch go; upstream compacts when the
session advertises /compact (pingdotgg#37020).
- The CLI login read for limits: upstream pingdotgg#38957 reads agy's saved
sign-in itself. The fork only points the probe at the user's own agy
folder (makeAntigravityRuntimeUsageProbe) and keeps the account email.
Merge breaks fixed: on a compacted thread a repeated FYI rewrote its
waiting item and the 6-hour wake saw no waiting FYI (upstream pingdotgg#36289
narrows the command read to recent runs; an FYI post also checks the
stored item, and an FYI wake reads the thread in full, as an idle
compaction does); an aborted Claude result that has taken in every
steer ends the turn again, as with fork #63; fork tests updated
for upstream's sender note, config/read and thread/name/set Codex
frames, the unread-steers recovery kind, ModelManifest and the MCP
forge lookup.
agentContextBudget.json is the measured size of the merged text.
Commit A brings upstream SQLite migrations 099 to 102.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread transfer impact
✅ Thread transfer remains within every enforced ceiling.
ℹ️ No successful main baseline artifact is available yet. This run establishes the initial measurement.
| Provider |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
Total thread wire |
— |
5.0 KiB |
— |
6.8 KiB |
✅ |
| Codex |
Thread snapshot wire |
— |
3.8 KiB |
— |
4.9 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
— |
1.2 KiB |
— |
2.0 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
— |
21.5 KiB |
— |
24.4 KiB |
✅ |
| Codex |
Live turn messages |
— |
1 |
— |
8 |
✅ |
| Claude |
Total thread wire |
— |
5.0 KiB |
— |
6.8 KiB |
✅ |
| Claude |
Thread snapshot wire |
— |
3.8 KiB |
— |
4.9 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
— |
1.2 KiB |
— |
2.0 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
— |
21.9 KiB |
— |
24.4 KiB |
✅ |
| Claude |
Live turn messages |
— |
1 |
— |
8 |
✅ |
Other scenarios
No main baseline exists yet for these 64 scenario measurements.
All 64 scenario measurements
| Provider |
Scenario |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
short turn resume |
WebSocket decoded |
— |
10.5 KiB |
— |
12.7 KiB |
✅ |
| Codex |
short turn resume |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Codex |
long turn running, cold open |
HTTP decoded |
— |
281.7 KiB |
— |
302.7 KiB |
✅ |
| Codex |
long turn running, cold open |
rows |
— |
75 |
— |
75 |
✅ |
| Codex |
long turn running, history page |
HTTP decoded |
— |
92.4 KiB |
— |
107.4 KiB |
✅ |
| Codex |
long turn running, history page |
rows |
— |
75 |
— |
75 |
✅ |
| Codex |
long turn finished, cold open |
HTTP decoded |
— |
381.5 KiB |
— |
410.2 KiB |
✅ |
| Codex |
long turn finished, cold open |
rows |
— |
151 |
— |
151 |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket decoded |
— |
381.6 KiB |
— |
410.2 KiB |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Codex |
long turn finished, socket cold open |
rows |
— |
151 |
— |
151 |
✅ |
| Codex |
long turn finished, work page |
HTTP decoded |
— |
186.2 KiB |
— |
200.2 KiB |
✅ |
| Codex |
long turn finished, work page |
rows |
— |
150 |
— |
150 |
✅ |
| Codex |
idle thread resume |
WebSocket decoded |
— |
65 B |
— |
200 B |
✅ |
| Codex |
idle thread resume |
WebSocket messages |
— |
1 |
— |
1 |
✅ |
| Codex |
fleet shell snapshot |
HTTP decoded |
— |
42.4 KiB |
— |
53.7 KiB |
✅ |
| Codex |
fleet shell snapshot |
rows |
— |
27 |
— |
27 |
✅ |
| Codex |
fleet shell subscribe |
WebSocket decoded |
— |
65 B |
— |
200 B |
✅ |
| Codex |
fleet shell subscribe |
WebSocket messages |
— |
1 |
— |
1 |
✅ |
| Codex |
fleet shell resume check |
HTTP decoded |
— |
18 B |
— |
100 B |
✅ |
| Codex |
fleet shell resume check |
rows |
— |
0 |
— |
0 |
✅ |
| Codex |
stale shell reload |
HTTP decoded |
— |
42.4 KiB |
— |
53.7 KiB |
✅ |
| Codex |
stale shell reload |
rows |
— |
27 |
— |
27 |
✅ |
| Codex |
stale shell resume |
WebSocket decoded |
— |
140 B |
— |
400 B |
✅ |
| Codex |
stale shell resume |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Codex |
stale todo list cold open |
HTTP decoded |
— |
72.4 KiB |
— |
83.0 KiB |
✅ |
| Codex |
stale todo list cold open |
rows |
— |
75 |
— |
75 |
✅ |
| Codex |
stale todo list cold open |
nodes |
— |
2 |
— |
4 |
✅ |
| Codex |
stale todo list cold open |
subagents |
— |
2 |
— |
4 |
✅ |
| Codex |
stale todo list cold open |
plans |
— |
1 |
— |
2 |
✅ |
| Codex |
stale todo list cold open |
providerTurns |
— |
1 |
— |
2 |
✅ |
| Codex |
stale todo list cold open |
checkpoints |
— |
1 |
— |
2 |
✅ |
| Claude |
short turn resume |
WebSocket decoded |
— |
10.6 KiB |
— |
12.7 KiB |
✅ |
| Claude |
short turn resume |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Claude |
long turn running, cold open |
HTTP decoded |
— |
283.3 KiB |
— |
302.7 KiB |
✅ |
| Claude |
long turn running, cold open |
rows |
— |
75 |
— |
75 |
✅ |
| Claude |
long turn running, history page |
HTTP decoded |
— |
93.4 KiB |
— |
107.4 KiB |
✅ |
| Claude |
long turn running, history page |
rows |
— |
75 |
— |
75 |
✅ |
| Claude |
long turn finished, cold open |
HTTP decoded |
— |
384.2 KiB |
— |
410.2 KiB |
✅ |
| Claude |
long turn finished, cold open |
rows |
— |
151 |
— |
151 |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket decoded |
— |
384.3 KiB |
— |
410.2 KiB |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Claude |
long turn finished, socket cold open |
rows |
— |
151 |
— |
151 |
✅ |
| Claude |
long turn finished, work page |
HTTP decoded |
— |
188.1 KiB |
— |
200.2 KiB |
✅ |
| Claude |
long turn finished, work page |
rows |
— |
150 |
— |
150 |
✅ |
| Claude |
idle thread resume |
WebSocket decoded |
— |
66 B |
— |
200 B |
✅ |
| Claude |
idle thread resume |
WebSocket messages |
— |
1 |
— |
1 |
✅ |
| Claude |
fleet shell snapshot |
HTTP decoded |
— |
43.0 KiB |
— |
53.7 KiB |
✅ |
| Claude |
fleet shell snapshot |
rows |
— |
27 |
— |
27 |
✅ |
| Claude |
fleet shell subscribe |
WebSocket decoded |
— |
66 B |
— |
200 B |
✅ |
| Claude |
fleet shell subscribe |
WebSocket messages |
— |
1 |
— |
1 |
✅ |
| Claude |
fleet shell resume check |
HTTP decoded |
— |
18 B |
— |
100 B |
✅ |
| Claude |
fleet shell resume check |
rows |
— |
0 |
— |
0 |
✅ |
| Claude |
stale shell reload |
HTTP decoded |
— |
43.0 KiB |
— |
53.7 KiB |
✅ |
| Claude |
stale shell reload |
rows |
— |
27 |
— |
27 |
✅ |
| Claude |
stale shell resume |
WebSocket decoded |
— |
140 B |
— |
400 B |
✅ |
| Claude |
stale shell resume |
WebSocket messages |
— |
2 |
— |
2 |
✅ |
| Claude |
stale todo list cold open |
HTTP decoded |
— |
73.4 KiB |
— |
83.0 KiB |
✅ |
| Claude |
stale todo list cold open |
rows |
— |
75 |
— |
75 |
✅ |
| Claude |
stale todo list cold open |
nodes |
— |
2 |
— |
4 |
✅ |
| Claude |
stale todo list cold open |
subagents |
— |
2 |
— |
4 |
✅ |
| Claude |
stale todo list cold open |
plans |
— |
1 |
— |
2 |
✅ |
| Claude |
stale todo list cold open |
providerTurns |
— |
1 |
— |
2 |
✅ |
| Claude |
stale todo list cold open |
checkpoints |
— |
1 |
— |
2 |
✅ |
Baseline: unavailable · PR result: a099460 · Source CI: success
Scenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 20, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|