Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.260 ·

New spawn-hook error: worktree/cwd conflict

Spawn hooks setting both cwd and worktree isolation now fail with a clear error.

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaPluginswhat it touches
KindBug Fixesin v2.1.260,
You'll notice

Spawn hooks setting both cwd and worktree isolation now fail with a clear error.

If a plugin's agent.spawn hook sets a cwd on a spawn that is isolated via a worktree, the launch now fails explicitly with an error stating that cwd and isolation: "worktree" are mutually exclusive, instead of silently conflicting.

See this entry in the whole of v2.1.260 →

Feedback