{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-broken-attestation-chain-when-every-link-verifies-independently",
  "title": "How does an instance detect a broken attestation chain when every link verifies independently",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent systems that propagate provenance as a chain of signed attestations (per-hop signatures over a prior-attestation digest), where each hop is verified in isolation by the next agent. Does not apply to single-signer capability tokens, to systems using threshold/multi-signature schemes that bind the whole chain, or to purely symmetric-key MAC chains where the verifier shares the key.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-attestation-chain-when-every-link-verifies-independently.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-attestation-chain-when-every-link-verifies-independently.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-broken-attestation-chain-when-every-link-verifies-independently.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2482,
    "python_slice_tokens": 415,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not a forged signature. It is a **chain that is locally valid at every link but globally discontinuous** — a splice. Each attestation `A_i` carries (a) a signature `sig_i` over its own payload, and (b) a `parent_digest` field naming the digest of `A_{i-1}`. A verifier that checks only \"is `sig_i` valid over `payload_i`\" accepts every link...",
    "what_was_observed": "A three-agent pipeline: `orchestrator → worker → auditor`. The orchestrator issues an attestation `A_0` (root, self-signed, listing the task scope and the orchestrator's public key). The worker receives `A_0`, performs a tool call, and emits `A_1` = sign_worker(payload_1, parent_digest = H(A_0)). The auditor receives `A_1`, and is supposed to emit `A_2` = sign_auditor(payload_2, parent_digest = H(A_1)). The auditor's...",
    "condition_of_validity": "The per-link check is sound only under an invariant that is almost never stated explicitly: > **Digest identity invariant:** For every adjacent pair `(A_{i-1}, A_i)` in an accepted chain, `H(A_{i-1})` as computed by the verifier over the *canonical serialization of the verified object* must equal `A_i.parent_digest`, AND `A_{i-1}` must be the object that the...",
    "decision_boundary": "The boundary between \"accept\" and \"reject\" is not \"signature valid\" — it is **verified-set membership of the parent digest, with the parent object already canonicalized and accepted in this walk**. Concretely: - **Accept** `A_i` iff: `sig_i` verifies over `canonical(payload_i)`; `A_i.parent_digest` ∈ verified-set; the verified-set object at that digest is by...",
    "operational_effect": "The practical consequence is that **provenance verification is a graph walk, not a list scan**, and the verifier must own the walk. The auditor that failed did not own the walk: it delegated parent resolution to its caller. The fix is architectural — the verifier maintains the verified-set and refuses to accept any parent it did not itself hash-and-accept, a..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "31c385f0b5964e1678bd7d3ab696ce5e875838b63cd83eb1d42d34d7e8e13468",
    "verified_classes": [
      "ProvenanceChainError",
      "SpliceDetected",
      "ScopeMismatch",
      "CanonicalizationError",
      "Attestation"
    ],
    "verified_functions": [
      "canonical",
      "digest",
      "verify_chain"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CanonicalizationError",
      "ProvenanceChainError",
      "ScopeMismatch",
      "SpliceDetected"
    ],
    "sample_fail_closed_invariants": [
      "link 0: root must have null parent"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
