Skip to content

fix(server): file saves no longer follow symlinks out of the workspace - #18819

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
saphid:t3code/sweep/workspace-write-symlink-escape
Oct 20, 2026
Merged

juliusmarminge merged 3 commits into
pingdotgg:mainfrom
saphid:t3code/sweep/workspace-write-symlink-escape

Conversation

@saphid

@saphid saphid commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Current assessment (2026-10-17): upstream #20449, commit 8e0d5e5e4d, now includes the containment behavior this PR proposed. At inspected main 44ecfd65b6, writes resolve the deepest existing ancestor, reject outside and dangling symlinks, and support links within the workspace and a symlinked workspace root. Main also requires known workspaces and protects Git metadata, safeguards this older branch must preserve.

The upstream symlink rejection/allowed-write cases passed in a fresh focused workspace test run using an overlay on the existing dependency checkout (the unrelated short-read candidate was present; it changes only reading). This is source inspection and focused test evidence, not a full-tree build or native Windows verification. This PR remains open and its branch is unchanged as instructed; its merge conflict is retained rather than reintroducing redundant older code or removing newer safeguards. The original proposal and historical evidence follow.


Problem

Saving a file from the file editor (projectsWriteFile) only checked the path lexically. If the project contains a symlink that points outside it (to a file, to a directory, or dangling), saving linked/notes.txt writes through the link. That can overwrite a file outside the workspace, or create one, and recursive parent creation can make directories outside it. Reads already reject the same path with WorkspaceFilePathEscapeError.

Change

Before writing, the server canonicalizes the workspace root and the deepest part of the target path that already exists (the file itself when it exists), appends the missing remainder, and rejects the write with the same escape error reads use if the result is outside the root. Directories are created and the file is written at that resolved path. Symlinks that stay inside the workspace, missing nested directories, and a symlinked workspace root keep working. A dangling symlink is now refused rather than written through.

Scope and approval

A focused bug fix (the write path did not honor the containment the read path already enforces), so it uses the no-prior-issue exception. One service.

Verification

  • New WorkspaceFileSystem.test.ts cases on real temp directories and symlinks. On main the three escape cases fail because the write succeeds: an outside file is overwritten through a file symlink, created through a dangling symlink, and created along with new directories under a directory symlink (log). With the fix, those writes are rejected and leave the outside tree unchanged; the allowed cases pass. 29 passed (log), rerun after rebasing on current main.
  • vp lint and apps/server typecheck: clean.
  • Independent review by GPT-6.1 Sol (high) through a T3 delegated task: no defects. It also checked ENOTDIR, .. normalization, dangling directory links and Windows drive/UNC handling.
  • Known limits: a symlink swapped in between the check and the write is not caught (Node has no per-component O_NOFOLLOW); native Windows was not run (symlink tests skip where symlinks are unsupported).

Found by a GPT-6.1 Sol (high) audit and implemented by Claude Opus 5.5 (high) in T3 Code. Reviewed by GPT-6.1 Sol. Coordinated by Claude Opus 5.5 in Claude Code via T3 Code. Agent-authored, sponsored by Alex Southwell.

🤖 Generated with Claude Code

projectsWriteFile only checked the requested path lexically, so a symlink
inside the workspace (to a file, a directory, or a missing outside target)
let a save overwrite or create files outside the project, and recursive
parent creation could make directories there. Reads already rejected the
same path.

Writes now canonicalize the workspace root and the deepest existing part of
the target path, reject anything that resolves outside the real root, and
write to the resolved path. Missing nested directories, symlinks that stay
inside the workspace, and symlinked workspace roots keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 12, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 1ce0635

Macroscope's review found this PR approvable — The reviewed head is identical to the base commit, with no changed files or runtime impact. The filesystem fix described by the title exists only in a superseded parent and is not included in this PR's final tree.

Notes:

  • No code objects were reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 179bdb98-ff42-4a0f-b848-66660523a907
📥 Commits

Reviewing files that changed from the base of the PR and between 511d20c and ea300fb.

📒 Files selected for processing (2)
  • apps/server/src/workspace/WorkspaceFileSystem.test.ts
  • apps/server/src/workspace/WorkspaceFileSystem.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

📝 Walkthrough

Workspace writes now resolve symlinks, verify that the canonical target remains inside the workspace, and write to that target. New tests cover outside-pointing and inside-pointing symlinks, dangling symlinks, and a workspace root reached through a symlink.

Changes: Workspace write boundary

Layer / File(s) Summary
Canonicalize and validate write targets
apps/server/src/workspace/WorkspaceFileSystem.ts, apps/server/src/workspace/WorkspaceFileSystem.test.ts
Write targets are resolved through symlinks and checked against the canonical workspace root. Directory-creation and write errors use the resolved target. Tests cover outside and inside symlinks, dangling symlinks, and a symlinked workspace root.

Priority: ➖ Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Suggested reviewers: juliusmarminge

Merge Risk: ⚪ Minimal · up to ea300

This change stops file saves from following symlinks out of the workspace, while still allowing in-workspace symlinks and symlinked workspace roots. No merge-blocking risk was identified. The one known limitation is a symlink swapped between the check and the write.

Security Architecture Review

Security architecture risk: 🔵 Low · up to ea300

The change strengthens protection against writes escaping the selected workspace. No introduced or worsened security concern was established, but concurrent filesystem changes remain outside the confinement guarantee, and workspace ownership assumptions are not fully established.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The sink executes with server-process filesystem permissions. Because the request supplies cwd and the inspected authorization checks an environment scope rather than a workspace identifier, canonical containment should not be interpreted as tenant isolation or authorization for a particular root. Potential exposure is bounded by the host paths writable by that process, not necessarily one registered project; this authority model is unchanged by the PR.

Security Findings and Attack Paths

  • inferred — A concurrent actor able to replace a validated target or parent component could still redirect a subsequent pathname-based mkdir or write outside the checked root. Canonical resolution is not atomic with mutation. Base already exposed pathname mutation without canonical confinement, so this is a pre-existing limitation, not an established introduced or worsened PR concern; concurrent-actor reachability remains unproven.

Trust Boundaries and Controls

  • observed — The WebSocket route authenticates a session and installs scope authorization. projectsWriteFile requires filesystem:write before delegating client-provided inputs to WorkspaceFileSystem. Lexical validation rejects absolute and parent-traversal write paths, and the new canonical check adds stable-tree symlink confinement before the sensitive filesystem sink.

Hardening Proposals

  • proposed — If confinement must hold against concurrent hostile filesystem mutation, evaluate descriptor-relative, race-resistant enforcement rooted in a trusted directory identity, together with adversarial replacement tests. Treat this as additional hardening beyond the PR's stable-tree protection.
Pre-merge checks: Passed 4
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly and concisely describes the main change: preventing server file saves from following symlinks outside the workspace.
Description check Passed The description includes the required Problem, Change, Scope and approval, and Verification sections. It explains the issue, implementation, testing results, known limitations, and approval rationale …
Full details: Description check

Explanation

The description includes the required Problem, Change, Scope and approval, and Verification sections. It explains the issue, implementation, testing results, known limitations, and approval rationale with sufficient detail.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size:XS 0-9 changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Oct 17, 2026
@juliusmarminge
juliusmarminge merged commit cf2f189 into pingdotgg:main Oct 20, 2026
27 checks passed
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Oct 20, 2026
## What's Changed
* fix(server): a Claude /goal no longer reads as complete while a background subagent runs by @Jreevo in pingdotgg/t3code#16598
* fix(clients): image threads use readable titles by @saphid in pingdotgg/t3code#19822
* fix(server): storage cleanup reaches archived threads' worktrees by @Info-Cado in pingdotgg/t3code#16473
* fix(server): skip native sessions during bulk import by @maria-rcks in pingdotgg/t3code#15634
* fix(web): settings project picker lists only the chosen environment's projects by @SwiggitySwerve in pingdotgg/t3code#18503
* fix(server): keep the shared Codex app-server scope alive after a tool OOM kill by @only21mil in pingdotgg/t3code#18329
* fix(server): review guides in a fork checkout cover only the pull request's change by @tris203 in pingdotgg/t3code#18312
* fix(server): isolate pull request sync reads by project by @saphid in pingdotgg/t3code#18854
* fix(opencode): send pasted images with turns and steers by @nkoynov in pingdotgg/t3code#16145
* fix(server): one bad legacy message no longer stops the server from starting by @shivamhwp in pingdotgg/t3code#15920
* fix(web): record the layout character in the keybinding editor by @macodev00 in pingdotgg/t3code#15972
* fix(web): new thread shortcut works while a sent draft sets up its worktree by @Gigioxx in pingdotgg/t3code#14538
* fix(web): preserve images copied from unsent drafts by @StiensWout in pingdotgg/t3code#17821
* fix(server): settle OpenCode model catalog before caching it by @ignaciorasetti in pingdotgg/t3code#16448
* fix(web): reject file suggestions from an older composer query by @saphid in pingdotgg/t3code#18845
* fix(threads): snoozed threads no longer wake early after background updates by @RakshithBhat03 in pingdotgg/t3code#16517
* fix(server): pnpm provider updates only offer versions pnpm will install by @tris203 in pingdotgg/t3code#19580
* fix(ssh): concurrent archive installs no longer race on uutils mkdir by @tris203 in pingdotgg/t3code#20059
* fix(provider-core): refresh installer metadata before explicit probes by @juliusmarminge in pingdotgg/t3code#21451
* fix(opencode): stop cancelled text generation sessions by @yashranaway in pingdotgg/t3code#10606
* fix(web): usage limits show one account popover at a time by @RakshithBhat03 in pingdotgg/t3code#18076
* fix(web): preview viewports keep their size when the main window is zoomed by @Ta-noshii in pingdotgg/t3code#14039
* fix(mobile): Android thread pane no longer ends short after switching threads by @PixPMusic in pingdotgg/t3code#18963
* fix(mobile): Android review diff scrolls to the end of long lines by @shivamhwp in pingdotgg/t3code#19431
* fix(web): open Azure DevOps PR links in the panel by @jvzijp in pingdotgg/t3code#10987
* fix(server): Changes totals compare the default branch with its tracking upstream by @abderbejaoui in pingdotgg/t3code#15393
* fix(desktop): explain why the update button is disabled by @saphid in pingdotgg/t3code#18404
* fix(ci): skip production workflows in forks by @JustYannicc in pingdotgg/t3code#21216
* test(web): fix flaky attachment preview and ACP search tests by @juliusmarminge in pingdotgg/t3code#21893
* fix(server): agent-device no longer launches the desktop app from Codex shells by @im-kvijay in pingdotgg/t3code#18301
* fix(clients): subagent bar stops guessing the subagent's effort by @fixfon in pingdotgg/t3code#15710
* fix(mobile): scroll to end jumps instead of glides when Reduce Motion is on by @saphid in pingdotgg/t3code#16015
* fix(desktop): preserve WSL runtime installation errors by @juliusmarminge in pingdotgg/t3code#21658
* fix(shared): read JSONC block comments containing URLs by @Lucenx9 in pingdotgg/t3code#19166
* fix(server): storage cleanup no longer counts hardlinked files as recovered space by @tris203 in pingdotgg/t3code#17910
* fix(server): answer requests that arrive before the HTTP handler attaches by @Gigioxx in pingdotgg/t3code#12291
* fix(server): clear snooze when settling threads by @rickheere in pingdotgg/t3code#17547
* fix(web): keep review comments inside the pull request's hunks by @agomesp in pingdotgg/t3code#12583
* fix(server): session import skips Codex subagent sessions by @Mnigos in pingdotgg/t3code#16662
* fix(prs): refresh viewed files after partial batch failures by @saphid in pingdotgg/t3code#14954
* fix(server): show recovery commands for stale Homebrew metadata by @juliusmarminge in pingdotgg/t3code#21452
* fix(web): the Cite button comes back once the timeline stops scrolling by @Mnigos in pingdotgg/t3code#15818
* fix(web): programmatic scrolls jump instead of glide when Reduce Motion is on by @saphid in pingdotgg/t3code#16014
* fix(server): scheduled tasks for No project launch in a scratch folder by @Mnigos in pingdotgg/t3code#17451
* fix(desktop): include Chrome app text in macOS SnapShots by @shivamhwp in pingdotgg/t3code#11325
* fix(shared): recognise Azure DevOps Server pull request links by @leorivastech in pingdotgg/t3code#14626
* fix(web): format text typed between existing backticks as inline code by @macodev00 in pingdotgg/t3code#17435
* fix(clients): handoffs between accounts show which account is on each side by @vitalyiegorov in pingdotgg/t3code#15477
* fix(mobile): app no longer stays on Loading environments after a locked background launch by @nekohasekai in pingdotgg/t3code#15894
* fix(desktop): stop window setup once the app starts quitting by @saphid in pingdotgg/t3code#18380
* fix(server): serve static files when the platform cannot open file handles by @pujitha24 in pingdotgg/t3code#14161
* fix(server): stop both completion-wake task cohorts by @matsvarn in pingdotgg/t3code#15331
* fix(web): PR code view keeps its scroll when a turn finishes by @sameerr03 in pingdotgg/t3code#13835
* fix(opencode): OpenCode Go quota stops show as usage limits by @Marker-bit in pingdotgg/t3code#18315
* fix(relay): preserve conversation routing in iOS push responses by @dannyclifford in pingdotgg/t3code#16350
* fix(server): a mid-turn usage update no longer hides a failed probe by @andrewwbuilds in pingdotgg/t3code#15116
* fix(server): settle Claude background agents when their process exits by @Exotic209093 in pingdotgg/t3code#19464
* fix(web): long pull request lists no longer hide thread details controls by @tannerpolley in pingdotgg/t3code#20031
* fix(server): show Codex Enterprise monthly credit limits by @Kamkmgamer in pingdotgg/t3code#14657
* fix(server): the turn after a stopped turn shows its diff again by @Ieruss in pingdotgg/t3code#17150
* fix(web): urgent and warning notices no longer hide behind activity banners by @mxdhavgautam in pingdotgg/t3code#18919
* fix(server): keep a failed service start out of the current state by @vitalyiegorov in pingdotgg/t3code#12199
* fix(desktop): Linux URL handler quotes the Exec path only when it must by @Mnigos in pingdotgg/t3code#16670
* fix(desktop): preserve signals in backend exit logs by @SunkenInTime in pingdotgg/t3code#15406
* fix(contracts): older clients still load PRs from newer servers by @tris203 in pingdotgg/t3code#19899
* fix(mobile): picking a model shows its remembered options before saving by @nekohasekai in pingdotgg/t3code#15719
* fix(web): right-panel launcher letters work while a closed menu stays mounted by @macodev00 in pingdotgg/t3code#18132
* fix(server): cloning into a new folder directly under a drive root no longer fails by @pujitha24 in pingdotgg/t3code#18265
* fix(server): forking a Claude thread works on instances with their own home by @singul-oss in pingdotgg/t3code#18662
* fix(server): Codex file-change approvals list the files they change by @only21mil in pingdotgg/t3code#18248
* fix(server): self-hosted GitLab projects resolve bare pull request numbers by @TonybynMp4 in pingdotgg/t3code#15395
* fix(web): loading no longer shifts the Files tree by @ilkaydnc in pingdotgg/t3code#13904
* fix(server): checkpoints work in Windows workspaces with paths over 260 characters by @K3irara in pingdotgg/t3code#13538
* fix(web): keep colliding diff paths readable and selectable by @macodev00 in pingdotgg/t3code#18133
* fix(web): repo-root-relative file chips open in subfolder projects by @Gigioxx in pingdotgg/t3code#14510
* fix(web): keep large collapsed file trees virtualized by @UtkarshUsername in pingdotgg/t3code#21831
* fix(web): place worktree details below their disclosure by @UtkarshUsername in pingdotgg/t3code#21853
* fix(bitbucket): advance pull request pages through tied updates by @saphid in pingdotgg/t3code#18813
* fix(server): Stop no longer leaves a killed background command showing as running by @spiky02plateau in pingdotgg/t3code#18163
* fix(desktop): keep PDF preview reloads inside the guest by @fsioni in pingdotgg/t3code#21733
* fix(usage): deduplicate native subscription accounts by @stephenjason89 in pingdotgg/t3code#10700
* fix(web): show native coordinator status in member lineage by @ashx-j in pingdotgg/t3code#18149
* fix(mobile): the split-view sidebar no longer crashes in an update loop by @PixPMusic in pingdotgg/t3code#21867
* test(web): pass openInShortcutEnabled in ThreadDetailsPanel browser test by @juliusmarminge in pingdotgg/t3code#21912
* fix(web): empty diff panel no longer flashes a loading skeleton on every refresh by @abhijeetsingh-22 in pingdotgg/t3code#17886
* fix(web): composer context strip no longer counts its padding as free space by @thymikee in pingdotgg/t3code#13642
* fix(web): default-branch confirmation keeps its copy while closing by @otavio in pingdotgg/t3code#16907
* fix(mobile): unsent drafts lead the thread list, matching web by @tris203 in pingdotgg/t3code#19818
* fix(web): remove collapsed sidebar controls from keyboard navigation by @saphid in pingdotgg/t3code#18849
* fix(server): storage cleanup finds the default branch when the remote has no HEAD ref by @tris203 in pingdotgg/t3code#17909
* fix(desktop): restore missing Start Menu shortcut by @itsmeares in pingdotgg/t3code#7829
* fix(desktop): handle macos command-plus zoom input by @maria-rcks in pingdotgg/t3code#18439
* fix(android): space the New thread FAB 16dp from the edge and tab bar by @PixPMusic in pingdotgg/t3code#18578
* fix(server): keep worktree creation working when git config is locked by @Gigioxx in pingdotgg/t3code#11773
* fix(server): recognize partial-clone remote annotations by @maxwellyoung in pingdotgg/t3code#16316
* fix(server): a retried thread creation replays after the project turns its provider off by @yordis in pingdotgg/t3code#18360
* fix(server): report ffmpeg errors when opening Android emulators by @tris203 in pingdotgg/t3code#18784
* fix(provider-cursor): use the selected context window for handoff budgets by @noahcuadrado in pingdotgg/t3code#17462
* fix(clients): async questions keep a running thread Working by @Gigioxx in pingdotgg/t3code#15430
* fix(web): keep action shortcuts when editing other fields by @saphid in pingdotgg/t3code#18412
* fix(composer): don't send attached threads to a machine that can't read them by @NikitaMGrimm in pingdotgg/t3code#18310
* fix(mobile): lift thread status above composer suggestions by @camchis in pingdotgg/t3code#17964
* fix(server): a git failure caused by a missing ref now says so by @tris203 in pingdotgg/t3code#17794
* fix(server): settings saves no longer revert external edits to settings.json by @f4llenz in pingdotgg/t3code#18582
* fix(desktop): preserve Linux device scale across updates by @jkramer5103 in pingdotgg/t3code#14421
* fix(web): worktree threads warn when the checkout branch changes by @tris203 in pingdotgg/t3code#14883
* fix(web): scope stash shortcuts to the composer and drawer by @saphid in pingdotgg/t3code#18841
* fix(web,mobile): stop the model preferences migration from looping on older servers by @f4llenz in pingdotgg/t3code#18581
* fix(web): sidebar test runs in the browser project and jsdom pragmas are rejected by @juliusmarminge in pingdotgg/t3code#21937
* refactor(mobile): use shared legal document controls by @juliusmarminge in pingdotgg/t3code#21914
* refactor(mobile): use shared project settings actions by @juliusmarminge in pingdotgg/t3code#21915
* refactor(mobile): use shared cache action rows by @juliusmarminge in pingdotgg/t3code#21916
* refactor(mobile): use shared open source license rows by @juliusmarminge in pingdotgg/t3code#21917
* refactor(mobile): consolidate shared action buttons by @juliusmarminge in pingdotgg/t3code#21940
* refactor(mobile): share settings and connection actions by @juliusmarminge in pingdotgg/t3code#21941
* refactor(mobile): share preview actions by @juliusmarminge in pingdotgg/t3code#21942
* refactor(mobile): simplify commit sheet and share thread actions by @juliusmarminge in pingdotgg/t3code#21943
* refactor(mobile): share pull request actions by @juliusmarminge in pingdotgg/t3code#21944
* refactor(mobile): adopt connection choice controls by @juliusmarminge in pingdotgg/t3code#21945
* refactor(mobile): reuse shared search fields by @juliusmarminge in pingdotgg/t3code#21946
* fix(client-runtime): incompatible hosts no longer switch environments off for good by @vitalyiegorov in pingdotgg/t3code#15052
* fix(web): settings shows the model a hidden default falls back to by @ValeraZSD in pingdotgg/t3code#13479
* fix(server): Codex turns without a saved effort run at the model's default by @davisonio in pingdotgg/t3code#20991
* refactor(mobile): unify sheet header actions by @juliusmarminge in pingdotgg/t3code#21978
* fix(server): new worktrees fetch their base branch's own remote by @stbenjam in pingdotgg/t3code#21032
* fix(web): show idle server updates on environment controls by @juliusmarminge in pingdotgg/t3code#21950
* fix(web): icons line up with the first line of their text by @akash3444 in pingdotgg/t3code#18636
* fix(provider-opencode): render native reads without XML envelopes by @juliusmarminge in pingdotgg/t3code#21507
* fix(web): settings search reaches rows in collapsed sections by @Gigioxx in pingdotgg/t3code#18903
* fix(web): style Antigravity download progress with accessible system colors by @juliusmarminge in pingdotgg/t3code#21874
* fix(pi): support persisted sessions in RPC launch by @juliusmarminge in pingdotgg/t3code#21511
* fix(web): render completed Mermaid blocks while streaming by @NikitaMGrimm in pingdotgg/t3code#18308
* fix(server): read only checkpoint rollback targets by @juliusmarminge in pingdotgg/t3code#21804
* fix(chat): open thread links across connected environments by @juliusmarminge in pingdotgg/t3code#21505
* fix(web): copy file paths relative to the thread workspace by @juliusmarminge in pingdotgg/t3code#21497
* fix(web): thread switches show only selected thread messages by @juliusmarminge in pingdotgg/t3code#21560
* takeover/composer chat 01 14372 by @juliusmarminge in pingdotgg/t3code#21441
* fix(server): preserve Codex hub plan metadata by @juliusmarminge in pingdotgg/t3code#21413
* fix(ssh): host discovery follows quoted Include paths by @juliusmarminge in pingdotgg/t3code#21396
* fix(web): dismiss removed usage popups without a corner jump by @juliusmarminge in pingdotgg/t3code#21879
* fix(shared): retain SQLite connection ownership through execution by @juliusmarminge in pingdotgg/t3code#21798
* fix(contracts): preserve exact transcript file identities by @juliusmarminge in pingdotgg/t3code#21463
* fix(ci): isolate full workspace dependency caches by @juliusmarminge in pingdotgg/t3code#21885
* fix(providers): blank question descriptions no longer fail runs by @juliusmarminge in pingdotgg/t3code#21762
* fix(contracts): preserve authoritative URLs on pull request links by @juliusmarminge in pingdotgg/t3code#21575
* fix(gitlab): pin merge actions to the current source SHA by @juliusmarminge in pingdotgg/t3code#21523
* fix(contracts): accept legacy writing styles when reading settings by @juliusmarminge in pingdotgg/t3code#21665
* fix(providers): preserve workspace model options by @juliusmarminge in pingdotgg/t3code#21531
* fix(server): stop shipping delegated task results twice by @bmdavis419 in pingdotgg/t3code#19759
* fix(acp): retain errors reported by idle work state by @juliusmarminge in pingdotgg/t3code#21614
* fix(web): add dividers around the load earlier label by @Yash-Singh1 in pingdotgg/t3code#22014
* fix(web): keep macOS Command-arrow navigation at editor boundaries by @Yash-Singh1 in pingdotgg/t3code#22011
* fix(server): provider settings saved during startup are no longer lost by @yaacovcorcos in pingdotgg/t3code#16580
* perf(acp): coalesce streamed text snapshots by @StiensWout in pingdotgg/t3code#19626
* feat(markdown): render LaTeX across web and native mobile by @Yash-Singh1 in pingdotgg/t3code#18735
* perf(acp): avoid re-encoding terminal output for every chunk by @StiensWout in pingdotgg/t3code#19607
* perf(server): stop each delegated child conversation once by @saphid in pingdotgg/t3code#18826
* fix(desktop): raise the window when a thread notification is clicked … by @zytact in pingdotgg/t3code#12567
* fix(device): launch older Android emulators and report boot failures by @Yash-Singh1 in pingdotgg/t3code#22012
* fix(server): Claude task lists survive a server restart by @TonybynMp4 in pingdotgg/t3code#18398
* fix(acp): keep model discovery and selection on the same option by @StiensWout in pingdotgg/t3code#19567
* fix(providers): badge initials stay readable on light accent colors by @ipanasenko in pingdotgg/t3code#16128
* fix(web): queued follow-ups show the quoted text instead of the citation link by @Mnigos in pingdotgg/t3code#18999
* fix(server): reject unusable user-input answers before the request resolves by @JonasFocus in pingdotgg/t3code#14884
* fix(web): collapsed diff files defer highlighting until opened by @stevan-borus in pingdotgg/t3code#16027
* fix(mcp): t3_thread_read tells agents which thread sent a message by @Mnigos in pingdotgg/t3code#18194
* fix(web): implementation menu opens while preserving composer focus by @NikaCholadze in pingdotgg/t3code#17111
* fix(pi): T3's orchestration guidance no longer overrides other extensions' prompt changes by @chrisb4096-alt in pingdotgg/t3code#18933
* fix(desktop): stop dev cleanup from terminating other worktrees by @saphid in pingdotgg/t3code#18397
* fix(server): honor disabled usage hub polling by @yashranaway in pingdotgg/t3code#10310
* fix(server): stop superseded provider startups by @Adamulek123 in pingdotgg/t3code#15784
* fix(server): removing a worktree on Windows no longer leaves junctions behind by @SunkenInTime in pingdotgg/t3code#15833
* fix(claude): Plan mode asks before writes in Auto and Full access by @maxwellyoung in pingdotgg/t3code#17963
* fix(preview): release original browser downloads after saving copies by @saphid in pingdotgg/t3code#18435
* fix(server): a Claude account with no rate-limit data no longer stays unsupported by @fixfon in pingdotgg/t3code#18624
* fix(server): allow more time for Pi model discovery by @MarcusNeufeldt in pingdotgg/t3code#15529
* fix(opencode): read usage from each instance data directory by @fixfon in pingdotgg/t3code#17759
* fix(codex): launch-arg MCP servers survive the thread's t3-code server by @lnieuwenhuis in pingdotgg/t3code#15839
* fix(server): select linked files when revealing on Linux by @AksharP5 in pingdotgg/t3code#14044
* fix(server): checkpoints skip a project folder its parent repo ignores by @JonasFocus in pingdotgg/t3code#14892
* fix(server): a zero Git fetch interval also stops the fetch on window focus by @Mnigos in pingdotgg/t3code#13253
* fix(server): cap checkpoint diffs across all batches by @saphid in pingdotgg/t3code#18395
* fix(opencode): a failed background subagent no longer pins its thread by @Fluffy-Bunny-23 in pingdotgg/t3code#21979
* fix(server): Device panel Portrait and Landscape no longer swap on Android tablets by @shivamhwp in pingdotgg/t3code#20182
* fix(server): file saves no longer follow symlinks out of the workspace by @saphid in pingdotgg/t3code#18819
* fix(server): stop reporting a separate git dir as a branch's worktree by @pujitha24 in pingdotgg/t3code#14157
* fix(server): automatically settle empty inactive threads by @Adamulek123 in pingdotgg/t3code#15783
* fix(mobile): synchronize Expo network path updates by @Yash-Singh1 in pingdotgg/t3code#22043
* fix(server): stop threads without resolving a run by @Yash-Singh1 in pingdotgg/t3code#22052

## New Contributors
* @Jreevo made their first contribution in pingdotgg/t3code#16598
* @Info-Cado made their first contribution in pingdotgg/t3code#16473
* @SwiggitySwerve made their first contribution in pingdotgg/t3code#18503
* @ignaciorasetti made their first contribution in pingdotgg/t3code#16448
* @Ta-noshii made their first contribution in pingdotgg/t3code#14039
* @abderbejaoui made their first contribution in pingdotgg/t3code#15393
* @rickheere made their first contribution in pingdotgg/t3code#17547
* @agomesp made their first contribution in pingdotgg/t3code#12583
* @matsvarn made their first contribution in pingdotgg/t3code#15331
* @Marker-bit made their first contribution in pingdotgg/t3code#18315
* @dannyclifford made their first contribution in pingdotgg/t3code#16350
* @andrewwbuilds made their first contribution in pingdotgg/t3code#15116
* @Ieruss made their first contribution in pingdotgg/t3code#17150
* @singul-oss made their first contribution in pingdotgg/t3code#18662
* @ilkaydnc made their first contribution in pingdotgg/t3code#13904
* @K3irara made their first contribution in pingdotgg/t3code#13538
* @fsioni made their first contribution in pingdotgg/t3code#21733
* @stephenjason89 made their first contribution in pingdotgg/t3code#10700
* @ashx-j made their first contribution in pingdotgg/t3code#18149
* @thymikee made their first contribution in pingdotgg/t3code#13642
* @itsmeares made their first contribution in pingdotgg/t3code#7829
* @noahcuadrado made their first contribution in pingdotgg/t3code#17462
* @f4llenz made their first contribution in pingdotgg/t3code#18582
* @jkramer5103 made their first contribution in pingdotgg/t3code#14421
* @davisonio made their first contribution in pingdotgg/t3code#20991
* @stbenjam made their first contribution in pingdotgg/t3code#21032
* @zytact made their first contribution in pingdotgg/t3code#12567
* @NikaCholadze made their first contribution in pingdotgg/t3code#17111
* @chrisb4096-alt made their first contribution in pingdotgg/t3code#18933
* @MarcusNeufeldt made their first contribution in pingdotgg/t3code#15529

**Full Changelog**: pingdotgg/t3code@v0.1.1-nightly.20261019.3373...v0.1.1-nightly.20261020.3386

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.1-nightly.20261020.3386
github-actions Bot added a commit to davidvanderklay/t3code-flake that referenced this pull request Oct 20, 2026
## What's Changed
* fix(server): a Claude /goal no longer reads as complete while a background subagent runs by @Jreevo in pingdotgg/t3code#16598
* fix(clients): image threads use readable titles by @saphid in pingdotgg/t3code#19822
* fix(server): storage cleanup reaches archived threads' worktrees by @Info-Cado in pingdotgg/t3code#16473
* fix(server): skip native sessions during bulk import by @maria-rcks in pingdotgg/t3code#15634
* fix(web): settings project picker lists only the chosen environment's projects by @SwiggitySwerve in pingdotgg/t3code#18503
* fix(server): keep the shared Codex app-server scope alive after a tool OOM kill by @only21mil in pingdotgg/t3code#18329
* fix(server): review guides in a fork checkout cover only the pull request's change by @tris203 in pingdotgg/t3code#18312
* fix(server): isolate pull request sync reads by project by @saphid in pingdotgg/t3code#18854
* fix(opencode): send pasted images with turns and steers by @nkoynov in pingdotgg/t3code#16145
* fix(server): one bad legacy message no longer stops the server from starting by @shivamhwp in pingdotgg/t3code#15920
* fix(web): record the layout character in the keybinding editor by @macodev00 in pingdotgg/t3code#15972
* fix(web): new thread shortcut works while a sent draft sets up its worktree by @Gigioxx in pingdotgg/t3code#14538
* fix(web): preserve images copied from unsent drafts by @StiensWout in pingdotgg/t3code#17821
* fix(server): settle OpenCode model catalog before caching it by @ignaciorasetti in pingdotgg/t3code#16448
* fix(web): reject file suggestions from an older composer query by @saphid in pingdotgg/t3code#18845
* fix(threads): snoozed threads no longer wake early after background updates by @RakshithBhat03 in pingdotgg/t3code#16517
* fix(server): pnpm provider updates only offer versions pnpm will install by @tris203 in pingdotgg/t3code#19580
* fix(ssh): concurrent archive installs no longer race on uutils mkdir by @tris203 in pingdotgg/t3code#20059
* fix(provider-core): refresh installer metadata before explicit probes by @juliusmarminge in pingdotgg/t3code#21451
* fix(opencode): stop cancelled text generation sessions by @yashranaway in pingdotgg/t3code#10606
* fix(web): usage limits show one account popover at a time by @RakshithBhat03 in pingdotgg/t3code#18076
* fix(web): preview viewports keep their size when the main window is zoomed by @Ta-noshii in pingdotgg/t3code#14039
* fix(mobile): Android thread pane no longer ends short after switching threads by @PixPMusic in pingdotgg/t3code#18963
* fix(mobile): Android review diff scrolls to the end of long lines by @shivamhwp in pingdotgg/t3code#19431
* fix(web): open Azure DevOps PR links in the panel by @jvzijp in pingdotgg/t3code#10987
* fix(server): Changes totals compare the default branch with its tracking upstream by @abderbejaoui in pingdotgg/t3code#15393
* fix(desktop): explain why the update button is disabled by @saphid in pingdotgg/t3code#18404
* fix(ci): skip production workflows in forks by @JustYannicc in pingdotgg/t3code#21216
* test(web): fix flaky attachment preview and ACP search tests by @juliusmarminge in pingdotgg/t3code#21893
* fix(server): agent-device no longer launches the desktop app from Codex shells by @im-kvijay in pingdotgg/t3code#18301
* fix(clients): subagent bar stops guessing the subagent's effort by @fixfon in pingdotgg/t3code#15710
* fix(mobile): scroll to end jumps instead of glides when Reduce Motion is on by @saphid in pingdotgg/t3code#16015
* fix(desktop): preserve WSL runtime installation errors by @juliusmarminge in pingdotgg/t3code#21658
* fix(shared): read JSONC block comments containing URLs by @Lucenx9 in pingdotgg/t3code#19166
* fix(server): storage cleanup no longer counts hardlinked files as recovered space by @tris203 in pingdotgg/t3code#17910
* fix(server): answer requests that arrive before the HTTP handler attaches by @Gigioxx in pingdotgg/t3code#12291
* fix(server): clear snooze when settling threads by @rickheere in pingdotgg/t3code#17547
* fix(web): keep review comments inside the pull request's hunks by @agomesp in pingdotgg/t3code#12583
* fix(server): session import skips Codex subagent sessions by @Mnigos in pingdotgg/t3code#16662
* fix(prs): refresh viewed files after partial batch failures by @saphid in pingdotgg/t3code#14954
* fix(server): show recovery commands for stale Homebrew metadata by @juliusmarminge in pingdotgg/t3code#21452
* fix(web): the Cite button comes back once the timeline stops scrolling by @Mnigos in pingdotgg/t3code#15818
* fix(web): programmatic scrolls jump instead of glide when Reduce Motion is on by @saphid in pingdotgg/t3code#16014
* fix(server): scheduled tasks for No project launch in a scratch folder by @Mnigos in pingdotgg/t3code#17451
* fix(desktop): include Chrome app text in macOS SnapShots by @shivamhwp in pingdotgg/t3code#11325
* fix(shared): recognise Azure DevOps Server pull request links by @leorivastech in pingdotgg/t3code#14626
* fix(web): format text typed between existing backticks as inline code by @macodev00 in pingdotgg/t3code#17435
* fix(clients): handoffs between accounts show which account is on each side by @vitalyiegorov in pingdotgg/t3code#15477
* fix(mobile): app no longer stays on Loading environments after a locked background launch by @nekohasekai in pingdotgg/t3code#15894
* fix(desktop): stop window setup once the app starts quitting by @saphid in pingdotgg/t3code#18380
* fix(server): serve static files when the platform cannot open file handles by @pujitha24 in pingdotgg/t3code#14161
* fix(server): stop both completion-wake task cohorts by @matsvarn in pingdotgg/t3code#15331
* fix(web): PR code view keeps its scroll when a turn finishes by @sameerr03 in pingdotgg/t3code#13835
* fix(opencode): OpenCode Go quota stops show as usage limits by @Marker-bit in pingdotgg/t3code#18315
* fix(relay): preserve conversation routing in iOS push responses by @dannyclifford in pingdotgg/t3code#16350
* fix(server): a mid-turn usage update no longer hides a failed probe by @andrewwbuilds in pingdotgg/t3code#15116
* fix(server): settle Claude background agents when their process exits by @Exotic209093 in pingdotgg/t3code#19464
* fix(web): long pull request lists no longer hide thread details controls by @tannerpolley in pingdotgg/t3code#20031
* fix(server): show Codex Enterprise monthly credit limits by @Kamkmgamer in pingdotgg/t3code#14657
* fix(server): the turn after a stopped turn shows its diff again by @Ieruss in pingdotgg/t3code#17150
* fix(web): urgent and warning notices no longer hide behind activity banners by @mxdhavgautam in pingdotgg/t3code#18919
* fix(server): keep a failed service start out of the current state by @vitalyiegorov in pingdotgg/t3code#12199
* fix(desktop): Linux URL handler quotes the Exec path only when it must by @Mnigos in pingdotgg/t3code#16670
* fix(desktop): preserve signals in backend exit logs by @SunkenInTime in pingdotgg/t3code#15406
* fix(contracts): older clients still load PRs from newer servers by @tris203 in pingdotgg/t3code#19899
* fix(mobile): picking a model shows its remembered options before saving by @nekohasekai in pingdotgg/t3code#15719
* fix(web): right-panel launcher letters work while a closed menu stays mounted by @macodev00 in pingdotgg/t3code#18132
* fix(server): cloning into a new folder directly under a drive root no longer fails by @pujitha24 in pingdotgg/t3code#18265
* fix(server): forking a Claude thread works on instances with their own home by @singul-oss in pingdotgg/t3code#18662
* fix(server): Codex file-change approvals list the files they change by @only21mil in pingdotgg/t3code#18248
* fix(server): self-hosted GitLab projects resolve bare pull request numbers by @TonybynMp4 in pingdotgg/t3code#15395
* fix(web): loading no longer shifts the Files tree by @ilkaydnc in pingdotgg/t3code#13904
* fix(server): checkpoints work in Windows workspaces with paths over 260 characters by @K3irara in pingdotgg/t3code#13538
* fix(web): keep colliding diff paths readable and selectable by @macodev00 in pingdotgg/t3code#18133
* fix(web): repo-root-relative file chips open in subfolder projects by @Gigioxx in pingdotgg/t3code#14510
* fix(web): keep large collapsed file trees virtualized by @UtkarshUsername in pingdotgg/t3code#21831
* fix(web): place worktree details below their disclosure by @UtkarshUsername in pingdotgg/t3code#21853
* fix(bitbucket): advance pull request pages through tied updates by @saphid in pingdotgg/t3code#18813
* fix(server): Stop no longer leaves a killed background command showing as running by @spiky02plateau in pingdotgg/t3code#18163
* fix(desktop): keep PDF preview reloads inside the guest by @fsioni in pingdotgg/t3code#21733
* fix(usage): deduplicate native subscription accounts by @stephenjason89 in pingdotgg/t3code#10700
* fix(web): show native coordinator status in member lineage by @ashx-j in pingdotgg/t3code#18149
* fix(mobile): the split-view sidebar no longer crashes in an update loop by @PixPMusic in pingdotgg/t3code#21867
* test(web): pass openInShortcutEnabled in ThreadDetailsPanel browser test by @juliusmarminge in pingdotgg/t3code#21912
* fix(web): empty diff panel no longer flashes a loading skeleton on every refresh by @abhijeetsingh-22 in pingdotgg/t3code#17886
* fix(web): composer context strip no longer counts its padding as free space by @thymikee in pingdotgg/t3code#13642
* fix(web): default-branch confirmation keeps its copy while closing by @otavio in pingdotgg/t3code#16907
* fix(mobile): unsent drafts lead the thread list, matching web by @tris203 in pingdotgg/t3code#19818
* fix(web): remove collapsed sidebar controls from keyboard navigation by @saphid in pingdotgg/t3code#18849
* fix(server): storage cleanup finds the default branch when the remote has no HEAD ref by @tris203 in pingdotgg/t3code#17909
* fix(desktop): restore missing Start Menu shortcut by @itsmeares in pingdotgg/t3code#7829
* fix(desktop): handle macos command-plus zoom input by @maria-rcks in pingdotgg/t3code#18439
* fix(android): space the New thread FAB 16dp from the edge and tab bar by @PixPMusic in pingdotgg/t3code#18578
* fix(server): keep worktree creation working when git config is locked by @Gigioxx in pingdotgg/t3code#11773
* fix(server): recognize partial-clone remote annotations by @maxwellyoung in pingdotgg/t3code#16316
* fix(server): a retried thread creation replays after the project turns its provider off by @yordis in pingdotgg/t3code#18360
* fix(server): report ffmpeg errors when opening Android emulators by @tris203 in pingdotgg/t3code#18784
* fix(provider-cursor): use the selected context window for handoff budgets by @noahcuadrado in pingdotgg/t3code#17462
* fix(clients): async questions keep a running thread Working by @Gigioxx in pingdotgg/t3code#15430
* fix(web): keep action shortcuts when editing other fields by @saphid in pingdotgg/t3code#18412
* fix(composer): don't send attached threads to a machine that can't read them by @NikitaMGrimm in pingdotgg/t3code#18310
* fix(mobile): lift thread status above composer suggestions by @camchis in pingdotgg/t3code#17964
* fix(server): a git failure caused by a missing ref now says so by @tris203 in pingdotgg/t3code#17794
* fix(server): settings saves no longer revert external edits to settings.json by @f4llenz in pingdotgg/t3code#18582
* fix(desktop): preserve Linux device scale across updates by @jkramer5103 in pingdotgg/t3code#14421
* fix(web): worktree threads warn when the checkout branch changes by @tris203 in pingdotgg/t3code#14883
* fix(web): scope stash shortcuts to the composer and drawer by @saphid in pingdotgg/t3code#18841
* fix(web,mobile): stop the model preferences migration from looping on older servers by @f4llenz in pingdotgg/t3code#18581
* fix(web): sidebar test runs in the browser project and jsdom pragmas are rejected by @juliusmarminge in pingdotgg/t3code#21937
* refactor(mobile): use shared legal document controls by @juliusmarminge in pingdotgg/t3code#21914
* refactor(mobile): use shared project settings actions by @juliusmarminge in pingdotgg/t3code#21915
* refactor(mobile): use shared cache action rows by @juliusmarminge in pingdotgg/t3code#21916
* refactor(mobile): use shared open source license rows by @juliusmarminge in pingdotgg/t3code#21917
* refactor(mobile): consolidate shared action buttons by @juliusmarminge in pingdotgg/t3code#21940
* refactor(mobile): share settings and connection actions by @juliusmarminge in pingdotgg/t3code#21941
* refactor(mobile): share preview actions by @juliusmarminge in pingdotgg/t3code#21942
* refactor(mobile): simplify commit sheet and share thread actions by @juliusmarminge in pingdotgg/t3code#21943
* refactor(mobile): share pull request actions by @juliusmarminge in pingdotgg/t3code#21944
* refactor(mobile): adopt connection choice controls by @juliusmarminge in pingdotgg/t3code#21945
* refactor(mobile): reuse shared search fields by @juliusmarminge in pingdotgg/t3code#21946
* fix(client-runtime): incompatible hosts no longer switch environments off for good by @vitalyiegorov in pingdotgg/t3code#15052
* fix(web): settings shows the model a hidden default falls back to by @ValeraZSD in pingdotgg/t3code#13479
* fix(server): Codex turns without a saved effort run at the model's default by @davisonio in pingdotgg/t3code#20991
* refactor(mobile): unify sheet header actions by @juliusmarminge in pingdotgg/t3code#21978
* fix(server): new worktrees fetch their base branch's own remote by @stbenjam in pingdotgg/t3code#21032
* fix(web): show idle server updates on environment controls by @juliusmarminge in pingdotgg/t3code#21950
* fix(web): icons line up with the first line of their text by @akash3444 in pingdotgg/t3code#18636
* fix(provider-opencode): render native reads without XML envelopes by @juliusmarminge in pingdotgg/t3code#21507
* fix(web): settings search reaches rows in collapsed sections by @Gigioxx in pingdotgg/t3code#18903
* fix(web): style Antigravity download progress with accessible system colors by @juliusmarminge in pingdotgg/t3code#21874
* fix(pi): support persisted sessions in RPC launch by @juliusmarminge in pingdotgg/t3code#21511
* fix(web): render completed Mermaid blocks while streaming by @NikitaMGrimm in pingdotgg/t3code#18308
* fix(server): read only checkpoint rollback targets by @juliusmarminge in pingdotgg/t3code#21804
* fix(chat): open thread links across connected environments by @juliusmarminge in pingdotgg/t3code#21505
* fix(web): copy file paths relative to the thread workspace by @juliusmarminge in pingdotgg/t3code#21497
* fix(web): thread switches show only selected thread messages by @juliusmarminge in pingdotgg/t3code#21560
* takeover/composer chat 01 14372 by @juliusmarminge in pingdotgg/t3code#21441
* fix(server): preserve Codex hub plan metadata by @juliusmarminge in pingdotgg/t3code#21413
* fix(ssh): host discovery follows quoted Include paths by @juliusmarminge in pingdotgg/t3code#21396
* fix(web): dismiss removed usage popups without a corner jump by @juliusmarminge in pingdotgg/t3code#21879
* fix(shared): retain SQLite connection ownership through execution by @juliusmarminge in pingdotgg/t3code#21798
* fix(contracts): preserve exact transcript file identities by @juliusmarminge in pingdotgg/t3code#21463
* fix(ci): isolate full workspace dependency caches by @juliusmarminge in pingdotgg/t3code#21885
* fix(providers): blank question descriptions no longer fail runs by @juliusmarminge in pingdotgg/t3code#21762
* fix(contracts): preserve authoritative URLs on pull request links by @juliusmarminge in pingdotgg/t3code#21575
* fix(gitlab): pin merge actions to the current source SHA by @juliusmarminge in pingdotgg/t3code#21523
* fix(contracts): accept legacy writing styles when reading settings by @juliusmarminge in pingdotgg/t3code#21665
* fix(providers): preserve workspace model options by @juliusmarminge in pingdotgg/t3code#21531
* fix(server): stop shipping delegated task results twice by @bmdavis419 in pingdotgg/t3code#19759
* fix(acp): retain errors reported by idle work state by @juliusmarminge in pingdotgg/t3code#21614
* fix(web): add dividers around the load earlier label by @Yash-Singh1 in pingdotgg/t3code#22014
* fix(web): keep macOS Command-arrow navigation at editor boundaries by @Yash-Singh1 in pingdotgg/t3code#22011
* fix(server): provider settings saved during startup are no longer lost by @yaacovcorcos in pingdotgg/t3code#16580
* perf(acp): coalesce streamed text snapshots by @StiensWout in pingdotgg/t3code#19626
* feat(markdown): render LaTeX across web and native mobile by @Yash-Singh1 in pingdotgg/t3code#18735
* perf(acp): avoid re-encoding terminal output for every chunk by @StiensWout in pingdotgg/t3code#19607
* perf(server): stop each delegated child conversation once by @saphid in pingdotgg/t3code#18826
* fix(desktop): raise the window when a thread notification is clicked … by @zytact in pingdotgg/t3code#12567
* fix(device): launch older Android emulators and report boot failures by @Yash-Singh1 in pingdotgg/t3code#22012
* fix(server): Claude task lists survive a server restart by @TonybynMp4 in pingdotgg/t3code#18398
* fix(acp): keep model discovery and selection on the same option by @StiensWout in pingdotgg/t3code#19567
* fix(providers): badge initials stay readable on light accent colors by @ipanasenko in pingdotgg/t3code#16128
* fix(web): queued follow-ups show the quoted text instead of the citation link by @Mnigos in pingdotgg/t3code#18999
* fix(server): reject unusable user-input answers before the request resolves by @JonasFocus in pingdotgg/t3code#14884
* fix(web): collapsed diff files defer highlighting until opened by @stevan-borus in pingdotgg/t3code#16027
* fix(mcp): t3_thread_read tells agents which thread sent a message by @Mnigos in pingdotgg/t3code#18194
* fix(web): implementation menu opens while preserving composer focus by @NikaCholadze in pingdotgg/t3code#17111
* fix(pi): T3's orchestration guidance no longer overrides other extensions' prompt changes by @chrisb4096-alt in pingdotgg/t3code#18933
* fix(desktop): stop dev cleanup from terminating other worktrees by @saphid in pingdotgg/t3code#18397
* fix(server): honor disabled usage hub polling by @yashranaway in pingdotgg/t3code#10310
* fix(server): stop superseded provider startups by @Adamulek123 in pingdotgg/t3code#15784
* fix(server): removing a worktree on Windows no longer leaves junctions behind by @SunkenInTime in pingdotgg/t3code#15833
* fix(claude): Plan mode asks before writes in Auto and Full access by @maxwellyoung in pingdotgg/t3code#17963
* fix(preview): release original browser downloads after saving copies by @saphid in pingdotgg/t3code#18435
* fix(server): a Claude account with no rate-limit data no longer stays unsupported by @fixfon in pingdotgg/t3code#18624
* fix(server): allow more time for Pi model discovery by @MarcusNeufeldt in pingdotgg/t3code#15529
* fix(opencode): read usage from each instance data directory by @fixfon in pingdotgg/t3code#17759
* fix(codex): launch-arg MCP servers survive the thread's t3-code server by @lnieuwenhuis in pingdotgg/t3code#15839
* fix(server): select linked files when revealing on Linux by @AksharP5 in pingdotgg/t3code#14044
* fix(server): checkpoints skip a project folder its parent repo ignores by @JonasFocus in pingdotgg/t3code#14892
* fix(server): a zero Git fetch interval also stops the fetch on window focus by @Mnigos in pingdotgg/t3code#13253
* fix(server): cap checkpoint diffs across all batches by @saphid in pingdotgg/t3code#18395
* fix(opencode): a failed background subagent no longer pins its thread by @Fluffy-Bunny-23 in pingdotgg/t3code#21979
* fix(server): Device panel Portrait and Landscape no longer swap on Android tablets by @shivamhwp in pingdotgg/t3code#20182
* fix(server): file saves no longer follow symlinks out of the workspace by @saphid in pingdotgg/t3code#18819
* fix(server): stop reporting a separate git dir as a branch's worktree by @pujitha24 in pingdotgg/t3code#14157
* fix(server): automatically settle empty inactive threads by @Adamulek123 in pingdotgg/t3code#15783
* fix(mobile): synchronize Expo network path updates by @Yash-Singh1 in pingdotgg/t3code#22043
* fix(server): stop threads without resolving a run by @Yash-Singh1 in pingdotgg/t3code#22052

## New Contributors
* @Jreevo made their first contribution in pingdotgg/t3code#16598
* @Info-Cado made their first contribution in pingdotgg/t3code#16473
* @SwiggitySwerve made their first contribution in pingdotgg/t3code#18503
* @ignaciorasetti made their first contribution in pingdotgg/t3code#16448
* @Ta-noshii made their first contribution in pingdotgg/t3code#14039
* @abderbejaoui made their first contribution in pingdotgg/t3code#15393
* @rickheere made their first contribution in pingdotgg/t3code#17547
* @agomesp made their first contribution in pingdotgg/t3code#12583
* @matsvarn made their first contribution in pingdotgg/t3code#15331
* @Marker-bit made their first contribution in pingdotgg/t3code#18315
* @dannyclifford made their first contribution in pingdotgg/t3code#16350
* @andrewwbuilds made their first contribution in pingdotgg/t3code#15116
* @Ieruss made their first contribution in pingdotgg/t3code#17150
* @singul-oss made their first contribution in pingdotgg/t3code#18662
* @ilkaydnc made their first contribution in pingdotgg/t3code#13904
* @K3irara made their first contribution in pingdotgg/t3code#13538
* @fsioni made their first contribution in pingdotgg/t3code#21733
* @stephenjason89 made their first contribution in pingdotgg/t3code#10700
* @ashx-j made their first contribution in pingdotgg/t3code#18149
* @thymikee made their first contribution in pingdotgg/t3code#13642
* @itsmeares made their first contribution in pingdotgg/t3code#7829
* @noahcuadrado made their first contribution in pingdotgg/t3code#17462
* @f4llenz made their first contribution in pingdotgg/t3code#18582
* @jkramer5103 made their first contribution in pingdotgg/t3code#14421
* @davisonio made their first contribution in pingdotgg/t3code#20991
* @stbenjam made their first contribution in pingdotgg/t3code#21032
* @zytact made their first contribution in pingdotgg/t3code#12567
* @NikaCholadze made their first contribution in pingdotgg/t3code#17111
* @chrisb4096-alt made their first contribution in pingdotgg/t3code#18933
* @MarcusNeufeldt made their first contribution in pingdotgg/t3code#15529

**Full Changelog**: pingdotgg/t3code@v0.1.1-nightly.20261019.3373...v0.1.1-nightly.20261020.3386

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.1-nightly.20261020.3386
aorwall added a commit to aorwall/t3code that referenced this pull request Oct 20, 2026
Merges upstream `pingdotgg/t3code` at `143ab1606d` (base `ab6be13d43`,
376 commits) into the fork. No merge PR was open, so this branches from
`main`.

## Merge

- **Landed:** 1177 files out of 1177 in the upstream range. The only
missing files are `apps/server/src/cli/pair.ts` and its test, which the
fork deliberately keeps deleted. The fork delta is now 817 files.
- **Conflicts:** 14, each resolved by its `preflight.mjs` verdict. The
tracker entry in `docs/fork/upstream-merge-log.md` covers each one. The
ones a reviewer should read:
- **`ProjectDefaultsSettings.tsx`:** upstream moved the
agent-browser-access row to `IntegrationsSettings.tsx`
(`AgentBrowserAccessSetting`). The fork's `workspaceOwnsProjectDefaults`
gate moved with it and returns null at a Workspace project scope.
- **`terminal.ts`:** keeps the fork's `TerminalMetadataState` seed and
takes upstream's `Stream.drop(1)`. Upstream's new `runtime.test.ts`
metadata test now reads `.terminals`.
- **`Sidebar.tsx` / `Sidebar.logic.ts`:** upstream's new
`resolveSidebarRowThreadId` resolves against the unfiltered shells. It
now takes `source`, because the fork's `isSidebarSubagentThread` hides
only provider-native subagents.
- **`ChatView.tsx` (auto-merged):** the fork's hosted script path calls
`storeSetActiveTerminal` again. The local path drops its early
`setTerminalOpen(true)`, following upstream pingdotgg#18340, so the drawer no
longer claims the default terminal id.
- **`AGENTS.md`:** keeps the fork's prose and adds upstream's new
`Effect.fn` rule.
- **`apps/mobile/package.json`:** takes upstream's test script and keeps
`tsc` rather than `tsc-rs`.
- **`pnpm-lock.yaml`:** `tsc-rs` entries stripped, then re-derived with
`install.mjs`.
- **Other fixes:**
- `fork/goToDefinition.test.ts` moved to browser mode for upstream's new
`no-dom-test-environment` lint rule.
- `ThreadDetailsPrRows.browser.test.tsx` now passes
`activeProjectScriptsEditable`.
- One new `duplicateAddExceptions` entry was added and one stale one
retired.
- **Unsupported methods:** ADD 0, DROP 0, KEEP 2.
`packages/contracts/src/rpc.ts` is unchanged.

## Verification

`verify.mjs --sequential`:
- duplicate-adds, tripwires, resolution-check, unsupported-methods,
lockfile, fmt, lint, typecheck and build all pass.
- `test` fails. The files that fail when run alone are the same five as
on 2026-10-19 (`AgentScope`, `OpenCodeServerLedger`, ssh `tunnel`,
`AcpAdapterV2`, `OrchestratorReplayFixtures`), all sandbox
process-reaping or auth issues.
- Two new failures are also environmental: the partial-clone tests in
`GitVcsDriver.test.ts` and `RepositoryIdentityResolver.test.ts`. The
sandbox's `~/.gitconfig` rewrites `git@github.com:` to https with
`insteadOf`.
- `@t3tools/web` had one real failure, upstream's new Sidebar subagent
test. It is fixed and passes on its own.

**Caveat:** the last amend changed only that test fixture and the docs.
The sandbox restarted three times during this run, and the typecheck and
fmt re-run after that amend did not finish. A follow-up comment will
report it.

## Usable as-is
- LaTeX/KaTeX math in chat markdown, behind the client setting
`mathRenderingEnabled` in Appearance, off by default (pingdotgg#18735).
- Mermaid renders while a message streams (pingdotgg#18308). Large changed-file
trees are virtualized (pingdotgg#21482, pingdotgg#21831). HTML previews skip the loading
skeleton (pingdotgg#21480).
- Pasted folders become workspace references (pingdotgg#22072). PR check rows
aligned, and skipped checks get a slash icon (pingdotgg#22090, pingdotgg#21498). A
confirmation before "Close with comment" (pingdotgg#18175).
- Subagent overflow badge (pingdotgg#19860). Context usage survives a fork
(pingdotgg#22075). Copy paths relative to the thread workspace (pingdotgg#21497). PDF
preview (pingdotgg#21095).
- Contract decoding tolerates newer PR shapes (`ForwardCompatibleArray`
/ `ForwardCompatibleOptional`; pingdotgg#19899, pingdotgg#21575, pingdotgg#21665).
- In-app browser search engine settings (pingdotgg#17688). These are client-only,
but they only matter where the browser panel is exposed.

## Unsupported in Moatless / needs implementation
- **`thread.stop` and `capabilities.threadStop` (pingdotgg#22052):** stops a
thread without resolving its run. The client falls back to the existing
stop path until the backend advertises `threadStop`. Added to the
capabilities gap.
- **`blocking: false` on async questions (pingdotgg#15430):** keeps a thread
Working while a question is open. The backend has to emit the field.
- **Provider `optionDescriptors` / `installedVersion` (pingdotgg#19519,
pingdotgg#19567):** drive dynamic model options and update checks. Both are
optional, so the client degrades.
- **Terminal `resume: true` on resubscribe (pingdotgg#18444):** the backend
should not reopen a closed shell.
- **`rootPath` on git diff/status results:** used for workspace-relative
paths.
- **`repositoryWebUrl` on PR links (pingdotgg#21575).**
- **Relay, T3 Connect, hosted sign-in and `t3 update` work:** not
applicable to the single-origin Moatless deployment.

## Backend behavior to consider reproducing in Moatless
- **Settlement:** an empty inactive thread auto-settles (pingdotgg#15783).
Settling clears snooze (pingdotgg#17547). An interrupted run does not start the
settle timer on a snoozed thread (pingdotgg#17789).
- **Runs:** auto-delivered messages queue between provider turns
(pingdotgg#15691). A message promoted into a stopping run stays queued (pingdotgg#16926).
Compaction cadence survives restarts (pingdotgg#21880).
- **ACP:** native foreground work settles independently, and child
routing moves between runs (pingdotgg#21614–pingdotgg#21616). Delegated children stop once
(pingdotgg#18826).
- **Terminals:** slow clients no longer queue unbounded output (pingdotgg#18429).
Shells do not inherit tmux (pingdotgg#13359). Script commands stay out of shell
history (pingdotgg#13903).
- **Files:** saves no longer follow a symlink out of the workspace
(pingdotgg#18819). This one is security-relevant.
- **Git:** new worktrees fetch the base branch's own tracked remote
(pingdotgg#21032). Rename and non-ASCII paths are kept in changed-file lists
(pingdotgg#20175). Rollback blocked by an index lock now says so (pingdotgg#11340).

The `docs/fork/gaps.md` entries "Capabilities are reported…" and
"Runtime fixes upstream made to its own server" are extended with these.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---
Moatless task:
https://moatless.soaplabstest.com/tasks/d311aafc-7a38-48b7-9c14-30c4cac930a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants