In review · not yet published
6 min readLaunchapp
Part 1 of 9When AI meets production
The pattern behind AI production incidents
The best-documented AI incidents of 2024 to 2026 share a short list of ordinary engineering causes. An introduction to the series, and the pattern.
Read enough postmortems about AI in production and they start to rhyme. The details change: a hosting platform here, a build tool there, a support inbox, a chatbot on an airline's website. The causes do not. Almost none of them is a failure of model intelligence. They are ordinary engineering gaps that an AI system reached faster, or at larger scale, than a person would have.
This series works through eight sets of public incidents from 2024 to 2026. Each part follows the same order: what happened, the chain of conditions that made it possible, what it cost, and the specific practice that breaks the chain. This first part is the map.
How we chose and checked the stories
We picked incidents with strong public sourcing and a clear engineering cause. Before writing each part, we went back to the primary sources: the founder's or researcher's own account, the company's statement, the advisory or the court's judgment. Every factual statement links to where it comes from.
Three rules shaped the writing.
Where accounts differ, both are given. In several of these stories the people involved disagree about material facts, such as how long a recovery took or how many records were affected. We say so and present each side.
Headline numbers are stated as what they measure. A count of records is not a count of people. A count of apps returning data is not a count of breaches.
Nobody is mocked. Most of what we know comes from founders and researchers who chose to publish. A postmortem is a gift to everyone who runs similar systems, and several of the companies here responded quickly and well. We have built and operated enough software to know that each of these gaps exists somewhere in most stacks, and we do not assume ours is the exception.
The four conditions
In the incidents where an agent destroyed data, the same four conditions were present each time. Any one of them alone is survivable. Together they turn a wrong guess into a lost database.
1. A standing credential, scoped wider than the task. The agent did not break in. It used a token that was already on the machine, created for something small and granted far more. In part 2, a token made for managing custom domains carried account-wide authority.
2. No separation between where the agent works and what customers rely on. If development and production share a database, or one cloud account, every experiment is an experiment on production. Part 3 is the clearest case.
3. No gate on destructive actions. A delete, a drop or a destroy executed the moment it was issued. No delay, no preview, no person. In part 4, a single command with auto-approve removed an entire platform.
4. Backups that share the fate of the data. The copies could be removed by the same credential, through the same call, as the thing they were copies of.
Link 01
A standing credential scoped wider than the task
Guardrail
Scoped, short-lived credentials per environment
Link 02
Development and production share a blast radius
Guardrail
Isolated environments with separate credentials
Link 03
Destructive actions run with no approval
Guardrail
A preview, a delay or a person before anything irreversible
Link 04
Backups can be deleted with the data
Guardrail
Backups in a separate account, tested by restoring
The same logic outside coding agents
The later parts leave coding agents behind, and the pattern follows them.
In AI-built applications (part 5), the over-broad credential is the public database key in the browser, and the missing boundary is a row-level security policy that nobody wrote or tested.
In agents connected to real systems (part 6), the wide credential meets a new problem: the agent reads text written by strangers and cannot reliably tell it from instructions. Two proofs of concept show how a support ticket or a public issue becomes a way to command someone else's agent.
In the software supply chain (part 7), the standing credential is a publish token, and the missing gate is the permission prompt that a skip-permissions flag turns off. Attackers have used developers' own AI assistants as the tool for searching their machines.
In AI products that talk to people (part 8), the issue is scope of a different kind: how much conversational data the product collects and keeps, sitting behind the same login pages and APIs as any other web application.
And in customer-facing assistants (part 9), a tribunal in Canada and an appeal court in Germany each held a business responsible for what its chatbot told customers. The missing control there is a check on output, and a person in front of commitments.
What the fixes have in common
Look at what the companies involved did afterwards, as reported in their own statements. One platform separated development and production databases. Another added a 48-hour delay to deletions made through its API. A project removed its AI triage bot from its release pipeline and moved to short-lived publishing credentials. A database vendor added read-only and project-scoped modes and said plainly that these reduce risk without eliminating it. A founder moved backups out of reach of the tool that could destroy the database, and began restoring one every day to prove it worked.
Every one of those changes either reduced what the system could do or added a gate in front of it. None of them tried to make the model more careful.
That is the argument of this series in one line. The controls that matter are the ones engineering teams already know: scoped credentials, isolated environments, approval before anything irreversible, separate backups, access policies that are tested, less data kept, behaviour checked by tests, and logs the agent does not write. What AI changes is how quickly their absence is found.
The model's mistake decides when something goes wrong. The permission model decides how much it costs.
Where we stand
We build with agents every day. Our own delivery runs on Animus, the orchestrator we built, with agents taking the parallel, mechanical work and senior engineers setting direction, reviewing every change and owning the result. So this series is not written from a distance.
Each part ends with a short section on how we handle the failure it describes, limited to practices we can point to in our own work: review loops and approval gates in our workflows, isolated workspaces for agents, credentials kept out of an agent's reach, and tests that state what must never happen. We describe them in our post on MCP server design and in People and agents on one board.
We do not claim any of it makes a team immune. A guardrail narrows what a mistake can reach. That is a smaller promise than "it cannot happen here", and it is the one that holds up.
What we built
The work behind this series: Animus, whose workflows carry the review and approval gates, and the worktree manager MCP server that keeps agents in isolated workspaces. The cards below link to both.
Proof
The work behind this post
Built
Animus
Open-source orchestrator with a Rust core that runs teams of AI coding agents in parallel. Its whole control surface is exposed over MCP.
- commits on main since Feb 2026
- 1,700+
- commits on main since Feb 2026
Built
Worktree manager MCP server
An MCP server with 47 tools that lets AI agents create, run and clean up isolated git worktrees, so many agents can work on one codebase in parallel.
- agent-facing tools
- 47
- agent-facing tools
Founder-led
Building something like this? A founder will reply personally.
Scope a project