{
  "schema": "txra.roothistory-vectors.v1",
  "status": "Published: part of the Seal1618 kit since SPEC 1.12.0 (2026-09-14) and covered by kit/SHA256SUMS.txt.",
  "format": "txra.roothistory.v1",
  "spec": "creation1618.com/verify/SPEC.md §3",
  "note": "Conformance vectors for txra.roothistory.v1. A valid entangled history, then one document per check: an edited root, broken linkage, a withheld block, a repeated block hash, a miscounted document, an upper-case hash, overlapping anchors, an altered bookkeeping block and an unknown construction; and four documents that verify on their own, among them a consistent rewrite and a withdrawn newest anchor, which only a copy held earlier can contradict. Each vector is a document with the verdict a conforming verifier reaches and the named check(s) that fail, as the published txra-verify.cjs reports them. Every figure and name is invented and marked DEMO; every hash is real. summaryStartsWith is the reference verifier's wording: an independent implementation must agree on the verdict and the failing checks, and matching the sentence is optional. A verdict of VERIFIED exits 0 and every other verdict exits non-zero (SPEC §3.0).",
  "generatedAt": "2026-09-14T00:00:00.000Z",
  "verifier": {
    "file": "txra-verify.cjs",
    "sha256": "1d96d0323a843a33f5680d62279d7964e13bb1ea04c37f23ea2d6af4178021c7"
  },
  "vectors": [
    {
      "id": "valid-entangled",
      "note": "Three RFC 6962 anchors tiling blocks 1–9 of a synthetic ledger, each writing a bookkeeping block one past its range that the next anchor sweeps in; the newest bookkeeping block awaits the next sweep. No witness receipts, which is reported and is not a failure.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 3 anchors over blocks 1–9: all 3 roots re-derived, chain unbroken, history entangled."
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "anchor-root-edited",
      "note": "The first anchor's root has one hex digit changed and nothing else. It no longer re-derives from the block hashes the document publishes for it.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "roots"
        ],
        "summaryStartsWith": "FAILED — a published root does not re-derive from its own published blocks"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f390",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "block-linkage-broken",
      "note": "Block 5 names a previous hash that is not block 4's hash. Linkage runs across the whole concatenated block list, so the break is caught before any root is re-derived.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "linkage"
        ],
        "summaryStartsWith": "FAILED — the published chain is broken (a block altered, removed, or withheld)"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "a83597906b213aa3bc33db95919a3c26a40e584709a1aa360e3c734b71ecb007",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "block-withheld",
      "note": "Block 5 removed from the second anchor, with that anchor's count restated and its root re-derived so the tiling and roots checks have nothing to object to. Block 6 still names block 5 as its predecessor, so linkage is also the completeness check (SPEC §3 step 3).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "linkage"
        ],
        "summaryStartsWith": "FAILED — the published chain is broken (a block altered, removed, or withheld)"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 2,
              "root": "007eff3f5166175d1100a06fdf91f791b78337833b95271532893596e79b6c66",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "block-hash-repeated",
      "note": "Block 9 republishes block 8's hash, which still links (block 9's previous hash is block 8's hash). No block hash may appear twice: on honest data a repeat is a cycle, and it is the rule that makes a retired-construction root binding (SPEC §3 step 3, §3.1).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "linkage"
        ],
        "summaryStartsWith": "FAILED — a block hash appears twice (a chained ledger cannot repeat one, and a repeat is what a retired-construction root collision needs)"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "anchor-count-mismatch",
      "note": "anchorCount states four anchors and the document carries three.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "structure"
        ],
        "summaryStartsWith": "FAILED — the document disagrees with itself about how many anchors it holds"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 4,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "hash-not-lowercase",
      "note": "Block 1's hash is spelled in upper case. Every hash is 64 lowercase hex characters, refused at the structure check, because a leaf is SHA-256 of the published string and one hash must not have two spellings.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "structure"
        ],
        "summaryStartsWith": "FAILED — a malformed anchor entry (fail closed, nothing assumed)"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678D530F199B2AC6B5792A881E2040B17EFF1B5A0EEFEA99F4A51B22CFEB5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "anchors-overlap",
      "note": "The second anchor states a range starting at block 3, inside the first anchor's range 1–3.",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "tiling"
        ],
        "summaryStartsWith": "FAILED — anchors overlap or arrive out of order"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 3,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "bookkeeping-block-altered",
      "note": "The first anchor names a bookkeeping block 4 whose hash differs from block 4 as the second anchor publishes it. Each root must be committed to by a later one (SPEC §3 step 5).",
      "expect": {
        "verdict": "FAILED",
        "failingChecks": [
          "entanglement"
        ],
        "summaryStartsWith": "FAILED — the history is not entangled: a root is not committed to by the chain that follows it"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "bd99384fd6a3062fdb2a8d4feeb0e29a76c894717b89d242fb4a962afe0215eb"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "unknown-construction",
      "note": "The newest anchor names a Merkle construction the verifier does not implement. That is an inability, not a finding: INCOMPLETE, still a non-zero exit (SPEC §3.0).",
      "expect": {
        "verdict": "INCOMPLETE",
        "failingChecks": [
          "roots"
        ],
        "summaryStartsWith": "INCOMPLETE — anchor 3 names the Merkle construction 'sha256-demo-future-construction', which this verifier does not implement."
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-demo-future-construction",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "block-rewritten-consistently",
      "note": "Block 2 rewritten, block 3 re-linked to it and the first root re-derived. Every check holds, because a single copy of a root history cannot see a consistent rewrite: what contradicts it is a copy somebody held before (SPEC §3, \"what a verified history means\"). A holder that compares each new copy with the last catches it; a verifier reading one document does not.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 3 anchors over blocks 1–9: all 3 roots re-derived, chain unbroken, history entangled."
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 3,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "1a34c70d48334a7942a239e5e5fd72ab3dc4148a0274d9ae027f487b133f4cc7",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "1f1919d1478ba5ad71180e85a24f3b85e5eca6fb0709aa31d46e4fb112d55e5d"
                },
                {
                  "id": 3,
                  "prevHash": "1f1919d1478ba5ad71180e85a24f3b85e5eca6fb0709aa31d46e4fb112d55e5d",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "newest-anchor-dropped",
      "note": "The third anchor removed and anchorCount restated. The shorter history is internally sound and verifies; the second anchor's bookkeeping block now awaits a sweep. Only a copy that already held the third anchor shows that it was withdrawn.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 2 anchors over blocks 1–6: all 2 roots re-derived, chain unbroken, history entangled."
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 2,
          "anchors": [
            {
              "anchorId": 1,
              "blockFrom": 1,
              "blockTo": 3,
              "blockCount": 3,
              "root": "4fa90e85aa81a65e3376314338287b334eb85bd800e889e5dc9a81488415f39d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T02:00:00.000Z",
              "anchorEventBlock": {
                "id": 4,
                "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
              },
              "blocks": [
                {
                  "id": 1,
                  "prevHash": "0000000000000000000000000000000000000000000000000000000000000000",
                  "hash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876"
                },
                {
                  "id": 2,
                  "prevHash": "678d530f199b2ac6b5792a881e2040b17eff1b5a0eefea99f4a51b22cfeb5876",
                  "hash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7"
                },
                {
                  "id": 3,
                  "prevHash": "de29beecbc5b0a8f64da6e8355819be994b97f59be39531d1d53d1460b5bd6f7",
                  "hash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "starts-mid-ledger",
      "note": "The first anchor removed: the history starts at block 4, whose previous hash is not the genesis value. Valid, and the verifier names the unpublished prefix as not checked (SPEC §3).",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — 2 anchors over blocks 4–9: all 2 roots re-derived, chain unbroken, history entangled."
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 2,
          "anchors": [
            {
              "anchorId": 2,
              "blockFrom": 4,
              "blockTo": 6,
              "blockCount": 3,
              "root": "e3c78f8565d14098537c463c4a0e4b5000711f04f364dddde26c1a0bf6b1766d",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T08:00:00.000Z",
              "anchorEventBlock": {
                "id": 7,
                "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
              },
              "blocks": [
                {
                  "id": 4,
                  "prevHash": "5697fd5b68d4236eec1f501ca00680278684813dd6b65267494ef6d140d5bdce",
                  "hash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e"
                },
                {
                  "id": 5,
                  "prevHash": "5338b3e1c0eba9fe61edd8b08ec0d3ca4f43a5ce6f101b9dcbdb2a623da3671e",
                  "hash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4"
                },
                {
                  "id": 6,
                  "prevHash": "2f64c220d0159372f15414e90223ca9d36493a01a6dbc962b2ebb7339a9361f4",
                  "hash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17"
                }
              ],
              "witnesses": []
            },
            {
              "anchorId": 3,
              "blockFrom": 7,
              "blockTo": 9,
              "blockCount": 3,
              "root": "f9b0ea06d7a8187ea7ca84b867f93c4d708d5256755096131236eb2178119710",
              "algo": "sha256-rfc6962",
              "anchorChain": "off-chain",
              "anchoredAt": "2026-08-10T14:00:00.000Z",
              "anchorEventBlock": {
                "id": 10,
                "hash": "65b112fa23cde757434f86aee7ca6090716f6628f8ae17b0ce20501076d35884"
              },
              "blocks": [
                {
                  "id": 7,
                  "prevHash": "9d6be34f499462d9f4e5793f9cee26e08381eb5809c69a4c4f9d39508a17ca17",
                  "hash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6"
                },
                {
                  "id": 8,
                  "prevHash": "7ea34c085a5e3de90a791c482be89abaf3fd721b2c6a62e117598d3df24687f6",
                  "hash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544"
                },
                {
                  "id": 9,
                  "prevHash": "911aaa9b8d0d5433c7ec746f623969d5e307d5c9c6903978db34b1ca02b15544",
                  "hash": "11c1840c121521e07c78db46ba7e4fbeacc73965875ce266fc0009385648bf0b"
                }
              ],
              "witnesses": []
            }
          ]
        }
      }
    },
    {
      "id": "empty-history",
      "note": "No anchors minted yet. An empty history is a valid history.",
      "expect": {
        "verdict": "VERIFIED",
        "summaryStartsWith": "VERIFIED — empty history (nothing anchored yet)"
      },
      "input": {
        "document": {
          "schema": "txra.roothistory.v1",
          "generatedAt": "2026-08-10T15:00:00.000Z",
          "anchorCount": 0,
          "anchors": []
        }
      }
    }
  ]
}
