{"data":{"status":"pass","decision":"allow","ruleId":"allow-small","matchedRules":["allow-small"],"policyHash":"ae69b5759a3f2ae1e6625b1e8ddf57c30bf9e09d45c199b582a25f9195a407d9","requestHash":"9be2987582053e74118a445b378cf87025a62ba855849671b022718dcb5877c4","receiptBody":{"v":1,"kind":"policy-gate","language":"jsonlogic","policyHash":"ae69b5759a3f2ae1e6625b1e8ddf57c30bf9e09d45c199b582a25f9195a407d9","requestHash":"9be2987582053e74118a445b378cf87025a62ba855849671b022718dcb5877c4","decision":"allow","ruleId":"allow-small","matchedRules":["allow-small"],"status":"pass","combining":"deny-overrides"},"receipt":{"digest":"a149a18584f10f4fbe18ad61b3350388caad26a33d7b26c782a9102231518080","scheme":"sha256 over RFC 8785 JCS of `body`; signature is EIP-191 personal_sign over the 32 digest bytes by the hub attestation key (#eth-attestation in /.well-known/did.json)","signature":"0xc124fb0a9577b018be7eada5b8ff274c1f4983176c351c6b37c88a90ed8438e33a61f7721c2a097a6508ff2dae07d1f868f8af523887ead84aeb907ccd05605b1b","signer":"0x3DBd42560cA7a7E448A2c7DfC9E785526189411f"},"witnesses":[{"ruleId":"allow-small","detail":"allow by deny-overrides","path":"/policy/rules/1"}],"versions":{"engine":"policy-gate 1","jsonlogic":"jsonlogic.com operations (2026-11-04), json-logic-js semantics, no log; an array or object operand of a coercing operator (==, <, +, max, ...) is an evaluation error","receipt":"v1"},"limits":["The receipt proves which rule decided for these exact bytes; it does not prove the policy is a good policy or that the action was then performed.","JsonLogic coerces like JavaScript: a missing or non-numeric field makes > and < false, so a deny rule written as amount > 100 does not match a request without amount. Guard with {\"missing\": [...]} or write the allow rule as the positive condition."],"deterministic":true},"_provenance":{"version":"writerslogic-provenance/1","issuer":"did:web:agents.writerslogic.com","verify":{"endpoint":"POST /api/v1/verify-provenance","did":"did:web:agents.writerslogic.com"},"manifest":{"format":"application/json","instance_id":"xmp:iid:3460696c-d6cd-42c0-b989-d065b77e7423","claim_generator_info":[{"name":"WritersLogic x402 Agent Hub","version":"2.0.0"}],"title":"Policy gate with a signed receipt: your JsonLogic rules vs a proposed tool call or payment","assertions":[{"label":"c2pa.actions.v2","data":{"actions":[{"action":"c2pa.created","when":"2026-11-06T01:30:33.712Z","softwareAgent":{"name":"writerslogic-agent-hub/policy-gate","version":"2.0.0"},"digitalSourceType":"http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicMedia","parameters":{"endpoint":"POST /api/v1/policy-gate","inputDigest":{"alg":"sha256","hash":"5b57173d5918c5cd1e083cd6e72297ae25b89c4ef598f9c534685a39cd569c1e","canonicalization":"JCS"}}}]}},{"label":"c2pa.hash.data","data":{"alg":"sha256","hash":"7b673a6252f1ecced0b3c80b7e5b0f4e4ead9bc47dac559232bb4376be1819c6","name":"jcs-canonical-json(data)"}}]},"credential":{"@context":["https://www.w3.org/ns/credentials/v2"],"id":"urn:uuid:d5a89ce4-31a2-4356-a09d-62ac10c43366","type":["VerifiableCredential","AgentOutputCredential"],"issuer":"did:web:agents.writerslogic.com","validFrom":"2026-11-06T01:30:33.712Z","credentialSubject":{"id":"urn:sha256:7b673a6252f1ecced0b3c80b7e5b0f4e4ead9bc47dac559232bb4376be1819c6","agent":"policy-gate","endpoint":"POST /api/v1/policy-gate","outputDigest":{"alg":"sha256","value":"7b673a6252f1ecced0b3c80b7e5b0f4e4ead9bc47dac559232bb4376be1819c6","canonicalization":"JCS"},"inputDigest":{"alg":"sha256","value":"5b57173d5918c5cd1e083cd6e72297ae25b89c4ef598f9c534685a39cd569c1e","canonicalization":"JCS"},"manifestDigest":{"alg":"sha256","value":"6f0edf9fa0e8a6620e1b487b844ce29ce4dd94dc7cbadf7558caadd5d1d739b9","canonicalization":"JCS"},"ingredients":[],"payment":{"scheme":"api-key","network":"eip155:8453","payer":"sample"}},"proof":{"type":"DataIntegrityProof","cryptosuite":"eddsa-jcs-2022","created":"2026-11-06T01:30:33.712Z","verificationMethod":"did:web:agents.writerslogic.com#key-1","proofPurpose":"assertionMethod","proofValue":"zSetTiMikdf4GYnqnKtJo5iBQfhV7srGuYY1MRz2cPSL1ASPRHEn1NV1FgxeFESaXbwpi2CyfBUFRbCEoBRryJwY"}},"ethSignature":{"type":"EIP-191","signer":"did:pkh:eip155:8453:0x3DBd42560cA7a7E448A2c7DfC9E785526189411f","address":"0x3DBd42560cA7a7E448A2c7DfC9E785526189411f","message":"writerslogic-provenance:caa70310868a4b63827b74a79f460a73b28dd7e82599b60a6970a75835c2fe81","signature":"0x467d89dca42c66d669245bcde14a52d40d453d11bcfcd91a90b47cef89e622e6151cceb061ef88c591bd52a378fa521ae8157b03404d34a0ee5c6ddbe80687431b"}}}