{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d","source_url":"https://zambo.dev/api/receipt/1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d","receipt":{"id":"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d","created_at":"2026-11-24T07:46:54.090Z","receipt_schema_version":"0.4","job_summary":"MCP tool execution: zambot_fix","tools":["zambot_fix"],"steps":[{"tool":"zambot_fix","status":"success","started_at":"2026-11-24T07:46:52.929Z","completed_at":"2026-11-24T07:46:54.090Z"}],"output_hash":"sha256:371fb05c7cf757441313fed5e85d27673cb49888ce1240934f34c834086f49b1","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiaWQiOiJzaGEyNTY6NmE0YTQ1MDc3ZWIwY2RhZjQ3YTI3NTBjY2JlZWI4MGEyMDY0ZjI1NzAwMWEzMzRmNzM0OWYyNTQ1Y2QwYjE0MSIsInR5cGUiOiJzZXNzaW9uIn0sImlzc3Vlcl9jbGFpbXMiOnsicHJvdmVuYW5jZV9jbGFzcyI6IkVYRUNVVEVEIEJZIFpBTUJPIn0sIm91dHB1dCI6eyJmaXgiOiJGQUlMVVJFIE1PREU6IFRoZSBmdW5jdGlvbiBgYWRkYCBpcyBpbnRlbmRlZCB0byBzdW0gdHdvIG51bWJlcnMgYnV0IGVycm9uZW91c2x5IHJldHVybnMgdGhlaXIgZGlmZmVyZW5jZSBkdWUgdG8gdXNpbmcgdGhlIHN1YnRyYWN0aW9uIG9wZXJhdG9yLlxuXG5JTlRFTlQgREVURUNURUQ6IFRoZSBjb2RlIHdhcyB0cnlpbmcgdG8gaW1wbGVtZW50IGEgc2ltcGxlIHV0aWxpdHkgZnVuY3Rpb24gdG8gY2FsY3VsYXRlIHRoZSBzdW0gb2YgdHdvIG51bWVyaWMgaW5wdXRzLlxuXG5GSVhFRCBDT0RFOlxuZnVuY3Rpb24gYWRkKGEsIGIpIHtcbiAgICByZXR1cm4gYSArIGI7XG59IiwiZnJlZV91c2FnZSI6eyJsaW1pdCI6MywicmVtYWluaW5nIjoyLCJyZXNldHNfYXQiOiIyMDI2LTExLTI1VDA3OjQ2OjUyLjk4NloiLCJ1c2VkIjoxfSwicGFzc19hY3RpdmUiOmZhbHNlLCJyZXN1bHRfZm9vdGVyIjoiMS8zIHVzZWQgdG9kYXkuIiwidGV4dCI6IkZBSUxVUkUgTU9ERTogVGhlIGZ1bmN0aW9uIGBhZGRgIGlzIGludGVuZGVkIHRvIHN1bSB0d28gbnVtYmVycyBidXQgZXJyb25lb3VzbHkgcmV0dXJucyB0aGVpciBkaWZmZXJlbmNlIGR1ZSB0byB1c2luZyB0aGUgc3VidHJhY3Rpb24gb3BlcmF0b3IuXG5cbklOVEVOVCBERVRFQ1RFRDogVGhlIGNvZGUgd2FzIHRyeWluZyB0byBpbXBsZW1lbnQgYSBzaW1wbGUgdXRpbGl0eSBmdW5jdGlvbiB0byBjYWxjdWxhdGUgdGhlIHN1bSBvZiB0d28gbnVtZXJpYyBpbnB1dHMuXG5cbkZJWEVEIENPREU6XG5mdW5jdGlvbiBhZGQoYSwgYikge1xuICAgIHJldHVybiBhICsgYjtcbn0ifSwicmVjZWlwdF9zY2hlbWFfdmVyc2lvbiI6IjAuNCIsInNpZGVfZWZmZWN0cyI6eyJkZWNsYXJhdGlvbl9oYXNoIjoic2hhMjU2OjQ1YWFkMzhmM2FhOTgyYjlhYWZlOTJlY2I0MTZlYmU5ODc5MWVkZGJhZjhhYjZkZjBiZDA4NjA1YjdjMWJmZWUiLCJkZWNsYXJlZCI6WyJub25lIl0sInNjaGVtYV92ZXJzaW9uIjoiemFtYm8tc2lkZS1lZmZlY3RzLzEifSwidG9vbCI6eyJuYW1lIjoiemFtYm90X2ZpeCIsInNjb3BlIjoicHVibGljIiwidmVyc2lvbiI6IjQuMS40In19","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1251,"verification_status":"verified","session_trail":[{"tool":"scam_check","status":"completed","args_hash":"sha256:cf7d96e2e15e441d827310d57d88eaee802c9928f5dbbd716812088803b3f504","timestamp":"2026-11-24T07:46:48.138Z","receipt_uuid":"050ad06e-9540-4df1-b59a-d82485d4b81e"},{"tool":"zambot_fix","status":"completed","args_hash":"sha256:73c89b7df4404b393bbec13a86e857389ca071c4086b1eb9044c18fe4ea3f5af","timestamp":"2026-11-24T07:46:54.090Z","receipt_uuid":"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d"}],"result_preview":"{\"fix\":\"FAILURE MODE: The function `add` is intended to sum two numbers but erroneously returns their difference due to using the subtraction operator.\\n\\nINTENT DETECTED: The code was trying to implement a simple utility function to calculate the sum of two numeric inputs.\\n\\nFIXED CODE:\\nfunction add(a, b) {\\n    return a + b;\\n}\",\"text\":\"FAILURE MODE: The function `add` is intended to sum two numbers but erroneously returns their difference due to using the subtraction operator.\\n\\nINTENT DETECTED: The code was trying to implement a simple utility function to calculate the sum of two numeric inputs.\\n\\nFIXED CODE:\\nfunction add(a, b) {\\n    return a + b;\\n}\",\"result_footer\":\"1/3 used today.\",\"free_usage\":{\"limit\":3,\"used\":1,\"remaining\":2,\"resets_at\":\"2026-11-25T07:46:52.986Z\"},\"pass_active\":false}","result_preview_integrity":"display_only_not_committed","result_preview_truncated":false,"input_hash":"sha256:650fa5a19e366f19cc63f0a42c429fbe7f40315b4dcb77b2302c4469d8261b2d","input_hash_layout":"zambo-json-sorted-keys-utf8-v1","free_used":0,"free_remaining":3,"free_limit":3,"signal_handle":null,"tool":{"name":"zambot_fix","version":"4.1.4","scope":"public"},"caller":{"type":"session","id":"sha256:6a4a45077eb0cdaf47a2750ccbeeb80a2064f257001a334f7349f2545cd0b141"},"side_effects":{"declared":["none"],"schema_version":"zambo-side-effects/1","declaration_hash":"sha256:45aad38f3aa982b9aafe92ecb416ebe98791eddbaf8ab6df0bd08605b7c1bfee"},"evidence_sha256":"sha256:ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa0511638977ed1755b3fd","evidence_url":"/api/evidence/ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa0511638977ed1755b3fd","evidence_byte_length":811,"evidence_content_type":"application/json","evidence_source_url":null,"evidence_status":"ok","result_source":null,"evidence_source":"localhost","external_evidence":[],"provenance":{"result_source":null,"evidence_source":"localhost","evidence_status":"ok","evidence_captures":[{"sha256":"sha256:ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa0511638977ed1755b3fd","source":"localhost","capture_role":"primary","evidence_status":"ok"}]},"provenance_class":"EXECUTED BY ZAMBO","metadata_hash":"sha256:26a57c669005d21ab2c43dc11afabe10994c0cdfe3222562073ee73a6f7e8105","anchor":{"event_id":"7968707fc65ed6f25cc58bf30374a63c74dc2b19f61acd0a2a9346e54c26ea96","pubkey":"e13475107d30c918ec664adf2ab•••••24a22fb35190f82c9e933704fa49af41","relays":["wss://relay.primal.net"],"status":"published","published_at":"2026-11-24T07:46:54.658Z","published_at_semantics":"Relay confirmation time (accepted acknowledgement or exact-event read-back); not the signed event's created_at.","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-11-24T07:46:54.090Z","evidence_url":"https://zambo.dev/api/evidence/ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa0511638977ed1755b3fd","receipt_uuid":"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d","output_sha256":"sha256:371fb05c7cf757441313fed5e85d27673cb49888ce1240934f34c834086f49b1","schema_version":"zambo-receipt-anchor/1","evidence_sha256":"sha256:ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa0511638977ed1755b3fd","evidence_byte_length":811},"envelope_bytes":"{\"anchored_at\":\"2026-11-24T07:46:54.090Z\",\"evidence_byte_length\":811,\"evidence_sha256\":\"sha256:ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa051 •••-••77ed1755b3fd\",\"evidence_url\":\"https://zambo.dev/api/evidence/ca2bb2f3a181f91a542562d4cdfd398f81199bcbffaa051 •••-••77ed1755b3fd\",\"output_sha256\":\"sha256:371fb05c7cf757441313fed5e85d27673cb49888ce•••••34f34c834086f49b1\",\"receipt_uuid\":\"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d\",\"schema_version\":\"zambo-receipt-anchor/1\"}"},"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","api_version":1,"verification_scope":"separate_sha256_commitment_and_provenance_binding_checks","checks":{"commitment_matches":{"label":"SHA-256 commitment","passed":true,"status":"pass","detail":"The exact decoded canonical bytes match the stored SHA-256 output hash."},"canonical_payload_matches":{"label":"Canonical payload reconstruction","passed":true,"status":"pass","detail":"The stored output and known call context reconstruct the exact canonical bytes."},"provenance_binding":{"label":"Provenance claim binding","status":"pass","passed":true,"detail":"The metadata claim is consistent with the verified receipt bytes; issuer is not authenticated."},"metadata_binding":{"label":"AER-1 metadata hash","status":"pass","passed":true,"detail":"metadata_hash matches the canonical metadata block."},"signature":{"label":"Ed25519 signature (not checked)","passed":false,"status":"not_checked","detail":"No Ed25519 signature or pinned signing key was checked."},"chain":{"label":"Receipt chain (not checked)","passed":false,"status":"not_checked","detail":"No append-only receipt-chain proof was checked."},"issued_by_zambo_dev":{"label":"Issuer authentication","passed":false,"status":"not_checked","detail":"A zambo.dev receipt URL does not authenticate the issuer; no pinned signature or trusted issuer key was checked."},"immutable_log_timestamp":{"label":"Stored timestamp","passed":true,"timestamp":"2026-11-24T07:46:54.090Z","detail":"The receipt store reports 2026-11-24T07:46:54.090Z; immutability is not checked here."},"receipt_schema_version":"0.4","signature_valid":{"label":"Ed25519 signature (not checked)","passed":false,"status":"not_checked","detail":"Compatibility field only. No Ed25519 signature was checked; use API v2 checks.commitment_matches for the SHA-256 commitment."},"chain_valid":{"label":"Receipt chain (not checked)","passed":false,"status":"not_checked","detail":"This endpoint does not verify an append-only chain."}},"execution_context":{"environment":"zambo.dev hosted MCP","quota_identity":{"meter_key":"sha256:b998339ac4fef4186f0aa93641fecaf9e376632b•••••37a534ae617aac584d3","stable_handle_hash":"sha256:6a4a45077eb0cdaf47a2750ccbeeb80a2064f257001a334f7349f2545cd0b141"}}},"evidence_status":"ok","verification_status":"verified","checks":{"commitment_matches":{"status":"pass","passed":true,"expected_hash":"sha256:371fb05c7cf757441313fed5e85d27673cb49888ce1240934f34c834086f49b1","computed_hash":"sha256:371fb05c7cf757441313fed5e85d27673cb49888ce1240934f34c834086f49b1","detail":"SHA-256 of the exact decoded canonical bytes matches output_hash."},"canonical_payload_matches":{"label":"Canonical payload reconstruction","passed":true,"status":"pass","detail":"The stored output and known call context reconstruct the exact canonical bytes."},"provenance_binding":{"label":"Provenance claim binding","status":"pass","passed":true,"detail":"The metadata claim is consistent with the verified receipt bytes; issuer is not authenticated."},"metadata_binding":{"label":"AER-1 metadata hash","status":"pass","passed":true,"detail":"metadata_hash matches the canonical metadata block."},"issuer_authentication":{"label":"Issuer authentication","passed":false,"status":"not_checked","detail":"A zambo.dev receipt URL does not authenticate the issuer; no pinned signature or trusted issuer key was checked."},"signature":{"status":"not_checked","detail":"No Ed25519 signature or pinned signing key is supplied."},"schema":{"status":"not_checked","detail":"Schema conformance is left to the client using the linked hosted-profile schema."},"chain":{"status":"not_checked","detail":"This endpoint does not verify an append-only receipt chain."}}}