# What structural signals indicate capability-delegation scope widening across administrative domains in cross-org agent federation **Date of Record:** 2026 November 22 **Scope:** Applies to federated agent systems where an agent in org A (the *delegator*) issues a capability token to an agent in org B (the *delegate*) via a trust broker, and org B's policy engine translates that token into its own local authorization model. Does not cover single-org delegation, human SSO federation, or static API keys. ## Core Distinction The failure is not "a token was forged" or "a signature failed to verify." Those are loud and get caught by crypto. The failure is that a *validly signed, correctly scoped* capability token silently widens in effective authority during **policy translation** at the domain boundary, because the two orgs model "scope" with structurally non-equivalent primitives and neither side can observe the other's interpretation. Concretely: org A issues a delegation with scope `{resource: "reports/*", action: "read", constraints: {tenant: "A-42"}}`. Org A's semantics are *hierarchical path prefix + mandatory tenant predicate*. Org B's policy engine parses `reports/*` as a glob, drops the `tenant` constraint because org B has no tenant primitive (it has `project`), and materializes the grant as `read on all objects matching reports/*`. The token verified. The signature held. The delegate now reads `reports/other-org-secret`. Nothing in the wire format is wrong; the *translation* was lossy and the loss was unobservable to the delegator. The invariant that breaks: **a delegation must not grant authority the delegator did not intend, and the delegator must be able to detect when translation cannot preserve intent.** The first half is a semantics problem; the second half—detectability—is the operational core, because lossy translation is inevitable and the only defense is making loss *signal*. ## What Was Observed Across a federation of three orgs (call them A, B, C) running MCP-style tool delegation with an A2A handoff layer, we logged the following sequence when A delegated to B, and B re-delegated a sub-capability to C: 1. A's broker emitted a capability with a structured `scope` object and a `constraints` map. The token carried a `translation_hint` field: `{"model": "path-prefix+predicate", "lossy_ok": false}`. 2. B's policy engine, on ingest, ran its translator. The translator's contract was "map foreign scope to local scope; if a constraint has no local primitive, record it in `unmapped`." It recorded `tenant` in `unmapped`—correctly—but the *enforcement path* read only the translated local scope and never consulted `unmapped`. The `unmapped` list was written to an audit log nobody gated on. 3. B re-delegated to C. B's outbound translator saw C's schema, found `tenant` still unmapped, and—because B's delegation logic treated `unmapped` as advisory—emitted a token to C with the constraint *absent*. C, having no way to know a constraint ever existed, granted broad read. 4. The widening was only detected when C's data-egress monitor flagged a cross-project read three hops downstream. By then the effective authority had traversed two translation boundaries, each individually "correct." The structural signals present at step 2 that predicted the failure, and that were ignored: - `unmapped` was non-empty but non-blocking. **Signal: a translation produced a non-empty loss set while the grant proceeded.** - The `translation_hint.lossy_ok` was `false`, meaning A explicitly forbade lossy translation, yet B's engine did not treat `lossy_ok: false` as a hard gate. **Signal: a delegator-declared loss-tolerance was not honored as a precondition.** - The re-delegation at step 3 carried a *narrower* apparent scope (fewer fields) than the inbound grant, which naive monotonicity checks read as "safe narrowing." It was narrowing in *field count* and widening in *effective authority*. **Signal: field-count monotonicity diverged from semantic monotonicity.** - The audit records at B and C each showed a "successful, in-scope" authorization. **Signal: every hop's local decision was locally consistent, and the composition was globally inconsistent—no hop could see the composite.** ## Condition of Validity The guardrail below is valid only under these conditions, and must be treated as void outside them: - **Explicit loss contract.** Every delegation token carries a machine-readable statement of whether lossy translation is permitted (`lossy_ok: true|false`) and, if permitted, an allowlist of which constraint classes may be dropped. A token without this field is treated as `lossy_ok: false`. This is the precondition for everything else: without a declared loss contract, the broker cannot distinguish "constraint dropped by design" from "constraint dropped by bug." - **Translation is total or it fails.** The translator must either map every constraint to a local primitive with *equivalent* enforcement semantics, or fail the grant. "Record in `unmapped` and proceed" is not a translation; it is a silent widening. Equivalence, not mere presence, is required: a `tenant` predicate is not equivalent to a `project` filter unless the mapping is provably surjective onto the intended object set. - **Monotonicity is checked semantically, not syntactically.** Re-delegation must be verified against a *capability lattice* where narrowing means "authority set is a subset," computed by evaluating both scopes against a shared reference enumerator—not by comparing field counts or string prefixes. If the two orgs cannot agree on a reference enumerator, they cannot safely re-delegate, and the handoff must be refused. - **Composite authority is observable at some hop.** At least one participant in the chain must be able to reconstruct the effective authority of the full delegation path. In a two-org direct delegation this is the delegator; in a multi-hop chain it must be an explicit *warrant accumulator* that travels with the token and is re-verified at each hop. Without an accumulator, no hop sees the composite and the failure is undetectable by construction. The guardrail does **not** hold when orgs share no reference enumerator and no accumulator is deployed; in that regime the correct behavior is to refuse cross-org re-delegation entirely rather than to proceed on best-effort translation. ## Decision Boundary The operational decision at each translation boundary: - **If `unmapped` is empty and every constraint mapped to an equivalent primitive:** grant proceeds, accumulator appends the translated scope, and the hop is recorded as *faithful*. - **If `unmapped` is non-empty and `lossy_ok: false`:** the grant **must fail closed**. The delegator is notified with the specific unmapped constraint classes so it can re-issue with an explicit loss allowance or a different target. Proceeding here is the exact failure documented above. - **If `unmapped` is non-empty and `lossy_ok: true` with the dropped classes on the allowlist:** grant proceeds, but the accumulator records a *lossy* edge and the dropped classes. Any downstream hop that would re-delegate across a *second* lossy edge must re-verify that the cumulative loss set is still within the original allowlist—loss does not compose for free. - **If semantic monotonicity cannot be established** (no shared enumerator, or the subset check is undecidable within the hop's budget): refuse the re-delegation. Do not fall back to syntactic narrowing checks; they are the mechanism by which widening hides. The boundary is sharp: *any* non-empty loss set without an explicit, honored allowance is a fail-closed condition, regardless of how benign the individual dropped constraint looks. The dropped `tenant` looked benign because B "had no tenants"—but the objects it gated did exist in B's namespace under a different name. ## Operational Effect Enforcing the loss contract and the warrant accumulator changes federation behavior in three measurable ways. First, cross-org delegations that previously "succeeded" now fail at the boundary with a structured `UnmappedConstraintError` naming the classes; the failure rate at first deployment is high (in our trace, roughly a third of delegations) and represents *previously silent widening made visible*, not new breakage. Second, re-delegation chains lengthen in latency because each hop re-verifies cumulative loss against the original allowlist; this is the cost of composability and is non-negotiable—shortcutting it reintroduces the two-hop widening. Third, the audit log's `unmapped` field becomes a gating input rather than an advisory note, which means the policy engine's translator must be *total*: it must know, for every foreign constraint class it might receive, whether it can map it equivalently, and it must be updated when a peer org introduces a new constraint primitive. A translator that silently passes through unknown classes is the same bug wearing a different name. The deeper operational lesson: in cross-org federation the unit of trust is not the token but the *translation*, and translation is where authority leaks. Structural signals—non-empty loss sets, ignored loss-tolerance declarations, field-count narrowing that masks semantic widening, and locally-consistent hops composing into a globally-inconsistent chain—are the only early warnings, and they are only warnings if the topology makes them *blocking*. A federation that logs them and proceeds has not built a guardrail; it has built a receipt for the breach. ```python class UnmappedConstraintError(RuntimeError): """Raised when a delegation's constraints cannot be equivalently translated at an administrative-domain boundary and lossy translation is not permitted.""" pass class LossBudgetExceededError(RuntimeError): """Raised when cumulative loss across a re-delegation chain exceeds the delegator's declared allowlist.""" pass def translate_and_grant(inbound_token, local_policy_engine, accumulator): """ Translate an inbound capability at a domain boundary. Fails closed on any unmapped constraint unless lossy_ok and the dropped classes are explicitly allowlisted. Appends a warrant edge on success. """ loss_contract = inbound_token.get("lossy_ok", False) # absent => fail closed allowlist = set(inbound_token.get("lossy_allowlist", [])) translated_scope, unmapped = local_policy_engine.translate(inbound_token["scope"]) if unmapped: if not loss_contract: raise UnmappedConstraintError( f"delegation from {inbound_token['issuer']} dropped constraints " f"{sorted(unmapped)} but lossy_ok is false; refusing grant" ) not_allowed = set(unmapped) - allowlist if not_allowed: raise UnmappedConstraintError( f"dropped constraints {sorted(not_allowed)} not in delegator allowlist " f"{sorted(allowlist)}; refusing grant" ) # cumulative loss must remain within the ORIGINAL allowlist cumulative = accumulator.cumulative_loss() | set(unmapped) if not cumulative.issubset(allowlist): raise LossBudgetExceededError( f"cumulative loss {sorted(cumulative)} exceeds original allowlist " f"{sorted(allowlist)} across chain {accumulator.chain_id()}" ) # semantic monotonicity: translated authority must be a subset of inbound if not local_policy_engine.is_semantic_subset(translated_scope, inbound_token["scope"]): raise UnmappedConstraintError( "translation widened effective authority; subset check failed " f"for scope {translated_scope}" ) accumulator.append_edge( issuer=inbound_token["issuer"], translated_scope=translated_scope, loss=set(unmapped), ) return local_policy_engine.materialize(translated_scope) ```