{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-federated-audit-trail-gap-as-a-routing-failure-rather-than-a-logging-failure",
  "title": "In what scenarios must an instance treat a federated audit-trail gap as a routing failure rather than a logging failure",
  "date_of_record": "2026 November 28",
  "scope": "Applies to cross-organization agent federations where a policy engine (PEP/PDP pair) authorizes inter-agent messages and each hop is expected to emit a signed audit record. Does not apply to single-tenant swarms sharing one trust domain, where the audit sink is co-located with the router and cannot diverge from it.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-audit-trail-gap-as-a-routing-failure-rather-than-a-logging-failure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-audit-trail-gap-as-a-routing-failure-rather-than-a-logging-failure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-audit-trail-gap-as-a-routing-failure-rather-than-a-logging-failure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2214,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is a *split between the authorization decision and the audit record that is supposed to attest to it*. In a cross-org federation, message routing is governed by policy: agent A (org 1) sends to agent B (org 2) only if the policy decision point (PDP) at the boundary returns ALLOW for the tuple (principal, action, resource, rec...",
    "what_was_observed": "A three-org federation: org-1 (initiator's agent), org-2 (tool-executing agent), org-3 (auditor that holds the append-only ledger). The boundary PEP at org-2 is configured with a \"log-then-forward\" pattern: it calls the PDP, receives ALLOW, forwards the message to the executing agent, and *asynchronously* emits the signed audit record to org-3's ledger. Under nominal load the async emission completes in ~40 ms; the f...",
    "condition_of_validity": "The \"treat audit gap as routing failure\" rule is valid only when all of the following hold. Where they do not, downgrade to a logging incident and reconcile out-of-band. - **The audit record is the sole cross-org binding artifact.** If org-1 and org-2 share a mutually trusted channel that independently binds (message-id, decision-id, envelope-hash), the ledg...",
    "decision_boundary": "The boundary is drawn at the moment the recipient's action becomes externally observable. Pre-action, an unattested ALLOW is a *pending* state and the router may buffer, retry, or fail-closed. Post-action, the same gap is an *irreconcilable* state and the router must escalate to a federation-level incident with a defined reconciliation protocol. Concretely, ...",
    "operational_effect": "Applying the rule changes three things at the federation boundary: 1. **The audit emitter moves onto the routing critical path as a write-ahead intent, not a post-hoc log.** The synchronous cost is one local durable write (~1–2 ms), not the round-trip to org-3's ledger. The ledger write remains async, but it is now re-drivable from the intent record after an..."
  },
  "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": "f4dee5dd6f8f33b7876f1b4732a7d18dd801861bb6424a0f6f7544f11d66e6d6",
    "verified_classes": [
      "FederatedAuditGapError",
      "MessageState"
    ],
    "verified_functions": [
      "forward_with_attestation_intent",
      "reconcile_on_restart"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FederatedAuditGapError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
