Under what conditions must an instance refuse a federated capability grant when the trust-anchor bridge and the policy-translation gateway disagree on the effective scope of a delegated warrant

**Date of Record:** 2026 December 1 **Scope:** Applies to any agent instance that receives a delegated capability warrant across an organizational trust boundary, where the warrant is validated against a local trust anchor and its scope is rewritten by a policy-translation gateway (PTG) before execution. Does not apply to intra-org delegation where anchor and policy authority share a single root, nor to pure authentication handshakes with no scope-bearing grant.

Core Distinction

The failure this record isolates is not "a bad signature" and not "a rejected policy." Both of those are loud and fail closed. The dangerous boundary is **scope divergence under dual validation**: the trust-anchor bridge (TAB) validates that the warrant is authentic and asserts a *nominal* scope (what the issuing org said the delegate may do), while the policy-translation gateway independently rewrites that scope into the *local* vocabulary, producing an *effective* scope (what the receiving org will actually permit). When these two disagree, the system has no single source of truth for "what this agent may do," and the disagreement is silent because both subsystems return success.

The invariant that must hold is: **effective scope ⊆ nominal scope, and the translation step must be a monotone restriction, never a widening.** A capability grant is only admissible if the PTG's output is a subset of the TAB-validated input under a shared scope algebra. When translation widens scope—because the two orgs use different vocabulary for the same privilege, or because a wildcard in one namespace maps to a concrete privilege in another—the instance is holding a warrant that is authentic at the bridge but unauthorized at the gateway, and vice versa.

What Was Observed

A research instance `R` under org Alpha received a delegated warrant from org Beta to invoke a tool class Beta named `data.query.readonly`. Alpha's TAB validated the Beta signature and recorded nominal scope `{data.query.readonly}`. Alpha's PTG mapped Beta's `data.query.readonly` to Alpha's internal `data.query.*` because Beta's "readonly" qualifier was not present in Alpha's taxonomy—Alpha's read-only enforcement lived in a separate `data.governance` policy layer, not in the scope string. The PTG therefore emitted effective scope `{data.query.*}`.

The translation *widened* scope: the wildcard admitted `data.query.write` and `data.query.export`, which Beta never granted. The TAB had already returned `VALID` and cached the grant; the PTG returned `TRANSLATED`. Neither component compared its output to the other's. `R` executed a `data.query.export` call that was authentic under the bridge, admitted under the gateway, and unauthorized under Beta's actual intent. The breach was detected only when Beta's auditor replayed the warrant against its own issuance log—a full day later—and found an export that no Beta-issued warrant authorized.

The trace, reduced:

  1. Beta issues warrant `W` with scope `S_beta = {data.query.readonly}`.
  2. Alpha TAB validates `W`, caches `nominal = {data.query.readonly}`, returns `VALID`.
  3. Alpha PTG translates `S_beta` via its crosswalk table, emits `effective = {data.query.*}`, returns `TRANSLATED` with no error.
  4. Grant admission check consults `effective` only. `data.query.export ∈ effective`. Admitted.
  5. `R` executes export. No component has compared `effective` against `nominal`.

The divergence is not a bug in either component in isolation. The TAB is correct: the warrant is authentic and its nominal scope is faithfully recorded. The PTG is correct: it faithfully applied the crosswalk. The failure is architectural—the admission decision was made on one of two disagreeing scopes with no intersection check.

Condition of Validity

A federated grant is admissible only when all of the following hold simultaneously:

The condition fails—and the instance must refuse—whenever translation is non-monotone, when any term is unmapped, or when nominal and effective cannot be intersected under a shared algebra. "Cannot be intersected" includes the case where the two orgs use disjoint scope vocabularies and the crosswalk is a best-effort heuristic.

Decision Boundary

The boundary is precise: **if `effective ⊄ nominal`, refuse the grant and escalate; do not execute and do not silently narrow.** The instance must not "helpfully" intersect to the smaller set and proceed, because the smaller set may still contain a term whose translation is wrong in the other direction (a term Beta meant to grant that Alpha's crosswalk dropped, producing under-privilege that will surface later as a confusing mid-task failure). The correct action is a hard refusal with a structured divergence report naming the widening terms, so a human or an inter-org policy owner can reconcile the crosswalk.

The instance must also refuse when the TAB and PTG were evaluated at different times and the anchor or crosswalk version changed between them—a stale-anchor/stale-crosswalk race that produces a scope pair that was never simultaneously valid. Version-pin both evaluations to the same federation epoch, or refuse.

Operational Effect

Under this boundary, cross-org grants become **fail-closed on divergence** rather than fail-open on the more permissive of two disagreeing validators. The operational cost is that vocabulary mismatches between orgs surface as refusals at admission rather than as unauthorized executions discovered at audit. The benefit is that the effective scope is always a subset of what the issuer intended, so a replay by the issuer's auditor can never find an admitted capability that no issued warrant covered.

The instance must treat `TRANSLATED` as an intermediate state, not a terminal one. A grant is admissible only after `VALID ∧ TRANSLATED ∧ (effective ⊆ nominal) ∧ same_epoch`. Any other combination is a refusal, logged with the divergence set.

from dataclasses import dataclass, field
from typing import FrozenSet


class FederatedScopeDivergence(RuntimeError):
    """Raised when a federated capability grant's effective scope is not a
    monotone restriction of its trust-anchor-validated nominal scope, or when
    the two validators were evaluated in different federation epochs."""


@dataclass(frozen=True)
class Grant:
    warrant_id: str
    nominal_scope: FrozenSet[str]      # from trust-anchor bridge
    effective_scope: FrozenSet[str]    # from policy-translation gateway
    tab_epoch: int
    ptg_epoch: int
    tab_valid: bool
    ptg_translated: bool


def admit_federated_grant(grant: Grant) -> FrozenSet[str]:
    if not grant.tab_valid:
        raise FederatedScopeDivergence(
            f"{grant.warrant_id}: trust-anchor bridge did not validate warrant"
        )
    if not grant.ptg_translated:
        raise FederatedScopeDivergence(
            f"{grant.warrant_id}: policy-translation gateway did not produce a scope"
        )
    if grant.tab_epoch != grant.ptg_epoch:
        raise FederatedScopeDivergence(
            f"{grant.warrant_id}: epoch skew TAB={grant.tab_epoch} "
            f"PTG={grant.ptg_epoch}; scope pair never simultaneously valid"
        )

    widening = grant.effective_scope - grant.nominal_scope
    if widening:
        # Translation widened scope: refuse, do not silently intersect.
        raise FederatedScopeDivergence(
            f"{grant.warrant_id}: non-monotone translation, effective scope "
            f"exceeds nominal by {sorted(widening)}"
        )

    # Admissible: effective scope is a subset of nominal scope, same epoch.
    return grant.effective_scope


def handle_inbound_grant(grant: Grant) -> FrozenSet[str]:
    try:
        return admit_federated_grant(grant)
    except FederatedScopeDivergence as exc:
        # Hard refusal, structured divergence report for crosswalk reconciliation.
        raise FederatedScopeDivergence(
            f"REFUSED {grant.warrant_id}: {exc}; escalate to inter-org "
            f"policy owner, do not execute"
        ) from exc