Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Git WorktreesArea: what it touches
Internal ChangesKind: in v2.1.269,
Internal ChangesSection of the release
What
Before creating a git worktree (a separate working copy of a repository), Claude Code checks whether .claude or .claude/worktrees is actually a symlink, which would be unsafe. That check now returns a structured result describing the failure reason instead of immediately throwing an error, and a separate wrapper turns that result into the same error message as before.
Why
This is an internal refactor that lets the code distinguish between different failure reasons before deciding whether to raise an error. The error message shown to users, such as "Cannot create worktree: is a symlink," stays the same.