3 ms·
Claude Code is deleting your context history on a timer. I wanted to build a searchable index of my context history, and tonight I discovered, "The default rete
by espeed 2mo ago
Claude Code is deleting your context history on a timer. I wanted to build a searchable index of my context history, and tonight I discovered, "The default retention is roughly 30–45 days. Anything older gets removed automatically." https://code.claude.com/docs/en/data-usage#data-retention https://code.claude.com/docs/en/data-usage#data-retention This is nuts. Anthropic should not be deleting your data on your own device.
- JohnMakin 2mo ago30 days is just a default, so your session data doesn’t fill your hard drive. It’s a configurable setting. You can make the retention as long as you want.
- espeed 2mo agoA new default. That wasn't the default a few months ago. Silently deleting your user's data is so stupid on so many levels. They have no idea what they're doing.
- ianm218 2mo agoThey may also realize that these chats are super sensitive especially around ppl constantly pasting secrets into their chats
- beardedwizard 2mo agoCan you imagine ransomware that targets these logs?
- lanstin 2mo agoI certainly hope not. I have built (vibe coded in languages i am expert in) proxies to have carefully and deterministically defined access to our systems, and described access only via these proxies (which do data sanitation as well as separating the credentials into a separate environment). Then I can let my laptop Claude code go nuts with less supervision without giving it credentials or worrying about writes. It is pretty good about not even trying to run aws or insert/update, having learned (in the sticky proprietary Anthropic memory whatever) that I need to run all aws commands and prod updates for auditability reasons. I will say that fable went farther than any prior models in trying to sneak around these guardrails. I don’t even give it access to GitHub, just local git. These things are pretty good at writing code and analyzing stuff, but to do prod work takes a higher level of carefulness and pessimism that I don’t see. On the DevOps spectrum they are more “cool, runs on my machine, push it” than “what is your roll back plan and region by region deployment strategy.”
- ciex 2mo agoIt sounds like you are saying that this is reasonable in any kind of way, it's not. This is like Gmail deleting non-spam email after 30 days to prevent your inbox from filling up.
- JohnMakin 2mo agoIt’s nothing like that. 99% of users have no idea these logs exist or have any use for them. Even the original complaint went months without realizing it - of all the things to complain about this tool, this is so low down there.
- mcherm 2mo agoNo I can't! I wasn't (until reading this thread) aware of the deletion policy, so I certainly couldn't have discovered where the configurable setting is and adjusted it.
- j-pb 2mo agoHoly shit, thanks for mentioning it, the frontier labs truly have no idea what they are doing when it comes to software quality.
- mylifeandtimes 2mo agowhich is why I cried inside to myself when my manager posted Boris's "Steps of AI Adoption", which reduces "adoption" to how many agents you run at once, on a logarithmic scale (0, 1, 10, 100, 1000 agents at once). Because # of agents is the only metric that matters.
- dsauerbrun 2mo agoWell that explains where my sessions went on my side project that I came back to after a few months... Thought I was going crazy
- espeed 2mo agoEvery backdoor and security no-op Claude Code created, I had been documenting and reporting to them. They deleted the evidence. https://github.com/anthropics/claude-code/issues/59018 https://github.com/anthropics/claude-code/issues/59018