Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.332 ·

Entering a worktree checks the folder again just before using it

EnterWorktree now re-checks the folder after its safety check and refuses if the path no longer leads to the folder that was approved

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

Unclear The second check sits behind a feature check, so whether it runs in every session is not clear.

What

When EnterWorktree is given a path and the session's working folder is fixed in place, Claude Code now looks up where the path leads a second time, after the safety check has passed. A worktree is a separate working copy of a git repository. If the path now points somewhere other than the folder that was checked, for example because a symlink (a shortcut to another folder) was changed in between, Claude Code refuses to enter it and records that it did so.

Before, the path was used as given, with no second check.

The reason shown in a permission prompt also now warns you when a path goes through a folder named connector-downloads.

Why

This stops a path from being swapped for a different folder in the short gap between your approval and Claude Code moving into the worktree.

Read from
Names in the bundleEnterWorktree
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe second check sits behind a feature check, so whether it runs in every session is not clear.

See this entry in the whole of v2.1.332 →

Feedback