BuildNot yet confirmed elsewhere1 publisher2 min readPublished
Anthropic's Windows app carries gated code that gives each added repo its own Claude Code worktree
Anthropic's Windows app 2.31226.0.0 holds gated code giving each repo in a Claude Code session its own Git worktree, RuntimeWire found. Two feature gates keep the controls hidden, so the package shows the workflow's design but not when it ships.
The Engineer · Build desk

What happened
- Against the earlier 2.26454.2.0 build, each added-folder row now sends its path, a worktree preference and an optional source branch into the session-start request.
- Sessions over SSH take a separate setup path in the package, with their own support and trust checks.
- WSL, cloud sessions and scratch workspaces fall outside the extra-folder worktree path, as do some side sessions that use the same checkouts as their parent session.
- RuntimeWire could not independently reproduce the finding and did not contact Anthropic before publishing.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
- exposure A folder that falls back to in-place work leaves the agent editing that repository's existing checkout, so isolation has to be confirmed folder by folder before anyone relies on it.
- constraint Teams running Claude Code under WSL fall outside the extra-folder worktree path in this build, so their multi-repo sessions still need worktrees prepared by hand.
- decision A cross-repo change arrives as one pull request per repository, so teams still have to decide and enforce merge order between, say, a web app and its API during review.
The setup starts in the environment editor. Each added folder there gets "Select branch" and "Use worktree" controls [6]. A worktree is an extra working directory linked to a repository, so a developer can work on another branch without cloning it a second time [5]. In a local session, RuntimeWire's reading of the package has the app run three steps at start [8]:
1. The native manager checks the repository details and workspace trust. 2. It asks the worktree manager to create or reuse a worktree, then waits for checkout. 3. The client maps each added folder to its working copy.
I would look hardest at step two. "Create or reuse" means a folder can be attached to a worktree that existed before the session started [8]. RuntimeWire also describes an in-place fallback and says developers will still need to check which folders actually received isolated working copies [16]. The report does not say what triggers the fallback. In a multi-repo team I would keep a hand-built worktree script until that is documented, because the script records where every copy lives.
The per-repository split for commits is the right design. A shared Claude session does not merge the underlying Git histories into one project, and the code directs commits and pull requests repository by repository [20]. In RuntimeWire's example, a developer changing a web application and its separate API adds both folders and picks a worktree for each [21]. That change comes out as two branches and two pull requests from one session [22]. The bundled instructions show intent only. RuntimeWire notes that static inspection does not establish how Claude behaves in a live session [10].
Three conditions control whether anyone sees the controls: a session-presets gate, a separate worktree gate, and the app advertising support [14]. RuntimeWire did not change those gates, enroll a production account or start the application [14] [3]. Its comparison covered Windows x64 only [13]. What the package does establish is that the feature is implemented in this build [1].
Anthropic's desktop documentation already describes worktrees for local sessions and multiple repositories in cloud sessions [17]. David Iya's October 7th guide covers using '/add-dir' to bring another folder into a session [18]. Luis Mori Guerra's March 18th guide walks through preparing worktrees across repositories by hand [19]. The new Windows code adds per-folder worktree setup to the editor and session start for local and SSH work. RuntimeWire says that could remove some of the manual preparation [2].
What to watch
- Anthropic documenting per-folder 'Use worktree' controls for local or SSH sessions on Windows, confirming the gates have opened.
- An independent reproduction or an Anthropic statement describing when the in-place fallback triggers and how the app reports it.
- A later build adding WSL or scratch workspaces to the extra-folder worktree path, or a non-x64 build carrying the same code.
Clarity's read
What the record supports and how the coverage leans. The claims behind it follow.
Reality
- Evidence40
- Adoption
- Insufficient
- Hype gap0
- Incentives
- Insufficient
- Confidence45
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [1]
Anthropic's signed Windows package 2.31226.0.0 contains gated code for starting one Claude Code session with separate Git worktrees for additional repositories; the package establishes the feature is implemented in this build.
ReportedSupportedSource: RuntimeWire inspection of the package2 sources— create a free account to open themView cited source - [2]
The Windows desktop code adds per-folder worktree setup to the editor and session start, potentially removing some manual preparation for local and SSH work.
- [3]
RuntimeWire did not launch the app or verify that users can access the feature.
- [4]
RuntimeWire was not able to independently reproduce the finding, and the company was not contacted before publication.
- [5]
Git worktrees create additional working directories linked to a repository, letting a developer work on another branch without making a full second clone.
- [6]
The new desktop code adds per-folder "Select branch" and "Use worktree" controls to the environment editor.
- [7]
RuntimeWire compared the signed Windows x64 package 2.31226.0.0, acquired October 9th, with the preserved 2.26454.2.0 build. The earlier version's added-folder rows had a removal control; the newer one carries each folder's path, worktree preference and optional source branch into the session-start request.
- [8]
In local sessions, the native manager checks repository details and workspace trust, then asks the worktree manager to create or reuse a worktree and waits for checkout. The client maps each added folder to its working copy.
- [9]
Code in the package supplies Claude with instructions to use the mapped paths and to commit and open pull requests separately for each repository.
- [10]
The instructions show the intended workflow; static inspection does not establish how Claude behaves in a live session.
- [11]
The implementation includes a separate SSH path, subject to its own support and trust checks.
- [12]
The inspected extra-folder creation path excludes WSL, cloud sessions, scratch workspaces and some side sessions that share their parent's checkouts.
- [13]
The verified comparison covered Windows x64 only.
- [14]
Both a session-presets gate and a separate worktree gate must allow the controls to appear, and the app must advertise support. RuntimeWire did not change those gates, enroll a production account or start the application.
- [15]
The package does not establish when the feature might become available or which accounts could receive it.
- [16]
Preparing a worktree for each repository could cut setup time, but the in-place fallback means developers still need to check which folders actually received isolated working copies.
- [17]
Anthropic's desktop documentation already describes worktrees for local sessions and multiple repositories in cloud sessions.
- [18]
In a guide published October 7th, David Iya describes using '/add-dir' to bring another folder into a session and adding multiple repositories to cloud sessions.
- [19]
Luis Mori Guerra's March 18th guide walks through manually preparing worktrees across repositories.
- [20]
Anthropic's code directs commits and pull requests to be handled repository by repository, since a shared Claude session does not merge the underlying Git histories into one project.
- [21]
A developer changing a web application and its separate API could add both folders and choose a worktree for each.
- [22]
A change spanning a web application and its separate API, made in one session, comes out as two branches and two pull requests.
Sources
1 independent publisher whose own reporting we read for this story.
- runtimewire.comAnthropic's Windows app bundles per-folder worktree controls for Claude Code
1 article · October 9, 2026
Topics and entities
Follow any of these and your For You feed starts watching them — no settings page required.
Topics
- AI Coding AgentsFollow
- App teardownsFollow
- Git WorktreesFollow