Repository navigation
feat(projects): a project covers several repositories - #35925
Conversation
|
This PR changes the test suite by +105 test cases (browser +1, unit +47, server +57). Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenarios4 of 64 scenario measurements changed or failed.
All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Projects now automatically discover internal repositories, and new worktree threads select all repositories up to eight by default, otherwise none. These product-default changes require human review of repository scope and isolation expectations, especially because plain-folder files remain shared. Needs human approval because:
Adjust the Minimum Blocking Severity for this repo — including turning it Off — in Settings. You can add or adjust custom eligibility rules. Learn more. |
…s, Git and worktrees for each (#12) * feat(projects): a project can track several repositories (pingdotgg/t3code#35921) Port of upstream PR pingdotgg/t3code#35921 at e60d37e8ad, without its apps/mobile changes. Upstream's 086_ProjectionProjectsTrackedFolders migration would collide with upstream's own 086, so the column comes from ensureKlinSchema, which runs after the numbered migrations and only adds what is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(projects): turn changes and diffs cover tracked repositories (pingdotgg/t3code#35923) Port of upstream PR pingdotgg/t3code#35923 at 4abac7127c, without its apps/mobile changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(projects): Git actions and pull requests per tracked repository (pingdotgg/t3code#35924) Port of upstream PR pingdotgg/t3code#35924 at ae8fad5eef, without its apps/mobile changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(projects): new worktree threads isolate every tracked repository (pingdotgg/t3code#35925) Port of upstream PR pingdotgg/t3code#35925 at 5a89fabab8, without its apps/mobile changes. Upstream's 087_TaskFolders migration would collide with upstream's own 087, so ensureKlinSchema creates the task_folders table instead. Storage cleanup and worktree branch naming were merged with upstream's later changes to the same code (symlinked worktree paths, prefix-aware temporary branches). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(client): a thread lists its most recently changed repositories first after it loads A loaded thread lists its checkpoints by scope and then ordinal, and the ranking used each checkpoint's position in that list as its time. Repositories were ranked by scope id, so one changed in the latest turn could fold behind "Show more". Rank each repository by the ordinal of its latest run checkpoint, which is the run's ordinal, and break ties within a turn by name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(client): a repository with a backslash in its folder name links to the right folder on Linux and macOS Repository paths were split on backslashes as well as slashes everywhere, so on POSIX `/work/api\client` became `api/client`. Its name and relative path were wrong, and the changed files tree opened diffs under the wrong folder. Treat a backslash as a separator only in a Windows path, one that starts with a drive letter or a UNC prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): a repository folder whose name starts with ".." opens its files in the diff viewer The diff panel counted any repository whose relative path starts with ".." as outside the thread's folder, so a repository at `..api` opened its files in the external editor instead of the file viewer. The worktree repository choices used the same check and hid such a folder's place in the project. Count a relative path as leaving the folder only when it is ".." or starts with "../". `repositorySectionForPath` now returns that answer, so the panel no longer works it out itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a tracked repository on another drive no longer freezes Windows Planning a task folder walked up from the project with `path.dirname` until one folder held every tracked repository. On Windows `dirname` stops changing at a drive root, so a repository on another drive made the synchronous loop run forever and froze the server. The walk now stops at the root, and the plan fails with a message saying the tracked repositories share no folder with the project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a task folder no longer links repositories the project does not track In a project whose folder is not a repository, the task folder linked every entry that did not lead to a tracked repository, including Git repositories the project does not track. An agent editing one through the task folder edited the original checkout. The task folder now leaves out every repository that gets no worktree, the same way it already left out tracked repositories that were not chosen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cursor): the next turn after a tracked folder change can reach the new folders Cursor fixes an agent's `local.dirs` when it opens, and the adapter reused the open agent for every later turn. After a person or an agent changed the project's tracked folders, the turn instructions named the new folders while the running agent still lacked access to them. The adapter now remembers the folders each agent was opened with and resumes the agent with the turn's folders when they differ. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): concurrent project edits can no longer track a folder that holds the project ProjectService.update checked the tracked folders against the project row it read before taking the project lock, and the commit did not check again. A move and a folder edit that raced could each pass and together save a tracked folder that contains the project's new root. The containment and duplicate checks now run under the project lock, against the root and folder list the command leaves, and reject through a command receipt like other planning failures. Path normalization stays before the lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a restored task folder keeps repositories the project stopped tracking isolated Restoring a removed task folder kept out only the repositories the project tracks now. A repository the task folder recorded but the project no longer tracks was reached through a link to its original checkout, and restore took that link for the existing worktree, so the thread's edits went to the original. Restore now also keeps out every repository the task folder recorded, so each gets its own worktree back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): missing folders no longer hide real repositories from a folder scan The scan applied the 128-folder limit before it dropped folders that do not exist, so a .code-workspace file listing many missing folders could use up the limit and leave out repositories that are on disk. The scan now drops missing folders first and applies the limit to what is left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): worktree threads keep their repositories after the project stops tracking folders The thread details panel looked up a worktree thread's task folder only while the project tracked at least one folder. After a project removed its last tracked folder, its existing task folder threads lost their repository sections, and a plain project folder in one was offered Git actions again. Look up the task folder for every worktree thread the server knows. This is one request for the open thread, not one per sidebar row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a folder with a long name no longer blocks tracking it A scanned folder's name comes from its .code-workspace entry or its directory name, and neither had a length limit. A project stores at most 128 characters per tracked folder name, so saving a scan's selection, `project add --track-repos` or `--track` failed for a folder with a longer name. The server now cuts scanned and CLI-made names to 128 characters, the limit the contract exports as PROJECT_TRACKED_FOLDER_NAME_MAX. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): a worktree send no longer runs in the project folder when its tracked folders can't be read When the tracked folder list failed to load, the composer treated a plain project folder as having no Git repository and quietly turned a "New worktree" send into a normal thread that edited the original folders. An unread folder list now leaves the worktree request as it is. The server then creates the task folder, or refuses the send with "is not a Git repository" when the project has no repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): a removed worktree no longer shows its branch in the sidebar when its project tracks folders The sidebar drops a worktree thread's branch and path once live status says its folder is no repository. It kept them whenever the project tracked any folder, to spare task folders whose plain project folder is never a repository, so an ordinary worktree whose checkout was removed still showed its branch and path. Ask the server whether the worktree is a task folder, and only for a row whose status already says it is no repository. Other rows cost no extra request. A server without task folders fails the lookup, which counts as no task folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): project add refuses more than 128 --track folders instead of dropping some `project add` cut its tracked folder list to the 128 a project allows, so with more distinct --track paths it dropped the last ones and still reported success. It now fails with an error naming the limit and the count when the --track paths alone pass the limit. Scanned folders from --track-repos still fill only the room that is left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(acp): the next turn after a tracked folder change can reach the new folders An ACP agent gets a session's folders only when the session is set up, and the adapter kept the runtime it started with for every later turn. It also built every replacement runtime from the folders given when the session opened. After the project's tracked folders changed, the turn instructions named the new folders while the agent still had the old ones. Replacement runtimes now take the folders from the latest turn's policy. When a turn's folders differ from the running runtime's, the adapter restarts the runtime and reloads the session, provided the agent accepts folders, can reload a session, and has no background work running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): resuming a thread puts back links cleanup removed from its task folder When cleanup removed part of a task folder, for example its links but not a repository with uncommitted work, restore saw the project folder still there and skipped it. The thread came back to a folder missing files such as `AGENTS.md`, and restore reported success. Restore now always lays out the project folder. Entries that are there stay, and a real folder left from before gets its missing links, while a link is never written into. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a rewind that cannot put a folder back keeps its snapshot of the edits When a rewind across several folders failed and putting a folder back failed too, the cleanup still deleted that folder's pre-rewind snapshot ref. The folder stayed partly rewound with no named copy of the user's edits. The ref name was also fixed per folder, so the next rewind attempt overwrote any snapshot that was left. Now a snapshot is deleted only once its folder is put back, or after the rewind succeeds. A kept snapshot is logged with its ref, and each rewind attempt names its snapshots apart so a retry does not overwrite them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): pressing Add again while a folder is scanned no longer starts a second add Adding a folder from the command palette first scans it for repositories. A second Add or Enter during that scan started another add, which replaced the first one's pending folder choice. The first add then never finished, and the folder dialog could show the first scan's checkmarks. The palette now ignores Add, Enter and the file manager pick while an add is in progress. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): two task folders created at once no longer share one folder Choosing a task folder's location only checked that the path did not exist yet. Two creations for the same project and branch could both pick it, and when one failed, its rollback removed the other's worktrees and files. The location is now reserved by creating the folder, which fails when it already exists, and the next name is tried then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(antigravity): Antigravity can read files in tracked folders outside the project T3 Code serves Antigravity's file reads itself and confines them to allowed roots. The ACP adapter passed only the turn's cwd to that handler, so a read in a tracked folder outside the project failed with "outside the session workspace". The ACP client file system hooks now receive the turn's runtime policy, and Antigravity allows reads in the thread's tracked folders as well as its cwd and attachments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(opencode): a tracked folder with * or ? in its path no longer grants other folders OpenCode grants a thread's tracked folders through `external_directory` permission patterns, and its patterns treat `*` and `?` as wildcards with no escape. A tracked `/repos/api?` granted `/repos/api1`, and `/repos/api*` granted its siblings. Both OpenCode adapters now skip the grant for a folder whose path holds `*` or `?`, so OpenCode's default rule applies to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): a tracked folder with a very long name no longer fails to save A project stores tracked folder names of at most 128 characters. The add-project dialog, a rescan in Settings and Add folder passed longer names through as they were, so saving the project failed for a long `.code-workspace` name or folder name. Every place that turns a scanned or typed folder into a tracked one now caps the name, as the shared selection helper already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a symlinked tracked folder can no longer open a parent of the project to agents The check that stops a tracked folder from holding the project compared paths as typed, so a tracked symlink such as /work/app/parent-link pointing at /work passed, and WorkspaceFolders.forThread then granted /work in extraRoots. A tracked folder replaced by a symlink to / after it was saved was granted the same way, since forThread never re-checked what a path resolves to. Project validation now also compares the resolved paths of folders that exist, for both the containment and the duplicate checks. forThread leaves out a folder that resolves to a filesystem root or to a folder holding the thread's own, for tracked folders and task folder worktrees alike. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): worktrees a restart interrupted are no longer lost from their task folder A new task folder recorded its repository checkouts only after every one was made. If the server restarted partway, the record listed none of them, so removal and restore could not find the worktrees already created. The record now lists every planned checkout before the first one is made. Removal already treats a missing checkout as gone, and restore makes it. When creation fails, the record first drops the checkouts that were never made, so what the rollback keeps matches the disk. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: tracked folder text says what tracking does and where a worktree thread's edits land The Repositories settings and the folder dialog said tracked repositories get "their own changes and review". The guide said the add-folder scan runs on mobile, which Klin does not ship, and that "Other repositories" brings a repository into any running thread. The text now says agents are told about tracked folders and can work in them, and that tracked Git repositories get their own changes, diffs, Git actions and pull requests. The guide now says which repositories a new worktree thread gets, that each starts from its own default branch, that the files of a plain project folder are links to the originals, and that Git repositories without a worktree are left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): folder scan and list errors keep the failure that caused them WorkspaceFoldersError had no cause, so the scan and project-read failures dropped the file system, project store and task folder errors behind them, and a permission problem looked the same as a missing folder or a database error. The error now has an optional cause, as TaskFolderError beside it and the Git errors already do, and WorkspaceFolders passes the original error through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a failed rewind puts back what each folder had staged When a later folder's restore failed, the rewind put the earlier folders' files back from their pre-rewind snapshots, but their staged changes were lost. The snapshot recorded only working-tree content, and restoring a checkpoint resets the index to HEAD, so a partly staged file also lost its staged version. A pre-rewind snapshot now also records the index, as a commit of its tree kept as the snapshot's second parent, read from a copy so the user's index stays unlocked. Putting a folder back resets its index to that commit instead of HEAD. An index Git cannot write as a tree, such as one with merge conflicts, falls back to the old behavior. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): storage cleanup no longer removes a task folder after cleanup was turned off The task folder path of storage cleanup kept using the cleanup settings it read when the sweep started. After waiting for the workspace lease it could still remove checkouts the user had since stopped cleanup for, or under rules they had changed. Under the lease it now compares the current settings with the ones it checked against, the same comparison the ordinary worktree path makes before removal, and keeps the folder when they differ. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): storage cleanup counts the space freed by removed task folder checkouts Removed task folder checkouts were reported with no size, so the cleanup report counted them as 0 B. The inspection measured each checkout before removal and then dropped the number. The inspection now returns each checkout's measured size, and the report attaches it to the checkout's removed entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(contracts): a rewind no longer restores a repository from a baseline that holds a failed run's edits repositoryRewindCheckpoint looked only at ready checkpoints. When a later run changed a tracked repository but its own snapshot failed, its error checkpoint was skipped, and the next ready baseline was returned. That baseline already held the failed run's edits, so the rewind restored the wrong contents. A runless baseline is now used only when no unrolled-back run checkpoint sits between the target and it. Otherwise the repository has no rewind target, and the rollback leaves it as it is with its usual warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): worktree handoff reports when a task folder's repositories started from origin The handoff tool set `startedFromOrigin` only from the project folder's own fetch. For a project folder that is not a repository, the task folder fetched each tracked repository from its remote while the result still said `false`. Task folder creation now reports whether a repository's checkout started from a fetched remote commit, and the handoff result includes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a turn diff stays within its size limit when the thread's own patch fills it When the thread folder's patch used the whole output budget, each changed tracked repository still ran its diff with no budget left and got the truncation marker on its own. The combined turn diff then went over CHECKPOINT_DIFF_MAX_OUTPUT_BYTES by one marker per repository, and each of those repositories cost Git processes for nothing. Repository patches now stop once the remaining budget cannot hold the marker. The thread's own patch already ends with the marker, so the cut is still visible. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a tracked repository's turn edits stay in review when Git cannot list them A checkpoint capture that failed to list the changed files recorded a ready checkpoint with an empty file list. For a tracked repository, an empty list means the run left it as it was, so the run's checkpoint was dropped. Its edits then disappeared from turn review, and a later baseline that already held them could pass for the state before the run in a rewind. A numstat larger than Git's output limit is one way to get there. The capture now reports when the file list could not be read, and a repository checkpoint is dropped only when Git listed no file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a repository a turn fully committed keeps its changes after a server restart When a turn starts on a clean tracked repository, only this process's memory notes the commit it started on; no snapshot is written until a turn changes something. A server restart mid-turn replays the turn's checkpoint capture in a new process that has lost that note. A repository the agent fully committed was then clean with no baseline snapshot, which the capture read as "unchanged", so the turn listed no files for it. A repository that missed the turn-start baseline budget had the same gap. When how the turn started is unknown and the repository is clean, the capture now asks HEAD's reflog where HEAD was when the run started. If a commit moved it since, that commit becomes the turn's baseline, dated at the run's start like a noted one. Without a reflog, nothing changes from before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(agents): say how Klin's multi-repo schema survives upstream merges Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a CLI adds Klin's multi-repo schema only while it owns the database A CLI command migrates a database only after it takes the server ownership lock, and it skips the lock when no migration is pending. Klin's startup schema step was not counted as pending, so a newer CLI could add the tracked folders column and task folder table to a database a running server owned. Missing Klin schema now counts as pending, and adding it logs the same finished line the desktop waits for after a migration starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a turn no longer shows edits made before a later turn as its own repository changes A repository's diff range ended at its last record in the range, which could be the runless baseline a later turn recorded. That baseline holds the folder as the next turn found it, so edits made between turns showed up as changes of a turn that left the repository alone. The range now ends at the last record a turn wrote itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a file rewind in a linked task folder with nothing to restore rewinds the conversation A task folder whose project folder is a plain linked folder has no snapshot of its own, so a file rewind there could only restore its repositories. When none changed after the target turn, both the Orchestrator and the rollback service refused the rewind as an invalid target. A missing project folder snapshot is now accepted for a linked task folder whatever its repositories hold. The rewind restores the repositories that changed, if any, and otherwise rewinds only the conversation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a tracked repository on another drive no longer blocks every worktree of its project A task folder lays its checkouts out around the deepest folder holding the project and every tracked Git folder. When one tracked repository shared no folder with the project, for example because it was on another Windows drive, every worktree creation failed, even one that left that repository out. The layout still covers every tracked repository where one folder holds them all, so any can be added to the thread later. Otherwise it covers the project and the repositories the task folder holds, and only a selection that itself spans drives is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a rewind recreates a task folder repository whose branch was deleted When storage cleanup removed a task folder's checkouts, a rewind put each one back by checking out the thread's branch, and failed outright when a repository no longer had that branch, for example after it was deleted once its work merged. Resuming the thread already handled this. The rewind now recreates a missing checkout with the same step the resume path uses: the thread's branch if it exists, else its pushed commit, else a new branch from where the repository is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a task folder checkout comes back over files a failed removal left Resuming or rewinding a thread puts back each checkout of its task folder that is missing. Any path without a .git counted as missing, and Git refused to check out into it when a removal that failed partway had left files there, such as build output, so the thread could not resume or rewind. Such files are now set aside while the checkout is made, deleted once it succeeds and put back if it fails, as a rewind already did for a single worktree. Both paths share that step now. A folder that still holds another live checkout of the task folder is never set aside. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): removing a task folder through a symlinked path removes all of it Removing a thread's worktree first asks whether the path is a task folder. The record is found through either spelling of a worktrees folder reached through a symlink, but the path was then compared only with the spelling the record stored. A request with the other spelling was treated as a single worktree: only the project folder's checkout went, and the repository checkouts and the record stayed behind. The comparison now resolves both sides the way the record lookup does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * style(server): format the task folder tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): a new task folder never merges into the record of one cleanup removed Storage cleanup can remove a task folder's directory and keep its record, so the folder can be put back when its thread resumes. A new task folder for the same project and branch name, for example after the old branch was deleted, could be given that same directory, since only the directory was checked. Its record then merged into the old one, whose project fields the upsert never updated, so two threads shared one record. A folder name that still has a record is now skipped, and a record written again replaces every field. Failures to write the record now say so instead of reporting a failed read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(client): the rewind comment says what the server now accepts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(server): the agent context budget matches the tracked folder tool text The fixes on this branch shortened the project tools' tracked folder text by 27 bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A project was one folder, so a wrapper folder holding several repositories showed "no changes" and agents had no grant for sibling repositories. A project now stores a list of tracked folders next to its own folder. Adding a folder scans one level down and reads a .code-workspace file, then offers a checklist; Settings > Projects has Rescan, Add folder and Remove. Agents get the folders as writable roots where the provider supports it and a short folder list in their instructions. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ae8fad5 to
06c700e
Compare
5a89fab to
464b782
Compare
464b782 to
b43a807
Compare
06c700e to
71e44ba
Compare
…series Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A thread in a wrapper folder that is not a Git repository showed no changes on any turn, and edits to repositories next to or inside the project folder never reached the diff panel. Each tracked repository a turn changes now gets its own checkpoint scope under the thread's root scope. A clean repository costs one git status per turn and writes nothing. Turn diffs carry a patch per repository, the turn card groups changed files by repository, and the diff panel and mobile review gain a repository filter. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A thread that changed several repositories could only commit, push and open a pull request for its own folder. The thread details panel and the mobile Git sheet now list the repositories the thread changed, most recent first, each with its branch, counts and pull request, and the usual Git actions bound to that repository. Collapsed rows read local status only. Any tracked repository can be pinned from "Other repositories". An open pull request on a changed repository's branch is linked to the thread. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
"New worktree" isolated only the project folder, and a wrapper folder that is not a Git repository could not use it at all. A worktree thread of a project that tracks repositories now gets a task folder laid out like the project: the project folder, plus one worktree per chosen repository on the thread's branch. A project folder that is not a repository becomes a directory of links to its files. The composer picks the repositories, one can be added to a running thread, removal and storage cleanup keep any repository with unsaved work, and rewind restores every repository together or none. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
71e44ba to
cfb1671
Compare
b43a807 to
7bfc727
Compare
…e level deeper A tracked folder whose path holds a * segment is a rule: its repositories are read from disk each time, so clones and removals are picked up without a rescan. The scan also looks inside plain child folders and no longer offers linked worktrees as repositories. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…hat repository Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…and remember the choice Each repository starts from the thread's base branch where it has it, and from its own default branch otherwise. A plain project folder names that branch in the repositories menu. The web composer starts a new draft from the project's last repository choice. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… changed The diff panel's Git scopes read the thread's folder or a repository the thread changed, chosen from a picker. A plain project folder starts on the repository changed last. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A worktreeLayout command in the project's t3.json creates the thread's folder in place of T3 Code's worktrees and links. The checkouts it makes where tracked repositories belong are adopted, and an optional command tears the folder down. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… project settings Also names a rule added from the CLI by its last two segments. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… repositories stay in view A failed commit showed its error as a toast on the thread, dimmed behind the open Git sheet, cut to one line and gone in five seconds. It is an alert now. The Git sheet lists repositories right after the commit, push and PR rows, so a changed submodule is visible at the sheet's opening height. The turn review label names the thread's own folder when it changed too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…chable repository, and following from mobile A project that tracks no other repository can now declare worktreeLayout, so a repository that prepares its own submodules gets its command run. The diff panel's repository picker lists every repository the thread reaches, not only the ones a turn changed, so work done by hand shows up. Mobile's add-project and rescan flows can keep following a folder. Followed rules are named by their last two path segments on both clients. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Upstream merged the multi-repo series (pingdotgg#35925) with numbered migrations 104 and 105 for the tracked folder column and the task_folders table, so the fork module no longer creates them. Old-shape task folder tables from the earlier port are set aside before the numbered migrations, since 105 indexes a column they lack. The checkpoint scope repair still runs after them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in 171 upstream commits through c7a9fba (pingdotgg#38542). - Multi-repository projects (pingdotgg#35925): Cody's worktree base ref rides beside upstream's repositories in planComposerTurn, useComposerSend, mobile projectThreadStartTurn and outbox delivery, and applies only to Git-repository projects. - Final-answer instruction stays inside runtimeInfo after upstream turned buildRuntimeInstructions into a joined list with workspace notes; budget keeps Cody's Claude and Codex bytes and takes upstream's MCP tool size. - Changes panel inline patch (includeSmallPatch) kept beside upstream's tracked-preview reuse (pingdotgg#40211) and indexed-stat reuse (pingdotgg#40304); the response carries Cody's incomplete rule and upstream's completionToken. - Diff panel: Cody's deferred-patch handling moved into the non-section branch of upstream's per-repository turn sections. - GitActionsControl: Cody's includeSmallPatch-while-panel-shows-branch kept under upstream's renamed changesStatusRevision. - sideChatTurnWiring test provides upstream's new TaskFolders dependency. - Sync notes: multi-repo base ref and inline patch resolutions.
Upstream merged the multi-repo series (pingdotgg#35925) with numbered migrations 104 and 105 for the tracked folder column and the task_folders table, so the fork module no longer creates them. Old-shape task folder tables from the earlier port are set aside before the numbered migrations, since 105 indexes a column they lack. The checkpoint scope repair still runs after them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ht-context main lets a project cover several repositories (pingdotgg#35925), so a turn diff can now carry one patch per tracked repository beside the thread folder's own. The turn diff's source still names the revisions of the thread folder's patch. Web and mobile load whole files from it only for a turn with no repository patch; a turn that spans repositories keeps its patch colours, as on main.
Upstream merged the multi-repo series (pingdotgg#35925) with numbered migrations 104 and 105 for the tracked folder column and the task_folders table, so the fork module no longer creates them. Old-shape task folder tables from the earlier port are set aside before the numbered migrations, since 105 indexes a column they lack. The checkpoint scope repair still runs after them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore: merge upstream main up to before pingdotgg#35925
Upstream merged the multi-repo series (pingdotgg#35925) with numbered migrations 104 and 105 for the tracked folder column and the task_folders table, so the fork module no longer creates them. Old-shape task folder tables from the earlier port are set aside before the numbered migrations, since 105 indexes a column they lack. The checkpoint scope repair still runs after them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(gitlab): load issue details where GitLab has no Note.awardEmoji (pingdotgg#39621) * fix(cursor): background commands survive the turn and wake the agent when they exit (pingdotgg#38348) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(grok): stop rechecking a healthy Grok CLI every refresh interval (pingdotgg#39623) * fix(server): a PR watch tells the agent when the checks finish after a failure (pingdotgg#39596) Co-authored-by: Ryan McDonough <Ryan@r2n.io> Co-authored-by: Julius Marminge <julius0216@outlook.com> * test(server): expect the checks-finished wake in PR watch runtime tests (pingdotgg#39646) * fix(acp-registry): detect droid, glm, and vibe flavors for local commands (pingdotgg#39618) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(scheduled-tasks): clearing a task's thread no longer keeps the old one (pingdotgg#39639) * fix(web): editable file drag selection no longer breaks across virtualized scroll windows (pingdotgg#39574) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): the provider update pill no longer recounts dismissed updates (pingdotgg#39636) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): strip terminal colors from saved notebook output (pingdotgg#39643) Co-authored-by: Geezy <igor.licko@gloryck.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): a drag selection released during a window shift keeps its unmounted anchor (pingdotgg#39681) * fix(mobile): route all external URL opens through the error-handling helper (pingdotgg#39665) Co-authored-by: Julius Marminge <julius0216@outlook.com> * perf(usage): match transcript markers as bytes without a per-line latin1 string (pingdotgg#39659) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): t3_project_read shows the actions saved in Settings (pingdotgg#39676) * fix(server): Claude text generation retries without images when the model rejects them (pingdotgg#39684) * fix(web,mobile): make comment and review author lines headings (pingdotgg#39648) * fix(server): preview browser downloads Chrome 158.0.8127.36 with its security fixes (pingdotgg#39669) Co-authored-by: Dominic Rubas <1042243+rubas@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(antigravity): stop double-counting thinking tokens in turn output usage (pingdotgg#39686) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): Claude gateway cooldown survives an untyped SDK rejection (pingdotgg#39695) * fix(release): Windows resource monitor starts without the Visual C++ runtime (pingdotgg#39683) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): turn authorship works on Git before 2.36 (pingdotgg#39702) * fix(mobile): new thread says the host has no model instead of asking to connect (pingdotgg#39713) * fix(antigravity): keep truncated command text valid Unicode (pingdotgg#39697) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(antigravity): honor the saved thinking level in text generation (pingdotgg#39720) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(azure-devops): read and edit a Bug's text in Repro Steps (pingdotgg#39738) * fix(web): stop reloading unchanged file previews during agent commands (pingdotgg#39736) Co-authored-by: PixPMusic <PixPMusic@users.noreply.github.com> * fix(server): a released provider session ends its tool call nodes too (pingdotgg#39734) * fix(server): watch_pull_request says a merge or close wakes the agent (pingdotgg#39739) * fix(server): replace the device hub when emulator camera support changes (pingdotgg#39764) * fix(desktop): Cmd+T opens the new-tab menu from a focused browser page (pingdotgg#39769) * fix(server): port refusals survive T3 Connect's relay (pingdotgg#39763) * fix(server): Antigravity links and discovers skills from skills.json (pingdotgg#39765) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(desktop): WSL backend honors T3CODE_HOME from the distro's login shell (pingdotgg#39771) * fix(server): pull_request_create opens a draft PR as a draft on GitHub and Azure (pingdotgg#39772) * fix(server): Antigravity wake runs accept steers again (pingdotgg#39767) * fix(server): keep DeepSeek ACP probes out of session history (pingdotgg#39733) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): idle threads compact while a delegated task runs (pingdotgg#39766) * fix(mobile): a settings row an older environment left mixed can be set off (pingdotgg#39755) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: secret cards get a show/hide toggle and multi-value fields (pingdotgg#31257) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(ssh): a slow remote server keeps its SSH forward on reconnect (pingdotgg#39802) * fix(antigravity): a scheduled wake keeps its run open instead of looking finished (pingdotgg#39806) * fix(ssh): reconnect stops waiting on a remote server that is shutting down (pingdotgg#39807) * fix(web): open PDF attachments no longer reload while the agent works (pingdotgg#39815) * perf(linear): overlap issue details and viewer reads (pingdotgg#39801) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(linear): scope issue numbers to the named team (pingdotgg#39809) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(gitlab): pull_request_create opens a draft MR as a draft (pingdotgg#39817) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): scrolling a PR description no longer moves focus to the condensed header (pingdotgg#39840) * feat(cli): thread show reports why the latest run failed (pingdotgg#39849) * fix(web): RTF previews read Mac Roman documents (pingdotgg#39846) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): prevent auto-settle while terminal has active subprocess (pingdotgg#39835) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): spreadsheet scrollbars are visible in dark mode (pingdotgg#39833) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(antigravity): keep complete transcript steps at the tail boundary (pingdotgg#39855) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): Open on GitHub in a thread's PR panel honors 'Open links in' (pingdotgg#39856) * fix(server): a slow disk no longer freezes the service while it writes a log line (pingdotgg#39857) * fix(acp,web): stop showing "Running Ran" for commandless ACP tool calls (pingdotgg#39837) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: read a linked environment's threads from the client (pingdotgg#39406) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * feat: connect to a linked environment from its read-only thread (pingdotgg#39439) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * feat: subagents, side chats and linked threads open the same way (pingdotgg#39515) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * fix(desktop): update checks say why a build with a different saved track offers nothing (pingdotgg#38506) Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(desktop): a phone can watch an agent's hidden browser tab while Windows is locked (pingdotgg#39198) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): text generation no longer runs a disabled provider (pingdotgg#39870) * feat(web): the environments page is a map of your machines (pingdotgg#39445) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * fix(acp): /compact right after session/load waits for the agent's command list (pingdotgg#39891) * fix(speech): project name hints no longer recase ordinary words (pingdotgg#39884) * fix(pi): async subagents leave Running when their run settles first (pingdotgg#39888) * fix(mobile): disabled T3 Connect server menu no longer opens during deregistration (pingdotgg#39894) * fix(server): token analytics record new Antigravity models (pingdotgg#39897) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(antigravity): a mid-turn 404 shows its error and is retryable (pingdotgg#39869) * fix(web): theme hex field keeps your text while you delete it (pingdotgg#29550) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): skills from Claude --plugin-dir launch args show in the composer (pingdotgg#39896) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web,mobile): usage-limit recovery banner updates copy after reset passes (pingdotgg#39889) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): the startup automatic pull waits for a slow fetch (pingdotgg#39915) Co-authored-by: Julius Marminge <julius0216@outlook.com> * chore(server): PR tool descriptions stop steering away from gh and cafe (pingdotgg#39947) * fix(cli): keep managed T3 Connect tunnels across service updates and restarts (pingdotgg#39819) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): pull_request_merge accepts an abbreviated head SHA (pingdotgg#39906) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): watch_pull_request on a merged PR reports it instead of failing (pingdotgg#39899) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(evals): GPT evals stop at startup when OpenAI auth is required but no key is found (pingdotgg#39384) * fix(evals): T3CODE_EVAL_MODEL_PROVIDER picks the GPT evals' proxy provider (pingdotgg#39505) * fix(server): t3 connect status reports a link made in the app as on (pingdotgg#39471) * fix(server): PR guides work for pull requests on a fork's own repository (pingdotgg#39601) * perf(cursor): run Cursor SDK agents and text generation out of process (pingdotgg#39526) Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * feat: launch videos staged from the real app (pingdotgg#39978) * chore(gitcafe): pull request listing records how many pages it read (pingdotgg#39867) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * feat(server): a thread turn can return a typed result (pingdotgg#38874) Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> * fix(web): caret navigation no longer opens composer suggestions (pingdotgg#37122) Co-authored-by: Julius Marminge <julius0216@outlook.com> * perf(github): skip decoding oversized GraphQL responses (pingdotgg#39928) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): repository and loading-header PR links honor 'Open links in' (pingdotgg#39926) Co-authored-by: angrojo <angel.rojo24@estudiantes.uva.es> * fix(web): usage limit refill stripes all render the same width (pingdotgg#30407) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(relay): sample Workers Logs at 1% (pingdotgg#40004) * fix(dev): dev servers no longer open a console window on Windows (pingdotgg#38194) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(server): pull_request_read returns a compact summary by default (pingdotgg#39901) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(web): focus popup search from anywhere in its row (pingdotgg#33110) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): adding the last snooze option no longer reorders rows mid-edit (pingdotgg#33279) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(voice): start dictation capture sooner on iOS and desktop (pingdotgg#40011) * fix(gitcafe): a timed-out cafe credential check says it timed out (pingdotgg#39533) * fix(server): pull_request_create pushes an unpushed branch (pingdotgg#39903) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * feat: sign in to an agent's MCP server from its warning (pingdotgg#39921) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(acp): terminal tool fallback works from Windows PowerShell (pingdotgg#39949) * feat(web): copy button for file previews (pingdotgg#34769) Co-authored-by: Julius Marminge <julius0216@outlook.com> * test(evals): measure T3's PR tools against raw forge CLIs (pingdotgg#39922) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * test(shared): cover unsent manual continuation source resolution (pingdotgg#39653) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(desktop): dictate on this Mac with Apple Speech (pingdotgg#34027) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(ci): agent context budget compares with the PR's own base, not a newer main (pingdotgg#40035) * feat(web): add a composerEmpty keybinding condition (pingdotgg#30644) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): toggling a model's visibility no longer jumps the model list (pingdotgg#31637) * fix: proxied usage limits follow the hub's model routing and show on the thread card (pingdotgg#30778) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): cloning a Git LFS repo no longer looks stalled while it downloads (pingdotgg#39963) * chore(skills): launch-video staging tools for seeded data and gestures (pingdotgg#40000) * test(client-runtime): cover webhookAddress and imageAttachmentSize helpers (pingdotgg#39668) Co-authored-by: Julius Marminge <julius0216@outlook.com> * test(shared): cover advertised endpoint URL normalization and compatibility (pingdotgg#39651) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(web): search actions when adding keybindings (pingdotgg#28612) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(models): Claude Fable offers Fast Mode (pingdotgg#33588) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(gitlab): custom merge request avatars load in the list (pingdotgg#39973) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(web): click the Tab hint to use the suggested prompt (pingdotgg#39488) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): pull requests linked from an issue open beside it on the Issues page (pingdotgg#39937) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(relay): Android OS kills no longer page as mobile crashes (pingdotgg#40055) * feat(web): sidebar New starts the thread in the scoped project (pingdotgg#35185) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(mobile): Android terminal gets a close button like desktop (pingdotgg#37640) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): typed runs of dots no longer vanish in the composer with ligature fonts (pingdotgg#40028) * fix(web): IME composition replaces selected text beside chips (pingdotgg#37274) Co-authored-by: Grok 4.7 <noreply@x.ai> Co-authored-by: Julius Marminge <julius0216@outlook.com> * chore(dev): drop the replay agent's MCP-call frame and delegation recordings (pingdotgg#40026) * fix(skills): each launch-video render writes frames to its own folder (pingdotgg#40066) * fix(web): numbered jumps and next/previous thread include unsent drafts (pingdotgg#39968) * fix(mobile): preserve AirPods output with the iPhone mic (pingdotgg#40061) * fix(mobile): terminal Ctrl, Alt, and Cmd keys look active when latched (pingdotgg#32989) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): Arrow and page keys scroll the pull request pane after a click or when it opens (pingdotgg#39319) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: link a machine through another environment that already links to it (pingdotgg#40036) * fix(web): keep file path tooltips open for selection (pingdotgg#24603) * docs: explain long-path support for Windows clones (pingdotgg#28546) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): screen readers can read expanded tool output (pingdotgg#34646) Co-authored-by: Julius Marminge <julius0216@outlook.com> * test(shared): cover keybinding shortcut matching (pingdotgg#39654) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): storage cleanup runs a full git status only on removable worktrees (pingdotgg#35721) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): recover Codex threads after encrypted history rejection (pingdotgg#36643) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat: Verilog, SystemVerilog, and VHDL code is syntax highlighted (pingdotgg#29261) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(policy): t3 policy settings lists what a policy can manage (pingdotgg#31432) Co-authored-by: Julius Marminge <julius0216@outlook.com> * chore: vouch danshapiro (pingdotgg#40080) * fix(shared): compose NFD file names in link chips and the @ menu (pingdotgg#39610) * fix(server): a refused link says how to turn Linked environments on headless (pingdotgg#39964) * feat(source-control-github): repeat PR preview measurements for min and median (pingdotgg#39660) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): linked environments read the newest thread messages by default (pingdotgg#39981) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): timeline row actions stay put on hover, and notices expand only when cut off (pingdotgg#40076) * feat(cli): t3 thread start --generate-title names the thread like the app does (pingdotgg#28597) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(web): copy a chat table as HTML (pingdotgg#33286) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): stop re-probing forge CLIs for plain-git remotes every 5 minutes (pingdotgg#40053) * feat(desktop): add Reload to browser context menus (pingdotgg#22650) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(web): duplicate browser tabs from the context menu (pingdotgg#29681) Co-authored-by: Julius Marminge <julius0216@outlook.com> * chore(devices): bump agent-device to 0.21.41 and expo-device-hub to 0.26.1 (pingdotgg#40095) * fix(server): delegated task result keeps the hook stop reason after progress (pingdotgg#37859) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(web): thread chips show the sidebar's thread card on hover (pingdotgg#38895) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(scripts): add local mobile:audit CLI with before/after hit-box reports (pingdotgg#40102) * feat(issues): a project can list issues from several Linear teams (pingdotgg#40023) * fix(web): resetting a setting no longer jumps the Settings page (pingdotgg#30925) Co-authored-by: Julius Marminge <julius0216@outlook.com> * test(shared): cover sessionPermissionsUnavailableMessage precedence (pingdotgg#39670) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): t3_thread_read on a linked environment returns the newest page by default (pingdotgg#40003) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(mobile): hide test files in the thread review sheet (pingdotgg#26759) * fix(mobile): a failed branch comparison no longer hides Uncommitted changes (pingdotgg#24841) Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> * refactor(scripts): rewrite mobile:audit CLI with Effect (pingdotgg#40118) * fix(web): terminal Powerline caps and slants fill their cells (pingdotgg#24888) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(mobile): outdated pull request approvals are labeled, not shown as current (pingdotgg#36868) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(vcs): explain checkout failures caused by local changes (pingdotgg#23346) * fix(opencode): a newer model of another size no longer marks a current model legacy (pingdotgg#40059) * fix(client): new threads from a grouped repository start in its root checkout (pingdotgg#37191) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): dismissing a local thread error no longer suppresses repeat errors (pingdotgg#40042) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): the issue comment composer lines up with the chat composer (pingdotgg#39994) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(mobile): deduplicate Manage environment buttons and enlarge Add environment inputs (pingdotgg#39992) * fix(mobile): enlarge touch targets in Model picker, Files, Terminal, Button, and ControlPill (pingdotgg#40002) * chore(deps): upgrade Effect to 4.1.5 (pingdotgg#40132) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(server): signed URLs are logged and traced with the token redacted (pingdotgg#40133) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * fix(mobile): eliminate duplicate menu buttons and hidden search headers on Android (pingdotgg#39988) * fix(antigravity): show skills listed by file in manifests (pingdotgg#40020) Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(ci): agent context budget compares with the PR's own base, not a newer main (pingdotgg#40071) * fix(mobile): Android composer blur no longer hides another field's keyboard (pingdotgg#34001) * docs(skills): document running mobile:audit CLI in test-t3-mobile (pingdotgg#40150) * test: stop testing that redaction config is set (pingdotgg#40151) * fix(server): idle Git polls no longer re-read local status when no ref moved (pingdotgg#40093) * fix(server): t3_thread_wait with untilOutput returns for a run never asked for a result (pingdotgg#40137) Co-authored-by: MarcoDotIO <Marcus.Arnett10@gmail.com> * fix(mobile): Queued follow-up no longer shows a second Working row (pingdotgg#40072) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(client-runtime): recover thread messages after a failed resume (pingdotgg#24583) * perf(server): ask npm once per global prefix for provider latest versions (pingdotgg#40109) * fix(server): skip the image attempt for Claude models that rejected images (pingdotgg#40087) * fix(antigravity): keep turns open when a background wake is still pending (pingdotgg#39989) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(mobile): the iPad tab bar keeps its size on Usage (pingdotgg#39995) * feat(server): detect Flutter project icons from web/favicon.png (pingdotgg#29089) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(github): ci_logs explains why a check has no log (pingdotgg#40156) * fix(opencode): custom models can go back to the default reasoning level (pingdotgg#27333) * fix(web): screen readers can tell removed lines from added ones in diffs (pingdotgg#40152) Co-authored-by: MarcoDotIO <Marcus.Arnett10@gmail.com> * fix(claude): keep truncated request, error, and snippet text valid Unicode (pingdotgg#40075) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): guest share status expires at exact timestamp instead of start of minute (pingdotgg#40131) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): Option + a letter records the letter, not the macOS glyph (pingdotgg#39967) * fix(mobile): the iOS status pill stays below the header above a tall question (pingdotgg#40104) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): explain host CLI failures when PR watches stop (pingdotgg#35145) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): merged-worktree cleanup finds pull requests merged inside a fork (pingdotgg#40110) * fix(mobile): iOS settings switches center on rows with a description (pingdotgg#40128) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): storage cleanup removes worktrees with dangling gitlinks (pingdotgg#40119) Co-authored-by: Julius Marminge <julius0216@outlook.com> * feat(projects): a project covers several repositories (pingdotgg#35925) * fix(server): tell threads when a provider runtime exit kills their background work (pingdotgg#40170) * fix(client-runtime): don't ask for a provider update the install channel lacks (pingdotgg#39966) * fix(mobile): reloading changes restarts the diff from page one after a failed page (pingdotgg#40171) * perf(server): resolve a branch's base once while its refs and config are unchanged (pingdotgg#40125) * fix(web): hub accounts whose usage read fails no longer vanish silently (pingdotgg#36939) Co-authored-by: chief-archivist <thecradlearchives@gmail.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(client-runtime): @ menu offers machines the thread's server links to (pingdotgg#40191) * fix(server): a desktop preview resize the window never draws now fails (pingdotgg#40081) * fix(antigravity): skills.json ~/ entries no longer list skills agy never loads (pingdotgg#40194) * perf(server): branch PR lookups start 9 git processes instead of 14 (pingdotgg#40153) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): terminal history drops OSC 4 palette queries (pingdotgg#40149) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(web): show custom theme backgrounds on the empty New thread screen (pingdotgg#40069) Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(server): reuse an unchanged local Codex's version check across restarts (pingdotgg#40176) * fix(client-runtime): recognize thought_level and role: reasoning in effort summaries (pingdotgg#40136) Co-authored-by: thecsguy <344173356+itsthecsguy@users.noreply.github.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> * fix(mobile): Vietnamese letters stay bold in bold text on Android (pingdotgg#40205) * fix(desktop): preview tabs drop a destroyed webview's WebContents (pingdotgg#40177) * fix(acp): persist context usage reported after a turn ends (pingdotgg#40220) * perf(server): complete Changes preview reuses its tracked-only pass (pingdotgg#40211) * feat(server): add a TanStack Source forge and issue tracker behind T3CODE_TANSTACK_SOURCE (pingdotgg#40207) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * perf(server): remote status polls read HEAD, upstream and remotes once (pingdotgg#40162) * fix(client-runtime): opening the Diff panel reads each file patch once (pingdotgg#40217) * fix(web): floating device preview keeps its stream across thread switches (pingdotgg#40240) --------- Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> Co-authored-by: Adam Głowienka <adam@g22.pl> Co-authored-by: Ryan McDonough <Ryan@r2n.io> Co-authored-by: Neil Daquioag <neil@zeian.cc> Co-authored-by: SeongHoon Ryu <4997174+ryush00@users.noreply.github.com> Co-authored-by: Tuomas Seppänen <tiaxus@gmail.com> Co-authored-by: TheGuyWithHAT <igorlickn@gmail.com> Co-authored-by: Geezy <igor.licko@gloryck.com> Co-authored-by: qdqqd <qdqdqdqdqd@protonmail.com> Co-authored-by: Rubas <rubas@users.noreply.github.com> Co-authored-by: Dominic Rubas <1042243+rubas@users.noreply.github.com> Co-authored-by: MusseJusse <66657454+MusseJusse@users.noreply.github.com> Co-authored-by: Jex <jieyuexing@outlook.com> Co-authored-by: Simone <lucenz@proton.me> Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com> Co-authored-by: PixPMusic <PixPMusic@users.noreply.github.com> Co-authored-by: Filippo Mameli <mameli93@gmail.com> Co-authored-by: cxuan <33996561+crisxuan@users.noreply.github.com> Co-authored-by: Peyton Lamb <94505409+not-compromised@users.noreply.github.com> Co-authored-by: Gabriel De Andrade <30420087+gabrielelpidio@users.noreply.github.com> Co-authored-by: Adamulek123 <adam.bogucki2018@gmail.com> Co-authored-by: Arav Jain <aravhawk@gmail.com> Co-authored-by: tiliakoos <73005126+tiliakoos@users.noreply.github.com> Co-authored-by: GekoV <53224831+gek0v@users.noreply.github.com> Co-authored-by: BenjaSchindler <90808052+BenjaSchindler@users.noreply.github.com> Co-authored-by: Charles Bine <8898759+charlesbine@users.noreply.github.com> Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com> Co-authored-by: Theo Browne <me@t3.gg> Co-authored-by: Erik <ebobinski0@gmail.com> Co-authored-by: Manav <manav.sg1@gmail.com> Co-authored-by: Sergiy Dybskiy <sergiy.dybskiy@sentry.io> Co-authored-by: Matias Mora Valero <matias@moravalero.cl> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Wout Stiens <71498452+StiensWout@users.noreply.github.com> Co-authored-by: angrojo <angel.rojo24@estudiantes.uva.es> Co-authored-by: Roger V <12006627+rgrvlsk@users.noreply.github.com> Co-authored-by: Tgoh <gohtam@gmail.com> Co-authored-by: Tenyoru <mail@tenyoru.me> Co-authored-by: benoneill66 <34775542+benoneill66@users.noreply.github.com> Co-authored-by: Josh McKinney <joshka@users.noreply.github.com> Co-authored-by: RVZO6 <66844656+RVZO6@users.noreply.github.com> Co-authored-by: bfg14 <70485453+xctwt@users.noreply.github.com> Co-authored-by: Bilal Bakr <62337003+Bil0000@users.noreply.github.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Lukas Böhm <47267007+LukasFB@users.noreply.github.com> Co-authored-by: minghinmatthewlam <matthew.lam@openrouter.ai> Co-authored-by: Ernest0N <magatar136@gmail.com> Co-authored-by: Florent Klein <4128942+floklein@users.noreply.github.com> Co-authored-by: Alex <me@pixp.cc> Co-authored-by: Ahmed Ibrahem <66860955+AI091@users.noreply.github.com> Co-authored-by: Fattah 💻 <203197396+abdfattahz@users.noreply.github.com> Co-authored-by: Grok 4.7 <noreply@x.ai> Co-authored-by: Hosmel Quintana <hosmelq@gmail.com> Co-authored-by: Mike Olson <mwolson@member.fsf.org> Co-authored-by: vycdev <Vyctor661@gmail.com> Co-authored-by: MarcoDotIO <Marcus.Arnett10@gmail.com> Co-authored-by: sharath <29162020+tnfssc@users.noreply.github.com> Co-authored-by: xiangyingchang <921162442@qq.com> Co-authored-by: Kelvin Chung <67872121+KelvinChung2000@users.noreply.github.com> Co-authored-by: Skolte <52416805+freezscholte@users.noreply.github.com> Co-authored-by: Angus Fretwell <angusfretwell@me.com> Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com> Co-authored-by: pf <paulfaisant@gmail.com> Co-authored-by: Victor I <11652147+vifar@users.noreply.github.com> Co-authored-by: oliver <97427849+flamboh@users.noreply.github.com> Co-authored-by: kobi <kolicyg@gmail.com> Co-authored-by: Merrkry <124278440+merrkry@users.noreply.github.com> Co-authored-by: Osmel Mora <10142809+osmelmora@users.noreply.github.com> Co-authored-by: juccul <101457938+juccul@users.noreply.github.com> Co-authored-by: Sudharsan <126713117+Sidreyas@users.noreply.github.com> Co-authored-by: Mantas Kantautas <mantas.kantautas@gmail.com> Co-authored-by: bramley-jetcharge <bramley@jetcharge.com.au> Co-authored-by: Rishabh_t106 <rishabh.j.tripathi2903@gmail.com> Co-authored-by: Jackson Miller <jackson@jackson.codes> Co-authored-by: Arash Molavi <ironyh@users.noreply.github.com> Co-authored-by: Shadman Taqi <61359614+iamshadmantaqi@users.noreply.github.com> Co-authored-by: dw3105 <dev.zaigraev@gmail.com> Co-authored-by: chief-archivist <thecradlearchives@gmail.com> Co-authored-by: Victor <satsdev@only21mil.xyz> Co-authored-by: Viktor Leukocyte <viktor.gjorgonoski@gmail.com> Co-authored-by: AymanKhan9 <aymankhan.ak6@gmail.com> Co-authored-by: thecsguy <thecsguy@mail.grokbot.com> Co-authored-by: thecsguy <344173356+itsthecsguy@users.noreply.github.com>
Upstream merged the multi-repo series (pingdotgg#35925) with numbered migrations 104 and 105 for the tracked folder column and the task_folders table, so the fork module no longer creates them. Old-shape task folder tables from the earlier port are set aside before the numbered migrations, since 105 indexes a column they lack. The checkpoint scope repair still runs after them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…repositories No factory code used the Home adapter (pingdotgg#15975): the Foreman delegates through t3_factory_delegate, and upstream's delegated tasks wake their parent. The adapter and its export are gone, and the ledger no longer pins pingdotgg#15975 for factories. A factory kept its own list of projects in factory.json, though no agent ever read it, while upstream's multi-repo projects (pingdotgg#35925) already say which repositories a project covers. A factory now reports those repositories, read from disk through projectFolders, and the Foreman's work item message names them. The canvas shows them, and the Settings tab lists them read-only with a link to the project's Repositories settings. factory.json no longer has a projects field. A list that names only the factory's own project means nothing; one that names another project raises an other_projects issue that says to add its folder under Repositories. The next save drops the field either way, so no factory stops working. The New factory dialog's copy is translated, since the change touched it and lint requires it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Problem
A project is one folder and one Git repository. People whose work spans several repositories (a plain folder holding
apiandweb, a repository that depends on others elsewhere on the machine, a repository with submodules) had to run one thread per repository, and a worktree thread isolated only the project's own repository.What this does
A project now covers every repository inside its folder, and one thread can read, change, review, commit and isolate all of them.
srcorpackages. A repository cloned there is part of the project straight away. Linked worktrees, submodules, dot-folders andnode_modulesare left out, andignoreRepositoriesint3.jsonopts a repository out.t3 project add <path> --track <folder>), because adding one lets agents work somewhere they could not reach before. A.code-workspacefile's outside folders are only suggested, never granted automatically.worktreeLayout: { create, remove }int3.json.User guide:
docs/user/multi-repo-projects.md.Notes for review
main. The lower layers described a tracking model with rules and a selection dialog that the later rework removed, so they no longer stand alone.104_ProjectionProjectsTrackedFoldersand105_TaskFolders. They were 103 and 104 untilmaintook 103; a database that ran an earlier head of this branch refuses to start and needs its two ledger rows renumbered.agentContextBudget.jsongrows by 627 bytes of MCP tool schema (trackedFolderson project tools,repositorieson worktree strategies).git statusper turn inside a shared budget; a snapshot is taken only once it changes.Not in this PR
addcommand for bringing a repository into a running thread on a layout project.Verification
b5d2d1d81bewith tests.🤖 Generated with Claude Code