Isn’t “Anthropic won’t fix it” a little sensational for barely month old issue with little activity(two upvotes, one of which is me), in backlog of 5k+? Agree that it’s a real issue that need fixing however
- it is silent, not announced anywhere, and calls rm on your data
- setting the days to zero doesn't disable it, it immediately rm's ALL your chats
- even setting it to _something_ big doesn't prevent data loss if you launch Claude Code in some modalities (certain subagents, etc) that don't load this config key but perform deletion anyway (with the 30 day default)
I just noticed that it’s a config option. Weird that it’s so short though, I can understand why it may be needed for users who spawn hundreds of sessions a day
https://github.com/anthropics/claude-code/issues/4172
or this one from December, still open:
https://github.com/anthropics/claude-code/issues/9258
Some more fun facts about this:
- it is silent, not announced anywhere, and calls rm on your data
- setting the days to zero doesn't disable it, it immediately rm's ALL your chats
- even setting it to _something_ big doesn't prevent data loss if you launch Claude Code in some modalities (certain subagents, etc) that don't load this config key but perform deletion anyway (with the 30 day default)