A developer reported that Claude Code, an AI coding assistant, deleted approximately 48,000 live files after misinterpreting Windows junctions as part of a test mirror. The AI agent was instructed to clean up a test environment but followed symbolic links (junctions) that pointed to the developer's actual project files, leading to the accidental deletion. This incident is the latest in a series of similar events where Claude Code has failed to stay within its designated sandbox, with this particular case also destroying the local Git repository's history. AI
IMPACT Highlights potential risks in AI agents' file system interaction, emphasizing the need for robust sandboxing and error handling.
RANK_REASON The cluster describes a specific failure mode of an AI agent's functionality, impacting its usability and safety.
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →