Skip to content

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

How we use AISend a correction

Illustration accompanying Anthropic's Windows app carries gated code that gives each added repo its own Claude Code worktree
Generated illustration

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
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [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. [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. [3]

    RuntimeWire did not launch the app or verify that users can access the feature.

    ReportedSupportedSource: RuntimeWireView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. runtimewire.com

    1 article · October 9, 2026

    Anthropic's Windows app bundles per-folder worktree controls for Claude Code

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Loading related stories