Follow Discord
Sweep 23 Oct 2026 · 21:48Z Build v2.1.310 529 read Stable v2.1.308 Latest v2.1.309 Next v2.1.310 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.310 ·

Sandbox gains a remotely switched write block for an unlistable .git/worktrees folder

The sandbox can now block writes when a git worktrees folder cannot be listed, controlled by a remote switch that can change without a new release

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

Unclear Whether this write block is on or off when the server sends no value is not stated.

What

The sandbox is the protective boundary that limits what Claude Code's commands can read and write on your computer. Its settings code now has a rule that blocks writes to a git worktrees folder (.git/worktrees, where git keeps track of extra working copies of a repository) when that folder cannot be listed.

  • unlistableWorktreesDenyApplied is a new piece of state recording whether this block is in effect. It sits next to the existing state for paired write-deny rules.
  • builtConfigUnlistableWorktreesDenied is where that state comes from. It is worked out each time a sandbox configuration is built.
  • The state is restored when a configuration is installed and compared whenever settings change.
  • A change to the matching GrowthBook setting now makes the sandbox reapply its rules. GrowthBook is a service that lets Anthropic turn features on or off remotely.

The block only covers a worktrees folder that cannot be listed. The release itself does not show whether the switch starts on or off. Nothing has been read about the related gate, tengu_quiet_medlar, so its state is unknown.

Why

In practice, the sandbox may now refuse writes inside .git/worktrees when that folder cannot be read. Because the switch is remote, this behaviour can change between sessions even if Claude Code is not updated. If writes to git worktrees are refused inside the sandbox, this rule is one place to look.

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 doubtWhether this write block is on or off when the server sends no value is not stated.

See this entry in the whole of v2.1.310 →

Feedback