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 ·

Sandbox refuses commands when it cannot leave or create a folder it must protect

Sandboxed commands are refused if Claude Code could not leave a folder it should have left, or cannot create a protected temp folder

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
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

Unclear Whether the check for a folder that could not be left is switched on is not known.

What

The sandbox, the protected area that limits what commands Claude runs can reach, now refuses commands in two more failure cases:

  • Claude Code could not leave a folder it should have left, for example because the disk is full. Commands that ask to skip the sandbox with dangerouslyDisableSandbox are refused too. This check sits behind a switch that the server controls.
  • The sandbox cannot create a temp folder it must protect from the command, because the temp disk is full, over its quota or failing. The error asks you to free space on the temp disk and run the command again.

The sandbox also handles git ref files and Git LFS folders, and blocks writes to the Claude Code cache folder and to .git/NOTES_MERGE_WORKTREE.

Why

When the sandbox cannot set itself up properly, it stops the command instead of running it with weaker protection. If you see one of these refusals, freeing disk space is the first thing to try.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether the check for a folder that could not be left is switched on is not known.

See this entry in the whole of v2.1.331 →

Feedback