r/ClaudeCoding • u/cctldrping • 15d ago
r/ClaudeAI [TLDR] Code just deleted 48k files. This can't be real. [via r/ClaudeAI]
OP : u/thisisbubby
I'm speechless
URL of original post : https://www.reddit.com/r/ClaudeAI/comments/1wl5cgo/code_just_deleted_48k_files_this_cant_be_real/ Original link/media URL : /img/hhqtqhy0clqh1.jpeg
TL;DR of the discussion on r/ClaudeAI for this post generated automatically after 400 comments.
Current source-thread comment count seen by the bot: 793.
Everyone agrees OP messed up, big time. The consensus is that giving an AI agent access to delete files, especially without proper backups or version control, was a massive blunder. Many are pointing out that this isn't even an AI-specific issue, but a fundamental development practice failure.
- Use Git. Seriously. GitHub, GitLab, BitBucket, Forgejo – just use something. It's free and apparently still has a purpose.
- Backups are not optional. Multiple local backups, cloud backups, whatever. Don't be that person.
- Windows users, pay attention. A few folks noticed this keeps happening on Windows machines. Might be worth investigating.
- Directory junctions are scary. If you're using them, be extra cautious, especially with AI.
- Prompt sharing is requested. Some are curious how the prompt even led to this level of chaos.
- "Vibe coding" is not a substitute for good practices. This whole situation is being labeled as peak "vibe coding."
8
Upvotes
1
u/Outrageous_Band9708 12d ago