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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Files Claude deletes in a cloud session go to a session trash, with a reason for every case

You'll notice
Useful3 Signal3
Directory Sync

Deletions from a cloud session move your files to a session trash, never erasing them.

What

Directory sync can now bring deletions back down to your machine, and it never erases anything: removed files are moved to a per-session trash folder. Each refusal has its own user-facing line, so you can see why a delete was skipped.

Details
  • Deletes are refused in bursts, capped per turn, and skipped entirely when no trash folder can be created.
  • Skipped for protected names, credential-looking names, symlinked names, and when .git sits on a different volume.
  • Kept, not deleted, when your local copy changed or does not match what Claude removed. Conflicted copies sit beside the files they belong to.
  • Bookkeeping (state, staging, trash) lives in a .ccr-dir-sync directory at the top of the working tree, which the model is told to ignore.
  • Each sync engine has its own enabled check driven by remote config; the archive engine's check raises "directory sync flag unknown just now" when the flag has not resolved yet, so what happens before it resolves depends on the server.
Evidence

conflicted copies sit beside the files they belong to.

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