{"api_version":2,"receipt_profile":"zambo-hosted-receipt/1","schema_url":"https://zambo.dev/aer-1/hosted-profile.schema.json","id":"557a0b48-1fb3-4160-8f42-e819fa90a3c8","source_url":"https://zambo.dev/api/receipt/557a0b48-1fb3-4160-8f42-e819fa90a3c8","receipt":{"id":"557a0b48-1fb3-4160-8f42-e819fa90a3c8","created_at":"2026-10-26T03:04:20.426Z","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-26T03:04:18.209Z","completed_at":"2026-10-26T03:04:20.426Z"}],"output_hash":"sha256:c4bf0e442b7a87b4b8cb04f12f6873ea567d5f51f7a236173537faa3f00e40b6","hash_algorithm":"sha256","canonical_bytes":"eyJjYWxsZXIiOnsiYmFzaXMiOiJpcF91YV8zMGQiLCJpZCI6InNoYTI1Njo4MzFjMGI2M2E4ZTUwOGE2ZTUzNzM4YzA4M2FjNDAxODE0MzhhZjhmNmQxYjFiZTdlYTU2ZmYwY2ZhNzY2OGE5Iiwicm90YXRlc19hdCI6IjIwMjYtMTEtMDNUMDA6MDA6MDAuMDAwWiIsInR5cGUiOiJhbm9ueW1vdXMifSwiaXNzdWVyX2NsYWltcyI6eyJwcm92ZW5hbmNlX2NsYXNzIjoiRVhFQ1VURUQgQlkgWkFNQk8ifSwib3V0cHV0Ijp7Imlzc3VlcyI6W3siZGVzY3JpcHRpb24iOiJDb2RlIGlzIHdyaXR0ZW4gb24gYSBzaW5nbGUgbGluZSwgbWFraW5nIGl0IGhhcmRlciB0byByZWFkIGFuZCBtYWludGFpbi4iLCJmaXgiOiJTcGxpdCB0aGUgY29kZSBpbnRvIG11bHRpcGxlIGxpbmVzOiBkZWZpbmUgdGhlIGZ1bmN0aW9uIG9uIGl0cyBvd24gbGluZSBhbmQgY2FsbCBjb25zb2xlLmxvZyBvbiBhIHNlcGFyYXRlIGxpbmUuIiwibGluZV9oaW50IjoiMSIsInNldmVyaXR5IjoibG93IiwidHlwZ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aW9uIjoiMC40Iiwic2lkZV9lZmZlY3RzIjp7ImRlY2xhcmF0aW9uX2hhc2giOiJzaGEyNTY6NDVhYWQzOGYzYWE5ODJiOWFhZmU5MmVjYjQxNmViZTk4NzkxZWRkYmFmOGFiNmRmMGJkMDg2MDViN2MxYmZlZSIsImRlY2xhcmVkIjpbIm5vbmUiXSwic2NoZW1hX3ZlcnNpb24iOiJ6YW1iby1zaWRlLWVmZmVjdHMvMSJ9LCJ0b29sIjp7Im5hbWUiOiJjb2RlX3JldmlldyIsInNjb3BlIjoicHVibGljIiwidmVyc2lvbiI6IjQuMC4wIn19","canonical_bytes_withheld_for_privacy":false,"canonical_byte_length":1536,"verification_status":"verified","session_trail":[],"result_preview":"{\"overall_score\":80,\"language\":\"javascript\",\"issues\":[{\"severity\":\"low\",\"type\":\"readability\",\"line_hint\":\"1\",\"description\":\"Code is written on a single line, making it harder to read and maintain.\",\"fix\":\"Split the code into multiple lines: define the function on its own line and call console.log on a separate line.\"},{\"severity\":\"low\",\"type\":\"style\",\"line_hint\":\"1\",\"description\":\"Missing semicolons after function definition and console.log statement can lead to issues in minified code.\",\"fix\":\"Add semicolons after each statement.\"},{\"severity\":\"low\",\"type\":\"performance\",\"line_hint\":\"1\",\"description\":\"The sum function does not handle non-numeric inputs, which could lead to NaN results in larger applications.\",\"fix\":\"Add type checking or use Number() to coerce inputs.\"}],\"security_flags\":[],\"quick_wins\":[\"Add line breaks for readability\",\"Add semicolons\",\"Add input validation\"],\"refactor_suggestions\":[\"Move sum function to a separate module\",\"Add JSDoc comments\",\"Use strict mode\"],\"verdict\":\"Minor improvements needed\"}","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:0cdd1de1ca30976c71a375eb378a0bcce412ae2fdb70df85c41b4d33cff9fee4","anchor":{"event_id":"0c36e6f9ea0faba53c20136ee93d5b99fd33ea12db7d46c4b6463c45fa5c9839","pubkey":"e13475107d30c918ec664adf2ab1141024a22fb35190f82c9e933704fa49af41","relays":["wss://relay.damus.io","wss://nos.lol","wss://relay.primal.net"],"status":"partial","published_at":"2026-10-26T03:04:21.074Z","schema_version":"zambo-receipt-anchor/1","envelope":{"anchored_at":"2026-10-26T03:04:20.426Z","evidence_url":null,"receipt_uuid":"557a0b48-1fb3-4160-8f42-e819fa90a3c8","output_sha256":"sha256:c4bf0e442b7a87b4b8cb04f12f6873ea567d5f51f7a236173537faa3f00e40b6","schema_version":"zambo-receipt-anchor/1","evidence_sha256":null,"evidence_byte_length":null},"envelope_bytes":"{\"anchored_at\":\"2026-10-26T03:04:20.426Z\",\"evidence_byte_length\":null,\"evidence_sha256\":null,\"evidence_url\":null,\"output_sha256\":\"sha256:c4bf0e442b7a87b4b8cb04f12f6873ea567d5f51f7a236173537faa3f00e40b6\",\"receipt_uuid\":\"557a0b48-1fb3-4160-8f42-e819fa90a3c8\",\"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-26T03:04:20.426Z","detail":"The receipt store reports 2026-10-26T03:04:20.426Z; 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:c4bf0e442b7a87b4b8cb04f12f6873ea567d5f51f7a236173537faa3f00e40b6","computed_hash":"sha256:c4bf0e442b7a87b4b8cb04f12f6873ea567d5f51f7a236173537faa3f00e40b6","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."}}}