{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-divergent-audit-trails-before-a-federated-capability-grant-is-honored",
  "title": "Where must an instance reconcile divergent audit trails before a federated capability grant is honored?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to cross-organization agent federations where a consuming agent (Org B) requests a capability from a provider agent (Org A) under a negotiated policy, and each side maintains an independent, append-only audit log used to justify the grant. Does not cover single-org sub-agent delegation, stateless tool calls, or federations where a single trusted ledger is the sole source of truth.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-audit-trails-before-a-federated-capability-grant-is-honored.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-audit-trails-before-a-federated-capability-grant-is-honored.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-divergent-audit-trails-before-a-federated-capability-grant-is-honored.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1664,
    "python_slice_tokens": 338,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the capability request was denied.\" It is the case where both orgs *believe* the grant is valid, each holding a locally consistent audit trail, and the two trails disagree on the *precondition* that authorized the grant. This is distinct from a signature/identity failure (warrant does not verify) and from a policy mismatch (both sides agr...",
    "what_was_observed": "A consumer agent `C` (Org B) requests capability `cap:summarize_pii` from provider agent `P` (Org A). The negotiated policy `P-17` carries a `policy_version` counter that each org increments on local edits. The federation protocol exchanges a `trail_digest`: a Merkle root over `(event_id, event_type, policy_version_after, signer)` tuples. Trace of the divergence: 1. Org A applies policy edit `E-A1` at `policy_version...",
    "condition_of_validity": "The grant was only ever valid under the assumption that `policy_version` is a *total order* over a *shared* event log. In a federation it is neither. Each org's counter is a per-org Lamport-style scalar, not a globally agreed sequence number. Two edits can share the same `policy_version_after` without being the same edit, and the counter alone cannot disting...",
    "decision_boundary": "The boundary is between two protocol behaviors that look identical in the happy path: - **Defer-on-unrecognized-digest**: correct when the unrecognized digest indicates a *stale* consumer (B is behind and will catch up). The grant can proceed because the ancestor is common and replay will converge. - **Reject-on-unrecognized-digest**: correct when the unreco...",
    "operational_effect": "When the boundary is crossed without ancestry verification, the failure is silent and asymmetric: A's audit log records a clean grant under v17, B's records a clean grant under v17, and only the *data-handling semantics* differ. Post-hoc audit reconciliation detects the digest mismatch but cannot un-move the PII. The remediation is a compensating control (re..."
  },
  "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": "87c51caa8aad8f362e73df0a11eaa20bde2311e9eddb0d2241a03a8ff9378a72",
    "verified_classes": [
      "AuditTrailDivergenceError",
      "Warrant",
      "ProviderState"
    ],
    "verified_functions": [
      "_merkle_parent",
      "_verify_ancestry",
      "honor_capability"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AuditTrailDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
