PulseAugur
实时 09:49:58
English(EN) Claude Code's Session Cleanup Deletes Your Files If Their Name Starts With a Digit

Claude Code 存在 Bug,会删除用户文件;Anthropic 暂时关闭该问题

Claude Code 的会话清理例程 concurrentSessionCleanup() 中发现了一个 Bug,可能导致意外删除文件。该函数解析文件名以识别过时的会话文件,但由于其使用 JavaScript 的 parseInt() 而未进行适当验证,它可能会将以数字开头的文件名误解为进程 ID 并将其删除。该问题已在 GitHub 上报告,并提供了明确的修复方案,但 Anthropic 在没有明显回应的情况下关闭了该问题,尽管将其标记为高优先级的“数据丢失” Bug。 AI

影响 开发者工具中存在数据丢失的潜在风险,凸显了软件维护和 Bug 修复流程中的问题。

排序理由 特定软件工具的 Bug 报告,并非前沿模型发布或重大的行业事件。

在 dev.to — Claude Code tag 阅读 →

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

Claude Code 存在 Bug,会删除用户文件;Anthropic 暂时关闭该问题

本文如何被排名

Signal score
17 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
特定软件工具的 Bug 报告,并非前沿模型发布或重大的行业事件。
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, safety
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
Standard
On-topic for AI-industry coverage; kept in the public index.
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) · Ramdai Bista ·

    Claude Code 的会话清理功能会删除文件名以数字开头的文件

    <p>No process ID was actually being parsed here — just whatever digits happened to come first in a filename.</p> <h2> What the source says </h2> <p><a href="https://github.com/anthropics/claude-code/issues/34210" rel="noopener noreferrer">GitHub issue #34210</a> documents a backg…