{"version":"2.1.335","anchor":"pre-compact-artifact-path-hashes-recorded-in-compact-metadat","canonical_anchor":"pre-compact-artifact-path-hashes-recorded-in-compact-metadat","heading":"Compaction records artifact file hashes, which are kept out of transcript uploads","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/pre-compact-artifact-path-hashes-recorded-in-compact-metadat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Compaction records artifact file hashes, which are kept out of transcript uploads\n\nCompaction now notes fingerprints of artifact files seen before it, and uploads strip them and skip history of withheld conversations\n\n**What**\n\nCompaction 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.\n\nUploading the transcript, the saved record of a session, to a remote copy also changed:\n\n- `preCompactArtifactPathHashes` is removed from the compaction notes before upload.\n\n- 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`.\n\n**Why**\n\nThe 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.\n\n- Area: Compaction\n- Names: `CLAUDE_CODE_REMOTE`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}