An assistant prepares a purchase of two devices at four hundred euros each, with twenty euros for delivery. It presents a total of 820 euros and asks whether you want to proceed. You confirm. While the request is waiting for execution, the supplier updates the unit price to 420 euros. The agent accepts the new quote and completes the purchase for 860 euros.
In this hypothetical example, a human intervened. There was also a confirmation button, followed by a purchase that did not match the amount shown. Saying that a person was in the loop does not establish whether that person decided on the operation that actually happened.
The problem I would address is that connection: preserving the approved context and requiring the system to respect it until the point of commitment.
A confirmation must refer to a specific operation
A conversational yes can mean different things: continue searching, prepare the order, accept a proposal or make the purchase. If the application saves only the message, it depends on a later interpretation to decide which action was authorised.
In an AI integration that performs business actions, I would separate the initial request from the executable proposal. That proposal would contain stable data: products, quantities, supplier, destination, total price, currency and relevant conditions. Approval would refer to the proposal and its version rather than merely a conversation identifier.
OWASP’s transaction authorisation guidance emphasises letting a user recognise and acknowledge significant transaction data. In our example, saying that the agent is about to complete a purchase does not provide enough context.
Context includes what has changed
When a proposal is updated, a useful interface should make the difference requiring a decision understandable. The server must also establish whether that difference invalidates earlier authorisation.
| Field in the example | Approved proposal | New proposal |
|---|---|---|
| Quantity | 2 | 2 |
| Unit price | €400 | €420 |
| Delivery | €20 | €20 |
| Total | €820 | €860 |
The arithmetic is straightforward: two increases of twenty euros add forty euros to the total. The agent did not receive approval for that increase merely because the product stayed the same.
A change can also matter without altering the price. The destination moves to another warehouse, a different supplier replaces the original one or delivery no longer meets the required date. A control that compares only the amount still loses part of the context.
I would define the decisive fields with the people responsible for the operation. A rule might allow a spelling correction in the description without fresh approval while requiring confirmation for a different delivery location. That policy should be explicit and verifiable, rather than depending on a model describing a difference as minor.
Authenticating the person does not establish the decision’s scope
Establishing who is using the application matters. It does not, by itself, demonstrate that the person may approve a purchase for that company, amount or cost centre.
The discussion of passkeys, authentication and control provides useful identity background. The business decision additionally requires checking the person’s relationship to the resources and the limits of their authority at that moment.
OWASP distinguishes authentication from authorisation and recommends checking permissions on every request. Here, a valid session is insufficient to execute a proposal belonging to another company or approved by someone without authority for that commitment.
The same applies to a request sent directly to the API. The rule cannot exist only in a button that the interface displays or hides. The service accepting execution must enforce it when the request arrives through another route.
A stored approval is not permanent permission
Imagine that the proposal waits in a queue. By the time it reaches execution, its quote has expired, the approver has lost the relevant role or another responsible person has cancelled the request.
I would preserve approval as evidence of the original decision, but check again whether it can still produce that effect. History should not disappear; its existence also should not force execution of a decision that is no longer valid.
The operation needs to distinguish a proposal under review, valid approval, execution already in progress and an invalidated decision. The interface can simplify the labels, but the backend, where server-side rules run, must preserve differences that change what is allowed.
This matters particularly in enterprise software implementation, where approval can begin in a portal while execution finishes in an ERP or a separate purchasing service.
Verification and execution cannot be independent worlds
A less visible failure occurs when the server checks the right version, allows time to pass and later executes against a record that has changed.
Within an application controlling its own data, the transition into execution should check and consume approval in coordination with the operation’s expected version. Two competing attempts should not both use the same approval to create separate commitments.
That does not mean marking approval as consumed and assuming success before contacting a supplier. Preserve the attempt in progress so a confirmed commitment remains distinguishable from execution with an unknown outcome. A communication failure does not authorise blindly repeating the purchase.
If the final commitment belongs to an external service, a local transaction does not freeze that service’s prices. The integration needs a contract that binds the request to the approved quote or conditions, such as a valid offer reference and a limit the supplier actually enforces. Without that control, the application must not promise to guarantee the approved price.
Structured data carries context; it does not enforce it alone
RFC 9396’s section on resource servers provides for making authorised details available to the service responsible for enforcing them. It is a useful reference for separating the transport of authorisation from its application at the destination.
A structured object can remove some ambiguity from a free-form instruction. It does not replace record-ownership rules, validity checks or agreement between systems on what the fields mean.
A hash cannot decide whether the data makes sense either. It can help detect a changed representation when compared with a trusted expected value, but that representation and its relationship to the actual operation still need definition. Protecting a summary that omits the destination preserves the omission.
In a business application, I would start with a server-stored proposal, versions and explicit states, rather than letting the client supply the entire description that execution will accept without comparison.
A margin can be authorised, provided the margin is the decision
Not every process needs confirmation for every detail. A company may want to authorise recurring purchases within defined boundaries. That does not turn exact approval of 820 euros into implicit permission to spend more.
A broader authorisation should state what it permits: maximum amount, acceptable suppliers, products or categories, validity period and delivery conditions. The agent chooses within those boundaries; the service checks them before accepting the effect.
I would also define what happens when a limit is reached. Pausing for a new decision may be the correct outcome. Choosing another product, splitting the purchase or using another account to bypass the limit would change the problem rather than resolve it.
Test authority as well as the interface path
I would begin by approving the original proposal and attempting to execute the version with the changed price. I would then change only the destination, keep the total constant and check whether the rule requiring confirmation still applied.
I would test expired approval, another company’s proposal, permission withdrawn before execution and simultaneous attempts. I would also call the service directly without visiting the approval screen. These are proposed tests for the example application, not results obtained from a real system.
The decision record should explain what was shown, who approved it, which version was authorised, what was actually requested from the supplier and which acknowledgement arrived. Retaining the entire conversation is unnecessary if the relevant data can be preserved more precisely and narrowly.
Progress towards 2030 should reduce decisions without context
If agents perform longer tasks between 2026 and 2030, a sequence of generic confirmation questions may become harder to follow. The engineering response I would seek is not more questions: it is defining each decision more clearly and preserving its boundaries across systems.
Before adding another approval button, follow a proposal from the screen to the service accepting the commitment. If its amount, destination or authority can change along the way without a corresponding decision, approval is not yet bound to the action it is supposed to control.
[+] On this page 16 topics ▼
- A confirmation must refer to a specific operation
- Context includes what has changed
- Authenticating the person does not establish the decision’s scope
- A stored approval is not permanent permission
- Verification and execution cannot be independent worlds
- Structured data carries context; it does not enforce it alone
- A margin can be authorised, provided the margin is the decision
- Test authority as well as the interface path
- Progress towards 2030 should reduce decisions without context
- Author
- Frequently Asked Questions
- Does a confirmation button prove that an action was authorised?
- Does every change require fresh approval?
- Does a signed or hashed summary solve the problem?
- Related Articles
- Continue reading
Frequently Asked Questions
Does a confirmation button prove that an action was authorised?
Not by itself. The application must preserve the significant data that was presented and bind the decision to the operation being executed, within the approver's current authority.
Does every change require fresh approval?
That depends on the boundaries explicitly authorised. A different price, recipient or delivery condition may exceed them. A purely visual correction may not. The distinction should follow a business rule rather than an agent's unconstrained inference.
Does a signed or hashed summary solve the problem?
It can help check integrity against a trusted reference, but it does not establish the person's authority, the data's continuing validity or whether the service will execute the same operation. Those controls are still required.
Related
Start your project
Need a website that earns trust, ranks in search, and gives your business a stronger digital presence? Start the conversation here.