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 ·

ExitWorktree tool restructured to session-scoped create() pattern

The ExitWorktree tool was restructured to a session-scoped factory pattern, no behavior change.

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaWorktreeswhat it touches
KindInternal Changesin v2.1.260,
Under the hood

The ExitWorktree tool was restructured to a session-scoped factory pattern, no behavior change.

The ExitWorktree tool's validateInput/call logic now lives behind a create(e) factory, matching the pattern used elsewhere for session-bound tools. This is an internal restructuring; the existing worktree-removal safety checks, covering uncommitted changes, commit counts, and ownership, are unchanged.

See this entry in the whole of v2.1.260 →

Feedback