{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"c3490772-8ea4-4602-b00a-26ba1fbda227","source_url":"https://zambo.dev/api/receipt/c3490772-8ea4-4602-b00a-26ba1fbda227","receipt":{"id":"c3490772-8ea4-4602-b00a-26ba1fbda227","created_at":"2026-10-25T03:04:22.279Z","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-25T03:04:20.558Z","completed_at":"2026-10-25T03:04:22.279Z"}],"output_hash":"sha256:16979132a8c4a2ad54061ab5b3964125b4b41c63bbc6549f00e3fbbfb9c1c1cc","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiYmFzaXMiOiJpcF91YV8zMGQiLCJpZCI6InNoYTI1Njo4MzFjMGI2M2E4ZTUwOGE2ZTUzNzM4YzA4M2FjNDAxODE0MzhhZjhmNmQxYjFiZTdlYTU2ZmYwY2ZhNzY2OGE5Iiwicm90YXRlc19hdCI6IjIwMjYtMTEtMDNUMDA6MDA6MDAuMDAwWiIsInR5cGUiOiJhbm9ueW1vdXMifSwiaXNzdWVyX2NsYWltcyI6eyJwcm92ZW5hbmNlX2NsYXNzIjoiRVhFQ1VURUQgQlkgWkFNQk8ifSwib3V0cHV0Ijp7Imlzc3VlcyI6W3siZGVzY3JpcHRpb24iOiJDb2RlIGlzIHdyaXR0ZW4gb24gYSBzaW5nbGUgbGluZSBtYWtpbmcgaXQgaGFyZCB0byByZWFkIiwiZml4IjoiUGxhY2UgZWFjaCBzdGF0ZW1lbnQgb24gaXRzIG93biBsaW5lLiIsImxpbmVfaGludCI6IjEiLCJzZXZlcml0eSI6ImxvdyIsInR5cGUiOiJyZWFkYWJpbGl0eSJ9LHsiZGVzY3JpcHRpb24iOiJNaXNzaW5nIHNlbWljb2xvbiBhZnRlciBmdW5jdGlvbiBkZWNsYXJhdGlvbiIsImZpeCI6IkFkZCBh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JlZCI6WyJub25lIl0sInNjaGVtYV92ZXJzaW9uIjoiemFtYm8tc2lkZS1lZmZlY3RzLzEifSwidG9vbCI6eyJuYW1lIjoiY29kZV9yZXZpZXciLCJzY29wZSI6InB1YmxpYyIsInZlcnNpb24iOiI0LjAuMCJ9fQ==","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1405,"verification_status":"verified","session_trail":[],"result_preview":"{\"overall_score\":70,\"language\":\"javascript\",\"issues\":[{\"severity\":\"low\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"Code is written on a single line making it hard to read\",\"fix\":\"Place each statement on its own line.\"},{\"severity\":\"low\",\"type\":\"style\",\"line_hint\":\"1\",\"description\":\"Missing semicolon after function declaration\",\"fix\":\"Add a semicolon after the arrow function expression.\"},{\"severity\":\"low\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"No input validation for parameters a and b\",\"fix\":\"Add checks to ensure a and b are numbers before performing addition.\"}],\"security_flags\":[],\"quick_wins\":[\"Add missing semicolon\",\"Separate statements onto separate lines\"],\"refactor_suggestions\":[\"Use a named function for better stack traces\",\"Add type checking or default parameters\"],\"verdict\":\"The snippet works but lacks readability, style consistency, and input validation.\"}","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:b93542629ba4570f6186e882a49d65704a328e7285217fc0e258404bdc145e64","anchor":{"event_id":"a24ac207ceb9fc44d20d78de865f2fc668d5e176a82e188d6031f65fe9b12e34","pubkey":"e13475107d30c918ec664adf2ab1141024a22fb35190f82c9e933704fa49af41","relays":["wss://relay.damus.io","wss://nos.lol","wss://relay.primal.net"],"status":"partial","published_at":"2026-10-25T03:04:22.901Z","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-10-25T03:04:22.279Z","evidence_url":null,"receipt_uuid":"c3490772-8ea4-4602-b00a-26ba1fbda227","output_sha256":"sha256:16979132a8c4a2ad54061ab5b3964125b4b41c63bbc6549f00e3fbbfb9c1c1cc","schema_version":"zambo-receipt-anchor/1","evidence_sha256":null,"evidence_byte_length":null},"envelope_bytes":"{\"anchored_at\":\"2026-10-25T03:04:22.279Z\",\"evidence_byte_length\":null,\"evidence_sha256\":null,\"evidence_url\":null,\"output_sha256\":\"sha256:16979132a8c4a2ad54061ab5b3964125b4b41c63bbc6549f00e3fbbfb9c1c1cc\",\"receipt_uuid\":\"c3490772-8ea4-4602-b00a-26ba1fbda227\",\"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-25T03:04:22.279Z","detail":"The receipt store reports 2026-10-25T03:04:22.279Z; 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:16979132a8c4a2ad54061ab5b3964125b4b41c63bbc6549f00e3fbbfb9c1c1cc","computed_hash":"sha256:16979132a8c4a2ad54061ab5b3964125b4b41c63bbc6549f00e3fbbfb9c1c1cc","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."}}}