Remix.run Logo
albert_e 14 hours ago

> 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.

trjordan 14 hours ago | parent | next [-]

> "cleanupPeriodDays": 99999

Throw that in ~/.claude/settings.json

albert_e 9 hours ago | parent [-]

Thanks. Updated.

Codex apparently does not do auto delete presently.

Need to watch.

simonw 14 hours ago | parent | prev | next [-]

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.

weird-eye-issue 14 hours ago | parent | prev | next [-]

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

albert_e 9 hours ago | parent [-]

Yes done this now. Thanks.

I will still try and include archival -- storage is cheap. A reinstall of Claude Code or buggy upgrade might still wipe history. I also ocassionally use multiple PCs -- so there is some small value in consolidating them all for analytics and insights.

(When I have a weekly quota unused and about to expire -- i task Opus with churning through these archives and surfacing learining, best practices, what's not working etc)

esafak 13 hours ago | parent | prev [-]

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