{"version":"2.1.332","anchor":"transcript-compaction-can-keep-the-old-file-when-local-gc-is","canonical_anchor":"transcript-compaction-can-keep-the-old-file-when-local-gc-is","heading":"Compacting a transcript can keep the old file","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/transcript-compaction-can-keep-the-old-file-when-local-gc-is","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Compacting a transcript can keep the old file\n\nWhen local cleanup is set to keep, compacting a transcript saves the old file first and puts it back if compacting fails\n\n**Unclear.** It is unclear what sets transcript storage to keep old files, so you may not be able to switch this on yourself.\n\n**What**\n\nA transcript is the file where Claude Code saves a conversation. Compacting it rewrites the file in a shorter form. When transcript storage is set to keep old files, Claude Code now keeps a copy of the old file before rewriting it. If compacting fails, it puts the old file back. Before, compacting replaced the file and kept no copy.\n\n**Why**\n\nWhen storage is set to keep old files, compacting no longer has to destroy the old transcript.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}