{
 "kind": "crawlcheck-key-policy-suite",
 "v": 1,
 "suite_version": "1.0.0",
 "built_at": "2026-10-22T22:20:15.250Z",
 "policy": {
  "kind": "crawlcheck-key-policy",
  "v": 2,
  "object_purpose": {
   "crawlcheck-decision": "decisions",
   "crawlcheck-log-sth": "log heads",
   "*": "documents"
  },
  "chains": {
   "documents": [
    "documents",
    "requests"
   ],
   "decisions": [
    "decisions",
    "documents",
    "requests"
   ],
   "log heads": [
    "log heads",
    "documents",
    "requests"
   ]
  },
  "starts": {
   "requests": null,
   "documents": "2026-10-11T00:00:00Z",
   "decisions": "2026-11-09T17:00:00Z",
   "log heads": "2026-11-09T17:00:00Z"
  },
  "bound": {
   "crawlcheck-resolve": "transparency.sth",
   "crawlcheck-decision": "resolve"
  },
  "rule": [
   "The object's purpose is decisions for a decision receipt, log heads for a signed tree head, documents for everything else.",
   "Its chain lists the purposes that may sign it, in order. The expected purpose at signing time t is the first one in the chain with an uncompromised key that could sign at t: a published key whose start (crawlcheck_signs_from, else nbf, else starts[purpose]) is at or before t, or a key the rotation record lists as retired whose start (crawlcheck_signs_from, else not_before, else starts[purpose]) is at or before t and whose stopped_signing_at is at or after t; requests is always available.",
   "A signature is accepted when the signing key's purpose is the expected one, or when the key is the one that signed the object it is bound to (a Resolve answer's log head, a decision's Resolve answer) and that key's purpose comes later in the same chain. A decision made after a live decision key exists has no such exception.",
   "A key that is not in the directory is accepted only when the rotation record lists it as retired and the document was signed at or before stopped_signing_at.",
   "A key the rotation record lists as compromised is never accepted on its signature alone: after compromised_since it signed nothing valid, and before it only an outside anchor (the day's Bitcoin seal, a witnessed log head) still proves the document.",
   "A key never signs before its own start.",
   "An authentic, accepted document is still not permission to act: what to do is the decision inside it."
  ],
  "purpose_aliases": {
   "requests and documents": "requests"
  }
 },
 "directory": {
  "keys": [
   {
    "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
    "crawlcheck_purpose": "requests",
    "nbf": 1789084800,
    "kty": "OKP",
    "crv": "Ed25519",
    "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
   },
   {
    "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
    "crawlcheck_purpose": "documents",
    "nbf": 1791633600,
    "kty": "OKP",
    "crv": "Ed25519",
    "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
   },
   {
    "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
    "crawlcheck_purpose": "decisions",
    "crawlcheck_signs_from": "2026-11-09T17:00:00Z",
    "kty": "OKP",
    "crv": "Ed25519",
    "x": "wYAUcT-_eiP5VErvEc_geitcJHrV5krYUMuWj2xoiBQ"
   },
   {
    "kid": "vsR1TfUqnFhoYPplZU40m4eLcglYsP26FjoECNvsNMQ",
    "crawlcheck_purpose": "log heads",
    "crawlcheck_signs_from": "2026-11-09T17:00:00Z",
    "kty": "OKP",
    "crv": "Ed25519",
    "x": "lO6bWwN7gSLueLBqTyZLgGSasR1ezp2ApRW8FzNwrFY"
   },
   {
    "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
    "crawlcheck_purpose": "documents",
    "nbf": 1791633600,
    "kty": "OKP",
    "crv": "Ed25519",
    "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
   }
  ]
 },
 "rotation": {
  "operator": "CrawlCheck (suite)",
  "signing_policy": {
   "kind": "crawlcheck-key-policy",
   "v": 2,
   "object_purpose": {
    "crawlcheck-decision": "decisions",
    "crawlcheck-log-sth": "log heads",
    "*": "documents"
   },
   "chains": {
    "documents": [
     "documents",
     "requests"
    ],
    "decisions": [
     "decisions",
     "documents",
     "requests"
    ],
    "log heads": [
     "log heads",
     "documents",
     "requests"
    ]
   },
   "starts": {
    "requests": null,
    "documents": "2026-10-11T00:00:00Z",
    "decisions": "2026-11-09T17:00:00Z",
    "log heads": "2026-11-09T17:00:00Z"
   },
   "bound": {
    "crawlcheck-resolve": "transparency.sth",
    "crawlcheck-decision": "resolve"
   },
   "rule": [
    "The object's purpose is decisions for a decision receipt, log heads for a signed tree head, documents for everything else.",
    "Its chain lists the purposes that may sign it, in order. The expected purpose at signing time t is the first one in the chain with an uncompromised key that could sign at t: a published key whose start (crawlcheck_signs_from, else nbf, else starts[purpose]) is at or before t, or a key the rotation record lists as retired whose start (crawlcheck_signs_from, else not_before, else starts[purpose]) is at or before t and whose stopped_signing_at is at or after t; requests is always available.",
    "A signature is accepted when the signing key's purpose is the expected one, or when the key is the one that signed the object it is bound to (a Resolve answer's log head, a decision's Resolve answer) and that key's purpose comes later in the same chain. A decision made after a live decision key exists has no such exception.",
    "A key that is not in the directory is accepted only when the rotation record lists it as retired and the document was signed at or before stopped_signing_at.",
    "A key the rotation record lists as compromised is never accepted on its signature alone: after compromised_since it signed nothing valid, and before it only an outside anchor (the day's Bitcoin seal, a witnessed log head) still proves the document.",
    "A key never signs before its own start.",
    "An authentic, accepted document is still not permission to act: what to do is the decision inside it."
   ],
   "purpose_aliases": {
    "requests and documents": "requests"
   }
  },
  "retired": [
   {
    "thumbprint": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
    "purpose": "requests",
    "stopped_signing_at": "2026-10-05T00:00:00.000Z",
    "retired_at": "2026-10-05T00:00:00.000Z"
   },
   {
    "thumbprint": "bU3h4U9jqWcNPIDzQgZ7ZIA2QBVQDORgC3599sf2oOo",
    "purpose": "decisions",
    "not_before": "2026-10-20T00:00:00.000Z",
    "stopped_signing_at": "2026-10-28T00:00:00.000Z",
    "retired_at": "2026-10-28T00:00:00.000Z"
   }
  ],
  "compromised": [
   {
    "thumbprint": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
    "compromised_since": "2026-10-12T00:00:00.000Z",
    "reason": "suite fixture"
   }
  ]
 },
 "how": "For each case: build the key policy from directory (and rotation, unless keys is \"directory\"), verify doc, apply the policy. key_policy_valid and accepted must match expect.",
 "cases": [
  {
   "id": "answer-document-key",
   "title": "a Resolve answer signed by the document key",
   "why": "positive control",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-15T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-15T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
     "index": 0,
     "batch_size": 1,
     "batch": 101,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 101,
      "batch_root": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
      "batch_size": 1,
      "tree_size": 101,
      "sealed_at": "2026-10-15T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "1b7c7130ac89f297536c9a7cc65031b30d0b59c9464291ab32bf315119481d4d",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n1b7c7130ac89f297536c9a7cc65031b30d0b59c9464291ab32bf315119481d4d",
       "sig": "vimidUSJVrAwHYvyz0gTH8LMEFrnM-etnPfa-hujpiVrqghCS6F-ctNQ_BjGtaNi8u-cTfBPsYvFprrd48LsBw",
       "signed_at": "2026-10-15T10:00:00.000Z",
       "key": {
        "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
        }
       }
      }
     }
    },
    "sha256": "2f3ab44aa4b8c7727c47d9e69631a6050819ac142457964c10d7a9a533046012",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n2f3ab44aa4b8c7727c47d9e69631a6050819ac142457964c10d7a9a533046012",
     "sig": "VKy_ZSW7RmLxHWFfQLMTCddTDLJzB6Denff36mQkImjtwnS7KCFhdsT-tWVMepbkjd3AGfNGgPMV2mPvE3yEAA",
     "signed_at": "2026-10-15T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "answer-request-key-before",
   "title": "a Resolve answer signed by the request key before the document key existed",
   "why": "requests signed documents until the document key started",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-01T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-01T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
     "index": 0,
     "batch_size": 1,
     "batch": 102,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 102,
      "batch_root": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
      "batch_size": 1,
      "tree_size": 102,
      "sealed_at": "2026-10-01T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "b7623342246b90e42db6dfac69a135e3882017279f7a0bb948f75c09245af3a4",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
       "over": "sha256",
       "message": "crawlcheck-data-v1\nb7623342246b90e42db6dfac69a135e3882017279f7a0bb948f75c09245af3a4",
       "sig": "8VLtq6uIez3tk0K2R5KdQS3oW5dl8Qll_TU73EwuYX-KF_34y75kQOQ2KNEKSvHPeB-z0y1Px1GEV3kLNWdLCA",
       "signed_at": "2026-10-01T10:00:00.000Z",
       "key": {
        "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
        }
       }
      }
     }
    },
    "sha256": "81f4b676fc9d93347ea44bb904393c0f9ba813924bbc67f09add31af033de434",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n81f4b676fc9d93347ea44bb904393c0f9ba813924bbc67f09add31af033de434",
     "sig": "FTJHqFhZSj2OYF2OiXPheKXjB6RFjp6J7BcQLSoWs-bz-YLcnkYRjXl4fqv__I2oeRdunP1GGOJhlJ0FsiRdBQ",
     "signed_at": "2026-10-01T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "answer-request-key-bound",
   "title": "after the document key started, an answer signed by the request key whose log head (batch sealed earlier) the request key signed",
   "why": "an answer is signed by the key that signed its log head (kp2)",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-15T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-15T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
     "index": 0,
     "batch_size": 1,
     "batch": 103,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 103,
      "batch_root": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
      "batch_size": 1,
      "tree_size": 103,
      "sealed_at": "2026-10-08T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "48c910625119adc0948ba48bcf35719aac6ddbe299581feb556e2131459362df",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n48c910625119adc0948ba48bcf35719aac6ddbe299581feb556e2131459362df",
       "sig": "fnVtZuhC0K7fe9vL5HvsKzOeZpphzfmOkSa0THpNDy3mm7OkFOxNMlQKTaE0axAfTaxw44e8Rg4GXBBfC1VcDw",
       "signed_at": "2026-10-08T10:00:00.000Z",
       "key": {
        "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
        }
       }
      }
     }
    },
    "sha256": "def33e598c19a07eb6adf86a6f4aa6348ff8016bfd8d2582b620bf53a31582cc",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\ndef33e598c19a07eb6adf86a6f4aa6348ff8016bfd8d2582b620bf53a31582cc",
     "sig": "TG5FHULI-9mx77n9d0e1Sl8hQxsFSdEQ6xNtvzkZvVhW9JpkX7jM6OBQ-ZZv7dUC7mirkt0lcMFZH5b7LLTsBg",
     "signed_at": "2026-10-15T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok_bound"
   }
  },
  {
   "id": "answer-request-key-unbound",
   "title": "after the document key started, an answer signed by the request key, log head by the document key",
   "why": "wrong purpose",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-15T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-15T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
     "index": 0,
     "batch_size": 1,
     "batch": 104,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 104,
      "batch_root": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
      "batch_size": 1,
      "tree_size": 104,
      "sealed_at": "2026-10-15T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "658a19daf0eeb65273386f2899bc9ddd5cc64ade89c0ae6924354b0e8a7b07d5",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n658a19daf0eeb65273386f2899bc9ddd5cc64ade89c0ae6924354b0e8a7b07d5",
       "sig": "xhGm4GbsHFX-l-wtJ-15XFOrIug7j85_RC6xZCFsgJTsHTHSPAxBBgnqSHXnLy2Ol31ss2_T6Pf4j7P2M7t8BA",
       "signed_at": "2026-10-15T10:00:00.000Z",
       "key": {
        "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
        }
       }
      }
     }
    },
    "sha256": "c7f2910c871a51016fd60f3ed13edebc547dcc7d1f58b312b6ef77d85f684af7",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\nc7f2910c871a51016fd60f3ed13edebc547dcc7d1f58b312b6ef77d85f684af7",
     "sig": "IC36yEdVs9PoaYUqXBSWMgTjJH_47QiNq7x8mj2Rdg646Uz8SXUxAztT4Pt0UtAOqCsLgdtE99LG-gBYtVZCDw",
     "signed_at": "2026-10-15T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_wrong_purpose"
   }
  },
  {
   "id": "answer-request-key-head-late",
   "title": "an answer and log head both signed by the request key after the document key started",
   "why": "the log head itself breaks the policy, so the binding proves nothing",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-15T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-15T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
     "index": 0,
     "batch_size": 1,
     "batch": 105,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 105,
      "batch_root": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
      "batch_size": 1,
      "tree_size": 105,
      "sealed_at": "2026-10-15T09:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "1f87b6f90d6dc4feb4d039aa2fc8c4134a3bcc583960cad960a1efaa49246929",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n1f87b6f90d6dc4feb4d039aa2fc8c4134a3bcc583960cad960a1efaa49246929",
       "sig": "Xuvihtw90C2N5puo-qubBBTwATdWSOZW7G4q4q8jlMDeAfst7i4tbEtNgBpj0Q019bUcwWb1DspcPRZmJxZuCA",
       "signed_at": "2026-10-15T09:00:00.000Z",
       "key": {
        "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
        }
       }
      }
     }
    },
    "sha256": "77854452268415a1a9a54ed2fb5c6f687b23592697b4b6427bcf9501690e45dd",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n77854452268415a1a9a54ed2fb5c6f687b23592697b4b6427bcf9501690e45dd",
     "sig": "UdQepOcYTEDYKSpc5IHfLeTs6oHYbMEcKol2DiV4TL4z4wkDt8LwkSuK05XWAPWX9vs8sQyyCH7moK7-lEnxAA",
     "signed_at": "2026-10-15T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "related_key_wrong_purpose"
   }
  },
  {
   "id": "answer-decision-key",
   "title": "a Resolve answer signed by the decision key",
   "why": "decision keys never sign answers",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-11-10T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-11-10T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
     "index": 0,
     "batch_size": 1,
     "batch": 106,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 106,
      "batch_root": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
      "batch_size": 1,
      "tree_size": 106,
      "sealed_at": "2026-11-10T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "6b1e6c0b2b149e826f43c0e731ca557344a78d1aed89b998010689a4c47581cd",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "vsR1TfUqnFhoYPplZU40m4eLcglYsP26FjoECNvsNMQ",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n6b1e6c0b2b149e826f43c0e731ca557344a78d1aed89b998010689a4c47581cd",
       "sig": "qmBz4CFFADSy5v0mDXkcOiLn6Fp7Js1A1Wl21jnLF7bdudOY6Pcfl8dUl_u7k6KIVdhsXLBbFpg6rlOBBqFtAg",
       "signed_at": "2026-11-10T10:00:00.000Z",
       "key": {
        "kid": "vsR1TfUqnFhoYPplZU40m4eLcglYsP26FjoECNvsNMQ",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "lO6bWwN7gSLueLBqTyZLgGSasR1ezp2ApRW8FzNwrFY"
        }
       }
      }
     }
    },
    "sha256": "65e3252aa88dafc68c5e00998a7a1c6087bffbab042d9677d082ee9bd2dd2ed6",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n65e3252aa88dafc68c5e00998a7a1c6087bffbab042d9677d082ee9bd2dd2ed6",
     "sig": "4FBeWXoksGNkMVKtgouqRjsCWw-JjYv_4Av-QtVLSDRrl13MKEIwdUSmh2GmkuVcu87srZkHGsJ_9-DkJ581CQ",
     "signed_at": "2026-11-10T10:00:00.000Z",
     "key": {
      "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "wYAUcT-_eiP5VErvEc_geitcJHrV5krYUMuWj2xoiBQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_wrong_purpose"
   }
  },
  {
   "id": "answer-before-key-start",
   "title": "an answer signed by the document key before its nbf",
   "why": "a key never signs before its own start",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-09T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-09T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "sha256": "491bbb8c8515275d53f4f7aad9501944070ef600dece2ebf3c14595909271a50",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n491bbb8c8515275d53f4f7aad9501944070ef600dece2ebf3c14595909271a50",
     "sig": "13D_4K1ZQjjE_VN2Pm9tXRw22rVjrfVUi0i4W1buoJXw-XhSGRoWK7Nsr3yy7uQOnN0JsAZJnixgdjO-vqYvAQ",
     "signed_at": "2026-10-09T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_not_yet_active"
   }
  },
  {
   "id": "answer-head-document-before-switch",
   "title": "an answer whose log head the document key signed before 2026-11-09 17:00 UTC",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-11-08T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-11-08T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "efa7448f2779fca50d1fb7cca656862b6cc6db245b39eb4f14eb1ca55ba5ea37",
     "index": 0,
     "batch_size": 1,
     "batch": 107,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 107,
      "batch_root": "efa7448f2779fca50d1fb7cca656862b6cc6db245b39eb4f14eb1ca55ba5ea37",
      "batch_size": 1,
      "tree_size": 107,
      "sealed_at": "2026-11-08T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "d68ca9e0f1bb836c52111f21bde83e787a742d78394e8d7dab5f9376b9204b12",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
       "over": "sha256",
       "message": "crawlcheck-data-v1\nd68ca9e0f1bb836c52111f21bde83e787a742d78394e8d7dab5f9376b9204b12",
       "sig": "Y9DSeWZzZvAuJSRyFnqwEE9CZiOn0nOT3-Nx32WVnYDZNHwuw8KfriTfAyTlw6_-xP1kOKIB21PjHF6w8DROAA",
       "signed_at": "2026-11-08T10:00:00.000Z",
       "key": {
        "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
        }
       }
      }
     }
    },
    "sha256": "e6ebe16e5886b554c20066276dca14ed21af53e9bff57da801dfe7e0021d1f5f",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\ne6ebe16e5886b554c20066276dca14ed21af53e9bff57da801dfe7e0021d1f5f",
     "sig": "_gS3bd4mMhXDZyc43TzMpB-4PeI1Tfbh-6Kdn4kyCIXn1YnqZkTw-cghb76nZ3bqk3rFlSLQq4E4kwph7kK4Cw",
     "signed_at": "2026-11-08T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "answer-head-document-after-switch",
   "title": "an answer whose log head the document key signed after the log key took over",
   "why": "after the switch only the log key signs heads",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-11-10T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-11-10T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
     "index": 0,
     "batch_size": 1,
     "batch": 108,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 108,
      "batch_root": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
      "batch_size": 1,
      "tree_size": 108,
      "sealed_at": "2026-11-10T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "7be40af651dd493f93410df0f2d71e1761dfccd404ca1a411c377331e5377d67",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n7be40af651dd493f93410df0f2d71e1761dfccd404ca1a411c377331e5377d67",
       "sig": "EnFi2R4GSeGvslMQAuCLAXD2M_T7BfSRma2C74pjbLrZhEVTLo6DsanQLyV0BCn9dwDmQz-85teRxDTKSne5Ag",
       "signed_at": "2026-11-10T10:00:00.000Z",
       "key": {
        "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
        }
       }
      }
     }
    },
    "sha256": "fef177ff1a53ee5d8b18936553eb972bb11a97f4b71d2b9d533ded9b5dd2d6ff",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\nfef177ff1a53ee5d8b18936553eb972bb11a97f4b71d2b9d533ded9b5dd2d6ff",
     "sig": "kIL2iC54ikyNvWOpKPBqeXp0xBTJ3H5r5G9NFapSUVyV1pStwPo8M8Ekz7e2YEXTRxCrfEpnehuviYvblN9HAw",
     "signed_at": "2026-11-10T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "related_key_wrong_purpose"
   }
  },
  {
   "id": "answer-head-log-after-switch",
   "title": "an answer whose log head the log key signed after the switch",
   "why": "positive control",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-11-10T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-11-10T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
     "index": 0,
     "batch_size": 1,
     "batch": 109,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 109,
      "batch_root": "1592b19715a5cd8db3e862d24015da677e227bc4d823bf35527fd2ec9fca98bd",
      "batch_size": 1,
      "tree_size": 109,
      "sealed_at": "2026-11-10T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "6e16b2199c7fc89a1a6ce9eaf7051df4761333a5e16260e3236c0fe0f1a50f6e",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "vsR1TfUqnFhoYPplZU40m4eLcglYsP26FjoECNvsNMQ",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n6e16b2199c7fc89a1a6ce9eaf7051df4761333a5e16260e3236c0fe0f1a50f6e",
       "sig": "p3VR6LPzZ70xBSwEh0m26b7mX6NNK4eEDn3OFNPDK2k9V9B82G3MJTG69uUaN0HLvBnn-m7ti7mISmrGGQ2bDQ",
       "signed_at": "2026-11-10T10:00:00.000Z",
       "key": {
        "kid": "vsR1TfUqnFhoYPplZU40m4eLcglYsP26FjoECNvsNMQ",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "lO6bWwN7gSLueLBqTyZLgGSasR1ezp2ApRW8FzNwrFY"
        }
       }
      }
     }
    },
    "sha256": "3961ae103b63d983675e343d423292d94c41fe10f02d0b82e2b5532facd305cf",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n3961ae103b63d983675e343d423292d94c41fe10f02d0b82e2b5532facd305cf",
     "sig": "XIx6Zn3wWATtwK31H5qI8ccBMOoEg75gehlxXX9R8_m1d5f5k529X_h3mWOWWT2jsmuDCqlyUAhSVxr31GJ6AQ",
     "signed_at": "2026-11-10T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "decision-document-before-switch",
   "title": "a decision signed by the document key before the switch",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-01T10:00:00.000Z",
    "expires_at": "2026-11-02T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
     "sig": "Tw_-xA6E00zRb7CfuBaQGdJCBQwjf4xbhFBpweDqRbsr5BzUhot9PP8UjNmKxdZSGAQZxzUCS1Ce1sYWr_0cDg",
     "signed_at": "2026-11-01T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "decision-document-after-switch",
   "title": "a decision signed by the document key after the switch",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-10T10:00:00.000Z",
    "expires_at": "2026-11-11T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "a9596739da5d54f1e2c8b6c6c611eba621591ce57d53ee81ec5bf03a2fb1e2ef",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\na9596739da5d54f1e2c8b6c6c611eba621591ce57d53ee81ec5bf03a2fb1e2ef",
     "sig": "wrox6gY3tKlYQdsaP-ItgRTLb6tRbjWo9BMvWuvg3GDbEjjgaCA0bkUi7KjAkI0zYW-58SZCCgSeq6seT7uyBg",
     "signed_at": "2026-11-10T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_wrong_purpose"
   }
  },
  {
   "id": "decision-decision-after-switch",
   "title": "a decision signed by the decision key after the switch",
   "why": "positive control",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-10T10:00:00.000Z",
    "expires_at": "2026-11-11T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "a9596739da5d54f1e2c8b6c6c611eba621591ce57d53ee81ec5bf03a2fb1e2ef",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
     "over": "sha256",
     "message": "crawlcheck-data-v1\na9596739da5d54f1e2c8b6c6c611eba621591ce57d53ee81ec5bf03a2fb1e2ef",
     "sig": "7tQJVpYaIRz4bF8qJkK3J6dJSJYjdLrs3FohVD9-sjWBhMdliMYdF7S-OqGDjnYs9h_OjvOgC7bU-mBL8nNmBg",
     "signed_at": "2026-11-10T10:00:00.000Z",
     "key": {
      "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "wYAUcT-_eiP5VErvEc_geitcJHrV5krYUMuWj2xoiBQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "decision-decision-before-switch",
   "title": "a decision signed by the decision key before its signs_from",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-01T10:00:00.000Z",
    "expires_at": "2026-11-02T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
     "sig": "Uxx1dXB8vP0BhOIx7oh4UAnJZIZSlL0_bVi36dcCZ-pvcsHHzCTjM6haLsBst3TsirKUY5tinAWAIb0SdtC0Bw",
     "signed_at": "2026-11-01T10:00:00.000Z",
     "key": {
      "kid": "50LCY7t160VcBszyYkzUCArEm-HQF0eAgywWbf4QKog",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "wYAUcT-_eiP5VErvEc_geitcJHrV5krYUMuWj2xoiBQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_not_yet_active"
   }
  },
  {
   "id": "decision-request-bound",
   "title": "before the switch, a decision signed by the request key on an answer the request key signed",
   "why": "a decision follows its answer's key until the decision key exists (ga1)",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-01T10:00:00.000Z",
    "expires_at": "2026-11-02T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "5372ac87046788b46c9463e193040e9be648538a921e6d578a38ec5daf3ca0c1",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n5372ac87046788b46c9463e193040e9be648538a921e6d578a38ec5daf3ca0c1",
     "sig": "3n7NOMp1WZkl2IiNRd7qvuCUGWGZxLTeJnjWKdNJMZoQpqCuJBAc9zSsAigs-PbvqnG5ZPdQlU3Y_4H2ks4kBA",
     "signed_at": "2026-11-01T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok_bound"
   }
  },
  {
   "id": "decision-request-unbound",
   "title": "before the switch, a decision signed by the request key on an answer the document key signed",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-11-01T10:00:00.000Z",
    "expires_at": "2026-11-02T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n3575be6a18c0bf5b2d95b0a7ce7e18d425826ec43b342e63bcd87c4d4942f28a",
     "sig": "pD0uvgxr7VSyCWvYYhYFLa7RI3WEesgpoqC2xw7JnguSN3nb2iGjItonow9O8cTjd8TQxjWB2u32P47eqS38Bw",
     "signed_at": "2026-11-01T10:00:00.000Z",
     "key": {
      "kid": "6PB-daz5wRQq25rm3b5bfnj5tRdW5SStbOBF4GoGLt4",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "tPVtQwiBkDcraMg7erl8YDTuIcaCqJH2ZpbU6Bbkkcw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_wrong_purpose"
   }
  },
  {
   "id": "retired-before-stop",
   "title": "a document signed by a retired key before it stopped signing",
   "why": "retired keys keep old signatures valid through the rotation record",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-01T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-01T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
     "index": 0,
     "batch_size": 1,
     "batch": 110,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 110,
      "batch_root": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
      "batch_size": 1,
      "tree_size": 110,
      "sealed_at": "2026-10-01T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "639cda07f3dcff2920c4e5007689d5336f447baf777e635243c03a236536528e",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n639cda07f3dcff2920c4e5007689d5336f447baf777e635243c03a236536528e",
       "sig": "EUW2VqNTacoF2xlnV3WGRT_5oXFiV98ps8O-5BHvKE8ZiJVg22IqaklFLI5OZ1PxmMawuHevkmbbALFd8ToOCA",
       "signed_at": "2026-10-01T10:00:00.000Z",
       "key": {
        "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
        }
       }
      }
     }
    },
    "sha256": "5eb012f6dbf0b4808615195c3bc3470e5943f0c745e38da45b1f5db8cc7cea20",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n5eb012f6dbf0b4808615195c3bc3470e5943f0c745e38da45b1f5db8cc7cea20",
     "sig": "1b41pWRMFNtRP0cjLML8TABG4lqznkyIu1YIyQ9mNfL4IuS0thrgRrus8nJ2gI6Znk0F6FroxL9lsxWbe-lkAg",
     "signed_at": "2026-10-01T10:00:00.000Z",
     "key": {
      "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "retired-after-stop",
   "title": "a document signed by a retired key after it stopped signing",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-06T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-06T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "5b958e782a3ea54400dcb6d66204113512e910d52c5d8481785f6fac81741064",
     "index": 0,
     "batch_size": 1,
     "batch": 111,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 111,
      "batch_root": "5b958e782a3ea54400dcb6d66204113512e910d52c5d8481785f6fac81741064",
      "batch_size": 1,
      "tree_size": 111,
      "sealed_at": "2026-10-06T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "11e06465d60273b0cffa58c388746a8cb81046c23e1fba3f4a31145ebdb4659b",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n11e06465d60273b0cffa58c388746a8cb81046c23e1fba3f4a31145ebdb4659b",
       "sig": "lep1uqyIEyg8BnWhp2XaJfOj2ZWxPBbiwI0UuUsjRlxIzo08HJXyFZbIt3X8ULC2wM1H3ZN3BufSSU9RTUhcBA",
       "signed_at": "2026-10-06T10:00:00.000Z",
       "key": {
        "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
        }
       }
      }
     }
    },
    "sha256": "7ab76746876d1e25520ad16c47fff1af07f11bca61561b890af721c1c6051e64",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n7ab76746876d1e25520ad16c47fff1af07f11bca61561b890af721c1c6051e64",
     "sig": "zeSoQRTfjTS2pNjY-IMh0PV4ZBjyQOpC6jz9srdVdBec3t6HzavXt7ghc0Tt3EWYL1DB2bYGZjlIHdQ6UFqNAA",
     "signed_at": "2026-10-06T10:00:00.000Z",
     "key": {
      "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_retired"
   }
  },
  {
   "id": "retired-no-rotation",
   "title": "a document signed by a retired key, checked with the directory only",
   "why": "without the rotation record a key that left the directory is unknown",
   "keys": "directory",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-01T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-01T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
     "index": 0,
     "batch_size": 1,
     "batch": 112,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 112,
      "batch_root": "7ddf35b76ef8499b17db1a3fadf7cb0b0d16f0c5a97da8ba2bf1cfc7a85e4ce5",
      "batch_size": 1,
      "tree_size": 112,
      "sealed_at": "2026-10-01T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "12e092bc7a9dfaf0a1ef2b279fe099ddb18b4766824faaec283dd86fccdb9299",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n12e092bc7a9dfaf0a1ef2b279fe099ddb18b4766824faaec283dd86fccdb9299",
       "sig": "TRSlXVydTk5iIpJ78J4Y3vz7ATwiNHfIOlqtZ7-dCzQ7R-al6i35zyXlpRGjQ97HhtTdkgoi9iWSXPze0yE1AA",
       "signed_at": "2026-10-01T10:00:00.000Z",
       "key": {
        "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
        }
       }
      }
     }
    },
    "sha256": "c805103f81fe7c822477a3c141cc31b3abb36721f00b3cc2955b91eceb2a295a",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
     "over": "sha256",
     "message": "crawlcheck-data-v1\nc805103f81fe7c822477a3c141cc31b3abb36721f00b3cc2955b91eceb2a295a",
     "sig": "1o18MnRu4GvRBtRLql1mD9NGC9g8t3iOS-YF8or9ipk4-90K7jmlj7lXpaEkEXqmvkFJn5BQ2Nh07_Mdd5wbDw",
     "signed_at": "2026-10-01T10:00:00.000Z",
     "key": {
      "kid": "LmSIzTALSiIREk7hAw2wxTTNRfoG-9eahpRv1-a39DQ",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GWIpTwfEbNkOjPm76i6XtDmu7w8AWnQC6_jp8ocDe0U"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_unknown"
   }
  },
  {
   "id": "retired-decision-key-in-window",
   "title": "a decision signed by a decision key, since retired, inside its signing window",
   "why": "rotating the decision key must not invalidate the decisions it signed: the expected purpose at that time was decisions",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-10-24T10:00:00.000Z",
    "expires_at": "2026-10-25T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "5a2aeac9d80d5348c88015d160d7d8a465cb8cc745d0fb483a00fa5ec11c431d",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "bU3h4U9jqWcNPIDzQgZ7ZIA2QBVQDORgC3599sf2oOo",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n5a2aeac9d80d5348c88015d160d7d8a465cb8cc745d0fb483a00fa5ec11c431d",
     "sig": "eMyZvAaMECjIuG90xNlIQwwm8kyuIEVWmBd3QokYAB5m94lY6-3nddmHDfmtyqFNxwFJUFNMUBVEbf21M5thBw",
     "signed_at": "2026-10-24T10:00:00.000Z",
     "key": {
      "kid": "bU3h4U9jqWcNPIDzQgZ7ZIA2QBVQDORgC3599sf2oOo",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "OFiMoBC3B7qnSFrrj0i3h83n4eB0O1n4-9lzLHO7Mtw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "retired-decision-key-document-signer",
   "title": "a decision signed by the document key while a (since retired) decision key was live",
   "why": "a decision key existed then, so no other key may sign a decision, even the one that signed its answer",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-10-24T10:00:00.000Z",
    "expires_at": "2026-10-25T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "5a2aeac9d80d5348c88015d160d7d8a465cb8cc745d0fb483a00fa5ec11c431d",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n5a2aeac9d80d5348c88015d160d7d8a465cb8cc745d0fb483a00fa5ec11c431d",
     "sig": "_pNNS3jnzJwcVcfHK97hKehoe5Ll8O8ZoZP0hpPRCayCVwk4EgqdWgzLTsqF2YP3dH-rUAS5B72HjEz7NyGFBQ",
     "signed_at": "2026-10-24T10:00:00.000Z",
     "key": {
      "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "GZcR1WJrdjscalNqzwXcnTM3sqH44d74g_EYTb1rzX4"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_wrong_purpose"
   }
  },
  {
   "id": "retired-decision-key-after-stop",
   "title": "a decision signed by the retired decision key after it stopped signing",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-decision",
    "v": 1,
    "decided_at": "2026-10-30T10:00:00.000Z",
    "expires_at": "2026-10-31T10:00:00.000Z",
    "clock_skew_s": 300,
    "nonce": "kp-suite",
    "domain": "good.example",
    "action": "read",
    "decision": "allow",
    "base_decision": "allow",
    "human_confirmation_required": false,
    "reason_codes": [
     "resolve.actions.read"
    ],
    "steps": [],
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "resolve": {
     "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
     "kid": "iEu0jrhbbZJ-RRpa9b9rr2BPF5Xy9AFpi-9TlJWBpUU",
     "leaf_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
    },
    "sha256": "8cc8fc822d5532a9d0ea0913a43067dd412eb8b15badb7cd36c5fb5cdcee09fc",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "bU3h4U9jqWcNPIDzQgZ7ZIA2QBVQDORgC3599sf2oOo",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n8cc8fc822d5532a9d0ea0913a43067dd412eb8b15badb7cd36c5fb5cdcee09fc",
     "sig": "cU3dDFSz3U_FW9zAvbiX37Wqwxinu58FNsZSgidoBfUfVkph__lvpR5TBgq4IJO4bAPUY_9J72JX2nmrPtruAg",
     "signed_at": "2026-10-30T10:00:00.000Z",
     "key": {
      "kid": "bU3h4U9jqWcNPIDzQgZ7ZIA2QBVQDORgC3599sf2oOo",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "OFiMoBC3B7qnSFrrj0i3h83n4eB0O1n4-9lzLHO7Mtw"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_retired"
   }
  },
  {
   "id": "compromised-after",
   "title": "a document signed by a compromised key after compromised_since",
   "why": "",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-13T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-13T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "ba700a65043bc4aaa5421ac0a181b2f68cae15d7fe7f6fdafa4f69dd858d052e",
     "index": 0,
     "batch_size": 1,
     "batch": 113,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 113,
      "batch_root": "ba700a65043bc4aaa5421ac0a181b2f68cae15d7fe7f6fdafa4f69dd858d052e",
      "batch_size": 1,
      "tree_size": 113,
      "sealed_at": "2026-10-13T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "e074b4de0ded06bd45329067067ac7d26a6845a71af4d375d9fd8555abfd0114",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
       "over": "sha256",
       "message": "crawlcheck-data-v1\ne074b4de0ded06bd45329067067ac7d26a6845a71af4d375d9fd8555abfd0114",
       "sig": "LhD2ZnURaqmktsHfdThssqwNdhZa-wkcYSanaEhDKVLvHFxwAF9P-JmOAwwDAo5I420Kt-HCUnM3XVZ2z2KoCg",
       "signed_at": "2026-10-13T10:00:00.000Z",
       "key": {
        "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
        }
       }
      }
     }
    },
    "sha256": "3f381e8b4626d7a2dfeb1ca401a96e535bc617f1ee4d5d4f985190c3be058d68",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n3f381e8b4626d7a2dfeb1ca401a96e535bc617f1ee4d5d4f985190c3be058d68",
     "sig": "8ev0pPougWPgRr81HCJ5zoxefH71Bf5IQTDl_bWXvPWcGQkEhN-Mvsk8wHsrH2uYcClTjjK_MxG5fEtFEOZeDA",
     "signed_at": "2026-10-13T10:00:00.000Z",
     "key": {
      "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_compromised"
   }
  },
  {
   "id": "compromised-before",
   "title": "a document signed by a compromised key before compromised_since",
   "why": "a signature alone no longer proves it; only an outside anchor does",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-11T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-11T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "4bd5814a7c841f15c856e3f2fbc9f14407fb7561b400a7871e123de7a730e6f0",
     "index": 0,
     "batch_size": 1,
     "batch": 114,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 114,
      "batch_root": "4bd5814a7c841f15c856e3f2fbc9f14407fb7561b400a7871e123de7a730e6f0",
      "batch_size": 1,
      "tree_size": 114,
      "sealed_at": "2026-10-11T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "570316047e27f23e81724e9ba21324b8f0901a75b362dfb55aba900809ae1c70",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n570316047e27f23e81724e9ba21324b8f0901a75b362dfb55aba900809ae1c70",
       "sig": "nHQ2F6rmW-b6Iu1yT9b3oECggARzFKzkGrtLzNLoqZJcPhasjzJkHCNu1nzezXbEiuIhd0FxyGwXA_2rx5J5Bg",
       "signed_at": "2026-10-11T10:00:00.000Z",
       "key": {
        "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
        }
       }
      }
     }
    },
    "sha256": "c38739fca0f51d80dfcddc80a55dc5335becec3ded297b9d135406c02e54b411",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
     "over": "sha256",
     "message": "crawlcheck-data-v1\nc38739fca0f51d80dfcddc80a55dc5335becec3ded297b9d135406c02e54b411",
     "sig": "Rw37ARqEfv_yjxQjIJhc0YBqyXtwrYqlvwvZDqrc6-KF0nRGmC8OYkeBCEcjiVs2zwEjam4MeFfpNPpMujSSCA",
     "signed_at": "2026-10-11T10:00:00.000Z",
     "key": {
      "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_compromised"
   }
  },
  {
   "id": "compromised-unknown-offline",
   "title": "the same document, checked with the directory only (rotation record not read)",
   "why": "a saved directory cannot know a later compromise: this is the stated limit of offline mode",
   "keys": "directory",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-13T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-13T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "ba700a65043bc4aaa5421ac0a181b2f68cae15d7fe7f6fdafa4f69dd858d052e",
     "index": 0,
     "batch_size": 1,
     "batch": 115,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 115,
      "batch_root": "ba700a65043bc4aaa5421ac0a181b2f68cae15d7fe7f6fdafa4f69dd858d052e",
      "batch_size": 1,
      "tree_size": 115,
      "sealed_at": "2026-10-13T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "2ab6fbede52ab17a70df2635697036ceabd219172bbd0313292919c0cd5f8a3f",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n2ab6fbede52ab17a70df2635697036ceabd219172bbd0313292919c0cd5f8a3f",
       "sig": "RINzfec0nmlmuYAOzfinVcmVgHn1Pw5AHjTvL-oFsYyCB9h1_I24ptE4XzH7siDQVAsEm7_DpIFgWjKOI5lyAA",
       "signed_at": "2026-10-13T10:00:00.000Z",
       "key": {
        "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
        }
       }
      }
     }
    },
    "sha256": "4b02f8a5904caed17198bfbb3d284290cf16fe5d558a7de7676a76bc32bee4b2",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
     "over": "sha256",
     "message": "crawlcheck-data-v1\n4b02f8a5904caed17198bfbb3d284290cf16fe5d558a7de7676a76bc32bee4b2",
     "sig": "qn30UD8n6of95KrWCWCdxiXWG8uzibXXnj1YAyhaynhp3-tXINg02-aRZZGGrQ1NWA3wcv1tl3czRPoVvfkFDw",
     "signed_at": "2026-10-13T10:00:00.000Z",
     "key": {
      "kid": "BQCnzypSFGe68chgTlOk1eNrQuaRAbma2_AFoBMKc08",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "xdGrX73X_YOxOT0R6xnuq3LsLyzP_XeFLBlEgD-GdpQ"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": true,
    "accepted": true,
    "key_policy_code": "ok"
   }
  },
  {
   "id": "foreign-key",
   "title": "a valid signature by a key CrawlCheck does not publish",
   "why": "integrity is not trust",
   "keys": "directory+rotation",
   "doc": {
    "kind": "crawlcheck-resolve",
    "v": 1,
    "domain": "good.example",
    "status": "measured",
    "answered_at": "2026-10-15T10:00:00.000Z",
    "freshness": {
     "observed_at": "2026-10-15T10:00:00.000Z"
    },
    "actions": {
     "read": {
      "decision": "allow",
      "doubts": []
     },
     "transact": {
      "decision": "require_confirmation",
      "doubts": [
       "no_entity"
      ]
     }
    },
    "evidence": {
     "report": "https://crawlcheck.io/r/suitefixture"
    },
    "transparency": {
     "state": "included",
     "leaf_hash": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
     "index": 0,
     "batch_size": 1,
     "batch": 116,
     "path": [],
     "sth": {
      "kind": "crawlcheck-log-sth",
      "v": 1,
      "batch": 116,
      "batch_root": "76d9704d0ab57ba822255e723fa08852806233f0c303a72b76831c10940a39f7",
      "batch_size": 1,
      "tree_size": 116,
      "sealed_at": "2026-10-15T10:00:00.000Z",
      "prev_sth_sha256": null,
      "sha256": "603f15a94016e55160459488765e3beaf3b7e2668c156efbbaae75773d5128b7",
      "signature": {
       "v": 1,
       "alg": "Ed25519",
       "kid": "36ha8Hvc-v1Upnd5GUmNSR457cecYZil0eDQwpK8tIs",
       "over": "sha256",
       "message": "crawlcheck-data-v1\n603f15a94016e55160459488765e3beaf3b7e2668c156efbbaae75773d5128b7",
       "sig": "MnotLbTsdfSIeglttEQV7vO6REgwLxw_ZnFte_t19u4WL04q9nc_-XMwMCgpIhZhBVAuEq41gu8XyyfOSy3RDQ",
       "signed_at": "2026-10-15T10:00:00.000Z",
       "key": {
        "kid": "36ha8Hvc-v1Upnd5GUmNSR457cecYZil0eDQwpK8tIs",
        "jwk": {
         "kty": "OKP",
         "crv": "Ed25519",
         "x": "c2KmEHZOh2NKEXHvf14BF92rXmMnM9q4_9yPc5Oe24Q"
        }
       }
      }
     }
    },
    "sha256": "ebed6d56cf1452a001d9baeb90af917100bc415d74b181bb816f47157237608f",
    "signature": {
     "v": 1,
     "alg": "Ed25519",
     "kid": "36ha8Hvc-v1Upnd5GUmNSR457cecYZil0eDQwpK8tIs",
     "over": "sha256",
     "message": "crawlcheck-data-v1\nebed6d56cf1452a001d9baeb90af917100bc415d74b181bb816f47157237608f",
     "sig": "DAASIkjO1B3dpL-RRs_WTT2SaO2zezm90Fg1t9dGv-fgo13Rg3pZSWFPYqkjCShdsYqlvFxEgsm1UGs-q3DhAQ",
     "signed_at": "2026-10-15T10:00:00.000Z",
     "key": {
      "kid": "36ha8Hvc-v1Upnd5GUmNSR457cecYZil0eDQwpK8tIs",
      "jwk": {
       "kty": "OKP",
       "crv": "Ed25519",
       "x": "c2KmEHZOh2NKEXHvf14BF92rXmMnM9q4_9yPc5Oe24Q"
      }
     }
    }
   },
   "expect": {
    "key_policy_valid": false,
    "accepted": false,
    "key_policy_code": "key_unknown"
   }
  }
 ]
}
