An AI agent can produce the correct action and still have no authority to execute it.
That distinction becomes critical when agents move beyond generating text and start modifying code, calling APIs, changing infrastructure, triggering workflows, or coordinating other agents.
What happens between the action the model proposes and the action the system actually executes?
It analyzes the repository, modifies the code, runs tests, and produces a deployment command.
None of those facts automatically mean the agent should be allowed to deploy to production.
A model can correctly determine what should happen while still being unauthorized to perform that action.
If the same component controls reasoning, authorization, and execution, the trust boundary becomes extremely large:
Instead of allowing the model to directly invoke sensitive infrastructure, treat its output as a proposed action.
The infrastructure executes it only after the required controls have been satisfied.
The control layer can independently check whether the request is structurally valid, whether the target exists, whether the requested operation is permitted, and whether additional controls are required.
That separation also makes the architecture easier to audit and change without changing the model's reasoning process.
inspect repositories create branches modify files run tests inspect logs generate deployment plans propose infrastructure changes
The system can simply apply stronger controls to higher-impact operations such as:
production deployment credential rotation database migration destructive infrastructure changes financial transactions
What action is the agent attempting to perform, against which resource, under which constraints?
Now the system can distinguish between actions that happen to use the same underlying tool.
A deployment API, for example, might be capable of deploying to both staging and production. Access to the API alone does not tell us whether a particular production deployment should be allowed.
The meaningful unit of control is the action and its context, not simply the existence of a tool.
