Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

Warning when launching multiple write-capable agents into the same directory

Claude Code now warns when it dispatches multiple write-capable agents into the same working directory and suggests worktree isolation

Group of 2 You'll notice Improvements
JSON All of v2.1.280
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Agent ToolArea: what it touches
ImprovementsKind: in v2.1.280,
What probably matters to youSection of the release

What

  • When two or more agents would write or edit files in the same repository, the Agent tool's description can now tell Claude to give each one isolation: "worktree".
  • A new sharesCwd field on the async agent-launch tool schema flags when another write-capable agent is already running in the same working directory. When set, the tool result for the async-launched agent includes a note about the conflict and suggests using isolation: "worktree".

Why This helps prevent parallel agents from clobbering each other's file changes by nudging Claude toward isolating them in separate worktrees when they would otherwise write to the same directory.

Read from
Names in the bundleworktree
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Run agents in parallel touched a line naming worktree after this was published. * [`/batch`](/docs/en/commands) is a [skill](/docs/en/skills) that has Claude split one large change into 5 to 30 worktree-isolated subagents. It's a packaged use of subagents and worktrees, not a separate coordination style. agents see the edit
Confirmed since Anthropic's documentation has since written up worktree, on Claude Code changelog. * Fixed `--setting-sources` (and SDK `settingSources`) not being forwarded to spawned sessions: teammates, `/bg`, `claude agents` sessions and `--worktree --tmux` now start with the parent's restriction changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up worktree, on Claude Code changelog.

See this entry in the whole of v2.1.280 →

Feedback