Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.140 ·

Sandbox Bare-Repo Scrubbing Preserves .git and HEAD

Entry
JSON All of v2.1.140
EntryKind: in v2.1.140,
ImprovementsSection of the release
What

The sandbox cleanup routine that removes planted bare-repo files now preserves the HEAD file and the .git directory within those repos during the scrub pass.

Details
  • Previously all files were deleted recursively without exception.
  • Now HEAD and .git entries are skipped during the scrub, avoiding corruption of valid git metadata.
Evidence

si1() function (search for "[Sandbox] scrubbed planted bare-repo file")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.140 →

Feedback