{"id":"gate.receipt.v3","title":"Gate receipt for an answer given under a pinned policy","unit":"one receipt per gate check of an agent with a pin in force","chain_set":"eip155:8453 (Base)","window":"the moment of the check (decided_at)","definition":"For each answer of the Gate given while a policy is pinned to the agent (gate.policy.pin.v1): what a gate.receipt.v2 receipt carries (the decision id, the paying agent's token id, the payee address, the amount in USD, the policy asked by name and by the SHA-256 of its whole body, the reasons, the mode and the time), and in addition the pin (the SHA-256 of the pinned policy, since when it is in force, whether an earlier owner of the registration set it, whether the wallet that pinned it pays for the agent), the decision under the policy asked, the decision under the pinned policy, the final decision (the worse of the two), which of them decided, and the reasons of the pinned policy. Serialised with RFC 8785 (JCS), hashed with SHA-256 and signed with Ed25519 (key afg-pass-2026-10). An answer for an agent without a pin keeps gate.receipt.v2 byte for byte.","method":"Made by the server at the moment the decision is recorded; a failure to sign never fails the check (the answer then says the receipt is unavailable). The body holds the pinned policy's SHA-256 and never its limits. Stored, returned with the answer, read back at /api/gate/receipt?id=<decision_id>, and logged under the same rules as version 2 (checks made with a Desk session; at most 500 a day). To check: as for version 2 (the SHA-256 of the canonical text, the signature with the key at /.well-known/afg-pass-keys.json, the SHA-256 of the policy asked, and for a logged receipt its place in the log and the Base anchor); then body.decision is the worse of body.decision_asked and body.decision_pinned (block > warn > log > allow), and body.pin.sha256 equals the pin shown at /api/gate/pin?agent=<registration number> and, if the operator gave you the pinned policy, the SHA-256 of that policy in canonical form. Written down with gate.policy.pin.v1 on 25 November 2026, before the code. In the tests a version 3 body signed with a key made for the test verifies, and each of ten changes (the four fields of the pin, the three decisions, which decided, the pin's reasons, the SHA-256 of the policy asked) breaks the signature; the body holds no part of the pinned policy; stored receipts of versions 1 and 2 verify as before with the published key. In force from 26 November 2026, 22:40 UTC.","excludes":["Answers for agents without a pin: they keep gate.receipt.v2.","Receipts issued before 26 November 2026, 22:40 UTC: they stay as issued.","The facts snapshot and the pinned policy's limits: they stay in our record of the decision and are not part of the receipt."],"does_not_assert":["That a payment was made, or that the client followed the answer.","That the payee or the agent is safe: the Gate is advisory and the client decides.","That the pinned policy is strict: a pin holds what its policy holds, and no more."],"assumptions":"The client that keeps a receipt beside a payment is the one that asked for the check. A reader who wants to know the pinned limits asks the operator for the policy and compares its SHA-256.","known_gaps":"Receipts of anonymous checks are signed but not in the public log, so their time rests on our signature alone. A receipt is not bound to a transaction hash: the payment does not exist yet when the check runs.","intended_use":"Evidence for an operator, a seller or a co-signer that a payment was checked before it was signed under limits the owner of the registration had pinned, and what the answer was.","not_intended_for":"Proof that a payment was safe, authorised or made.","source":"AFG-Pulse intake (lib/receipt.mjs; lib/gatepin.mjs)","since":"2026-11-26","revisions":[{"date":"2026-11-27","what":"From 07:24 UTC on 27 November 2026 /api/gate/receipt also returns policy, as the dated note of gate.receipt.v2 describes: the policy the caller asked with (body.policy), never the pinned policy, whose body no answer or receipt shows (gate.policy.pin.v1)."},{"date":"2026-11-27","what":"From 08:00 UTC on 27 November 2026 a receipt names payee.facts.v3 among its definitions, as the dated note of gate.receipt.v2 says."}],"body_sha256":"047e64a7a0374836f424f531f3f05f3574f10b742954f62d700cfef0693158bb","url":"https://agenticfinancegraph.com/def/gate.receipt.v3","ladder":"https://agenticfinancegraph.com/ai-agent-liveness-methodology-l0-l9-ladder","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"Agentic Finance Graph — https://agenticfinancegraph.com"}