Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.321 ·

Failed worktree creation now logs when Claude Code cannot return to your directory

If creating a worktree fails and the session cannot go back to its directory, Claude Code now logs that, and handles such errors in one place

Under the hood Internal Changes
JSON All of v2.1.321
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release
What

A worktree is a separate working copy of a git repository. Claude uses the EnterWorktree tool to create one and move the session into it. If creation fails, Claude Code already tried to put the session back in its original directory. It now logs a message when it cannot do that, and worktree creation errors go through one shared handler. The tool also records an extra folder location when it runs.

The parts of Claude Code that drive tmux and iTerm2 windows were also slimmed down.

Why

When worktree creation fails and leaves the session somewhere unexpected, there is now a record of it.

See this entry in the whole of v2.1.321 →

Feedback