logoalt Hacker News

albert_etoday at 2:19 PM4 repliesview on HN

> The reasoning was in a transcript on my laptop. Claude Code deletes those after 30 days by default. Two of my projects lost their whole history that way.

Wait what? Claude Code (and Codex) transcripts are auto-deleted??

That's a treasure trove of information for all my projects and I had built some tooling and workflows tahat deal with extracting insights from them -- withut ever realizing I mightbe losing old chats. Thanks for this -- I may need to include an archival step for retention.


Replies

simonwtoday at 2:54 PM

Horrifying, isn't it?

Amazing to me how little these companies respect the historic value of the transcripts. Most of my work is captured in them now.

trjordantoday at 2:35 PM

> "cleanupPeriodDays": 99999

Throw that in ~/.claude/settings.json

weird-eye-issuetoday at 2:23 PM

Yes but it's just a setting you can change I don't think you really need an archival step

esafaktoday at 3:15 PM

I use https://usegitai.com/ and https://ctx.rs/ to preserve and search them.