Claude Code deletes developers' production setup, including its database and snapshots — 2.5 years of records were nuked in an instant

https://lemmy.nz/post/35120739

Claude Code deletes developers' production setup, including its database and snapshots — 2.5 years of records were nuked in an instant - Lemmy NZ

Lemmy

This is a crazy use of AI!

What I have been considering, but haven’t found a readily available setup yet: Make a user with lots of read permissions (most of /etc, API keys & passwords in separate excluded files). That could be done with very restrictive sudo patterns. Let the AI run commands under that user directly (it can do sudo -l to get an idea of what it can do). Then, use it like in Star Trek “Computer - run a level 2 diagnostic”.

Not as the centre of attention when fixing a problem, but as additional input / modern rubber ducking.

I just run it in a VPS, don’t care if it nukes itself. Back up the files it works on every 3 hours.