Earlier quoted context omitted.
> Master your craft. Don’t guess, know. You mean add that to my prompt right ?
"Make no mistakes"
An AI agent deleted our production database. The agent's confession is below
61–70 of 1001 posts
Re: An AI agent deleted our production database. The agent's confession is below
#62It seems like the most unreasonable thing happening here is Railway's backup model and lack of scoped tokens. On the agent side of things, how would one prevent this, short of manually approving all terminal commands? I still do this, but most people who use agents would probably consider this arcane. (Let's suppose the agent did need an API token to e.g. read data).
Additionally give it a similar restricted way to "delete" domains while actually hiding them from you. If you are very paranoid throw in rate limits and/or further validation. Hard limits.
Yes this requires more code and consideration but well that's what the tools can be fully trusted with.
Re: An AI agent deleted our production database. The agent's confession is below
#63Why do you need an AI agent for working on a routine task in your staging environment?
"Never send a machine to do a human's job."
Re: An AI agent deleted our production database. The agent's confession is below
#64Put your backups in S3 *versioned* storage on a different AWS account from your primary, and set some reasonable JSON lifecycle rule:
"NoncurrentVersionExpiration": {
"NoncurrentDays": 30,
"NewerNoncurrentVersions": 3
}
That way when someone screws up and your AWS account gets owned, or your databases get deleted by an agent, it doesn't have enough access to delete your backups, and by default, even if you have backups that you want to intentionally delete, you have 30 days to change your mind.Re: An AI agent deleted our production database. The agent's confession is below
#65In seriousness, RBAC, sandboxing, any thing but just giving it access to all tools with the highest privileges...
Re: An AI agent deleted our production database. The agent's confession is below
#66Re: An AI agent deleted our production database. The agent's confession is below
#67not sure what PocketOS does or why your whole dataset would be a single volume without a clear separation between application and automotive data. how are you decoding VINs?
Re: An AI agent deleted our production database. The agent's confession is below
#68Re: An AI agent deleted our production database. The agent's confession is below
#69The way this is written gives me the impression they don’t really understand the tools they’re working with. Master your craft. Don’t guess, know.
> Master your craft. Don’t guess, know. You mean add that to my prompt right ?
Re: An AI agent deleted our production database. The agent's confession is below
#70Minor point, but one of the complaints is a bit odd: > curl -X POST https://backboard.railway.app/graphql/v2 \ -H "Authorization: Bearer [token]" \ -d '{"query":"mutation { volumeDelete(volumeId: \"3d2c42fb-...\") }"}' No confirmation step. No "type DELETE to confirm." No "this volume contains production data, are you sure?" No environment scoping. Nothing. It's an API. Where would you type DELETE to confirm? Are the…