Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Worktrees can no longer be named after protected config folders

Worktree names such as .vscode, .idea, .claude, .husky or .cargo are now refused with a protected config folder error

You'll notice Improvements
JSON All of v2.1.331
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 that Claude Code can create so work happens apart from your main checkout. Claude Code now refuses a worktree name if any part of it matches a protected config folder. It shows an error saying the name is a protected config folder. Refused names include:

  • .vscode
  • .idea
  • .claude
  • .husky
  • .cargo
  • other similar folders

A name reserved for the downloads folder is also refused.

The check sits behind a remote switch that is on when the server sends nothing.

Why

This stops a worktree from being created inside, or over, a folder that holds editor, tool or Claude Code configuration.

See this entry in the whole of v2.1.331 →

Feedback