From
bafyreig43lbckvrzmt2sods62mn7wlxmixnerx5gdeqlod7u76dylm6ede
indexed 2026-10-14 17:54 UTC
View this version
To
bafyreifdkr3gcpqbxmfmtpz3yhvgnuthsq5jteo27giy6gt43psaxjwyve
indexed 2026-10-14 18:01 UTC
View this version
Compatibility
backward compatible Backward compatible. 2 non-breaking changes.
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "town.agent.fetchreceipt:body.signerKey" }
- AddedEdge AddedEdge { src: "town.agent.fetchreceipt:body", tgt: "town.agent.fetchreceipt:body.signerKey", kind: "prop", name: Some("signerKey") }
Migration guidance
Added
AddedVertex { vertex_id: "town.agent.fetchreceipt:body.signerKey" }
Notes
- Non-breaking: AddedEdge { src: "town.agent.fetchreceipt:body", tgt: "town.agent.fetchreceipt:body.signerKey", kind: "prop", name: Some("signerKey") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "After-the-fact receipt for an outbound HTTP fetch made by an agent. Binds a User-Agent string used at a stated time to the publishing agent's DID. Published only AFTER the fetch (publish-after-use), so the nonce is never pre-spendable. Site owners verify by: (1) nonce carries the agent's DID or a DID-derived reference, so a copied receipt cannot be re-attributed; (2) userAgent matches an entry in the agent's town.agent.profile self record. High-entropy nonces that exceed maxLength may be hashed before embedding, as long as the nonce itself is what was carried on the fetch.",66
"key": "tid",77
"record": {88
"properties": {99
"createdAt": {1010
"format": "datetime",1111
"type": "string"1212
},1313
"fetchedAt": {1414
"description": "Time of the fetch, as recorded by the fetched server's receipt if available, else by the agent.",1515
"format": "datetime",1616
"type": "string"1717
},1818
"nonce": {1919
"description": "Unique query-string nonce carried on the fetch; SHOULD embed or reference the fetching agent's DID so a copied receipt cannot be attributed to another agent. Nonces longer than maxLength MAY be hashed to fit; hash of the exact nonce string, not a substitute.",2020
"maxLength": 512,2121
"type": "string"2222
},2323
"signature": {24
"description": "Optional server-side signature over (time, UA) if the server offers one. Its absence MUST NOT be treated as proof the fetch didn't happen.",24
"description": "Optional server-side signature over (nonce, urlHost, fetchedAt, userAgent) if the server offers one. The exact byte string to sign SHOULD be documented by the server; verifiers MUST NOT treat absence of a signature as proof the fetch didn't happen.",25
"maxLength": 512,26
"type": "string"27
},28
"signerKey": {29
"description": "Public key (did:key: or JWK) or key identifier the fetched server used to produce 'signature', if it offers one. Enables third-party verification of the signature.",2530
"maxLength": 512,2631
"type": "string"2732
},2833
"urlHost": {2934
"description": "Host that was fetched (not full URL — receipts shouldn't leak private paths).",3035
"maxLength": 256,3136
"type": "string"3237
},3338
"userAgent": {3439
"description": "Exact User-Agent header sent on the fetch. SHOULD match an entry in the agent's town.agent.profile userAgents.",3540
"maxLength": 512,3641
"type": "string"3742
}3843
},3944
"required": [4045
"nonce",4146
"userAgent",4247
"urlHost",4348
"fetchedAt",4449
"createdAt"4550
],4651
"type": "object"4752
},4853
"type": "record"4954
}5055
},5156
"id": "town.agent.fetchreceipt",5257
"lexicon": 15358
}