# AI agents need bounded authority

> Follow an illustrative payment change to define the decisions an engineering agent may make, the controls around consequential actions and the unresolved questions that need an authorised decision.

Paper: 07
Published: 2026-11-19
Canonical: https://harten.io/papers/07-ai-agents-need-bounded-authority/

Cover illustration: [View the title image](https://harten.io/media/papers/covers/v1/07-ai-agents-need-bounded-authority.png?v=dd60c6b95838). Illustrative cover artwork, not an application screenshot or a record of measured results.

## What This Paper Examines

A software agent can be authorised to implement a payment rule without being authorised to change the policy behind it, approve its own work or put the result into production. Those distinctions need to survive investigation, testing, delegation and interruption. This paper follows an illustrative payment-threshold change to explain which decisions belong inside the engineering task, which limits the surrounding system should enforce and what happens when a policy question remains unresolved. I would give the agent substantial implementation freedom within the agreed task, supported by access controls and independent checks. The reader should be able to identify what the agent may complete, what evidence supports that work and who can authorise a change to its scope or live effects.

## A Threshold Change in the Payments Application

Imagine that a team is building a new payments application from agreed business requirements. The replacement has its own design; it does not have to inherit the old repositories or reproduce the old implementation. The organisation has identified the controls that must continue, including operational holds and manual review for a particular account class. Engineers are now preparing a policy change that will be included in the replacement.

The approved change raises the automatic-processing threshold for otherwise eligible payments from £5,000 to £7,500. The account-class exception and operational holds remain in force. An engineering agent receives the requirement, the relevant application evidence and access to an isolated development environment. It can inspect the code, change the implementation, extend tests and prepare a candidate for review.

During that work, the agent finds the account-class exception in a separate decision path. It considers removing the exception and routing those payments through the new amount check. That would let payments from the exception class bypass the required manual review. The result might look more consistent, but it would implement a different policy from the one approved.

The threshold increase does not itself create a conflict. Consider three £6,000 instructions, with all other relevant conditions held constant:

| Illustrative instruction | Effect of the authorised threshold change |
| --- | --- |
| An ordinary eligible account, with no operational hold | The amount no longer prevents automatic processing; the other required checks still apply. |
| An account in the manual-review class | The instruction still requires manual review, regardless of the higher threshold. |
| An ordinary account with an active operational hold | The hold still prevents automatic release, regardless of the amount check. |

The agent should preserve those differences. It may propose a different internal arrangement for the checks, but it needs to demonstrate that the arrangement produces the approved outcomes. The equality condition at the threshold, the treatment of currency and the relevant aggregation rules must come from the specification. They should not be filled in because a particular comparison operator or data type is convenient.

This continues the distinction developed in [Modernisation should be sliced by risk, not repository structure](https://harten.io/papers/06-modernisation-should-be-sliced-by-risk-not-repository-structure/). A bounded engineering task can cross several components without requiring an immediate release. The question here is what the agent may decide while completing that task. Its ability to edit the exception does not establish permission to remove it.

## The Decisions Included in an Engineering Task

An agent doing useful engineering must make decisions. It needs to choose which evidence to inspect, how to structure the implementation, which cases to exercise and how to diagnose a failure. A rule that reserves every decision for a person would prevent the work from being delegated in any meaningful sense.

I would therefore define the task by the outcome it may change and the conditions it must preserve. In this example, the agent may implement the approved threshold for the specified payment population. It may refactor the relevant decision path, update configuration and repair defects introduced by its changes. It may replace a test expectation that demonstrably represents the superseded £5,000 rule. It cannot retire the account-class exception, relax the hold requirement or decide that an unresolved failure is acceptable for release.

The task also needs to say where that work may happen and what information may be used. An isolated environment with synthetic payment records offers different permissions from a connection to a live account database. Permission to inspect an authorised dataset does not include permission to send it to another service. The approved model endpoint, tool connections, resource budget and permitted outputs are part of the working arrangement, even when none of them appears in the code diff.

The person requesting the task must have the relevant authority too. A developer can often authorise implementation work but may not own the payment policy. A service owner may approve a business outcome while relying on other people to judge security, operational readiness and release conditions. The system needs to identify the responsible decision owner rather than assume that any human response resolves the question.

NIST's [guide to attribute-based access control](https://csrc.nist.gov/pubs/sp/800/162/upd2/final) describes authorisation in terms of the actor, resource, requested operation and relevant environmental conditions, evaluated against policy. That is a useful basis for technical permissions here. It does not remove the need to establish what the business has authorised the change to mean.

## Controls Outside the Agent's Instructions

Suppose the agent is told to prepare the payment change without deploying it. If its development identity also has unrestricted production credentials, the instruction is carrying too much of the control. A mistaken interpretation, an unsafe generated command or a malicious instruction encountered during investigation could still lead to a production action.

For this task, I would give the execution environment access to the development resources it needs and withhold the credentials and network routes that could submit live payments. The release system would use a separate identity and check the required approval before deploying an eligible artefact. The agent could assemble that artefact and the supporting evidence without being able to grant itself the missing release permission.

This separation must include indirect routes. An agent with no production password may still be able to alter a pipeline that uses one. A test script may invoke an external service. A repository setting may change which checks are required before merge. The engineering environment needs to account for those paths, and the agent must not be able to rewrite the control that decides whether its own work is acceptable. Broad freedom to edit application code is compatible with protecting release configuration, credentials and approval records separately.

OWASP's [guidance on excessive agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/) distinguishes unnecessary tool functionality, excessive downstream permissions and excessive autonomy. It recommends enforcing authorisation in downstream systems rather than relying on the language model to decide whether an operation is permitted. Applied to our example, a deployment request should be checked by the release system even if the agent describes it as a routine final step.

Technical controls cannot settle every question about payment behaviour. Repository permissions can prevent a production deployment; they cannot, on their own, establish whether a refactor has changed the meaning of manual review. That requires the approved requirement, meaningful expected outcomes and examination of the resulting implementation. The practical design combines controls over what the agent can execute with checks on what its changes would cause the application to do.

The agent still has considerable room to work. It can inspect related files within the authorised estate, develop alternatives, run isolated checks and correct its implementation without asking someone to approve each command. [The human cannot be the bottleneck](https://harten.io/papers/01-2-human-cannot-be-the-bottleneck/) established why that matters. The additional work here is to make the delegation enforceable at the places where the consequences change.

![An agreed requirement and task limits feed an isolated engineering workspace and independent assessment. An inspect, implement, test and repair loop produces a candidate and evidence. Assessment returns defects for repair. A protected release control receives the acceptable candidate and applicable release authority, checks the artefact, configuration, target and current permission, and permits the release service to perform the live operation. The engineering agent cannot alter the protected acceptance or release controls.](/assets/papers/07-authorised-task-to-live-change.svg)

*The controlled requirement feeds both implementation and assessment. The agent can complete routine engineering within its task, while a separate release control checks current authority for the candidate and operation that will run. This is an illustrative arrangement.* [View the diagram at full size](https://harten.io/assets/papers/07-authorised-task-to-live-change.svg).

## Application Evidence and the Source of Permission

An agent investigating the payment rule may encounter comments, support notes, old tickets and instructions in repository documentation. These can help explain why the application behaves as it does. They do not all have the same authority, and an instruction found during investigation should not automatically enlarge the current task.

Suppose an old note says that the manual-review exception was temporary and can be removed once a replacement is available. That is relevant evidence. The agent should find out whether the condition was ever satisfied and whether the note records an authorised decision. It should not treat the note's existence as permission to disregard the current requirement. Equally, a protected policy record deliberately designated as authoritative should not be dismissed merely because it is stored in a repository. The important questions are who controls the record, which version applies and how it relates to the authorised task.

There is also a security reason for keeping those distinctions explicit. OWASP's [prompt-injection guidance](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) describes how content in external files or websites can redirect a model's behaviour, including an example involving a modified repository document. Labelling retrieved material helps, but it is not a guarantee that the model will ignore every hostile instruction.

I would therefore keep the task's controlling permissions in a trusted, versioned channel and enforce consequential access separately. A document saying that production checks may be bypassed would remain something the agent had read, not a valid change to its credentials or release policy. New evidence can justify a proposed change in authority; the authorised decision process must make that change.

## A Failing Test and an Unresolved Policy Question

The threshold change is likely to alter some test results. The agent needs to diagnose those results before deciding whether a person is required. A test that expects an otherwise eligible £6,000 payment to fail the old amount limit may simply need a new expected outcome. If the approved requirement clearly supersedes that expectation, updating it is ordinary implementation work.

A different failure may show that the new code allows an instruction from the manual-review class to proceed automatically. Here the requirement already supplies the answer. The agent should repair the implementation and retain a regression case for the exception. Escalating the existence of its own defect would add an unnecessary interruption; deleting the case would conceal the defect.

A real policy question arises when the available authority does not establish the required outcome. Suppose a later approved specification says that every payment below £7,500 must proceed automatically, while another current policy requires review for the exception class. The agent should establish whether the apparent conflict reflects scope, version or terminology before treating it as unresolved. If both requirements genuinely apply, the agent cannot resolve them by choosing the one that makes the implementation simpler.

The handoff should identify the two applicable sources, show the affected payment cases and explain the available choices. Preserving the exception may be a workable interim implementation, but it is not proof that the conflicting requirement has been satisfied. The policy owner must decide which behaviour is intended, or authorise a limited outcome with the discrepancy made explicit.

Until that decision is made, unaffected work may continue where it does not depend on the answer. The agent can retain its investigation, prepare alternative implementations or complete other approved cases. It should not mark the disputed behaviour as accepted or allow dependent work to proceed on an unstated assumption. This keeps the interruption proportionate to the actual uncertainty.

![Three illustrative responses after checking the applicable requirement, scope, version and terminology. Update a superseded £5,000 expectation or repair code that bypasses required manual review, then continue authorised engineering. Where current requirements demand incompatible outcomes, pause acceptance of affected behaviour and dependent work while unaffected work can continue. The authorised owner resolves the question, the controlled requirement is amended, and the same version returns to the implementer and reviewer so that affected work can resume. Production release requires its own authority.](/assets/papers/07-responding-to-a-failing-check.svg)

*An obsolete expectation and an implementation defect can be corrected within the authorised engineering task. A genuine conflict between applicable requirements needs an authorised decision, which must return to both implementation and review. These are three illustrative cases, not an exhaustive classification of failures.* [View the diagram at full size](https://harten.io/assets/papers/07-responding-to-a-failing-check.svg).

## The Decision That Should Reach the Policy Owner

For the unresolved policy question, the affected payment cases explain how the application would behave, but they do not establish the scale of the operational consequence. Removing the exception would make those accounts eligible for automatic processing when the remaining conditions pass. If the team has no authorised evidence about how frequently those payments occur, the agent should not invent a transaction count or describe the exposure as negligible. The decision owner may need further evidence before accepting the change. The agent should distinguish the recommendation it can support from the consequences it cannot yet assess.

Once the decision owner resolves the question, the answer should update the controlled requirement and return to the affected tasks. The implementer needs the decision and the behaviour it now permits; the reviewer needs the same version when examining the result. Any conditions attached to the decision must travel with it. A reply left only in a coordinator's conversation leaves later participants dependent on a summary they cannot verify. Recording the decision and its basis allows subsequent work to continue without reopening the same question simply because a different agent has taken over.

## Delegating Work Across Several Agents

The same threshold change could involve several agents. One investigates the existing decision paths, another implements the change and another examines the evidence. A coordinator can allocate those tasks and assemble the result. That can reduce the amount of mechanical coordination an engineer must carry, provided the authorised outcome remains attached to the work.

The investigating agent should receive access appropriate to investigation. The implementer needs permission to change the candidate, but not to rewrite the policy it is implementing. A reviewer needs the applicable requirement and relevant evidence, including failures and limitations, rather than only the implementer's explanation of success. A coordinator should not acquire broader authority simply because it can ask another agent to perform an operation.

In practical terms, each delegated task should identify its parent requirement, applicable limits, working baseline and expected output. A request to check the manual-review exception should not become permission to remove it. If a specialist needs additional access or discovers a proposed change in policy, that request should return through the appropriate authority path. At execution, the receiving tool or service should check the requested operation against the calling identity, the current delegated task and the applicable policy. A request from another agent cannot supply permission that the task does not grant.

In [Machines directing machines](https://harten.io/papers/machines-directing-machines/), I described a Harten engineering arrangement in which a coordinating agent could allocate investigation and implementation within an agreed outcome, while consequential changes to that outcome returned to me. The relevance here is the division of responsibility. The example does not require every organisation to copy Harten's roles or use the same number of agents.

A second agent does not automatically provide independent verification. Two agents can inherit the same mistaken interpretation or use expected results generated from the same faulty code. For the payment change, a reviewer needs a defensible basis for the required outcomes and a way to challenge the candidate against them. The published retrospective [What Building Wayfinder Taught Us About Sustained Work With AI Agents](https://harten.io/papers/what-building-wayfinder-taught-us-about-sustained-work-with-ai-agents/) describes why a reviewer needs the governing request independently of the implementer's account. The requirement and its authorised amendments provide that basis here. The fuller verification question belongs to Series 08; this task should already prevent the implementer from unilaterally redefining acceptance.

## Approval of the Change That Will Actually Run

Once the candidate is ready, a release decision needs an identifiable object. Approval of an explanation is not enough if the artefact subsequently deployed contains different code or configuration. I would want the review to identify the candidate revision, the built artefact, the relevant configuration, the target environment and the scope of the proposed release.

Suppose the reviewer examines a version that preserves the manual-review exception. The agent then makes a further change to improve performance. The original approval cannot simply be attached to the new candidate without determining whether it still applies. An automated process may establish that a permitted change is within an already authorised class, but that process must itself be defined. The agent's assertion that the edit is harmless is not a substitute for it.

The underlying policy decision has a different scope. An instruction to retain the account-class exception can remain valid across several implementation revisions until an authorised amendment changes it. A new candidate may need further technical review without requiring the policy owner to approve the same business rule again. The release control must establish whether the candidate and proposed operation satisfy their applicable conditions; it should not treat every code edit as a new policy question.

OWASP's [transaction-authorisation guidance](https://cheatsheetseries.owasp.org/cheatsheets/Transaction_Authorization_Cheat_Sheet.html) addresses the relationship between the operation a user approves and the operation a system executes. It recommends protecting the approved details, checking authorisation at execution and preventing inappropriate reuse. Applying those principles to a software release is an engineering inference: the release control should bind the decision to the artefact and action that were reviewed, rather than to a reassuring description that can outlive them.

That does not require every deployment to wait for a new manual signature. An organisation may authorise an automated release policy for a defined class of changes, with specified checks and operating limits. For the illustrative payment-policy change, I would retain an explicit release decision from the responsible people. The agent can do the preparation and the system can execute an approved release, but neither should infer new live authority from the fact that the build passed.

This is also where authority and correctness must remain distinguishable. A correctly authorised deployment can still contain a defect. A technically correct candidate can still be outside the approved scope. The release process needs to establish both that the proposed behaviour is acceptable and that this particular action is permitted.

## Interrupted Work and Changes in Authority

An agent may resume a task after a failed tool call, a restarted process or a long pause. Its earlier instructions are useful, but the conditions supporting them may have changed. The approved requirement may have a new version, another engineer may have changed the shared implementation, or an incident may have suspended release activity.

I would retain enough task state to establish what was authorised, what work completed, what remains uncertain and which permissions are still valid. Resuming an isolated test can usually remain routine. Resuming a consequential operation requires checking its present authority and whether the earlier attempt already took effect. A missing response should not be converted into permission to repeat the action.

[Planning recovery before a new application changes live data](https://harten.io/papers/06-3-a-safe-slice-needs-a-way-back/) examined that uncertainty for payments: an instruction with no acknowledgement may already have been accepted externally. The corresponding point for the engineering agent is narrower. A restart, timeout or handoff does not expand its authority, and stopping the agent does not retract effects that have already occurred.

Permissions therefore need a usable means of expiry or withdrawal. The enforcement point must reject a consequential request when its authorisation is no longer valid. Work already beyond that point must remain identifiable for the appropriate recovery procedure. A stop button that merely ends the current conversation would not be sufficient if a background worker could continue issuing actions with the same credentials.

These controls should not discard valid work. If a release is suspended, the candidate and its evidence can remain available while the team establishes what must change. Once the relevant authority and assumptions are current, the agent should continue from that established state. Repeating completed investigation or requesting the same unchanged permission again would add cost without resolving a new question.

## What I Would Authorise for This Change

For the threshold change as originally defined, I would authorise the agent to complete the implementation in the isolated environment, preserve the account-class exception and operational holds, update demonstrably superseded expectations, exercise the relevant cases and prepare the candidate for independent review. I would expect it to diagnose and fix ordinary engineering failures within that scope without repeatedly returning for permission.

I would keep policy changes outside that task, protect the acceptance and release controls from unilateral modification, and withhold the ability to submit live payments. Any real contradiction in the authorised requirements would return to the responsible policy owner with its supporting evidence. Production introduction would follow a separate decision covering the actual artefact, operating conditions and required recovery arrangements.

The team should test those limits as well as describe them. In a controlled environment, an unauthorised deployment request should be refused by the release control. A candidate that bypasses the manual-review exception should fail the relevant acceptance check. An attempt to use withdrawn permission should not proceed. The agent should still be able to finish a valid threshold implementation without an engineer approving every edit. These exercises test different parts of the arrangement; passing one does not establish that the others work.

For this change, I would expect a completed candidate, evidence for the preserved controls and a clear account of any decision still required before live use. The agent should be able to produce that result without another approval for each edit, while the people responsible for the service retain the decisions that change payment policy or accepted exposure.

## The Questions Developed in Series 07

The supporting papers take this example further. 07.1, Permission to act is not permission to decide, examines the evidence needed to distinguish an implementation choice from a new business decision. 07.2, Give agents boundaries they cannot quietly cross, follows a proposed control arrangement through permitted operations, attempted bypasses and changes in authority. 07.3, Escalation should help someone make a decision, carries a genuine policy conflict through investigation, a scoped decision and resumed work.

The direction remains the one developed in [How to build a new application and keep it evergreen](https://harten.io/papers/05-3-the-route-to-the-target-is-part-of-the-architecture/). Teams should be able to build a new application from agreed requirements and continue improving it as those requirements change. Agents can carry more of that engineering when the organisation has made the permitted outcomes, operating limits and acceptance responsibilities clear.

Series 08 will examine how engineers establish that the resulting software satisfies the authorised requirements, including the cases that could expose a mistaken implementation.

---

*The payments service, amounts, policy conditions and proposed control exercises are illustrative. This paper does not report a customer deployment or claim that these controls have been tested in a live payments system. External sources support the practices attributed to them; their application to this example is the author's recommendation.*

*This paper is part of The Modernisation Control Papers, the first major sequence within The Harten Papers. [Read the Harten Papers](https://harten.io/papers/).*
