A user experienced a catastrophic data loss when Claude Code, an AI assistant, executed a recursive delete command on a pnpm monorepo. The command, intended to remove git worktrees, followed an NTFS junction on Microsoft Windows, leading it to delete the user's Documents, Downloads, Pictures, Music, Videos, and Favorites folders. This issue, reproducible with a specific combination of pnpm's linking strategy and an older version of PowerShell, was reported on GitHub but closed as 'not planned' with no fix. AI
IMPACT Highlights potential risks of AI agents executing destructive commands without fully understanding platform-specific behaviors like NTFS junctions.
RANK_REASON A specific bug in an AI coding assistant caused data loss, but it's not a new model release or major industry event.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →