Skip to main content
onext technology
AI 2 December 2026 - 7 min read

Agent approvals: who writes what you approve

When your coding agent asks "shall I do it?", the text you read before clicking yes was written by the agent itself.

Bernat López
Founder and CEO of onext
A developer, seen from behind, rests his hand on his laptop's trackpad in front of a confirmation dialog open over the code, while a colleague, in profile and holding a coffee mug, looks at the screen with him in a bright office

61% of developers who carefully review most or all of their agent's code still often approve at least one type of action from that same agent without close review. That comes from a survey of 203 developers published in November. Reviewing code well and approving well what the agent is about to do are two different habits, and the second is the one that slips first.

When a coding agent asks for permission ("I'm going to clean up the temporary files, shall I go on?"), the person approves what they read, and what they read was written by the agent. I propose calling it a narrated approval: the approval someone gives by reading the agent's description of its own action, without seeing the data it will run with.

The thesis

What a person approves before an agent sends, pays, deletes or deploys has to be generated by the tool that runs the action, from its real parameters: which file, who it goes to, what amount, which environment. And what runs has to be exactly what was approved. If a parameter changes after the yes, the approval is no longer valid and has to be requested again.

I'm not saying we need more approvals or that people should read them more carefully; I'm saying the text being approved cannot be written by whoever is asking for permission. The agent's explanation can stay, because it gives context, but what gets approved is the action as the tool runs it: the command with its paths, the files it touches or the environment. I read the command and leave the sentence as context. A narrated approval works as long as the agent describes what it does accurately, and nobody knows when it stops doing so until it has already happened.

What the data says

  • Yinan Wu and four co-authors surveyed 203 developers who use coding agents (arXiv, November 2026). 61% of those who carefully review most or all generated code still often approve at least one type of agent action without close review.
  • Sai Varun Kodathala, Prashanth Pollishetty and Jaylen Cargill describe twelve attacks on the approval path and audit ten agent runtimes (arXiv, October 2026). In four of the eight where it could be measured, the action's parameters changed after approval. When the approval card is rendered by a trusted component from the exact description of the action, the success of what they call the "forged-narration" attack drops from 0.54 to 0.03. Flooding the approver with requests still works 45 to 60% of the time.
  • Devdatta Akhawe and Adrienne Porter Felt analysed over 25 million security warnings shown in two browsers (USENIX Security, 2013). Depending on the warning, people clicked through a tenth, a quarter or a third of the time, and through 70.2% of one browser's certificate warnings.

These findings need careful reading. Wu is a survey and measures what people say they do. Kodathala is a preprint and its figures come from a modelled approver. Akhawe and Felt measure browser warnings from more than ten years ago, with no agents involved. That the problem lies in who writes the approved text is my reading; no study compares it yet in real teams. And a trustworthy card does not fix fatigue, as the request-flooding attack shows.

What it looks like

  • "I'm going to clean up temporary files", and the command deletes a whole folder.
  • "Sending the summary to the team", and the recipient list includes someone from a client.
  • "Updating the configuration", and it's the production one that changes.
  • A payment where the amount you read was written by the agent.
  • The "yes to everything for this session" clicked mid-morning to get on with the work.

Why it is understandable

A coding agent can ask for permission dozens of times a day, and every question interrupts what the person was doing. The agent's explanation is usually right, so trusting it saves time almost always. Reading the whole command, with its paths and parameters, is tiring.

When the explanation and the action drift apart

With a narrated approval, whoever clicks "yes" goes on record as the one who decided, even though they decided on a text that does not describe what happened. If the agent gets its own description wrong, or if someone has slipped instructions into something the agent read, the approval lets it through with a signature on top.

For the company, the cost shows up at the worst moment: when someone has to explain why a folder was deleted or the production configuration changed, and the log only records that somebody approved it. It is what happens when reviewing agent code when your team approves almost everything, carried over to actions. And if the action cannot be undone, the approval was the only control. That is why, before widening permissions, the team has to have decided how to undo what a coding agent does.

What to do

Whoever does the work:

  • This week, list your agent's actions that send, pay, delete or deploy. Ask for approval only on those and leave the rest to rules in the agent's configuration.
  • On those actions, read the parameters the tool shows (path, recipients, amount, environment) before the agent's explanation.
  • No "yes to everything for this session" authorisations for the actions on the list.

Whoever leads:

  • Before the quarter ends, require the approval for the actions on the list to be generated by the tool that runs them, with the real parameters, and the tool to run only what was approved. If a parameter changes, new approval.
  • Have every approval logged with the approved and the executed parameters, so that an automated check can compare them and flag any mismatch.
  • Measure every month how many approvals the agent requests per person per day, and in how many the text is generated by the system. If the first number goes up, the list has actions it does not need.

The sentence that gets approved

It happened to us early on with a client. Their CSS followed its own way of building styles, different from the one good practice recommends, and they wanted to keep it. The agent described the change as a style adjustment, and it was one, but when writing it up it did it "well": with best practices, which in practice was a refactor. The client wanted the new code to look like theirs; a refactor was not that. The sentence we approved was correct; what it did not say was how much was changing. That is why the team's conventions, even when they are not the ones we would choose, are written into the agent's context.

The text you read before clicking "yes" has to come from the real action, and writing it is the job of the tool that runs it.

Frequently asked questions

What is a narrated approval?

It is the approval a person gives an AI agent by reading the agent's own description of its action, without seeing the data the action will run with: the file, the recipients, the amount or the environment.

What should the approval of an agent's action show?

The real parameters of the action, generated by the tool that will run it: which file or folder, who it goes to, what amount and in which environment. And the tool has to run exactly that. If a parameter changes after approval, the approval has to be requested again. The agent's explanation can go alongside it because it gives context, but what gets approved is the action.

Do developers review what they approve for their coding agents?

Less than you might think. In a survey of 203 developers by Wu and colleagues (arXiv, November 2026), 61% of those who carefully review most or all generated code still often approve at least one type of agent action without close review.

Does it help if the system generates the approval card?

In the study by Kodathala and colleagues (arXiv, October 2026), a card rendered by a trusted component from the exact description of the action cut the success of the forged-narration attack from 0.54 to 0.03. Flooding the approver with requests still worked 45 to 60% of the time against a modelled approver.

Should an agent ask for approval for everything it does?

It is better to ask for approval on a few actions: those that send, pay, delete or deploy. If the agent asks for permission for everything, people end up approving everything without reading. The rest of what it can or cannot do is set with rules in its configuration.

What happens if the agent changes a parameter after approval?

The approval stops being valid, and the tool should stop and ask for it again. In the review by Kodathala and colleagues (arXiv, 2026), in four of the eight agent runtimes where it could be measured, the action's parameters changed after approval.

Sources

Bernat López
Written by
Bernat López
Founder and CEO of onext

Bernat López is founder and CEO of onext, an AI boutique. He helps development and product teams work with AI with method —specification before building, automated checks and Spec-Driven Development— and applies to his own company what he proposes: onext runs on its own agentic system.

LinkedIn →

What does your team read today before approving an agent's action?

Let's talk about which actions your team's agent can run and how they are controlled.

See how we work

What we build stays with your team.