{
  "schema": "swarrm/bundle-error-reference/v1",
  "version": "1.5.0",
  "source": "verify/verifier.py",
  "sha256": "619892e12964ff71876525e3d4d575b92817e56c343bc0bf97a4fd316b339772",
  "messages": [
    {
      "line": 359,
      "producer": "fail",
      "template": "key log: {detail_1}",
      "dynamic": true
    },
    {
      "line": 413,
      "producer": "_parse_bundle_entries",
      "template": "entry {detail_1}: legacy edge co-signature on privileged {detail_2}",
      "dynamic": true
    },
    {
      "line": 419,
      "producer": "_parse_bundle_entries",
      "template": "entries malformed: {detail_1}",
      "dynamic": true
    },
    {
      "line": 443,
      "producer": "_check_jwks",
      "template": "jwks kid {detail_1} is not witnessed by the key log \u2014 JWKS disagrees with the log",
      "dynamic": true
    },
    {
      "line": 449,
      "producer": "_check_jwks",
      "template": "jwks kid {detail_1} carries different key material than the log",
      "dynamic": true
    },
    {
      "line": 455,
      "producer": "_check_jwks",
      "template": "key {detail_1} is ACTIVE in the replayed key log but absent from this bundle's own JWKS \u2014 a revocation entry has been removed",
      "dynamic": true
    },
    {
      "line": 461,
      "producer": "_check_jwks",
      "template": "jwks invalid: {detail_1}",
      "dynamic": true
    },
    {
      "line": 475,
      "producer": "_check_target_checkpoint",
      "template": "target checkpoint malformed: {detail_1}",
      "dynamic": true
    },
    {
      "line": 479,
      "producer": "_check_target_checkpoint",
      "template": "target checkpoint signature invalid",
      "dynamic": false
    },
    {
      "line": 482,
      "producer": "_check_target_checkpoint",
      "template": "target checkpoint key lacked active issuer authority",
      "dynamic": false
    },
    {
      "line": 517,
      "producer": "_check_chain",
      "template": "checkpoint chain malformed: {detail_1}",
      "dynamic": true
    },
    {
      "line": 526,
      "producer": "_check_chain",
      "template": "unknown checkpoint chain profile",
      "dynamic": false
    },
    {
      "line": 529,
      "producer": "_check_chain",
      "template": "checkpoint chain invalid (signature/linkage/monotonicity)",
      "dynamic": false
    },
    {
      "line": 534,
      "producer": "_check_chain",
      "template": "chain checkpoint {detail_1} key lacked active issuer authority",
      "dynamic": true
    },
    {
      "line": 545,
      "producer": "_check_bundle_origin",
      "template": "bundle origin malformed: expected text",
      "dynamic": false
    },
    {
      "line": 548,
      "producer": "_check_bundle_origin",
      "template": "bundle origin does not match the signed target checkpoint",
      "dynamic": false
    },
    {
      "line": 551,
      "producer": "_check_bundle_origin",
      "template": "bundle origin does not match the signed checkpoint chain",
      "dynamic": false
    },
    {
      "line": 570,
      "producer": "_check_chain_consistency",
      "template": "missing consistency proof for chain step {detail_1}",
      "dynamic": true
    },
    {
      "line": 581,
      "producer": "_check_chain_consistency",
      "template": "consistency FAILED between checkpoints {detail_1} and {detail_2} \u2014 history was rewritten",
      "dynamic": true
    },
    {
      "line": 594,
      "producer": "_check_records",
      "template": "{detail_1} is not a list",
      "dynamic": true
    },
    {
      "line": 597,
      "producer": "_check_records",
      "template": "{detail_1} has {detail_2} records (cap {detail_3})",
      "dynamic": true
    },
    {
      "line": 601,
      "producer": "_check_records",
      "template": "{detail_1} repeats a checkpoint digest",
      "dynamic": true
    },
    {
      "line": 613,
      "producer": "_bound_shape_ok",
      "template": "{detail_1} {detail_2} malformed: not an object",
      "dynamic": true
    },
    {
      "line": 616,
      "producer": "_bound_shape_ok",
      "template": "{detail_1} {detail_2} malformed: missing {detail_3}",
      "dynamic": true
    },
    {
      "line": 619,
      "producer": "_bound_shape_ok",
      "template": "{detail_1} {detail_2} references digest {detail_3}\u2026 which is NOT a checkpoint in this chain \u2014 forged or foreign {detail_4}",
      "dynamic": true
    },
    {
      "line": 647,
      "producer": "_check_anchor_record",
      "template": "anchor record {detail_1} claims block time {detail_2} for a checkpoint SIGNED at {detail_3} \u2014 a checkpoint cannot be anchored before it exists",
      "dynamic": true
    },
    {
      "line": 710,
      "producer": "_check_tst_record",
      "template": "tst record {detail_1} malformed: token is not valid base64",
      "dynamic": true
    },
    {
      "line": 713,
      "producer": "_check_tst_record",
      "template": "timestamp verification policy is malformed or unsupported",
      "dynamic": false
    },
    {
      "line": 728,
      "producer": "_check_tst_record",
      "template": "tst record {detail_1}: {detail_2}",
      "dynamic": true
    },
    {
      "line": 731,
      "producer": "_check_tst_record",
      "template": "tst record {detail_1}: displayed gen_time {detail_2} does not match the token's {detail_3}",
      "dynamic": true
    },
    {
      "line": 738,
      "producer": "_check_tst_record",
      "template": "tst record {detail_1} claims time {detail_2} for a checkpoint SIGNED at {detail_3} \u2014 a checkpoint cannot be timestamped before it exists",
      "dynamic": true
    },
    {
      "line": 830,
      "producer": "_check_entries",
      "template": "entry {detail_1}: signed by key {detail_2} outside its authenticated creation/revocation interval",
      "dynamic": true
    },
    {
      "line": 843,
      "producer": "_check_entries",
      "template": "{nested_detail}",
      "dynamic": true
    },
    {
      "line": 852,
      "producer": "_check_entries",
      "template": "entry {detail_1}: signature invalid",
      "dynamic": true
    },
    {
      "line": 854,
      "producer": "_check_entries",
      "template": "entry {detail_1}: NOT in the log under target root",
      "dynamic": true
    },
    {
      "line": 857,
      "producer": "_check_entries",
      "template": "entry malformed: {detail_1}",
      "dynamic": true
    },
    {
      "line": 868,
      "producer": "_check_seq_uniqueness",
      "template": "seq: {detail_1} has {detail_2} DIFFERENT receipts at seq {detail_3} \u2014 a (agent, seq) pair must be unique (forged or corrupt history)",
      "dynamic": true
    },
    {
      "line": 912,
      "producer": "_lineage_no_establishment",
      "template": "lineage: {detail_1} seq {detail_2}: revision_id matches no revision receipt present for this agent \u2014 forged revision",
      "dynamic": true
    },
    {
      "line": 935,
      "producer": "_lineage_established",
      "template": "lineage: {detail_1}: lineage.born at seq {detail_2} \u2014 born asserts no prior history and must be seq 1 (use lineage.adopted otherwise)",
      "dynamic": true
    },
    {
      "line": 948,
      "producer": "_lineage_established",
      "template": "lineage: {detail_1} seq {detail_2}: birthtag_id does not match the agent's establishment receipt \u2014 forged lineage",
      "dynamic": true
    },
    {
      "line": 955,
      "producer": "_lineage_established",
      "template": "lineage: {detail_1} seq {detail_2}: revision_id matches no establishment/revision receipt of this agent \u2014 forged revision",
      "dynamic": true
    },
    {
      "line": 970,
      "producer": "_check_agent_lineage",
      "template": "lineage: {detail_1}: {detail_2} establishment receipts \u2014 at most one lineage.born/lineage.adopted per agent (forged or split history)",
      "dynamic": true
    },
    {
      "line": 1061,
      "producer": "_assess_continuity",
      "template": "continuity assertions are not a list",
      "dynamic": false
    },
    {
      "line": 1068,
      "producer": "_assess_continuity",
      "template": "continuity assertion is malformed or not signed by a log key",
      "dynamic": false
    },
    {
      "line": 1072,
      "producer": "_assess_continuity",
      "template": "continuity assertion names another origin",
      "dynamic": false
    },
    {
      "line": 1076,
      "producer": "_assess_continuity",
      "template": "continuity issuer authority or checkpoint interval is invalid",
      "dynamic": false
    },
    {
      "line": 1086,
      "producer": "_assess_continuity",
      "template": "continuity cover has {detail_1} unexplained interval(s) between presented checkpoints",
      "dynamic": true
    },
    {
      "line": 1101,
      "producer": "verify_bundle",
      "template": "bundle malformed ({detail_1}): {detail_2}",
      "dynamic": true
    },
    {
      "line": 1132,
      "producer": "_check_chain_head",
      "template": "target checkpoint is not the chain head",
      "dynamic": false
    },
    {
      "line": 1194,
      "producer": "_check_export_manifest",
      "template": "export manifest is present but malformed",
      "dynamic": false
    },
    {
      "line": 1218,
      "producer": "_check_export_manifest",
      "template": "{nested_detail}",
      "dynamic": true
    },
    {
      "line": 1247,
      "producer": "_finish_entry_checks",
      "template": "bundle contains no entries",
      "dynamic": false
    },
    {
      "line": 1256,
      "producer": "_verify_bundle_inner",
      "template": "unknown bundle schema",
      "dynamic": false
    },
    {
      "line": 1263,
      "producer": "_verify_bundle_inner",
      "template": "resource cap: {detail_1} \u2014 refusing to verify (fail closed)",
      "dynamic": true
    }
  ]
}
