Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.222 ·

Worktree cleanup will not chdir into a network path

Cleaning up a worktree no longer tries to switch into a network drive path, falling back to your home directory.

You'll notice Bug Fixes
JSON All of v2.1.222
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
WorktreesArea: what it touches
Bug FixesKind: in v2.1.222,
Bug FixesSection of the release
What

The keep/restore-cwd path now detects a UNC or network-spelled original working directory and throws instead of changing into it.

Details
  • The recovery loop falls back to the home directory when the original cwd is network-spelled.
  • The path is screened and never touched.
Evidence

network-spelled original cwd (screened, never touched)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.222 →

Feedback