GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: sync with upstream/main (d63b9c4c7) by Fryuni · Pull Request #97 · Fryuni/t3code

Conversation

@Fryuni

@Fryuni Fryuni commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Problem

The fork is 324 commits behind upstream/main. This sync keeps the features recorded in docs/adr, using upstream's implementation wherever it can.

Change

Merges pingdotgg/t3code main at d63b9c4c7. 19 files had conflicts. git show --remerge-diff 2b3cfb237b shows the whole resolution.

Workflows (ADR 0011). Upstream edited ci.yml and release.yml and added .github/scripts/test-delta.cjs. release.yml and test-delta.cjs stay deleted. ci.yml keeps the fork's layout: upstream's only change adds a CLI single-executable build to its build job, and the fork has no build job.

Implemented upstream

  • ADR 0029 (command approvals only). Upstream fix(server): Full access Codex no longer asks before dangerous commands pingdotgg/t3code#40773 now accepts Codex command approvals in Full access on its own. The fork keeps upstream's version. Unlike the fork's old branch, it still asks before network access that Codex's managed network settings don't allow. The fork still answers file-change, permissions, and legacy approvals. Its check now also steps aside for an explicit sandbox policy, the same rule upstream uses.

Conflicts with new upstream behavior

  • ADR 0009 / perf(web): new thread opens its draft without waiting on t3.json pingdotgg/t3code#41070. Upstream's new-thread handler now opens the draft before t3.json is read and applies the file's workspace mode when it arrives. The fork's async race guards went away with that change. The default base branch is seeded from the provisional mode, and it now follows a later mode change: a draft that becomes a worktree gains the base branch, and one that becomes local drops it, so a send never switches the checkout onto it. One new test covers this. The fork's other handler tests now use upstream's rewritten test setup.
  • ADR 0008 / fix(server): worktree launches name their branch while the worktree is created pingdotgg/t3code#36904. Upstream starts the branch-naming call early. It also fired for an existing-branch launch whose branch looks temporary; the existing checks out the existing branch t3code/abcd1234… test caught it. Existing-branch launches now skip it.
  • ADR 0008 / fix(web): No project drafts no longer offer New worktree pingdotgg/t3code#41269. Upstream hides the workspace menu for folders with no repository. Check out in worktree sits in that menu, so it is hidden there too.
  • ADR 0002 / fix(forgejo): issue links on a self-hosted Forgejo hostname resolve pingdotgg/t3code#40271 and fix(forgejo): follow Markdown pull request templates pingdotgg/t3code#41095. The Forgejo definition keeps the fork's parseChangeRequestUrl next to upstream's vouched parseIssueUrl. The provider keeps both its own imports and upstream's new ones.
  • ADR 0016. mcpToolListJsonBytes is 62,718: upstream's 61,724 plus the fork's 994. AgentContextBudget.test.ts measures it.
  • ADR 0026 / fix(web): Cite button appears as fast after a double-click as after a drag pingdotgg/t3code#33221. Upstream's double-click tests and the fork's touch tests now share selectionActions.browser.test.ts.
  • AGENTS.md / docs: prune internal and operations docs and enforce them in review pingdotgg/t3code#41330. Upstream pruned AGENTS.md. The fork keeps upstream's text, plus its ADR requirement and its Agent skills section. The note about the 60-second CI timeout moved to docs/internals/15_testing.md, which now holds the test rules. ADR and docs/agents/domain.md links point at the renamed internal docs.
  • Smaller resolutions: the settlement test keeps both the fork's Forgejo case and upstream's new cases. The mobile branch picker keeps both the fork's existing-branch flag and upstream's branch refresh on focus. The scheduled task dialog keeps both selectsPlanAgent and upstream's useClientSettings. docs/user/thread-sidebar.md keeps the fork's wording and adds upstream's sentence about shared-checkout branch switches.

ADRs. Every ADR now compares against d63b9c4c7. Notes were added to ADRs 0002, 0008, 0009, 0011, 0016, 0026 and 0029.

Verification

  • vp run check:changed upstream/main: lint, knip, GraphQL, typecheck (43 packages) and the React compiler pass. The one format issue it found (useHandleNewThread.ts) is fixed in the commit. Tests: every failure comes from this host:
    • GitManager.test.ts (3) and GitVcsDriver.test.ts (1) pass with GIT_CONFIG_GLOBAL=/dev/null. They fail because of this host's url.*.insteadOf rules, as in earlier syncs.
    • ProjectSetupScriptRunner.test.ts and ServerBrowser.test.ts fail because this NixOS host has no /bin/bash and Chromium can't load libglib.
    • The executed install script case in DesktopWslEnvironment.test.ts also fails here. Its file is the same as upstream's.
  • Focused runs pass: ThreadLaunchService, CodexAdapterV2, ThreadSettlementService, OrchestratorMcpService, storageCleanup, cli/config, AgentContextBudget, useHandleNewThread, BranchToolbar.logic, scheduledTasksSettings.logic.
  • vp run i18n:check passes.

Not run locally: browser tests (Chromium can't start on this host), a manual pass in a real client, the mcp-tool-use eval, and the fork release workflow end to end.

Model: Claude Opus 5.5; harness: Claude Code in T3 Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fryuni-proval[bot] reacted with thumbs up emoji fryuni-proval[bot] reacted with eyes emoji
All reactions
  • 👍 1 reaction
  • 👀 1 reaction
juliusmarminge and others added 30 commits November 21, 2026 14:35
@juliusmarminge
fix(server): a merge no longer settles an unlinked thread on another …
7b21adb
…thread's PR branch (pingdotgg#40564)
@StiensWout @juliusmarminge
fix(mobile): reuse gallery resources for workspace image taps (pingdo…
d3242f8
…tgg#40576)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
perf(server): turn-end git status reads the branch remote and remote …
6247463
…URL once (pingdotgg#40533)
@mwolson @juliusmarminge
fix(web): Keep background announcements quiet for held or stopped runs (
904e267
pingdotgg#40585)

Co-authored-by: Julius Marminge <[email protected]>
@Adamulek123 @juliusmarminge
perf(issues): reuse repository bindings when classifying markdown lin…
a480167
…ks (pingdotgg#40592)

Co-authored-by: Julius Marminge <[email protected]>
@Adamulek123 @juliusmarminge
perf(issues): read only the selected project tracker binding (pingdot…
b5709bb
…gg#40587)

Co-authored-by: Julius Marminge <[email protected]>
@Adamulek123 @juliusmarminge
perf(issues): read only link metadata when linking GitHub issues (pin…
76bb5ec
…gdotgg#40595)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge @claude
feat: read feature flags from one T3CODE_FEATURE_FLAGS service (pingd…
10586f9
…otgg#40594)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@navidnadali @juliusmarminge
fix(mcp): a child's async question no longer keeps its parent polling (…
63fa4c8
…pingdotgg#40604)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(acp): a late session update no longer marks a stopped thread acti…
2ea1c51
…ve (pingdotgg#40629)
@juliusmarminge
fix(web): Ctrl+click in the composer no longer outlines the whole line (
76b4218
pingdotgg#40628)
@juliusmarminge @kevincommits
fix(server): log when a settle script is skipped because its worktree…
b5a0352
… is gone (pingdotgg#40627)

Co-authored-by: Kevin Flores <[email protected]>
@MatthewFeroz @shivamhwp
fix(web): Cite button appears as fast after a double-click as after a…
a9447ce
… drag (pingdotgg#33221)

Co-authored-by: shivam <[email protected]>
@RibatTRW
fix(desktop): AppImage t3 serve stops cleanly under systemd (pingdotg…
67bf1e6
…g#40624)
@saphid @claude @shivamhwp
fix(relay): iOS notifications no longer cut an emoji in half at the t…
047fb5b
…itle limit (pingdotgg#29830)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: shivam <[email protected]>
@juliusmarminge @MostafaElAyoubi
perf(shared): Windows command lookups reuse PATH listings across requ…
5028eb1
…ests (pingdotgg#40634)

Co-authored-by: Mostafa El Ayoubi <[email protected]>
@navidnadali @juliusmarminge
fix(mcp): t3_thread_wait no longer has parents poll a task's first run (
83edd5e
pingdotgg#40633)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(server): reveal no longer opens Explorer's default folder for a m…
15d945f
…issing file (pingdotgg#40637)
@navidnadali @juliusmarminge
fix(server): a steer that missed its turn keeps its place in the queue (
90f0bac
pingdotgg#40622)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(web): wrapped prompt suggestion no longer overlaps the composer t…
3f08098
…oolbar (pingdotgg#40654)
@gbrasil720 @juliusmarminge
fix(server): refuse ref switches while a thread works in the shared c…
571b869
…heckout (pingdotgg#38271)

Co-authored-by: Julius Marminge <[email protected]>
@geezoria @geezoria1337 @juliusmarminge
fix(server): label speaker notes in OpenDocument attachments (pingdot…
c7a9fba
…gg#38542)

Co-authored-by: Geezy <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(server): folder discovery skips the walk when t3.json ignores the…
f9b19a7
… whole project (pingdotgg#40664)
@Sidreyas @juliusmarminge
fix(server): checkpoint repository scopes walk the project folder onc…
28a4200
…e per turn (pingdotgg#40671)

Co-authored-by: Julius Marminge <[email protected]>
@MIT-Consulting @juliusmarminge
fix(server,cursor): preserve inline handoff when a failed Cursor turn…
c5fa33b
… drops its prompt (pingdotgg#40670)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge @claude
@Yash-Singh1 @cursoragent @nsigel
perf(web): Markdown renders with Words as static islands under one sh…
0fb6ac6
…ared tooltip; remark leaves the web app (pingdotgg#27866)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Gemini 4 Neon <[email protected]>
Co-authored-by: Noah Sigel <[email protected]>
@juliusmarminge
fix(web): pasting text copied from Word inserts the text instead of a…
c1fbdf6
…n image (pingdotgg#40686)
@Yash-Singh1 @cursoragent
@juliusmarminge @claude
fix(web): wait for image uploads before sending (pingdotgg#40672)
3b3f880
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge
fix(server): provider refresh finds CLIs installed after launch on ma…
122d3bf
…cOS and Linux (pingdotgg#40693)
@MIT-Consulting @juliusmarminge
fix(mobile): replace undefined text-foreground-subtle token with text…
b9d0f70
…-foreground-muted (pingdotgg#40676)

Co-authored-by: Julius Marminge <[email protected]>
juliusmarminge and others added 22 commits November 23, 2026 00:00
@juliusmarminge
fix(server): provider updates keep running when the client disconnects (
fcdaef8
pingdotgg#27261)
@only21mil @juliusmarminge
fix(server): reject workflow signals with conflicting destinations (p…
e20e769
…ingdotgg#41312)

Co-authored-by: Julius Marminge <[email protected]>
@loia5tqd001 @juliusmarminge @claude
fix(desktop): declare Apple Events access for Computer Use cleanup (p…
37b316a
…ingdotgg#33869)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@Kazuya-Hibara @maria-rcks @juliusmarminge
fix(server): settling no longer ends background work the agent is wai…
f02a14e
…ting on (pingdotgg#31449)

Co-authored-by: Kazuya Hibara <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge @claude
fix(server): CLI single-executable builds again after MCP webhooks (p…
8c5bd6f
…ingdotgg#41326)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@only21mil @juliusmarminge
fix(server): preserve spaces in workflow store keys and prefixes (pin…
f0d160f
…gdotgg#41318)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(web): remote open uses the environment's saved SSH route (pingdot…
f4c38ca
…gg#27236)
@heki1224 @juliusmarminge
fix(web): an IME Escape no longer clears a typed font family (pingdot…
43d9d67
…gg#32768)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(web): caret lands after closing Markdown markers after a paste (p…
face82e
…ingdotgg#41327)
@juliusmarminge
feat(skills): launch videos can stage file edits, commits and MCP sig…
3389253
…n-in (pingdotgg#40202)
@navidnadali @juliusmarminge
perf(server): the full thread snapshot is streamed in bounded chunks (p…
e688cf1
…ingdotgg#30836)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge @claude
fix(server): a reconnect burst checks a watched project's branch once…
8851fb7
…, not per subscriber (pingdotgg#41309)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@StiensWout @juliusmarminge
fix(server): follow replacements along linked theme paths (pingdotgg#…
69f1d31
…41325)

Co-authored-by: Julius Marminge <[email protected]>
@Motaghi @maria-rcks @juliusmarminge
fix(shared): search cwd for empty POSIX PATH components (pingdotgg#28106
2a79803
)

Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
@bmmmm @juliusmarminge
fix(server): repository lookup shows why a repository was not found (p…
76de50b
…ingdotgg#31239)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
docs: prune internal and operations docs and enforce them in review (p…
780db26
…ingdotgg#41330)
@juliusmarminge
test(server): remove the flaky workflow store case (pingdotgg#41344)
f99808e
@only21mil @juliusmarminge
fix(server): RTF attachments that declare code page 0 or 866 reach th…
2de6287
…e agent as text (pingdotgg#41340)

Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(desktop): macOS SnapShot skips the window-sharing indicator (ping…
7180578
…dotgg#41334)
@shantanuojha Shantanu Ojha @juliusmarminge
fix(desktop): capture the whole oversized preview viewport (pingdotgg…
1368854
…#36286)

Co-authored-by: Shantanu Ojha <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
fix(web): retry a failed port-forward locality probe (pingdotgg#41353)
d63b9c4
@Fryuni
chore: sync upstream/main at d63b9c4
2b3cfb2
Copilot AI balanced review requested due to automatic review settings November 23, 2026 10:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T10:44:07.940755Z 2b3cfb2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI reviewed Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fryuni-proval

fryuni-proval Bot commented Nov 23, 2026

Copy link
Copy Markdown

@Fryuni, this is a big PR that touches desktop, mobile and tooling. The riskier pieces (header rewriting, shell signal handling, native hit targets) come with good tests.

Overview

Summary
Most of the PR is product changes:

  • Desktop: strips the synthetic t3code://app Origin from main-window requests to remote environments, adds shadow-DOM-aware element picking and IPv6-aware loopback port probing, hardens the AppImage CLI shim's signal handling, and adds a registry check before reporting WSL as available.
  • Mobile: adds an unlisted workflows tab, chunked Markdown and full-file previews, a larger checkbox tap target in the review diff, and fixes for the composer's pending-attachment counter.
  • Tooling: updates the agent skills, devcontainer, pnpm hooks and doc paths.

I didn't find anything that blocks merging.

Good points

  • 🟢 stripDesktopOriginHeaders (apps/desktop/src/window/RemoteRequestHeaders.ts) only rewrites headers for top-level main-webContents requests whose Origin exactly matches the desktop origin, and it fails closed when the frame lookup throws. RemoteRequestHeaders.test.ts covers the negative cases.
  • 🟢 The closed handler in apps/desktop/src/window/DesktopWindow.ts (~line 1064) only detaches the onBeforeSendHeaders listener if this window owns it. A stale window can't remove the listener a newer window installed, which matters because Electron allows only one such listener per session.
  • 🟢 apps/mobile/src/features/files/useFullFileText.ts refuses a download when content-length is missing or too large. This stops an unbounded body from being buffered into phone memory.
  • 🟢 apps/desktop/src/app/DesktopCliShim.test.ts covers group TERM, HUP, systemd's KillMode variants, exit-status passthrough and a closed stdin, which pins down shell behaviour that breaks easily.

Main Issues

None.

Additional Notes

  • apps/mobile/src/features/files/ThreadFilesRouteScreen.tsx, line 257: the JSDoc on selectable describes chunked Markdown rendering. The prop actually turns on iOS whole-file selectable text in source mode, so the comment should be reworded to say that.
  • apps/desktop/src/app/DesktopApp.ts, line 176: the // Spawns the local backend… comment now sits above restartOnFeatureFlagChange instead of startLocalBackend. Moving it back down would fix that.
  • apps/desktop/src/wsl/DesktopWslEnvironment.ts, line 1137: reg.exe is called by bare name and spawn failures are turned into false, while the existence check at line 1170 uses an absolute System32 path. Using path.join(windir, "System32", "reg.exe"), or logging spawn failures, would make a missing WSL easier to diagnose. That said, other wsl.exe calls in this file (e.g. line 188) also rely on PATH.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fryuni

Fryuni commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Thanks. The three additional notes are about upstream code this sync brings in unchanged: the selectable JSDoc in ThreadFilesRouteScreen.tsx, the moved comment in DesktopApp.ts, and the bare reg.exe call in DesktopWslEnvironment.ts. The fork has no diff in those files against upstream/main, so they're out of scope for a sync PR. Fixing them belongs upstream.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 23, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b3cfb237b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/workflows/WorkflowEngine.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Fryuni
Fryuni merged commit d742c5d into main Nov 23, 2026
9 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@Fryuni
Fryuni deleted the fryuni/merge-upstream-main-11 branch November 23, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

20 participants

@Fryuni @juliusmarminge @StiensWout @mwolson @Adamulek123 @navidnadali @MatthewFeroz @RibatTRW @saphid @gbrasil720 @geezoria @Sidreyas @MIT-Consulting @Yash-Singh1 @tiliakoos @brunobola @Jardo-51 @charlesbine @Tgoh
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.