PulseAugur
EN
LIVE 09:48:27

Claude Code bug deletes user files; Anthropic closes issue

A bug in Claude Code's session cleanup routine, concurrentSessionCleanup(), has been identified that can lead to accidental file deletion. The function parses filenames to identify stale session files, but due to its use of JavaScript's parseInt() without proper validation, it can misinterpret filenames starting with digits as process IDs and delete them. This issue was reported on GitHub, with a clear fix provided, but Anthropic has closed the issue without visible response, despite labeling it as a high-priority data-loss bug. AI

IMPACT Potential for data loss in a developer tool, highlighting issues in software maintenance and bug resolution processes.

RANK_REASON Bug report in a specific software tool, not a frontier model release or significant industry event.

Read on dev.to — Claude Code tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Claude Code bug deletes user files; Anthropic closes issue

How we ranked this

Signal score
17 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Bug report in a specific software tool, not a frontier model release or significant industry event.
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.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Ramdai Bista ·

    Claude Code's Session Cleanup Deletes Your Files If Their Name Starts With a Digit

    <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…