Hi Richard, hi Jiahui,

I've now read -00 in full and looked at Valet again as of this weekend. Two of my earlier questions the draft already answers: Section 9.3 makes the position part of each registration, and Section 6.3 keeps value and salt together, apart from the chain. Jiahui's two questions meet two of my points, so I've taken them together. Most important first:

1. Section 6 lists covered, held, refused, approved, completed, declined, cancelled and unknown, but outcome in Table 2 allows allowed, held, refused, failed, cancelled and unknown. Approved, completed and declined have no value, or their mapping isn't stated. Valet also writes an escalated receipt, which isn't in Table 2 either.

2. When a receipt is written, and what closes an unknown. Section 4 makes evaluation and holding atomic, but nothing ties the receipt to execution. Valet already does the harder part: the intent is stored and set to executing before the bank call, and reconcile() settles it after a crash. The receipt, though, is written after the transaction in settle() commits, so a crash between the two leaves a confirmed, booked payment without a receipt, and reconcile() won't look at it again because it is no longer held. The same holds for the new decision service path, which ends in settle() too, and the held receipt in api.py has the same gap on a retry. Writing the receipt inside the same transaction, or having reconcile() complete intents in a
final state whose outcome is still empty, would close it.
For the draft, I'd require that a decision and its receipt are stored together, and that an intent without a result is recorded as unknown after a restart.

On Jiahui's first question: in Home-Mandate an unknown outcome is final.
A household can look at the device, and there is no later answer to wait for. A payment system does answer eventually, so a resolving receipt fits here, and Valet already writes one when reconcile() settles an unknown payment. The draft could require it: a new receipt with the same payment_id, never a change to the earlier one, with the unknown counting as open until it exists. Section 4.1 already treats a held payment that way for the limits; saying the same for the record would close the gap Jiahui describes. The published chain heads (point 5) would be a natural place to list the payment_ids still open, so an auditor sees them without walking the chain.

3. mandate_version leaves a verifier trusting the institution's counter. A digest of the JCS form of the authorization_details as granted would show which mandate was evaluated,
and an evidence set could include the mandate to check it against.

4. payment is committed as a whole, amount and currency included. A verifier then can't check a receipt against the limits without the payee being disclosed. Keeping amount and currency in the clear and committing payee and reference would let the chain show by itself that the limits held. Valet currently goes the other way: only intent and the agent's instruction are committed, while payee name, account, amount and reference sit in the chained record in the clear, so erasing a customer's personal values leaves the payee in the chain.

This also bears on Jiahui's second question. The rules in Table 1 don't depend on each other, so every reason that applied can be computed. With amount and currency in the clear, and the period's amount and count used before this payment in the receipt, a verifier can recompute all of them, while reason stays the one the customer was shown. It matters for what an approval covers, too: a payment above both per_payment and the period's limit is offered with reason 3 only, and approving it exceeds the period's limit as well, though the customer was never told. Section 4.3 covers an approval for reason 5, not this case. Either the challenge and the receipt name every reason that applied, or the draft
states that an approval covers every limit the payment breaks.

5. One chain per mandate, with heads published "periodically": how, where and signed by whom is open, and a missing chain breaks nothing. Since the receipts are signed with the same key that writes them, the published heads are what an auditor relies on, so they may deserve their own format.

6. Smaller things:
   - Section 6.3 doesn't fix the encoding of the salt, or how value is encoded when it is an object. Without that, two implementations can't check each other's commitments.    - typ payment-receipt+jwt, but the payload has no iss or iat. Either add them or drop +jwt.    - Periods use the time zone in the AS metadata. If it changes mid-period, what applies? Recording it in the mandate as granted would settle it.    - A payment in a currency other than the mandate's is neither a reason nor a listed error.    - Valet keeps one chain for all receipts, while Section 6.2 recommends one per mandate; which does the draft intend?

On our side, your commitment scheme fixes a gap our privacy section admits: we can't remove one person's data from the middle of the log. I expect we'll take something close to Section 6.3 (https://github.com/home-mandate/spec/issues/237).

Best,
Markus Mazurczak
Home-Mandate

Am 20.11.2026 um 16:52 schrieb Jiahui Miao:
Richard — thanks for this. The draft gets two hard things right, and I
want to raise two questions on the receipt design, from the side of
operating agents that actually pay suppliers.

What I think is right: evaluation sits at the institution, outside the
agent (Section 4), and an approval is bound to the digest of the exact
single_payment and is usable once, for the held payment it was offered
for (Sections 3.2 and 5.3). Standing authority describes a class; the
approval names the instance. That split is where most agent-payment
designs I see go wrong.

First question: the unresolved receipt. Section 6 records every
decision, including outcomes of "unknown", and Section 4.1 rightly
keeps a held payment counting against the limits until the payment
system confirms or declines it — never on a timer. But nothing I can
find requires a later receipt that resolves an unknown, or says how a
reader of the chain should treat one that never arrives. In
procurement operations, the unknown that never resolves is exactly
where disputes live: the supplier says paid, the agent's record says
sent, the institution's chain says unknown. Would you consider stating
that an unknown outcome is an open item — closed only by a later
receipt carrying the same payment_id — so that the absence of a
resolution cannot be read as a settled outcome?

Second: the reason recorded. For the challenge, returning only the
first reason in the Section 4.2 order is right — the customer is told
the most fundamental problem first. But the receipt's reason member
(Section 6.1) records that same single reason. A payment can break
several limits at once — over the per-payment limit and the period
limit, say — and the customer may approve it having been shown only
the first. If the receipt is the evidence in a later dispute, should
it not carry every reason that applied at evaluation time, even though
the challenge carries only the first?

Markus's record-before-executing point makes the first question
sharper: a receipt written before execution, with no resolving receipt
after it, leaves the chain's last word as a guess.

Happy to be corrected if either point is already implied somewhere I missed.

Jiahui Miao
Founder, vertciti (VERTCITY LLC)

On Tue, 17 Nov 2026 18:44:37 +0200, Richard Craig <[email protected]> wrote:
Hi all,

I've posted draft-craig-oauth-rar-payment-mandates-00:
https://datatracker.ietf.org/doc/draft-craig-oauth-rar-payment-mandates/

It covers what an AI agent may pay from a customer's bank account and how
the bank records what it decided. It defines:

- two RAR (RFC 9396) types: payment_mandate (named payees, per-payment and
per-period limits with a count, an approval mode) and single_payment;
- an ordered set of machine-readable reasons a payment falls outside a
mandate (new_recipient, payee_not_on_mandate, over_per_payment,
over_period_count, over_period_limit, every_payment,
over_approval_threshold);
- how a resource carries that reason when it asks for approval, either as a
mandate_reason claim in draft-rosomakho-oauth-txn-challenge or as an
approval_required error;
- a signed, hash-chained receipt for every decision, with personal data
kept as salted commitments outside the chain so it can be erased (GDPR,
POPIA).

This is meant to sit alongside the Transaction Authorization Challenge (
https://www.ietf.org/archive/id/draft-rosomakho-oauth-txn-challenge-00.html),
not replace it. Your draft says how to ask for approval of one transaction.
This one says when a payment needs approval, why and what record is kept.
I'd value your view on whether the mandate_reason claim is the right way to
compose the two.

It also touches the "execution layer evidence" gap in
draft-chen-oauth-agent-authz-use-cases.

There's running code: an Apache-2.0 proof of concept with a conformance
test for every reason and for the receipt format (
https://github.com/richard-craig/veridact-valet).

I'd welcome review, especially on:
1. whether the reason set and its order are right and whether the reasons
belong in an IANA registry;
2. composition with the transaction challenge;
3. the receipt format and the commitment scheme for personal data.

Kind regards
Richard Craig
_______________________________________________
OAuth mailing list -- [email protected]
To unsubscribe send an email to [email protected]

_______________________________________________
OAuth mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to