Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Sandbox protects more git folders and can make remotes and branches read-only

The sandbox now guards more folders inside .git against replacement and can make the git remotes and branches folders read-only

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

The sandbox, the restricted environment that limits what commands Claude Code runs can touch, now protects more of a git repository's internal folders. Before, it only handled hooks, config, config.worktree, commondir and alternates. Now:

  • .git/info, .git/objects/info and .git/objects/info/commit-graphs are pinned so a command cannot swap them for something else
  • A folder name inside each of those is reserved
  • A [Sandbox] warning is logged when one of those paths is a symbolic link (a pointer to another location), a plain file or unreadable
  • The folders that hold git remotes and branches are made read-only, behind a new check
  • Windows now gets the alternates protection too

Several of these protections only apply on certain platforms or under certain conditions.

Why

Commands run inside the sandbox can write to fewer parts of git's internal files. That makes it harder to tamper with a repository, but some git workflows that write to these places from inside the sandbox may stop working.

Read from
Feature flag
tengu_mighty_thimble Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.317: 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.

Read once, for one account on one subscription tier, against v2.1.317. It isn't a statement about your account. What a flag value here can and cannot tell you

See this entry in the whole of v2.1.317 →

Feedback