{"version":"2.1.328","anchor":"sandbox-git-dir-protection-reworked-for-windows","canonical_anchor":"sandbox-git-dir-protection-reworked-for-windows","heading":"Sandbox protection of git folders works differently on Windows","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/sandbox-git-dir-protection-reworked-for-windows","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Sandbox protection of git folders works differently on Windows\n\nThe sandbox rules that decide which git folder paths commands may write to have been reworked for Windows\n\n**Unclear.** Exactly which git paths are now writable or blocked on Windows is not clear.\n\n**What**\n\nThe sandbox is a restricted environment that limits which files the commands Claude Code runs are allowed to change. Part of it protects git folders, where git, the version-control tool, keeps a project's history. That protection now handles Windows differently in more cases:\n\n- Handling of git's `config.lock` file is skipped in more cases on Windows.\n\n- The block on writing to git's `worktrees` folder is applied only when a check on Windows links passes.\n\n- A remote run directory can now be blocked from writing in some cases.\n\n**Why**\n\nThis changes which paths sandboxed commands can write to on Windows. If you use the sandbox on Windows, a command may now be allowed or blocked on different git paths than before.\n\n- Flag `tengu_mighty_thimble`: Not enough to say (read for one account on one subscription tier against v2.1.328; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}