Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Sandbox git folder cleanup message describes the moved file differently

After a sandboxed command, the git folder cleanup now says it moved a ref file "that git could be led to write through"

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

A sandbox is a restricted space Claude Code can run commands in. After such a command, Claude Code cleans up git folders and moves aside risky ref files (small files where git records which commit a branch or tag points to). Its message now says it moved "a ref file that git could be led to write through, in a git folder". Before, it said "a ref file that points outside refs/".

Why

The new wording describes the danger itself: a ref file that could trick git into writing somewhere it should not.

See this entry in the whole of v2.1.331 →

Feedback