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.38 Home All releases olderv2.1.37 v2.1.39newer
Claude Code v2.1.38

File Snapshot Persistence for Plan Recovery

What

Plan mode now persists file snapshots to the conversation transcript, enabling recovery if files are deleted.

Details
  • File snapshots are stored as system messages with subtype file_snapshot
  • Recovery sequence when resuming a conversation:
  1. Try to read plan file from disk
  2. If missing, recover from file snapshot in message history
  3. If no snapshot, attempt recovery from serialized plan content
  • Log messages indicate recovery source: "Plan recovered from file snapshot"
  • Protects against accidental file deletion during long planning sessions
Evidence

Recovery system (search for "Plan recovered from file snapshot")

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