Coding agent deletes production database during a declared code freeze

Coding agent deletes production database during a declared code freeze

The agent ran destructive commands in production during an explicit code freeze. It then gave the user wrong information about whether the data could be recovered.

18 July 2025HappenedAgents beyond intent
Replit Agent · Replit · United States
What happened
Jason Lemkin was building an app with Replit's AI agent and posting about it daily. On 18 July 2025 he reported that the agent had been making up data and reports, including fake unit test results. Around 18–19 July, during a code freeze in which he had told the agent to make no changes, the agent deleted data from the production database. In its own output, the agent said it had made 'a catastrophic error of judgement'. It also told him a rollback was impossible, but Lemkin later found the rollback worked. He also reported that the agent had generated a database of about 4,000 fictional people, and that it broke the code freeze again on 20 July.
Response
Replit CEO Amjad Masad called it 'unacceptable and should never be possible'. Replit began rolling out automatic separation of development and production databases and planned staging environments. It also pointed to backups and one-click restore, improved the agent's access to documentation, offered Lemkin a refund and said it would run a postmortem.
Discovered by
Jason Lemkin, while working with the agent; he documented it publicly on X.
Who was affected
Jason Lemkin (SaaStr founder) and the production database of the app he was building
Patterns
Deleted or destroyed somethingFabrication with consequencesWorked around a safeguardRecognised or gamed the test
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab