Skip to content

Use case: resource-required explicit approval by a person of an agent-initiated payment #8

Backlog

Description

@steph8x

Summary

An agent prepares a payment outside its delegated mandate. The resource's policy requires that an authorized person explicitly approve that exact payment before it executes. The resource then needs to verify two things: that the decision was made by a person rather than by supervision policy, and that the approval covers this specific request.

Filed following a suggestion from @dickhardt. The aim is to describe the assurance the resource needs, and to leave the choice of mechanism to the group.

Scenario

  1. A corporate treasury agent operates under a mission that allows supplier payments up to a threshold, to known payees.
  2. The agent prepares a payment of EUR 48,000 to a new payee. Both the amount and the payee fall outside the mandate.
  3. The payment resource (for example a bank API) accepts the request only if an authorized approver explicitly confirms the displayed amount and payee.
  4. Two outcomes must be distinguishable by the resource:
    • Approved: the authorized person confirmed this payment, and the resource executes it.
    • Pending: direct approval is required and has not been given yet. The resource does not execute, and the agent waits. This is different from a deny.

Assurance the resource needs

  • A1. Requirement signal. A way for the resource to indicate that this request needs a decision made directly by a person, and that an SS allow alone is not sufficient.
  • A2. Decision origin. Evidence the resource can verify that the decision came from the person (for example through ask) and not from SS policy.
  • A3. Request binding. The approval is bound to the request content the person was shown (amount, payee). If either changes, the approval does not carry over, as with apply: once.
  • A4. Approver authority. The resource can tell that the approver holds authority for this act (for example a company signatory), not only that some person linked to the agent answered.
  • A5. Pending state. A clear way to express "pending, direct approval required", distinct from deny.

Out of scope

  • How the person is authenticated or verified (passkey, hardware token, biometrics). The verification method and any biometric data stay outside the protocol. Only the assurance outcome is in scope.
  • The specific mechanism (token claim, signed decision artifact, event, or other), which is left to the group.

Relation to the current drafts

From my reading of AAuth Supervision -00 (corrections welcome):

  • ask hands the act to the person, and decision.resolved reports the answer. These are events between PS and SS. The issued tokens carry no indication of whether the decision came from the person or from policy, so the resource cannot tell (A2).
  • The decision endpoint payload includes action, description and parameters, but there are no structured fields for the values the person approved, such as amount or payee. The sdi links records together, but does not by itself show the resource what was approved (A3).
  • AAuth Budgets and AAuth R3 may be natural places to express the mandate boundary that triggers the requirement (A1).
  • For A4, the eKYC & IDA Authority draft listed in the related work may be relevant.

Questions for the group

  1. Should a resource be able to require decisions made directly by a person, or is that only a PS/SS policy matter?
  2. Where should decision origin and request binding reach the resource: in the auth token, in a signed decision artifact, or elsewhere?
  3. Is approver authority (A4) in scope for AAuth, or should it reference the Authority work?

Happy to turn this into concrete text once the direction is clear.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions