{"version":"2.1.312","anchor":"history-cleanup-also-removes-extra-files-and-uses-a-differen","canonical_anchor":"history-cleanup-also-removes-extra-files-and-uses-a-differen","heading":"Cleaning up old history files now removes more files","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/history-cleanup-also-removes-extra-files-and-uses-a-differen","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### Cleaning up old history files now removes more files\n\nClaude Code's cleanup of old files now removes some files beyond `history.jsonl`, deleting them a different way\n\n**Unclear.** It is not stated which file names or prefixes the extra list contains.\n\n**What**\n\nClaude Code periodically deletes old files it no longer needs. Before, this cleanup removed `history.jsonl` and one other kind of file. It now also removes a list of other file names, and files whose names start with certain prefixes. Those extra files are deleted through a separate step instead of being removed directly.\n\n**Why**\n\nMore stale files are cleared away. If you keep files of your own next to Claude Code's history, note that the set of files removed is larger than before.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}