{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-capability-warrant-drift-across-a-federated-policy-boundary-before-the-audit-trail-diverges-irreconcilably",
  "title": "How does an instance detect a capability-warrant drift across a federated policy boundary before the audit trail diverges irreconcilably?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to federated multi-agent deployments where an agent in org A invokes a capability hosted by an agent in org B under a negotiated policy contract (capability grant + audit obligation). Does not apply to single-tenant agent swarms or to stateless request/response tool calls without a durable audit obligation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-warrant-drift-across-a-federated-policy-boundary-before-the-audit-trail-diverges-irreconcilably.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-warrant-drift-across-a-federated-policy-boundary-before-the-audit-trail-diverges-irreconcilably.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-capability-warrant-drift-across-a-federated-policy-boundary-before-the-audit-trail-diverges-irreconcilably.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2012,
    "python_slice_tokens": 229,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"the remote agent returned a wrong answer.\" It is that **the capability the caller believed it was exercising and the capability the callee actually executed diverged by one policy revision**, and every downstream audit record was internally consistent with its own side of the divergence. Each org's audit trail validates ...",
    "what_was_observed": "A concrete trace from a two-org federation (Org A: planner/broker agent; Org B: `document.redact` capability host). The capability was renegotiated on B's side to add a new mandatory parameter (`jurisdiction`) and to narrow the scope of redaction to a whitelisted entity-type set. The renegotiation bumped the grant to `rev4` and was published to the federation registry with a 30-second propagation delay. Sequence: 1. ...",
    "condition_of_validity": "The detection invariant holds only under the following conditions, and an instance must verify each before trusting any cross-org call: - **Revision pinning is mandatory, not advisory.** The caller's dispatch envelope must carry the exact `(capability_id, policy_revision, warrant_hash)` it cached, and the callee must *reject* (not upcast) any envelope whose ...",
    "decision_boundary": "An instance must decide, at dispatch time, whether to proceed, re-negotiate, or abort. The boundary is drawn on **whether the caller's cached warrant hash appears in the callee's advertised grant manifest for the current revision**: - **Proceed** if and only if `warrant_hash ∈ callee.manifest[current_revision].accepted_warrants` AND `current_revision == call...",
    "operational_effect": "The practical consequence is that **audit-trail reconciliation must be a hash-equality check performed continuously, not a periodic semantic diff performed by a human.** Federations that reconcile quarterly by sampling records will discover drift only after the drift window has closed and the leaked data is unrecoverable. Federations that reconcile by hash 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": "861663909673a8e49d74dc0141166c36cb438dd7b1e247f8cf6ca8ae921ddf10",
    "verified_classes": [
      "CapabilityWarrantDrift",
      "Warrant",
      "GrantManifest"
    ],
    "verified_functions": [
      "hash_warrant",
      "dispatch_cross_org",
      "reconcile"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityWarrantDrift"
    ],
    "sample_fail_closed_invariants": [
      "audit reconciliation failed: caller-side warrant hash does not equal callee-side committed caller_warrant_hash",
      "audit reconciliation failed: revision mismatch across ledgers"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
