PulseAugur
中
实时 20:29:03
English(EN) Claude Code sessions disappeared? It deletes them after 30 days

Claude Code 自动删除会话;用户可以调整设置或使用搜索工具

Claude Code 是一款面向开发者的工具,默认情况下会在 30 天后自动删除旧会话,且没有警告或回收站。用户可以通过将 `~/.claude/settings.json` 中的 `cleanupPeriodDays` 设置增加到一个较大的数字(如 3650)来防止这种情况发生。此外,`/resume` 命令可能不会显示所有会话,只显示当前项目中的会话以及匹配标题而非内容的会话。为了更有效地搜索会话内容,用户可以使用 `grep` 命令处理会话文件,或使用开源命令行工具 `ccback`。 AI

影响 提供有关管理 AI 开发工具会话和数据持久性的指导。

排序理由 文章详细介绍了一款特定软件工具的功能和潜在问题,并提供了解决方案。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Claude Code 自动删除会话;用户可以调整设置或使用搜索工具

本文如何被排名

Signal score
30 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
文章详细介绍了一款特定软件工具的功能和潜在问题,并提供了解决方案。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Aditya Ghadge ·

    Claude 代码会话消失?它会在 30 天后删除它们

    <p>if an old claude code session is missing from <code>/resume</code>, there are two possible reasons. it was deleted, or it's still there and the picker just can't find it</p> <h2> 1. claude code deletes old sessions after 30 days </h2> <p>claude code saves every session as a <c…