Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Sandbox warns when it cannot check the .git folder of an added directory

When Claude Code cannot look into an added directory, it now warns that sandboxed commands cannot write that directory's .git folder

You'll notice Improvements
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.335,
ImprovementsSection of the release
What

The sandbox is a protected area that limits what commands run by Claude Code can touch. Added directories are extra folders you give Claude Code access to beyond the one it started in. When Claude Code sets up the sandbox, it now checks each added directory. If it cannot look inside one, it shows a warning that sandboxed commands cannot write to that directory's .git folder, the folder where git keeps its records.

Why

If git commands fail inside an added directory while sandboxing is on, this warning explains the cause.

See this entry in the whole of v2.1.335 →

Feedback