Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
CompactionArea: what it touches
Internal ChangesKind: in v2.1.335,
What probably matters to youSection of the release
What
Compaction is when Claude Code shortens a long conversation by summarising earlier parts. It now saves a record called preCompactArtifactPathHashes in its compaction notes (compactMetadata). The record lists the artifact files that were pinned by path before compaction. For each artifact it stores a slug, a version and a map of its files to sha256 fingerprints. A sha256 fingerprint is a short code computed from a file's contents. The record is capped at 655360 bytes and is only added when CLAUDE_CODE_REMOTE is not set.
Uploading the transcript, the saved record of a session, to a remote copy also changed:
preCompactArtifactPathHashes is removed from the compaction notes before upload.
Claude Code now tracks where each saved row is meant to be uploaded, and skips uploading rows that are history of a withheld conversation, logging [persist-remote] Skipping upload: the row is history of a withheld conversation.
Why
The artifact fingerprints stay on your machine and are not sent with uploaded transcripts. The history of conversations marked as withheld is also no longer uploaded.