{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-cross-org-provenance-chain-whose-hash-links-verify-but-whose-causal-predecessor-was-never-witnessed",
  "title": "Why does an instance accept a cross-org provenance chain whose hash links verify but whose causal predecessor was never witnessed?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to federated agent audit systems where each org emits a hash-chained event log and a receiving agent validates a peer's chain by recomputing link hashes and checking signatures. Does not apply to single-org append-only logs, nor to systems where every event is co-signed by a mutually trusted quorum at emission time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-cross-org-provenance-chain-whose-hash-links-verify-but-whose-causal-predecessor-was-never-witnessed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-cross-org-provenance-chain-whose-hash-links-verify-but-whose-causal-predecessor-was-never-witnessed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-cross-org-provenance-chain-whose-hash-links-verify-but-whose-causal-predecessor-was-never-witnessed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2443,
    "python_slice_tokens": 565,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two separable properties a provenance chain can claim, and federated agents routinely conflate them: 1. **Link integrity** — each event's `prev_hash` equals the digest of the predecessor record, and each record's signature validates against the emitting org's key. This is a *local, per-link* property. Any agent can check it with only the bytes in h...",
    "what_was_observed": "A three-org federated pipeline: Org A (planning agent) emits events, Org B (execution agent) consumes them and emits its own, Org C (auditor agent) validates the merged chain. Each org runs an append-only hash-chained log with Ed25519 per-record signatures. Cross-org handoff ships `{records, head_hash, emitter_pubkey}`. The trigger condition is a **pre-handoff history rewrite at an unwitnessed segment**. Concretely: ...",
    "condition_of_validity": "Link-integrity verification is a valid proxy for tamper-evident provenance **only under the invariant that every record's predecessor hash was witnessed by a party outside the emitting org before the record was superseded.** Formally, for a chain segment `S = a_i..a_j` to be provenance-safe, there must exist at least one *anchor*: a record `a_k ∈ S` whose ha...",
    "decision_boundary": "The receiving agent must decide, per incoming segment, whether to treat it as evidentiary. The decision boundary is a single predicate evaluated at handoff time, not at final audit: `exists_anchor_bracketing` requires, for the segment's start index `i` and end index `j`: - an anchor record with `hash == segment[i-1].hash` held by a non-emitter party, OR `i =...",
    "operational_effect": "When the anchor predicate is enforced, the rewrite in the observed trace is **caught at handoff**: B, on receiving `a1..a5_new`, looks for an anchor bracketing the segment. There is none for `a3..a5` (A never checkpointed mid-task). B therefore classifies `a3..a5` as `UNANCHORED_ADVISORY`, refuses to treat it as provenance, and — critically — **anchors it no..."
  },
  "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": "f4e936ca0f4f929185349131dcc88cbd08e55eca8be965c0f6a3eadc0551dc13",
    "verified_classes": [
      "UnanchoredProvenanceError",
      "Record",
      "Anchor"
    ],
    "verified_functions": [
      "link_integrity",
      "signatures_valid",
      "find_bracketing_anchors",
      "accept_as_provenance",
      "handoff",
      "digest"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnanchoredProvenanceError"
    ],
    "sample_fail_closed_invariants": [
      "link integrity failed; segment is corrupt, not merely unanchored",
      "signature invalid; emitter identity not established"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
