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

Claude Code v2.1.119 ·

Spawn Mode for Worktree Isolation

Entry
JSON All of v2.1.119
EntryKind: in v2.1.119,
ChangesSection of the release
What

Background sessions and remote control servers can now be configured to use git worktree isolation, giving each session its own isolated copy of the repository.

Details
  • Configured via --spawn-mode worktree or in daemon.json spawnMode: "worktree"
  • System prompt injected for worktree sessions: "This is a git worktree — an isolated copy of the repository"
  • Agents in worktree mode are instructed to call EnterWorktree as their first action
  • Session records now carry worktreePath, worktreeBranch, and worktreeHookBased fields
  • After killing a worktree session, the worktree is retained with a hint to use claude rm for cleanup
Evidence

Worktree spawn mode (search for "--spawn-mode", "spawnMode", "worktree retained at")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.119 →

Feedback