GeezerVison is showing github.com — fix(fork): resolve upstream merge d7373c44fe (2026-11-16) by orbitingflea · Pull Request #197 · orbitingflea/t3code
Conversation
This pull request resolves the merge of upstream d7373c4 (commit A 59a93d6 left conflict markers in 29 files). The fork now differs from upstream in 515 files, 7 fewer than fork main, with no new lint suppression.
改了什么行为
Behaviour change: yes, outside MCP clients no longer see send_to_user, replace_send_to_user, dashboard_get and dashboard_set in their tool list, and an FYI waits during upstream's new native resume of a stopped turn instead of turning that resume into a prompted start.
Undo
Revert this commit and commit A together. Going back below the migrations needs the pre-migration snapshot.
Files
- Each conflict keeps upstream's code and puts the fork's change back on top.
TurnItemPositionStore.ts: upstream fix(server): a steer that misses its turn moves into the run it starts pingdotgg/t3code#36855 moves an existing item into its run's range. A turn that carries an FYI binds the FYI to its run, so the FYI moved away from where it was sent. An FYI now keeps its position. normalize decides both FYI rules from the item, so EventSink.ts no longer carries a fork change for them.
ThreadFind.ts: upstream perf(server): reuse Find documents across query changes pingdotgg/t3code#29310 caches rendered documents across queries. The fork's rows and counts depend on the display mode, so the cache key holds the display mode too.
FilePreviewPanel.tsx: upstream fix(web): file tabs keep their scroll position when you switch back pingdotgg/t3code#37361 restores a file tab's scroll offset unless a line reveal is pending. The fork's pending reading-position scroll counts as such a reveal, and when the fork has a saved reading position for the file, that position restores the view instead of the offset.
ProviderSessionManager.ts: upstream fix(server): a Claude session gone on resume starts fresh instead of failing every send pingdotgg/t3code#37610 forgets a loaded native thread after a failed start. That step now sits in the fork's shared start helper, which compaction also uses. Upstream's new resumeTurn goes through the same helper, so a resumed turn marks the session busy and an account change cannot close it.
ProviderTurnStartService.ts: the display-mode wrap and the FYI check read upstream's providerMessage, the message actually sent.
citationProcedure.ts: Cite accepts upstream's send_to_user check or the fork's, which also covers sends in Chat mode.
ClaudeAdapterV2.ts: upstream's Stop hook joins the fork's merged hooks object.
fork/claudeUsageSource/claudeHub.ts: upstream fix(usage): a Claude hub account with an unmeasured window keeps its other limits pingdotgg/t3code#31748 lets a Claude usage window report no utilization. The fork's hub read decodes the same answer with its own copy of the schema, which now accepts that too.
- Fork tests follow upstream's new interfaces:
renameSession on fake Claude sessions, the port scanner in a test layer, and the parity test allows upstream's Codex subagent source and per-turn hook callbacks.
cli/thread.ts now takes a json flag. The fork's user-view command prints plain text and passes json: false.
agentContextBudget.json holds the values the budget test measures. The fork's tool list is 5521 bytes larger than upstream's.
- 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.
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: 14b5ca6 · 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.
Resolve the 29 conflicts that commit A left from merging upstream
d7373c4, and fix what the merge broke elsewhere.
Each conflict keeps upstream's code and puts the fork's change back on
top. Where both sides changed one behaviour:
- An FYI keeps its timeline position when a turn carries it. Upstream
now moves an item into its run's range, which moved carried FYIs.
- Upstream's native resume of a stopped turn marks the session busy,
as other turn starts do, so an account change cannot close it.
- Find keys its cached documents on the display mode, since the fork's
rows and counts depend on it.
- The file panel restores its saved scroll offset only when the fork
has no saved reading position for the file and no reveal is pending.
- send_to_user, replace_send_to_user, dashboard_get and dashboard_set
are hidden from outside MCP clients, as upstream now requires for
tools that act as the calling thread.
- The fork's Claude hub read accepts a usage window with no utilization,
as upstream's read now does.
- The FYI text and the display-mode wrap read upstream's providerMessage.
An FYI waits during upstream's native manual resume, as it already
waits during a restart continuation that resumes natively.
The fork's Codex helper-hooks change is dropped: upstream pingdotgg#35203 keeps
hooks off in Codex text generation. Fork tests follow upstream's new
interfaces, and agentContextBudget.json holds the measured values.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 17, 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.
|