Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.319 ·

Leaving a worktree no longer deletes files saved from connectors without asking

ExitWorktree now refuses to remove a worktree holding files saved from connectors, unless discard_changes is set to true

You'll notice Improvements
JSON All of v2.1.319
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.319,
ImprovementsSection of the release
What

A worktree is a separate working copy of your project that Claude Code can work in alongside your main one. ExitWorktree is the tool Claude uses to leave a worktree, and it can remove the worktree on the way out. When asked to remove it, ExitWorktree now also checks the worktree's folder of files saved from connectors (outside services Claude Code is linked to).

  • If that folder holds saved files, removal is refused unless discard_changes is true
  • If the folder cannot be checked, removal is also refused unless discard_changes is true
  • The refusal message lists the saved files alongside any uncommitted files and commits
  • A second check right at removal time stops with an error if the folder gained files or could not be read

When removal is refused, the session stays in the worktree. Before, only uncommitted files and commits could block removal.

Why

Files saved from connectors are no longer lost without warning when a worktree is removed.

Read from
Names in the bundleExitWorktree

See this entry in the whole of v2.1.319 →

Feedback