GeezerVison is showing github.com — fix(fork): resolve upstream merge 9dc36169b4 (2026-11-22) by orbitingflea · Pull Request #265 · orbitingflea/t3code
Conversation
Commit A (1640512383) merges upstream 9dc36169b4 (161 commits) into fork main b1551ba366 with 24 conflicted files. Commit B (base catch-up/20261123-base) resolves them and fixes build and test breaks.
Behaviour change
Behaviour change: yes, a fork user who reopens a workspace Markdown file in rendered view starts at the top, not where they stopped.
- Other fork features work as on fork main. New upstream features arrive as shipped.
- Lost for now: saved reading place in rendered workspace Markdown. Upstream fix(web,mobile,server): large files load in full without freezing the file preview pingdotgg/t3code#40631 uses a virtualized list (
ChunkedMarkdown.tsx), not one scroll area, so the tracker misses it. We dropped a hook to keep that file untouched. Restore reading-position tracking for virtualized ChunkedMarkdown previews #264 rebuilds it from in-memory pieces and loading state, and covers 1-64 MB text files loaded in parts. Saved places stay intact. Source view and other files (attachments, tables, notebooks, PDFs, large text) keep theirs.
- This PR drops fork PR fix(server): Codex full access no longer asks before dangerous commands #206 (early Codex Full access dangerous-command port, closed upstream fix(server): Codex full access no longer asks before dangerous commands pingdotgg/t3code#37306) for upstream fix(server): Full access Codex no longer asks before dangerous commands pingdotgg/t3code#40773. Upstream still asks for managed-network allowlists and sandbox policies.
- Commit A adds five SQLite migrations (
106_WorktreePathKeyIndex, 107_DeferredSlashCommandIndex, 108_AgentFeedback, 109_IssueTrackerAccounts, 110_Workflows) and updates 075_SubagentDeliveryState. Fork adds none.
- Claude usage reads, reset-credit reads, and redeems had no conflicts and are sent unchanged.
Undo
Revert this commit and commit A (1640512383) together.
Files
- Most conflicts keep both sides. Server capabilities, settings search gates, reading position, Claude/Codex adapters, Antigravity driver, and session manager turn start (with per-turn agent feedback).
- Chat Markdown. Upstream perf(web): Markdown renders with Words as static islands under one shared tooltip; remark leaves the web app pingdotgg/t3code#27866 switched to Words (
wordsHast.ts). Fork rules now run via forkMarkdown.ts (with tests) and wordsHast.ts hooks.
- Agent text keeps single
~ (open upstream fix(web): preserve single tildes in agent replies pingdotgg/t3code#29270) via assistantReply; review comments use user rendering; timeline minimap disables it.
- CJK bold/emphasis use Words'
cjk option.
- Bare links end at CJK punctuation: Words ends ASCII links;
cjkLinkEnd.ts (HTML tree) handles non-ASCII and ideographic space (two test rows updated).
board:// links run in markdown-whiteboard.ts (HTML tree, chat only).
board and t3-dashboard protocols moved to markdownHast.ts.
\eps renders as \varepsilon via a same-length swap inside math before Words, restoring written TeX for copy/labels.
- Dashboard uses Words;
inline stops file chips nesting paragraphs.
- Workflow feed replies (
WorkflowRunFeed.tsx) set assistantReply.
- Saved reading position. Rendered Markdown is tracked in Restore reading-position tracking for virtualized ChunkedMarkdown previews #264. Upstream fix(web,mobile,server): large files load in full without freezing the file preview pingdotgg/t3code#40631 loads text files up to 64 MB in source view and drops "Indexing".
fileReadingPlace.ts, fileReadingPosition.ts, and fileReadingStore.ts stay as on fork main. Restore reading-position tracking for virtualized ChunkedMarkdown previews #264 also tracks 1-64 MB text files loaded in parts. A saved line past 1 MB that arrives after about a second is not restored. Upstream's reveal stops a line link past 1 MB at the text loaded so far. Fork main cut those files at 1 MB in a row viewer. Panel tests move row-viewer cases past 64 MB, drop two rendered-Markdown cases, and expect no "Indexing".
README.md. Reading-position item: rendered workspace Markdown opens at top, 1-64 MB limit (Restore reading-position tracking for virtualized ChunkedMarkdown previews #264 for both).
- Checkpoints.
CheckpointCaptureService.ts matches upstream (fix(server): preserve cancellations during checkpoint capture pingdotgg/t3code#31349 lock/reread: 1 attempt commits). Fork drops per-attempt id there, keeps it on queued capture effect (commit A, RunExecutionService.ts, Orchestrator.ts); with per-run id, late-steer restart waits (steer test fails).
- FYI messages. Upstream fix(server): slash commands reach the provider verbatim when context is pending pingdotgg/t3code#30261 sends slash commands verbatim, so the fork uses
isSlashCommandMessage. Slash commands with attachments leave FYIs waiting; messages starting with a path now carry them.
- New upstream files touched.
wordsHast.ts (hooks), markdownHast.ts (protocols), WorkflowRunFeed.tsx (assistantReply), WorkflowAgentLinks.ts (imports the run-result schema exported by name from the fork's contracts to decode t3_thread_send, because held FYIs have no run), FeedbackReport.ts (t3 thread user-view, t3 prune-worker-threads CLI entries). New fork-only: forkMarkdown.ts and its test. No new suppression comments.
- Fork tests. General-role parity test mocks new feedback and workflow services.
agentContextBudget.json. MCP tool list grows by upstream's 2672 bytes, from 64688 to 67360 (agent-context-increase).
fork/whiteboard/run-t3.md. Names markdownHast.ts and wordsHast.ts instead of markdownPipeline.ts.
- Not run. Model evals (need a key) and 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: 48f6dc0 · 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 24 conflicts of commit A (1640512) and fix the breaks the
merge brought.
- Keep both sides in the server, settings, file preview and adapter
conflicts; the fork's change sits on upstream's code.
- Drop the fork's early port of Codex full-access approvals (#206):
upstream shipped its own fix (pingdotgg#40773).
- Re-port the fork's chat Markdown changes onto upstream's Words renderer
(pingdotgg#27866) through apps/web/src/fork/forkMarkdown.ts and hooks in
wordsHast.ts: single tilde in agent text, CJK bold, CJK link ends,
board links, \eps in math, the Dashboard renderer; the sanitizer's
board and t3-dashboard protocols move to markdownHast.ts.
- CheckpointCaptureService takes upstream's commit id: pingdotgg#31349's lock and
reread let only one attempt of a run commit a capture. Commit A keeps
the per-attempt queued capture effect id; the fork steer test pins it
and now models the order the lock allows.
- Upstream's virtualized Markdown list (pingdotgg#40631) keeps no reading place
for now: the fork's binding for it is dropped and will be rebuilt
(#264). README notes this and the 1-64 MB text files
loaded in parts. The fork's panel test follows upstream's
routing of large text files.
- Upstream code now loads the fork's chat Markdown and chunk reload
guard in tests: the whiteboard hover handler is imported from
boardChannel (no re-export from the Markdown pass), and the chunk
reload build key lives in chunkReloadGuard.ts.
- Workflow agent links decode the run-result shape of t3_thread_send;
the fork's CLI commands join upstream's feedback command list; fork
tests mock upstream's new services; agent context budget 67360.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
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.
|