# What structural signals indicate authorization-scope reconciliation failure in cross-org agent federation policy engines **Date of Record:** 2026 November 25 **Scope:** Applies to federated agent systems where two or more independently governed policy engines must reconcile differing authorization scopes (capability sets, resource patterns, temporal bounds) for a single delegated agent invocation crossing an organizational boundary. Does not apply to single-domain RBAC/ABAC evaluation, nor to pure transport-level authentication failures that occur before scope negotiation begins. ## Core Distinction The failure mode is not "one org denies what the other allows." That is a clean, detectable disagreement. The failure mode is **asymmetric scope intersection under non-monotonic attenuation**: when Org A's engine narrows a scope before handoff (attenuation) and Org B's engine *widens* or *reinterprets* the same symbolic scope because its local policy vocabulary assigns a broader denotation to the same identifier. The agent then executes with the *union of permitted surface area* rather than the *intersection*, because neither engine ever evaluates the other's denotation. Each engine is locally correct. The composed system is unsound. This is a vocabulary-binding failure, not a logic failure. The scopes are structurally identical (same string identifiers, same JSON shape, same signature chain) while semantically divergent. Structural signals of health (matching scope strings, valid warrant signatures, successful handshake) are therefore *anti-correlated* with actual safety, which is why the failure is non-obvious. ## What Was Observed A delegated research agent carried the scope token `data:read:*` from Org A into Org B. Org A's policy engine bound `*` to "datasets the requesting principal owns," having previously attenuated the principal's scope down to an owned-dataset allowlist at warrant issuance. Org B's engine bound `*` to "all datasets in the federated catalog," because its grammar treated `*` as a wildcard over its own resource namespace with no principal-ownership predicate — ownership was assumed to be enforced upstream. Trace of the state transition: 1. Org A engine issues warrant `W` with scope `{data:read:*}` and an attenuation annotation `principal_owned_only` stored in an **extension field** that Org B's parser ignores (unknown-key tolerance, per forward-compatibility requirements). 2. Handoff completes. Signature chain validates. Both engines log `scope_negotiation: OK`. 3. Org B engine evaluates `data:read:*` against its catalog, resolves to 4,812 datasets including 3,900 not owned by the principal. 4. Agent, receiving an expanded effective scope, issues retrieval tool calls against non-owned datasets. No tool call is denied; no policy violation event fires, because from Org B's perspective every call is in-scope. 5. The violation is only detectable in *cross-engine reconciliation logs* — specifically in the gap between Org A's intended denotation and Org B's resolved denotation — which no single engine records. The structural signal that would have caught it: Org A's attenuation annotation was present in the warrant but **not covered by the signature's canonicalization scope**. The signature validated the base scope string but not the semantic modifiers. A verifier replaying the warrant against Org B's denotation produced a resolved-set cardinality of 4,812 versus Org A's intended 912 — a 5.3× expansion that was invisible to both engines individually. ## Condition of Validity The invariant that must hold for safe federation is **denotational intersection with signed semantics**: > For every scope token `s` transferred from engine `E_A` to `E_B`, the effective permission set must equal `denote_A(s) ∩ denote_B(s)`, and every modifier that changes `denote_A(s)` must be inside the cryptographic envelope that `E_B` is required to verify. This condition is valid — and the failure is bounded — only when all three of the following hold: - **Modifier coverage:** attenuation predicates, ownership qualifiers, temporal bounds, and resource-namespace restrictions are part of the signed canonical form, not extension fields. If a modifier is unsigned, it is advisory and must be treated as absent. - **Denotation disclosure:** each engine can emit a *resolved-set descriptor* (cardinality, namespace hash, predicate summary) for any scope token, independent of the other engine's vocabulary. Without this, intersection cannot be computed and only string equality can be checked — which is insufficient. - **Fail-closed on unknown modifiers:** an engine receiving a scope token with modifiers it does not recognize must reject or downgrade to the empty set, not silently strip the modifier. Unknown-key tolerance is safe for metadata and unsafe for authorization semantics. When any of these is violated, the composed system cannot guarantee intersection, and the observed expansion is the expected outcome rather than an anomaly. ## Decision Boundary The operational decision is where to place the reconciliation check. Three boundaries are available; only one is sound for cross-org federation: - **Boundary 1 — string equality at handoff:** compares scope identifiers. Cheap, and *fails open* under the vocabulary-divergence failure above, because identical strings denote different sets. Reject as sole guard. - **Boundary 2 — post-hoc audit reconciliation:** compares resolved-set descriptors after execution. Detects the failure but only after the agent has already acted on the expanded scope. Acceptable as a detection backstop, not as a guard. - **Boundary 3 — pre-execution denotational intersection:** before the agent's first tool call under the federated warrant, each engine emits a resolved-set descriptor for every scope token, the descriptors are intersected, and the agent's effective scope is set to the intersection. This is the sound boundary. The decision rule: **if a scope token crosses an organizational boundary and either engine cannot emit a resolved-set descriptor for it, the token must be attenuated to the empty set before the agent executes.** Capability that cannot be denotationally reconciled is not capability; it is an unverified assumption. Federation must treat it as a denial, not as a pass-through. A secondary boundary governs modifier handling: any modifier not in the signed canonical form is dropped *and* the scope is downgraded, never dropped-and-continued. The cost of a false downgrade (agent loses a legitimate permission) is a recoverable task failure; the cost of a false expansion is a silent cross-org data boundary breach. ## Operational Effect The practical consequence is that **warrant signatures must cover semantics, not just identifiers**, and federation handshake success must be defined as denotational agreement rather than structural agreement. Systems that log `scope_negotiation: OK` on string match are recording a signal that is uncorrelated with safety and, under vocabulary divergence, inversely correlated with it — the cleaner the handshake, the more likely the expansion went undetected. The guardrail that bounds the failure: emit resolved-set descriptors at both engines, intersect before first execution, sign every modifier that alters denotation, and fail closed on unrecognized modifiers. The observable signature of a healthy federation is not matching scope strings but *matching resolved-set cardinalities and namespace hashes* across the boundary, recorded on both sides and diffable in audit. ```python import hashlib from dataclasses import dataclass, field class ScopeReconciliationError(RuntimeError): """Raised when cross-org scope denotations cannot be safely intersected.""" pass @dataclass(frozen=True) class ResolvedScope: token: str namespace_hash: str # hash of the resource namespace the engine resolved against cardinality: int # number of resources the token denotes locally signed_modifiers: frozenset # modifiers covered by the warrant signature unsigned_modifiers: frozenset = field(default_factory=frozenset) def _descriptor_fingerprint(rs: ResolvedScope) -> str: payload = f"{rs.token}|{rs.namespace_hash}|{rs.cardinality}|{sorted(rs.signed_modifiers)}" return hashlib.sha256(payload.encode()).hexdigest() def reconcile_pre_execution( token: str, local: ResolvedScope, remote: ResolvedScope, ) -> ResolvedScope: """ Sound boundary: intersect denotations BEFORE the agent's first tool call. Fails closed on unsigned modifiers and on denotational disagreement. """ if local.token != remote.token: raise ScopeReconciliationError( f"token mismatch: {local.token!r} vs {remote.token!r}" ) # Unsigned modifiers are advisory; they cannot be trusted to narrow denotation. if local.unsigned_modifiers or remote.unsigned_modifiers: raise ScopeReconciliationError( f"scope {token!r} carries unsigned modifiers " f"{local.unsigned_modifiers | remote.unsigned_modifiers}; " f"denotation cannot be verified — attenuating to empty set" ) if local.namespace_hash != remote.namespace_hash: raise ScopeReconciliationError( f"namespace divergence for {token!r}: " f"{local.namespace_hash[:12]} vs {remote.namespace_hash[:12]}" ) # Cardinality agreement is the structural signal of denotational intersection. if local.cardinality != remote.cardinality: expansion = max(local.cardinality, remote.cardinality) / max( min(local.cardinality, remote.cardinality), 1 ) raise ScopeReconciliationError( f"denotational mismatch for {token!r}: " f"{local.cardinality} vs {remote.cardinality} " f"({expansion:.1f}x expansion) — refusing federated execution" ) if _descriptor_fingerprint(local) != _descriptor_fingerprint(remote): raise ScopeReconciliationError( f"descriptor fingerprint divergence for {token!r}" ) # Safe: intersection equals both denotations. return ResolvedScope( token=token, namespace_hash=local.namespace_hash, cardinality=local.cardinality, signed_modifiers=local.signed_modifiers & remote.signed_modifiers, ) ```