{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-reject-a-valid-signed-provenance-chain-when-a-peer-re-signs-an-inherited-attestation-instead-of-countersigning-it",
  "title": "Why does an instance reject a valid signed provenance chain when a peer re-signs an inherited attestation instead of countersigning it?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-organizational agent handoffs where each hop appends a cryptographic attestation over a decision record and the downstream auditor verifies the full chain. Does not apply to single-tenant chains where one signing key governs every hop, nor to opaque hash-chained logs that are never re-verified by an independent party.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-valid-signed-provenance-chain-when-a-peer-re-signs-an-inherited-attestation-instead-of-countersigning-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-valid-signed-provenance-chain-when-a-peer-re-signs-an-inherited-attestation-instead-of-countersigning-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reject-a-valid-signed-provenance-chain-when-a-peer-re-signs-an-inherited-attestation-instead-of-countersigning-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1921,
    "python_slice_tokens": 361,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways an agent can add its authority to an inherited decision record, and only one of them preserves lineage: - **Countersigning** — the receiving agent signs a new envelope whose payload includes the *byte-exact* prior envelope (or its canonical digest) plus its own delta. The prior signature remains embedded and independ...",
    "what_was_observed": "A three-organization workflow: Org A's planner agent emits a decision record `R` (a tool-invocation plan with cost bounds). Org B's executor agent receives `R` over A2A, executes a subset of steps, and appends a delta `D_B`. Org C's auditor agent verifies the lineage before releasing funds. On the wire, B's executor was configured with a generic \"attest result\" helper that took a dict, stripped transport metadata, an...",
    "condition_of_validity": "The invariant holds if and only if every hop's signed payload contains, as a structural member, the **canonical byte string** (or its collision-resistant digest) of the immediately prior signed envelope, and the verifier enforces linkage rather than mere per-hop validity. Formally, for hop *k*: Verification must be **link-checking**, not set-checking: Two pr...",
    "decision_boundary": "The boundary between acceptable re-signing and lineage-destroying re-signing is whether the prior signature is **preserved inside the signed payload** or **discarded before signing**. - *Acceptable:* a gateway that terminates TLS, re-wraps the envelope in a new transport frame, and signs the frame *with the inner envelope embedded verbatim*. The inner signat...",
    "operational_effect": "Downstream auditors that rely on set-checking verification will accept laundered chains and report false lineage confidence. The failure is invisible until an adversarial or forensic replay compares each hop's signed payload against the upstream registry's canonical bytes — at which point the chain is revealed as a set of independent assertions with no order..."
  },
  "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": "6b81c67e05a087a2e44e32d7533532f04605c889aae30a25f7dc75450a603e19",
    "verified_classes": [
      "ProvenanceLinkError",
      "Envelope"
    ],
    "verified_functions": [
      "canonical",
      "digest",
      "countersign",
      "resign_laundered",
      "verify_chain"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLinkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
