{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"e31889b0-88aa-435b-b6b3-5ffcec5fe47a","source_url":"https://zambo.dev/api/receipt/e31889b0-88aa-435b-b6b3-5ffcec5fe47a","receipt":{"id":"e31889b0-88aa-435b-b6b3-5ffcec5fe47a","created_at":"2026-11-04T03:04:45.272Z","receipt_schema_version":"0.4","job_summary":"MCP tool execution: code_review","tools":["code_review"],"steps":[{"tool":"code_review","status":"success","started_at":"2026-11-04T03:04:43.413Z","completed_at":"2026-11-04T03:04:45.272Z"}],"output_hash":"sha256:4a6478079604a0420537b3fec77f896e08e2e4cc23fe3be730ad28571bf84d53","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiYmFzaXMiOiJpcF91YV8zMGQiLCJpZCI6InNoYTI1Njo4ZTdiMzU2ZGQ5ZWY5YTYyZDM2N2ZkYzAwY2U5Y2UxYTQxZTM0ZDNlYzNiZWNhNjFiZTBhMjU4ZTBiYWM4YzgxIiwicm90YXRlc19hdCI6IjIwMjYtMTItMDNUMDA6MDA6MDAuMDAwWiIsInR5cGUiOiJhbm9ueW1vdXMifSwiaXNzdWVyX2NsYWltcyI6eyJwcm92ZW5hbmNlX2NsYXNzIjoiRVhFQ1VURUQgQlkgWkFNQk8ifSwib3V0cHV0Ijp7Imlzc3VlcyI6W3siZGVzY3JpcHRpb24iOiJNdWx0aXBsZSBzdGF0ZW1lbnRzIG9uIGEgc2luZ2xlIGxpbmUgcmVkdWNlIHJlYWRhYmlsaXR5IiwiZml4IjoiUGxhY2UgZWFjaCBzdGF0ZW1lbnQgb24gaXRzIG93biBsaW5lIiwibGluZV9oaW50IjoiMSIsInNldmVyaXR5IjoibG93IiwidHlwZSI6InN0eWxlIn0seyJkZXNjcmlwdGlvbiI6IkFycm93IGZ1bmN0aW9uIGxhY2tzIGRvY3VtZW50YXRpb24gYW5kIGV4cGxpY2l0IHJldHVybiBibG9jayIsImZpe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k4MmI5YWFmZTkyZWNiNDE2ZWJlOTg3OTFlZGRiYWY4YWI2ZGYwYmQwODYwNWI3YzFiZmVlIiwiZGVjbGFyZWQiOlsibm9uZSJdLCJzY2hlbWFfdmVyc2lvbiI6InphbWJvLXNpZGUtZWZmZWN0cy8xIn0sInRvb2wiOnsibmFtZSI6ImNvZGVfcmV2aWV3Iiwic2NvcGUiOiJwdWJsaWMiLCJ2ZXJzaW9uIjoiNC4wLjAifX0=","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1469,"verification_status":"verified","session_trail":[],"result_preview":"{\"overall_score\":85,\"language\":\"javascript\",\"issues\":[{\"severity\":\"low\",\"type\":\"style\",\"line_hint\":\"1\",\"description\":\"Multiple statements on a single line reduce readability\",\"fix\":\"Place each statement on its own line\"},{\"severity\":\"medium\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"Arrow function lacks documentation and explicit return block\",\"fix\":\"Add a JSDoc comment and use a block body with a return statement if more logic is added\"},{\"severity\":\"low\",\"type\":\"performance\",\"line_hint\":\"1\",\"description\":\"No input validation may produce NaN for non‑numeric arguments\",\"fix\":\"Validate that both a and b are numbers before performing the addition\"}],\"security_flags\":[],\"quick_wins\":[\"Separate statements onto separate lines\",\"Add input type checks\"],\"refactor_suggestions\":[\"Add JSDoc comments\",\"Use explicit return in arrow function\"],\"verdict\":\"The code functions correctly but can be improved for readability, maintainability, and robustness.\"}","result_preview_integrity":"display_only_not_committed","result_preview_truncated":false,"input_hash":"sha256:40e7a6d018dc4e80b3887b1957e7cc1494643d902f63d831e27941f538eaaece","input_hash_layout":"zambo-json-sorted-keys-utf8-v1","free_used":0,"free_remaining":0,"free_limit":0,"signal_handle":null,"tool":{"name":"code_review","version":"4.0.0","scope":"public"},"caller":{"type":"anonymous","id":"sha256:8e7b356dd9ef9a62d367fdc00ce9ce1a41e34d3ec3beca61be0a258e0bac8c81","basis":"ip_ua_30d","rotates_at":"2026-12-03T00:00:00.000Z"},"side_effects":{"declared":["none"],"schema_version":"zambo-side-effects/1","declaration_hash":"sha256:45aad38f3aa982b9aafe92ecb416ebe98791eddbaf8ab6df0bd08605b7c1bfee"},"evidence_sha256":null,"evidence_url":null,"evidence_byte_length":null,"evidence_content_type":null,"evidence_source_url":null,"evidence_status":"empty","result_source":null,"evidence_source":null,"external_evidence":[],"provenance":{"result_source":null,"evidence_source":null,"evidence_status":"empty","evidence_captures":[]},"provenance_class":"EXECUTED BY ZAMBO","metadata_hash":"sha256:7f81b899272b72e3f0195dc999e29afba0bed47bca1bd3b0cc60c8d8173d79eb","anchor":{"event_id":"24db4201fa10dc63c245d3d60e113717fa9f458f877c71288f800f34b2dc7a45","pubkey":"e13475107d30c918ec664adf2ab1141024a22fb35190f82c9e933704fa49af41","relays":["wss://relay.damus.io","wss://nos.lol","wss://relay.primal.net"],"status":"partial","published_at":"2026-11-04T03:04:46.193Z","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-11-04T03:04:45.272Z","evidence_url":null,"receipt_uuid":"e31889b0-88aa-435b-b6b3-5ffcec5fe47a","output_sha256":"sha256:4a6478079604a0420537b3fec77f896e08e2e4cc23fe3be730ad28571bf84d53","schema_version":"zambo-receipt-anchor/1","evidence_sha256":null,"evidence_byte_length":null},"envelope_bytes":"{\"anchored_at\":\"2026-11-04T03:04:45.272Z\",\"evidence_byte_length\":null,\"evidence_sha256\":null,\"evidence_url\":null,\"output_sha256\":\"sha256:4a6478079604a0420537b3fec77f896e08e2e4cc23fe3be730ad28571bf84d53\",\"receipt_uuid\":\"e31889b0-88aa-435b-b6b3-5ffcec5fe47a\",\"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-04T03:04:45.272Z","detail":"The receipt store reports 2026-11-04T03:04:45.272Z; 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:f2a49000996da42197320f19ed2cf37361638cd811b8add15ce11581bfeb817e"}}},"evidence_status":"empty","verification_status":"verified","checks":{"commitment_matches":{"status":"pass","passed":true,"expected_hash":"sha256:4a6478079604a0420537b3fec77f896e08e2e4cc23fe3be730ad28571bf84d53","computed_hash":"sha256:4a6478079604a0420537b3fec77f896e08e2e4cc23fe3be730ad28571bf84d53","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."}}}