4 ms·
> 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. Wai
by albert_e 3mo 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.
- weird-eye-issue 3mo agoYes but it's just a setting you can change I don't think you really need an archival step
- albert_e 3mo agoYes 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)
- trjordan 3mo ago> "cleanupPeriodDays": 99999 Throw that in ~/.claude/settings.json
- albert_e 3mo agoThanks. Updated. Codex apparently does not do auto delete presently. Need to watch.
- simonw 3mo agoHorrifying, 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.
- esafak 3mo agoI use https://usegitai.com/ https://usegitai.com/ and https://ctx.rs/ https://ctx.rs/ to preserve and search them.