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
Bug FixesKind: in v2.1.335,
Bug FixesSection of the release
What
A worktree is a separate working copy of your repository that Claude Code can work in. When you leave, a dialog asks whether to keep or remove it. Choosing remove now checks the worktree again first. If it holds new work, Claude Code keeps it and tells you to check it before removing it.
Before, removal went ahead based on the check made when the dialog opened.
Why
This stops Claude Code from deleting changes that were made after the dialog appeared.