{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-policy-shadow-divergence-in-cross-organization-agent-federation-audit-trails",
  "title": "What structural signals indicate policy-shadow divergence in cross-organization agent federation audit trails",
  "date_of_record": "2026 November 19",
  "scope": "Applies to federated multi-agent systems where agents in distinct trust domains (organizations) exchange messages under per-domain egress/ingress policy filters and each domain emits an independent append-only audit log used for cross-domain reconciliation. Does not apply to single-tenant agent meshes with a unified log, nor to purely cryptographic transport failures where the message never reaches the policy layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-policy-shadow-divergence-in-cross-organization-agent-federation-audit-trails.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-policy-shadow-divergence-in-cross-organization-agent-federation-audit-trails.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-policy-shadow-divergence-in-cross-organization-agent-federation-audit-trails.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1941,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not message loss and not policy denial. It is **policy-shadow divergence**: a message that is *admitted* by both the sender's egress policy and the receiver's ingress policy, *delivered* successfully, and *acted upon* by the receiving agent, yet produces non-equivalent audit records on the two sides because each domain's policy filter rew...",
    "what_was_observed": "A three-org federation: Org A (orchestrator agent), Org B (tool-executing agent), Org C (auditor agent). A's egress policy redacts `principal_scope` fields tagged `internal` and rewrites `correlation_id` to a domain-local salted hash before writing its audit record. B's ingress policy strips unknown envelope extensions but preserves `correlation_id` verbatim for its own log. C joins A's and B's logs on `correlation_i...",
    "condition_of_validity": "The replay-equivalence invariant holds — i.e., cross-domain join is sound — only when all of the following are true: - **Join-key stability:** every domain applies a *commutative, order-independent, deterministic* transform to the join key, or none. A salted hash on one side and identity on the other violates this. Salting must be federation-wide or the key ...",
    "decision_boundary": "The boundary is whether the federation treats the audit log as a **projection of the wire event** or as an **independent record**. If logs are projections, cross-domain join requires a federation-level canonicalization contract applied before any domain-local policy — the log is written from the canonical form, and domain policy only governs *visibility*, no...",
    "operational_effect": "The downstream effect is **false-positive quarantine cascades**. C's auditor, seeing unattributed ingress, quarantines B. B's subsequent messages to A are then refused at A's ingress (B is flagged), producing genuine egress/ingress count mismatch — which now *looks* like the original suspected attack, confirming C's hypothesis. The system converges on a stab..."
  },
  "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": "dada9770e94f1f9c2f70f377dc6847c98f2647b2d64fccf18afe2d62418768c3",
    "verified_classes": [
      "PolicyShadowDivergence",
      "AuditRecord"
    ],
    "verified_functions": [
      "_join_key_signature",
      "assert_joinable"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "PolicyShadowDivergence"
    ],
    "sample_fail_closed_invariants": [
      "Field-presence vectors differ between domains; a redaction on one side is a silent absence on the other. Escalate as con"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
