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

wulrus@lemmy.world ⁨4⁩ ⁨days⁩ ago

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.

source
Sort:hotnewtop