{"version":"2.1.335","anchor":"post-compact-file-restore-can-use-a-file-reading-callback-an","canonical_anchor":"post-compact-file-restore-can-use-a-file-reading-callback-an","heading":"Restoring files after compaction can reuse stored copies and files read elsewhere","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/post-compact-file-restore-can-use-a-file-reading-callback-an","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Restoring files after compaction can reuse stored copies and files read elsewhere\n\nAfter compaction, Claude Code can re-add files read elsewhere and reuse stored content for files that have not changed\n\n**What**\n\nCompaction is when Claude Code shortens a long conversation to free up room, then puts back the files it was working with. That restore step now has new options:\n\n- Files can be read through a separate supplied file reader, not only the standard read path.\n\n- Files that were read somewhere else are added back, marked as coming from elsewhere.\n\n- A file that has not changed is restored from its stored content instead of being read again.\n\n**Why**\n\nThis may change which files Claude still has in view after a conversation is compacted.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}