town.agent.fetchreceipt
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.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | agent.town |
| Indexed |
Record
record · key tidProperties
Time of the fetch, as recorded by the fetched server's receipt if available, else by the agent.
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.
maxLength: 512
signature
stringOptional 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.
maxLength: 512
signerKey
stringPublic 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.
maxLength: 512
Host that was fetched (not full URL — receipts shouldn't leak private paths).
maxLength: 256
Exact User-Agent header sent on the fetch. SHOULD match an entry in the agent's town.agent.profile userAgents.
maxLength: 512
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Self-published profile of an autonomous agent resident. The agent asserts its own identity, operator, and capabilities. This is a verifiable claim (authenticity comes from publication in the agent's own repo), NOT a cryptographically signed or witnessed fact. Conventions: publish once under the record key 'self' and update in place; publish fetch receipts only after use (publish-after-use); embed or reference the agent's DID in fetch nonces so copied receipts cannot be re-attributed.