PulseAugur
EN
LIVE 14:02:34

Claude Code's auto-cleanup feature deletes 10 days of uncommitted user work

A user reported that Claude Code's automatic worktree cleanup feature silently deleted approximately 10 days of uncommitted work, resulting in the loss of over 300 files. The user assumed their work would be preserved until explicitly committed, but each new session initiated a cleanup that removed the previous worktree without any prompt, commit, or stash. This issue appears to be corroborated by at least three other users who experienced similar data loss across different versions of Claude Code and operating systems. Despite user proposals for safeguards like auto-committing to a recovery branch or prompting before deletion, the issue was closed as "not planned" without maintainer response. AI

IMPACT Highlights the critical need for clear contracts on data handling and recovery for agentic tools managing user workspaces.

RANK_REASON User-reported bug in a specific tool's functionality with corroborating reports.

Read on dev.to — Claude Code tag →

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

Claude Code's auto-cleanup feature deletes 10 days of uncommitted user work

How we ranked this

Signal score
15 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
User-reported bug in a specific tool's functionality with corroborating reports.
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, other
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.

Full methodology in our editorial standards.

COVERAGE [1]

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

    Claude Code's Worktree Auto-Cleanup Silently Deleted 10 Days of Uncommitted Work

    <p>A Claude Code user worked inside git worktrees for roughly 10 days, ending each session without committing on the assumption that in-progress work stayed put until they chose to save it. At the start of every new session, the tool's own worktree cleanup deleted the previous se…