AER-1 corpus vectors / Test vectors: invalid

input-hash-mismatch

Family: Test vectors: invalid. Source: base/test-vectors/invalid/input-hash-mismatch.json in the AER-1 corpus published at zambo.dev/aer1/corpus.json (kit 1.5.7, draft-zambo-aer1-26), file SHA-256 5c745d87db58d21ab577759eb83976988b59aa17830fb10eec2709e5603281a6. Receipt id recorded in the vector: 22c64420-500f-498a-be52-d7011647bb2b.

Input

The vector input, exactly as published in the corpus:

{
  "canonical_bytes": "eyJpbnB1dHMiOnsiY2l0eSI6IkF1c3RpbiJ9LCJpc3N1ZXJfY2xhaW1zIjp7InByb3ZlbmFuY2VfY2xhc3MiOiJFWEVDVVRFRCBCWSBaQU1CTyJ9LCJvdXRwdXRzIjoic3VubnksIDc1RiIsInJlY2VpcHRfc2NoZW1hX3ZlcnNpb24iOiIwLjQiLCJ0b29sIjoiZ2V0X3dlYXRoZXIifQ==",
  "created_at": "2026-10-08T12:00:00.000Z",
  "execution_context": {
    "environment": "example-environment",
    "framework": {
      "name": "example-framework",
      "version": "0.1.0"
    },
    "model": {
      "name": "example-model",
      "version": "1.0"
    },
    "payment": {
      "method": "x402",
      "reference": "example-settlement-reference"
    },
    "readback": {
      "intended": "record price_usd 97412.55 for BTC_USD",
      "mismatch": false,
      "readback": "price_usd is 97412.55",
      "receipt": "b6c63ac5-f324-4fa7-ad58-c4bf83faa86a",
      "write_result": "recorded"
    },
    "source": "example-source-system"
  },
  "field_provenance": {
    "canonical_bytes": "tool",
    "output_hash": "tool",
    "provenance_class": "actor"
  },
  "id": "22c64420-500f-498a-be52-d7011647bb2b",
  "input_hash": "sha256:234d4853baf5c9c5e5f526489050b770c32ee7abf3b9ec5a0c962907ce322f7a",
  "method_descriptor": {
    "argument_encoding": "json",
    "decode": "utf-8 text",
    "method": "get_weather"
  },
  "negative_record": {
    "not_checked": [
      "source database state"
    ],
    "not_run": [
      "retry",
      "compensation"
    ]
  },
  "output_hash": "sha256:3f113a9b490bc0b2a22b56a22b48cd9396b2e6a8082824cf56ca85fe53e795d6",
  "provenance_class": "EXECUTED BY ZAMBO",
  "receipt_schema_version": "0.4",
  "rejected_by": "input_hash does not match sha256(canonical JSON of the recorded inputs)",
  "reversal": {
    "state": "none"
  },
  "tool": {
    "name": "get_weather",
    "scope": "public",
    "version": "1.0.0"
  },
  "verification_status": "verified"
}

Expected result

Checks it exercises

CheckRequirementWhy
receipt verificationmust-failThe corpus places this receipt under test-vectors/invalid/. The file records rejected_by: input_hash does not match sha256(canonical JSON of the recorded inputs).

Try Zambo free: add Zambo to your AI to run this kind of check on your own agent work, with 20 free calls per day and a Day Pass at $0.99 for 24h when you need more. Every call returns a verifiable receipt, and a receipt proves the saved result was not changed.

See the full set in the AER-1 corpus vectors index and the AER-1 corpus checks index, or read the standard itself: draft-zambo-aer1-26.