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 ·

A failed /cd now puts the sandbox settings back as they were

If /cd fails partway, Claude Code now restores the old sandbox settings entry and reports the real error

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

/cd moves your session to a new working directory. A sandbox is the set of limits on what commands can touch, and its settings are tied to the directory. Claude Code now records which sandbox settings files apply before the move, and in some cases sets up the entry for the new directory.

Part of the move is moving the transcript, the saved record of the conversation. If that step fails, Claude Code now restores the old sandbox settings entry. It then reports the error that actually caused the failure. Before, only a smaller part of the session's directory information was restored, and the error passed on was not the original one.

Why

A failed /cd leaves the sandbox settings consistent with the directory you are still in, and the error you see describes what really went wrong.

Read from
Names in the bundle/cd

See this entry in the whole of v2.1.331 →

Feedback