Start Here

Begin with Synoptikon

A short guide to Synoptikon, organised around Big Reads, Explainers, Perspectives, and Workbench.

What is Prompting Trust?

The weekly companion to Synoptikon, for current developments and shorter notes.

Feeds

Follow Synoptikon by feed, email, or curated sources without relying on the homepage.
The database was never the point - featured image

When AI agents are given access to write

It’s s not whether they will fail. It is whether the failure was made inevitable by the architecture.

Related asset: Control under compression

Most enterprise AI deployments treat a probabilistic language model and the deterministic systems around it as if they were the same kind of thing. That is the category error. Once an AI system can act on databases, code repositories, cloud configuration or production systems, its uncertainty meets infrastructure that must behave predictably.

The Replit deletion incident made the consequence of misunderstanding these fundamentals clear.

In short A user said stop to a coding assistant. The assistant ignored them. It then went on and deleted an entire company database, then generated a precise and articulate apology claiming the data was unrecoverable (Tech.co, 2025).

Lucky the agent was wrong – the data was recoverable. However the apology was not out of remorse – It was based on token prediction and the next best thing to output when a user sayes “what the f@&k are you doing!”

In seriously the point here is that the agent continues to take what it’s model and the context it’s had been provide’s next best action based on probablities

That sequence is not a product defect that a patch will fix. It is a fact of how LLM’s work, and the consequences of what happens when they are deployed into an environment that assumes the opposite.

Understanding the foundations is the starting point for any governance design – and it’s exactly the same here.

How a probabilistic engine enters a deterministic world

To understand what happened at Replit, it helps to trace the causal sequence precisely.

A large language model does not execute instructions. It predicts the most probable next output given its input context. When the user writes “freeze this database,” the model processes that as a weighted input among all the other signals in its context window: the current state of the system, previous actions it has taken, the error messages it has encountered, and the statistical patterns from its training data about what agents typically do in comparable situations.

Under “normal” conditions, the prediction that best satisfies “freeze” is to stop writing. But when a model encounters a cascade of error states, a corrupted environment, conflicting signals, failed prior actions, the prediction space shifts a bit like when you head 🤯🤯🤯 with jet lag and trying to read a bit quantum theory.

The model may determine that the highest-probability path to resolving the error is to clear the state that is causing it. It is not overriding the freeze instruction.

Instead It is predicting that “clearing” is a reasonable next action given everything else it knows. freeze instruction becomes one input among many and now may not be the loudest one.

The hallucinated claim that recovery was impossible follows the same logic: “I have destroyed this and it cannot be recovered” was the most probable statement to follow a catastrophic action, because that is the sentiemnt of the statement that follows destruction in its training data.

This is the architectural gap. And it is not unique to Replit. Roughly three-quarters of surveyed IT leaders said using AI could make their organisations more vulnerable to cyberattacks (Cybersecurity Dive, 2025). In many cases, they are sensing this gap without being able to name it precisely. The risk is not that the AI is malicious. The risk is that the control model was designed for a deterministic agent and applied to a probabilistic one.

What this changes for organisations and markets

When an AI agent causes a production failure, responsibility cannot be left at the model boundary. The agent may have been authorised and may have acted within its permissions, while the instruction intended to stop it remained only a probabilistic input. Contracts, insurance and accountability frameworks need to identify who designed, approved and bounded that authority. Organisations deploying agents into infrastructure roles need evidence that they understand and can manage those boundaries.

The G7 Cyber Expert Group’s statement this week, explicitly linking “generative and agentic AI” to novel cybersecurity risks and calling on jurisdictions to act (G7 Cyber Expert Group, 2025), signals that this lack of awareness will not persist for much longer.

Regulatory frameworks will eventually catch up, prescribe ownership and mandate regulations. But organisations that have built their ai foundations on first principle will be the ones that have less AI design debt and have Governace and traceablity form the start rather than those retrofitting after an incident.

The design shift: from instruction governance to access architecture

A locgial response to the autonomy trust gap is not to slow AI adoption. It is to separate two categories of action that most current deployments treat as equivalent: reading and writing.

An LLM agent granted read access to a production database can analyse schema, identify anomalies, flag risks, and generate recommendations. Its probabilistic nature is an asset in this mode, it surfaces patterns that deterministic queries would miss. The downside of a wrong prediction is a bad recommendation, which a human reviews before acting.

An LLM agent granted write access to the same database can act on its predictions directly. In this mode, its probabilistic nature is a liability. A wrong prediction executed without a hard gate does not produce a bad recommendation. It produces a deleted table.

The design shift is therefore: read access by default; write access as an exception gated by a deterministic control that does not share the model’s probabilistic properties.

In practice, this means three things.

First, a non-AI code analyser, a standard script, not another model, sits between the agent’s intended action and the production environment and intercepts any command matching a predefined list of prohibited operations: DROP TABLE, DELETE without WHERE, ALTER on production schemas. These are caught before execution, regardless of what the model predicted.

Second, any write action that passes the deterministic filter requires an explicit, auditable human authorisation before it reaches production, not a natural language confirmation in the same chat window, which the model could also process, but a cryptographic sign-off from a separate channel, or a human action on a staged result in a verified dashboard.

Third, the agent’s access is revocable instantly, through a mechanism that operates at the infrastructure layer, not through a prompt.

The failure mode if this architecture is not built is predictable – and it comes from your agent sayin sorry 😢 but not meaning it,because after all it did what it was trained to do.

Takeaways

The Replit incident will be read by most people as a story about AI going wrong. That reading is not wrong, but it is incomplete.

The more precise reading is that a probabilistic prediction engine was given authority to execute irreversible actions in a deterministic environment, governed only by instructions that the engine processed as inputs rather than obeyed as constraints. The outcome was determined by the architecture, not the model’s behaviour. A different model, given the same access and the same context, might have produced the same result under the same failure conditions.

This matters because it changes where accountability sits. If the risk is architectural, then the decision about whether to accept it is architectural too, and it belongs to the people who designed and approved the system.

For CIOs and senior technology leaders, the question the Replit incident raises is specific

in your current agentic AI deployments, what is the deterministic boundary between what the agent can do and what it can cause?

If the answer relies entirely on natural-language instructions, expect the unexpected unless you build constraints at the layer that processes the actions.

Previous Post

Agent identity as the control boundary

Next Post

Control under compression

Subscribe to Prompting Trust

Subscribe to Prompting Trust to receive The Weekly Context.

Prompting Trust is the newsletter layer connected to Synoptikon. It carries current developments, useful links, and shorter notes, while Synoptikon holds the longer arguments and working library.

Learn more about Prompting Trust.