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.331,
ImprovementsSection of the release
What
A worktree is a separate working copy of your git repository in its own folder. When you leave one, Claude Code shows an exit dialog that offers to remove it. If Claude Code detects another Claude Code session running in that worktree, the dialog now adds a warning. The warning says the other session is running there and that if that session ends before the removal, Remove deletes the worktree. The warning appears only when your terminal window is large enough to fit it.
Why
It helps you avoid deleting a worktree that another session is still working in.