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 clean-up drops paths that are no longer a risk

The sandbox clean-up step for bare git repositories now removes kept HEAD paths from its list once they are no longer a risk

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

The sandbox is a protected area that limits what commands Claude runs can reach. One of its clean-up steps handles git's HEAD file, which records the current branch. That step now removes paths from its kept list when they are no longer a HEAD risk. Before, it only filtered by the kept list and never pruned it.

Why

This is a small hardening detail in how the sandbox cleans up git files.

See this entry in the whole of v2.1.331 →

Feedback