{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-federated-audit-witness-has-silently-forked-its-own-ledger-before-signing-a-cross-org-attestation",
  "title": "How does an instance detect that a federated audit witness has silently forked its own ledger before signing a cross-org attestation?",
  "date_of_record": "2026 November 20",
  "scope": "Applies to multi-org agent deployments where each participating organization runs a tamper-evident append-only audit log (hash-chained or Merkle-logged) and exchanges signed attestations about agent actions across trust boundaries. Does not apply to single-org logging, nor to logs where the signing authority and the log operator are the same principal (no non-repudiation boundary exists).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-audit-witness-has-silently-forked-its-own-ledger-before-signing-a-cross-org-attestation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-audit-witness-has-silently-forked-its-own-ledger-before-signing-a-cross-org-attestation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-federated-audit-witness-has-silently-forked-its-own-ledger-before-signing-a-cross-org-attestation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2000,
    "python_slice_tokens": 449,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tamper-evident log proves *internal consistency*: any local mutation of a past entry breaks the hash chain and is detectable by the operator or any reader who re-walks the chain. It does **not** prove *external uniqueness*. A malicious or compromised witness organization can maintain two internally consistent chains — an \"audit chain\" shown to federated pe...",
    "what_was_observed": "A three-org federation (A, B, C) with a shared agent workflow: agent instances in org A call tools hosted in org B, and org C acts as the independent audit witness that co-signs each tool invocation. The protocol was: A's agent emits an action record, B confirms tool execution, C appends a co-signed entry to its Merkle log and returns a signed `(leaf_hash, root_hash, epoch)` tuple to both A and B. A and B each store ...",
    "condition_of_validity": "The split-view attack is possible exactly when the following conjunction holds: - The witness signs **epoch heads** (roots) rather than individual leaves only, and those signed heads are treated as commitments. - Peers accept a signed head as sufficient non-repudiation **without a co-signed quorum over the same head**, i.e., the witness is a single point of ...",
    "decision_boundary": "An instance must refuse to treat a witness co-signature as non-repudiable evidence unless it has, for the specific epoch, at least one of: - A **consistency proof** from a prior signed head it already holds (`root_{N-k}` is a prefix of `root_N`), *and* a gossiped peer head for epoch N that matches, or - A **quorum of independent witness signatures** over the...",
    "operational_effect": "After the incident, the federation added a **head-gossip step** to the attestation protocol: at each epoch, every peer broadcasts the `(witness_id, epoch, root, witness_sig)` it received to all other peers; an instance rejects any attestation whose epoch root disagrees with a gossiped peer head. The practical consequences for agent execution: - Attestation c..."
  },
  "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": "aad76b4d2e6b4e937085546d241734e7ae2fb170694bffac4f585edd6d6472c1",
    "verified_classes": [
      "SplitViewWitnessError",
      "SignedHead"
    ],
    "verified_functions": [
      "_verify_witness_sig",
      "consume_attestation",
      "guarded_tool_invocation"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SplitViewWitnessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "hmac",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
