{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"e6a6ebd3-6937-41e3-9001-7bc49853096e","source_url":"https://zambo.dev/api/receipt/e6a6ebd3-6937-41e3-9001-7bc49853096e","receipt":{"id":"e6a6ebd3-6937-41e3-9001-7bc49853096e","created_at":"2026-11-24T07:47:17.525Z","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:47:14.866Z","completed_at":"2026-11-24T07:47:17.525Z"}],"output_hash":"sha256:59cff3a5542b4c6926d975d20b45b3c066937368d94f68ca15cef163aa5da3c0","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiaWQiOiJzaGEyNTY6NmE0YTQ1MDc3ZWIwY2RhZjQ3YTI3NTBjY2JlZWI4MGEyMDY0ZjI1NzAwMWEzMzRmNzM0OWYyNTQ1Y2QwYjE0MSIsInR5cGUiOiJzZXNzaW9uIn0sImlzc3Vlcl9jbGFpbXMiOnsicHJvdmVuYW5jZV9jbGFzcyI6IkVYRUNVVEVEIEJZIFpBTUJPIn0sIm91dHB1dCI6eyJmaXgiOiJGQUlMVVJFIE1PREU6IExvZ2ljIEVycm9yIOKAlCB0aGUgZnVuY3Rpb24gcmVmZXJlbmNlcyBhbiB1bmRlZmluZWQgdmFyaWFibGUgJ3gnIGFuZCBoYXMgbm8gcGFyYW1ldGVycywgY2F1c2luZyBhIHJ1bnRpbWUgZXJyb3IuXG5cbklOVEVOVCBERVRFQ1RFRDogVGhlIGNvZGUgd2FzIGludGVuZGVkIHRvIHByb3ZpZGUgYSByZXVzYWJsZSB1dGlsaXR5IGZ1bmN0aW9uIHRoYXQgcmV0dXJucyBpdHMgaW5wdXQgdmFsdWUuXG5cbkZJWEVEIENPREU6XG5leHBvcnQgZnVuY3Rpb24gaWRlbnRpdHk8VD4odmFsdWU6IFQpOiBUIHtcbiAgICByZXR1cm4gdmFsdWU7XG59IiwiZnJlZV91c2FnZSI6eyJsaW1pdCI6MywicmVtYWluaW5nIjoyLCJyZXNldHNfYXQiOiIyMDI2LTExLTI1VDA3OjQ3OjE1LjAxNloiLCJ1c2VkIjoxfSwicGFzc19hY3RpdmUiOmZhbHNlLCJyZXN1bHRfZm9vdGVyIjoiMS8zIHVzZWQgdG9kYXkuIiwidGV4dCI6IkZBSUxVUkUgTU9ERTogTG9naWMgRXJyb3Ig4oCUIHRoZSBmdW5jdGlvbiByZWZlcmVuY2VzIGFuIHVuZGVmaW5lZCB2YXJpYWJsZSAneCcgYW5kIGhhcyBubyBwYXJhbWV0ZXJzLCBjYXVzaW5nIGEgcnVudGltZSBlcnJvci5cblxuSU5URU5UIERFVEVDVEVEOiBUaGUgY29kZSB3YXMgaW50ZW5kZWQgdG8gcHJvdmlkZSBhIHJldXNhYmxlIHV0aWxpdHkgZnVuY3Rpb24gdGhhdCByZXR1cm5zIGl0cyBpbnB1dCB2YWx1ZS5cblxuRklYRUQgQ09ERTpcbmV4cG9ydCBmdW5jdGlvbiBpZGVudGl0eTxUPih2YWx1ZTogVCk6IFQge1xuICAgIHJldHVybiB2YWx1ZTtcbn0ifSwicmVjZWlwdF9zY2hlbWFfdmVyc2lvbiI6IjAuNCIsInNpZGVfZWZmZWN0cyI6eyJkZWNsYXJhdGlvbl9oYXNoIjoic2hhMjU2OjQ1YWFkMzhmM2FhOTgyYjlhYWZlOTJlY2I0MTZlYmU5ODc5MWVkZGJhZjhhYjZkZjBiZDA4NjA1YjdjMWJmZWUiLCJkZWNsYXJlZCI6WyJub25lIl0sInNjaGVtYV92ZXJzaW9uIjoiemFtYm8tc2lkZS1lZmZlY3RzLzEifSwidG9vbCI6eyJuYW1lIjoiemFtYm90X2ZpeCIsInNjb3BlIjoicHVibGljIiwidmVyc2lvbiI6IjQuMS40In19","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1239,"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.206Z","receipt_uuid":"1904c1a8-b9ed-46ac-b5e7-638e6fe2cb2d"},{"tool":"zambot_fix","status":"completed","args_hash":"sha256:5f9b5d853a4622dc9b02e4487e085bf96b12e16255d507d4ea064051df6a9547","timestamp":"2026-11-24T07:47:17.525Z","receipt_uuid":"e6a6ebd3-6937-41e3-9001-7bc49853096e"}],"result_preview":"{\"fix\":\"FAILURE MODE: Logic Error — the function references an undefined variable 'x' and has no parameters, causing a runtime error.\\n\\nINTENT DETECTED: The code was intended to provide a reusable utility function that returns its input value.\\n\\nFIXED CODE:\\nexport function identity<T>(value: T): T {\\n    return value;\\n}\",\"text\":\"FAILURE MODE: Logic Error — the function references an undefined variable 'x' and has no parameters, causing a runtime error.\\n\\nINTENT DETECTED: The code was intended to provide a reusable utility function that returns its input value.\\n\\nFIXED CODE:\\nexport function identity<T>(value: T): T {\\n    return value;\\n}\",\"result_footer\":\"1/3 used today.\",\"free_usage\":{\"limit\":3,\"used\":1,\"remaining\":2,\"resets_at\":\"2026-11-25T07:47:15.016Z\"},\"pass_active\":false}","result_preview_integrity":"display_only_not_committed","result_preview_truncated":false,"input_hash":"sha256:d73e9bb67adba0ef683b639b86ac3cc5c7468368633203d82213e44fae9d9827","input_hash_layout":"zambo-json-sorted-keys-utf8-v1","free_used":1,"free_remaining":2,"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:e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9","evidence_url":"/api/evidence/e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9","evidence_byte_length":799,"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:e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9","source":"localhost","capture_role":"primary","evidence_status":"ok"}]},"provenance_class":"EXECUTED BY ZAMBO","metadata_hash":"sha256:916e72a125205eadbe55789c2ed0df49040ea7218587ecb192c60b796820e394","anchor":{"event_id":"634bed136df63afd57d90a58b72c5dee030a0db16d7b4f7065a7e990e13e9dd5","pubkey":"e13475107d30c918ec664adf2ab•••••24a22fb35190f82c9e933704fa49af41","relays":["wss://relay.primal.net"],"status":"published","published_at":"2026-11-24T07:47:18.126Z","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:47:17.525Z","evidence_url":"https://zambo.dev/api/evidence/e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9","receipt_uuid":"e6a6ebd3-6937-41e3-9001-7bc49853096e","output_sha256":"sha256:59cff3a5542b4c6926d975d20b45b3c066937368d94f68ca15cef163aa5da3c0","schema_version":"zambo-receipt-anchor/1","evidence_sha256":"sha256:e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9","evidence_byte_length":799},"envelope_bytes":"{\"anchored_at\":\"2026-11-24T07:47:17.525Z\",\"evidence_byte_length\":799,\"evidence_sha256\":\"sha256:e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9\",\"evidence_url\":\"https://zambo.dev/api/evidence/e7e1d65bbbdaf6508dc9b6dffec3e37cbcabd77e22423bf921f13b8ce16830a9\",\"output_sha256\":\"sha256:59cff3a5542b4c6926d975d20b45b3c066937368d94f68ca15cef163aa5da3c0\",\"receipt_uuid\":\"e6a6ebd3-6937-41e3-9001-7bc49853096e\",\"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:47:17.525Z","detail":"The receipt store reports 2026-11-24T07:47:17.525Z; 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:59cff3a5542b4c6926d975d20b45b3c066937368d94f68ca15cef163aa5da3c0","computed_hash":"sha256:59cff3a5542b4c6926d975d20b45b3c066937368d94f68ca15cef163aa5da3c0","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."}}}