{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-foreign-org-policy-translation-from-silently-widening-delegated-capability-scope-in-federated-agent-handoffs",
  "title": "Which invariants prevent foreign-org policy translation from silently widening delegated capability scope in federated agent handoffs",
  "date_of_record": "2026 December 2",
  "scope": "Applies to cross-organization agent federations where a calling agent (Org A) delegates a task to a remote agent (Org B) under a trust anchor and a translated policy document. Covers capability-scope widening at the translation boundary; does not cover intra-org RBAC, transport-level mTLS failures, or prompt-injection inside a single trust domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-org-policy-translation-from-silently-widening-delegated-capability-scope-in-federated-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-org-policy-translation-from-silently-widening-delegated-capability-scope-in-federated-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-foreign-org-policy-translation-from-silently-widening-delegated-capability-scope-in-federated-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2039,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not authentication failure and not authorization denial. Both orgs authenticate correctly, the trust anchor validates, and Org B's policy engine returns \"permit.\" The failure is that the *translated* policy is a superset of the *requested* policy, and no party in the chain compares the two. Policy translation is treated as a rendering step (ma...",
    "what_was_observed": "Trace from a federated deployment, three orgs (A caller, B resource-holder, C auditor), trust anchored via signed capability warrants (macaroon-style, third-party caveats). 1. Org A's planner emits a delegation request: `delegate(task=\"summarize churn for EU cohort\", warrant=W_A)` where `W_A` carries caveat `cap=read:customer_records`, `region=EU`, `exp=+15m`. 2. Org A's federation gateway translates `W_A` into Org B...",
    "condition_of_validity": "The invariant holds — and the guardrail is required — precisely when all of the following are true: - The trust anchor is *coarse* (org-level identity, not per-capability), so the warrant's fine-grained caveats are the only carrier of scope restriction. - The two policy dialects are *not* in a known refinement relation; i.e., there is no pre-established proo...",
    "decision_boundary": "The boundary is between *translation as mapping* and *translation as proof obligation*. The rule: > A caveat that the remote PDP cannot evaluate must be treated as unsatisfiable, not as absent. The handoff is permitted only if, for every caveat `c` in the inbound warrant, there exists an enforced predicate `p` in the remote policy such that `p ⟹ c` (p is at ...",
    "operational_effect": "Without the invariant: scope widening is silent, succeeds, and is discovered only by audit replay after data egress. The probabilistic planner amplifies it because it fills the schema gap with the broadest available call. Episodic memory at the caller then persists the widened result, so the contamination outlives the warrant's 15-minute expiry — a continuit..."
  },
  "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": "d801b9a6b4d7e48d7befe9cc90397270f7922b5c721c8afb5d8f9bf099d197e7",
    "verified_classes": [
      "UnenforceableCaveat",
      "Caveat",
      "Warrant",
      "RemotePolicy"
    ],
    "verified_functions": [
      "translate_and_gate",
      "naive_translator"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UnenforceableCaveat"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
