Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

EnterWorktree now stays inside the folders allowed at launch

With file reads limited to launch folders, EnterWorktree refuses worktrees outside them and moves the session back if a later check fails

You'll notice Improvements
JSON All of v2.1.323
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.323,
ImprovementsSection of the release
What

A worktree is a separate working copy of a git repository, which Claude creates and enters with the EnterWorktree tool. When permissions.blockFileToolReadsOutsideWorkingDirectories is on, EnterWorktree now checks the target against the folders the session was launched with:

  • It refuses to create, enter or move into a worktree outside those folders.
  • If a check fails after the move, it returns the session to its previous folder.
  • After such a return, the error says where the session now is.

Previously the only check was the permission prompt asking to enter the worktree.

Why

Worktrees could otherwise be used to get around the setting that confines Claude to its launch folders.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed a case where the Write and Edit tools could write to a path covered by a Read deny rule

See this entry in the whole of v2.1.323 →

Feedback