Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Sandbox gains three new write protections

The sandbox adds write blocks for relative paths through symlinks, for .git/remotes and .git/branches, and a pin on git info folders

Group of 2 You'll notice Internal Changes
JSON All of v2.1.317
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
Internal ChangesKind: in v2.1.317,
ImprovementsSection of the release

Unclear It is not clear what these rules block in practice or whether they are switched on.

What

The sandbox is a fenced-off environment that limits what commands run by Claude Code can write. Its setup now tracks three more protections, each with its own record of whether it was applied:

  • Relative-path write-deny twins, which block writes that reach a denied place through a relative path or a symlink (a shortcut to another file or folder). Recorded as builtConfigRelativeWriteDenyTwins.
  • A legacy remote folders deny, a write block on .git/remotes and .git/branches. Recorded as builtConfigLegacyRemoteDirsDenied.
  • A pin on git info folders. Recorded as builtConfigGitInfoDirsPinned.

On macOS, the setup also loops over a further set of paths and denies those that fall outside the folders you may write to. The sandbox restarts when the feature flags for any of these three protections change. Before, only patternWriteDenyTwins and unlistableWorktreesDeny existed.

Why

Commands inside the sandbox may now be refused writes they could make before, especially into parts of a .git folder or through symlinks.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what these rules block in practice or whether they are switched on.

See this entry in the whole of v2.1.317 →

Feedback