Hi Richard,
I work on an open specification with the same shape for a different
domain: a household's mandate for what an AI agent may do with its
devices (Home-Mandate, https://github.com/home-mandate/spec). The
mandate travels as authorization_details (RFC 9396), the gateway decides
allow, ask or deny for every request, and every decision goes into a
hash-chained log. Some notes from building it, on your three questions.
1. Reasons and their order. We also return exactly one reason, the first
in a fixed order, and the order turned out to need its own test cases:
requests where several reasons apply at once, checking which one wins.
If the reasons go into an IANA registry, I'd make the position part of
each registration. Otherwise a code added later silently changes which
reason a verifier expects for the same request. It also helped us to
keep reasons that come from the mandate apart from refusals by the
enforcing side, for example when the log can't be written: they answer
different questions.
2. Receipts and execution. What made our log usable as evidence was
recording before executing: the gateway durably stores what it will
record before it dispatches the action, and an intent without a result
after a crash is recorded as "outcome unknown", because the action may
have reached the target. For a payment that seems even more important.
Is the receipt in your draft written before the payment call, after it,
or both?
3. Personal data. Here your draft is ahead of ours. We use identifiers
instead of names and say plainly that one person's data can't be removed
from the middle of the chain without breaking it; retention limits are
the only remedy so far. Salted commitments outside the chain solve that.
Two questions from our side: where does the salt live, so that erasing
it actually removes the link? And for low-entropy values such as an
account holder's name, does the scheme rule out testing guesses against
the commitment while the salt still exists?
One more thing we found useful: signed checkpoints over the chain, with
the signing key kept where whoever can write the log can't read it. A
hash chain alone shows that nothing in the middle was changed, not that
the end wasn't rewritten.
I'll read the draft in full and send comments there. Happy to compare
conformance cases if that's useful.
Best,
Markus
Home-Mandate
Am 17.11.2026 um 17:44 schrieb Richard Craig:
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]