Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SandboxArea: what it touches
In DevelopmentKind: in v2.1.331,
In DevelopmentSection of the release
What
The sandbox is the protected space where Claude Code runs commands with limited access to your system. It treats some git files specially, and until now these were only commondir and .lock files. Behind a new switch, it now also covers the HEAD files of bare git repositories that sit next to a .git folder. It also keeps track of denied git files and added folders each time it sets itself up.
Why
This tightens the sandbox on Linux and WSL around git files that could otherwise be left exposed.