Unclear The exact condition under which the git folder access is withheld is not clear.
What
The sandbox limits which files commands run by Claude Code may change. Its setup now:
- works out the git folder for the current working folder
- notes which cleanup paths for bare git repositories were vouched for on your own machine
- can withhold write access to the git folder when the working folder is remote, and records when that happens
- postpones one Linux-only step in some cases
Before, the sandbox always granted write access to the working folder's git folder and treated all cleanup paths the same way.
Why
This tightens what a sandboxed command may write in remote sessions.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The exact condition under which the git folder access is withheld is not clear.