{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"d38e5928-f948-4c5d-9267-44c46f440521","source_url":"https://zambo.dev/api/receipt/d38e5928-f948-4c5d-9267-44c46f440521","receipt":{"id":"d38e5928-f948-4c5d-9267-44c46f440521","created_at":"2026-10-19T03:04:31.092Z","receipt_schema_version":"0.4","job_summary":"MCP tool execution: code_review","tools":["code_review"],"steps":[{"tool":"code_review","status":"success","started_at":"2026-10-19T03:04:29.733Z","completed_at":"2026-10-19T03:04:31.092Z"}],"output_hash":"sha256:55f0ab9ca929a6588edd3463fe473d54533364f035cbea091d813e8447d271d5","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiYmFzaXMiOiJpcF91YV8zMGQiLCJpZCI6InNoYTI1Njo4MzFjMGI2M2E4ZTUwOGE2ZTUzNzM4YzA4M2FjNDAxODE0MzhhZjhmNmQxYjFiZTdlYTU2ZmYwY2ZhNzY2OGE5Iiwicm90YXRlc19hdCI6IjIwMjYtMTEtMDNUMDA6MDA6MDAuMDAwWiIsInR5cGUiOiJhbm9ueW1vdXMifSwiaXNzdWVyX2NsYWltcyI6eyJwcm92ZW5hbmNlX2NsYXNzIjoiRVhFQ1VURUQgQlkgWkFNQk8ifSwib3V0cHV0Ijp7Imlzc3VlcyI6W3siZGVzY3JpcHRpb24iOiJNdWx0aXBsZSBzdGF0ZW1lbnRzIG9uIGEgc2luZ2xlIGxpbmUgcmVkdWNlIHJlYWRhYmlsaXR5IGFuZCBtYWtlIGRlYnVnZ2luZyBoYXJkZXIuIiwiZml4IjoiU3BsaXQgdGhlIGNvZGUgaW50byBzZXBhcmF0ZSBsaW5lczogb25lIGZvciB0aGUgZnVuY3Rpb24gZGVmaW5pdGlvbiBhbmQgb25lIGZvciB0aGUgY29uc29sZS5sb2cgY2FsbC4iLCJsaW5lX2hpbnQiOiIxIiwic2V2ZXJpdHkiOiJtZWRpdW0iLCJ0eXBlIjoicm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bGl0IHN0YXRlbWVudHMgb250byBzZXBhcmF0ZSBsaW5lcy4iXSwicmVmYWN0b3Jfc3VnZ2VzdGlvbnMiOlsiSWYgdGhpcyBpcyBwYXJ0IG9mIGEgbGFyZ2VyIG1vZHVsZSwgZW5zdXJlIHRoZSBmdW5jdGlvbiBpcyBleHBvcnRlZCBvciB1c2VkIGFwcHJvcHJpYXRlbHkuIiwiQWRkIEpTRG9jIGNvbW1lbnRzIGZvciB0aGUgZnVuY3Rpb24gaWYgaXQgaXMgaW50ZW5kZWQgZm9yIHJldXNlLiJdLCJzZWN1cml0eV9mbGFncyI6W10sInZlcmRpY3QiOiJUaGUgY29kZSBpcyBmdW5jdGlvbmFsbHkgY29ycmVjdCBidXQgbGFja3MgYmFzaWMgZm9ybWF0dGluZyBhbmQgcmVhZGFiaWxpdHkgc3RhbmRhcmRzLiBJdCBzaG91bGQgYmUgcmVmb3JtYXR0ZWQgZm9yIGNsYXJpdHkgYW5kIG1haW50YWluYWJpbGl0eS4ifSwicmVjZWlwdF9zY2hlbWFfdmVyc2lvbiI6IjAuNCIsInNpZGVfZWZmZWN0cyI6eyJkZWNsYXJhdGlvbl9oYXNoIjoic2hhMjU2OjQ1YWFkMzhmM2FhOTgyYjlhYWZlOTJlY2I0MTZlYmU5ODc5MWVkZGJhZjhhYjZkZjBiZDA4NjA1YjdjMWJmZWUiLCJkZWNsYXJlZCI6WyJub25lIl0sInNjaGVtYV92ZXJzaW9uIjoiemFtYm8tc2lkZS1lZmZlY3RzLzEifSwidG9vbCI6eyJuYW1lIjoiY29kZV9yZXZpZXciLCJzY29wZSI6InB1YmxpYyIsInZlcnNpb24iOiI0LjAuMCJ9fQ==","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1966,"verification_status":"verified","session_trail":[],"result_preview":"{\"overall_score\":40,\"language\":\"javascript\",\"issues\":[{\"severity\":\"medium\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"Multiple statements on a single line reduce readability and make debugging harder.\",\"fix\":\"Split the code into separate lines: one for the function definition and one for the console.log call.\"},{\"severity\":\"low\",\"type\":\"style\",\"line_hint\":\"1\",\"description\":\"Lack of whitespace around operators and after commas is inconsistent with common JavaScript style guides (like Prettier or Standard).\",\"fix\":\"Add spaces around the arrow function and after the comma in the function call: `const sum = (a, b) => a + b;` and `console.log(sum(1, 2));`.\"},{\"severity\":\"low\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"The function `sum` is defined but only used once immediately. In a larger context, this might be fine, but here it adds unnecessary abstraction for a simple operation.\",\"fix\":\"Consider inlining the operation if the function is not reused: `console.log(1 + 2);`.\"}],\"security_flags\":[],\"quick_wins\":[\"Add proper formatting and whitespace.\",\"Split statements onto separate lines.\"],\"refactor_suggestions\":[\"If this is part of a larger module, ensure the function is exported or used appropriately.\",\"Add JSDoc comments for the function if it is intended for reuse.\"],\"verdict\":\"The code is functionally correct but lacks basic formatting and readability standards. It should be reformatted for clarity and maintainability.\"}","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:831c0b63a8e508a6e53738c083ac40181438af8f6d1b1be7ea56ff0cfa7668a9","basis":"ip_ua_30d","rotates_at":"2026-11-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":"no_upstream_bytes_captured","external_evidence":[],"provenance":null,"provenance_class":"EXECUTED BY ZAMBO","metadata_hash":"sha256:b39bc8d86dfa8bc31353dd98f9480c907f6fb0e0e28ce65bca72c79a52b00148","anchor":{"event_id":"e8027bf1a316104b12d31708318aef2a8bf46e8540792dcbabd0e1b21a0268eb","pubkey":"e13475107d30c918ec664adf2ab1141024a22fb35190f82c9e933704fa49af41","relays":["wss://relay.damus.io","wss://nos.lol","wss://relay.primal.net"],"status":"partial","published_at":"2026-10-19T03:04:31.870Z","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-10-19T03:04:31.092Z","evidence_url":null,"receipt_uuid":"d38e5928-f948-4c5d-9267-44c46f440521","output_sha256":"sha256:55f0ab9ca929a6588edd3463fe473d54533364f035cbea091d813e8447d271d5","schema_version":"zambo-receipt-anchor/1","evidence_sha256":null,"evidence_byte_length":null},"envelope_bytes":"{\"anchored_at\":\"2026-10-19T03:04:31.092Z\",\"evidence_byte_length\":null,\"evidence_sha256\":null,\"evidence_url\":null,\"output_sha256\":\"sha256:55f0ab9ca929a6588edd3463fe473d54533364f035cbea091d813e8447d271d5\",\"receipt_uuid\":\"d38e5928-f948-4c5d-9267-44c46f440521\",\"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-10-19T03:04:31.092Z","detail":"The receipt store reports 2026-10-19T03:04:31.092Z; 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"}},"verification_status":"verified","checks":{"commitment_matches":{"status":"pass","passed":true,"expected_hash":"sha256:55f0ab9ca929a6588edd3463fe473d54533364f035cbea091d813e8447d271d5","computed_hash":"sha256:55f0ab9ca929a6588edd3463fe473d54533364f035cbea091d813e8447d271d5","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."}}}