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.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Worker sync state is stored in a .ccr-dir-sync folder beside the repo

Under the hood
Useful2 Signal2
Remote Sync not in their notes

Sync state lives in a .ccr-dir-sync folder beside your repo so restarts resume quickly.

.ccr-dir-sync
What

The syncer saves what it has already agreed with the laptop into a JSON file under a .ccr-dir-sync directory next to the repository root, named after the remote session id, so a restarted worker resumes instead of re-scanning everything.

Details
  • Written with restrictive permissions: file mode 0600, directory mode 0700.
  • Refuses to write if the state exceeds 64 MiB or if the file lists exceed what the reader will accept, logging "sync base too large to store".
  • Permanently gives up persisting after permission or read-only filesystem errors (EACCES, EPERM, EROFS), logging dir_sync_worker_persist_failed; syncing continues without a saved state.
Evidence

.ccr-dir-sync

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