top | item 47186890

(no title)

aragonite | 2 days ago

Claude Code by default auto-deletes local chat/session logs after 30 days, so the claim that this tool can recover "any file Claude Code ever read/edited/wrote" is only true within that retention window unless you've explicitly changed the settings ("cleanupPeriodDays", see [1])

Speaking as someone who's derived a lot of value from these logs, it's a bit shocking that the default is to wipe them automatically!

[1] https://simonwillison.net/2025/Oct/22/claude-code-logs/

discuss

order

rikk3rt|1 day ago

Yes, as soon as I noticed that I changed that setting to 9999 days. Luckily enough I still was in that 30 day window. But true, the retention window is a factor for chances of recovery indeed.

8note|1 day ago

good to know. im thinking about making an mcp tool/skill for searching them, and i guess that same tool should be archiving them properly too

hrimfaxi|1 day ago

Wow I had been trying to find an old session for quite some time, thanks for this.

rikk3rt|18 hours ago

Hope you got what you needed!