{"version":"2.1.335","anchor":"sandbox-warns-on-unreadable-added-dirs-git","canonical_anchor":"sandbox-warns-on-unreadable-added-dirs-git","heading":"Sandbox warns when it cannot check the .git folder of an added directory","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/sandbox-warns-on-unreadable-added-dirs-git","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Sandbox warns when it cannot check the .git folder of an added directory\n\nWhen Claude Code cannot look into an added directory, it now warns that sandboxed commands cannot write that directory's .git folder\n\n**What**\n\nThe 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.\n\n**Why**\n\nIf git commands fail inside an added directory while sandboxing is on, this warning explains the cause.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}