Unclear The second check sits behind a feature check, so whether it runs in every session is not clear.
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.
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.
The second check sits behind a feature check, so whether it runs in every session is not clear.