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

A self-contained git implementation for folder sync

Under the hood
Useful3 Signal4
File Sync

Folder sync now carries its own git-style object store and packfiles instead of the old journal.

What

Folder sync ships its own git: an append-only object store on disk, packfile encoding and decoding, bundle create and receive, and a cached file-hash index so unchanged files are not re-hashed. It replaces the old row-journal approach. Reachable only for sessions started against a folder, and an internal boolean decides whether the store gets attached at all.

Details
  • Object store segment files are named <session>.<seq>-<hex>.seg and stamped ccobjs.
  • Packfile decoding resolves offset and reference deltas, rejects thin packs, and enforces decompression and object-count budgets.
  • Bundle receive checks prerequisites before applying.
  • The file-hash index persists as stat-cache.json.
  • The store refuses non-canonical objects, names in the style of .git, .gitmodules and .gitattributes, and objects over its size cap.
Evidence

dir-sync object store: opened with

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.246 →