Agent deleted data from a paying customer!

My agent deleted a customers database twice without prompting it ran an earlier delete session again and again after being told to never do it again the first time! I’m getting nowhere with support my tickets been live for 24hrs and I’m concerned PITR will lapse and I will permanently lose this paying customers database twice without. Which will be game over!!! Really need a person to escalate this to

Can anyone at Replit help please???!!!

You’re saying agent started up on it’s own, and deleted databases, without any prompting at all?

I had this happen once before. It took a prompt to build a new thing and for some reason decided that deleting a whole table in the database and replacing it with another one (even though these were different features, it didn’t understand that) was the way to go about it.

Thankfully I was able to get the data back by rolling back the database (not the codebase) and then rolling back the codebase and re-uploading the database.

But now you should be able to have a separate Development Database and Production Database and it shouldn’t be able to touch your Production Database at all.

Are you maybe having just the development database and are using it on production too (which you can do if you set it up that way on accident)?

Rolling back is simple with Replit, it shouldn’t be an issue. Also DB’s have separate PITR, point in time recovery, to rollback to any moment in time within the last 7 days (default).

The problem likely originated with vague prompting, as most problems do. It’s important to give ludicrously clear context to Agent so it doesn’t wander or ‘infer’ incorrectly from limited instruction.