Repository navigation
A2A extension https://fractalai.net.co/a2a/ext/pqc-receipt/v1: payment-bound delivery receipts on Artifacts
#2330
johnInarti
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Nice. Binding the receipt to Kasper |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Author: John Edward Romo Sanchez (FractalAI, KPITAPP SAS). Drafted with AI assistance (Claude).
What it does
When an agent delivers an
Artifactfor a paid task, it attaches a receipt:delivery.sha256 = sha256(JCS(artifact.parts)). The receipt binds exactly the parts the client received; metadatais excluded.
paymentandbindingscarry the identifiers and hashes of the payment protocol in use. The first profile is AP2v0.2: the hashes of the ES256 Payment/Checkout Receipts, their
reference,payment_idandorder_id.AgentCard.capabilities.extensions[](required: false). Clients activate it withA2A-Extensions.217-vector corpus).
Why an extension
A2A has no delivery receipt.
AgentCard.signaturescovers the card, not what was delivered. Following the A2Aguidance, the extension only uses
metadataandextensions. No core field changes.Evidence
src/a2a.ts,test/ap2-a2a.test.ts: 9/9 tests with real AP2 artifacts generated by the official AP2 SDK. A tamperedartifact, a substituted payment receipt, a forged
payment_idand the wrong key use are all detected.Limits
commerce-receiptis published yet.Code, tests and examples: https://github.com/johnInarti/pqc-receipts-colosseum/blob/main/integrations/universal-proof/
Open verifier and spec (Trust Kernel v2, spec 2.2): https://github.com/johnInarti/pqc-receipts-colosseum
All reactions