Event ·Multi-source

Claude Code 一个月后自动删除会话记录

一位开发者发现 Claude Code 会在一个月后自动删除会话记录,这意味着用户无法回溯超过一个月的对话历史。该发现引发了关于数据保留策略的讨论,尤其是对于依赖长期会话记录进行项目管理的团队。目前 Anthropic 尚未就此功能做出官方回应。

Current read

如果你用 Claude Code 做长期项目,这个自动删除机制可能打乱你的工作流——建议提前备份关键会话,避免历史记录丢失。

11 sources23° AI heatLast updated 2026/6/1 13:28:05

Evidence

11 sources
Primary sourceJulien Chaumond
View source
Related source 1Simon Willison’s Weblog
View source
Related source 3Claude Code: GitHub Releases
View source
Related source 8rohanpaul_ai
View source
Related source 10Gary Marcus
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.