Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Bundle uploads use per-run refs and clean up after crashed runs

Under the hood
Useful2 Signal2
Cloud Sessions

Two bundle uploads from the same checkout no longer clobber each other, and dead refs get swept.

What

Each cloud-session bundle upload now creates its own temporary git refs instead of two fixed ones, sweeps leftover refs that a killed run left behind, and rewrites the finished bundle to a second file with stable ref names, verified before upload. This makes two uploads from the same checkout safe to run without clobbering each other.

Details
  • Refs are written with update-ref --no-deref; the relabelled copy is verified with git bundle list-heads.
  • A failed sweep is logged and does not abort the upload; a failed relabel has its own error text pointing at temp-directory space and concurrent writers.
Evidence

check that the temporary directory has room for a second copy of the bundle and that nothing else is writing to this checkout

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.246 →