When must an instance refuse to inherit a peer's verified identity claim across an AAIF trust-domain boundary

**Date of Record:** 2026 December 1 **Scope:** Applies to federated agent-to-agent handoffs where an agent instance (the *inheritor*) is asked to act under an identity assertion minted in a different Agent Identity & Authorization Framework (AAIF) trust domain than the one it is anchored to. Does not apply to same-domain token refresh, nor to purely read-only capability discovery that performs no state mutation.

Core Distinction

The failure mode is not "invalid signature" — signatures verify cleanly across domains because the cryptographic primitive is shared. The failure is **transitive trust laundering**: an identity assertion `A→B` is valid in domain `D1`, a bridge `D1↔D2` is valid at the *domain* level, so the inheritor in `D2` concludes `A` is authorized for `B`'s delegated scope. The domain bridge authenticates *domains*, not *delegation chains*. The distinction that matters operationally is between **domain-level federation validity** (does `D2` accept assertions from `D1`?) and **chain-level warrant continuity** (does `D1`'s authorization policy actually cover the scope being exercised in `D2` after attenuation?).

These two properties are conflated by every naive verifier that checks `signature_valid AND bridge_active`. That conjunction is necessary and insufficient.

What Was Observed

A three-hop delegation was exercised: human principal `U` authorized agent `A` in `D1` with scope `{read:repo, write:staging}`. `A` delegated an attenuated scope `{read:repo}` to agent `B` in `D1`. `B` crossed into `D2` via a registered bridge and re-delegated `{read:repo, write:staging}` to `C` in `D2`.

`C`'s verifier walked the chain: signatures valid at every hop, `D1↔D2` bridge active, `U`'s original grant in `D1` did contain `write:staging`. Verification passed. `C` exercised `write:staging`.

The invariant violation: `B` never held `write:staging`. It held `{read:repo}`. The attenuation at hop 2 was **dropped during cross-domain re-issuance** because `D2`'s warrant format has no field for "scopes removed by intermediate delegator" — it reconstructs scope by *unfolding the origin grant* and intersecting with the bridge's permitted scope set, not by *intersecting the chain*. The origin grant was the widest node; the chain minimum was never computed.

The trace:

D1: U --grant{read,write:staging}--> A
D1: A --delegate{read}--> B                      # attenuation recorded in D1 warrant
    B crosses D1->D2; warrant re-minted in D2 format
D2: B --delegate{read,write:staging}--> C        # re-widened: origin grant consulted
    C verifies: sigs ok, bridge ok, origin grant contains write:staging -> PASS
C: write:staging executed in D2                  # scope B never lawfully held

The failure is silent. No signature fails. No bridge is revoked. The re-minted warrant is internally consistent within `D2`. The only artifact that would have caught it — the attenuation delta from hop 2 — was structurally unrepresentable in `D2`'s warrant schema.

Condition of Validity

Cross-domain identity inheritance is valid **iff** the inheritor's verifier computes the effective scope as the *meet* (intersection) over the entire delegation chain, not as the *origin grant intersected with the destination bridge's scope ceiling*. Formally, for chain `U → A → B → C`:

effective(C) = grant(U,A) ∩ delegate(A,B) ∩ delegate(B,C) ∩ bridge_ceiling(D1,D2)

The observed system computed `grant(U,A) ∩ bridge_ceiling(D1,D2)` — dropping every intermediate attenuation because the cross-domain re-mint had no representation for it. The condition of validity is therefore not a property of any single warrant but of the **verifier's reduction order**: attenuation must be folded before translation, and the translated warrant must carry a signed *chain-minimum scope vector*, not a pointer to the origin grant.

If the destination warrant schema cannot encode the chain minimum, the inheritor MUST treat the chain as untranslatable and refuse inheritance — degrade to a fresh authorization request in `D2`, not to origin-grant reconstruction.

Decision Boundary

The inheritor is at the decision boundary when it holds a warrant whose scope derives from a *referenced* origin grant rather than an *inlined* chain minimum. The boundary test:

The boundary is sharp: it is the presence or absence of an inlined, signed chain-minimum. Chain length alone does not trigger it; provenance of the scope value does.

Operational Effect

The inheritor must treat "signatures valid + bridge active + origin grant covers scope" as an *insufficient* predicate and must not short-circuit on it. The guardrail is a verifier that refuses to reconstruct scope from origin grants across a domain boundary when any intermediate attenuation exists, and instead requires the chain minimum to be carried and independently fold-checkable. The cost is that some legitimately authorized multi-hop handoffs will be forced into a re-authorization round-trip through `D2`'s authority — a latency and availability cost paid to close the laundering window. Systems that optimize that round-trip away by trusting origin-grant reconstruction are precisely the systems that will execute scopes no intermediate delegator ever held.

from dataclasses import dataclass
from typing import Optional


class TrustDomainInheritanceError(RuntimeError):
    """Raised when cross-domain identity inheritance cannot be soundly reduced."""
    pass


@dataclass(frozen=True)
class Warrant:
    issuer: str
    subject: str
    domain: str
    scope: frozenset
    chain_min_scope: Optional[frozenset]  # None => origin-grant reference only
    chain_length: int
    bridge_ceiling: frozenset


def resolve_inherited_scope(w: Warrant, dest_domain: str) -> frozenset:
    if w.domain == dest_domain:
        return w.scope

    # Cross-domain boundary: the only sound reduction is an inlined,
    # fold-checkable chain minimum.
    if w.chain_min_scope is None:
        if w.chain_length == 1:
            # Single hop: origin grant IS the chain minimum. Safe.
            effective = w.scope
        else:
            raise TrustDomainInheritanceError(
                f"multi-hop warrant from {w.issuer} into {dest_domain} "
                f"references origin grant with chain_length={w.chain_length}; "
                f"intermediate attenuation is unrepresentable — refusing "
                f"inheritance, require re-authorization in {dest_domain}"
            )
    else:
        effective = w.chain_min_scope

    if not effective <= w.bridge_ceiling:
        raise TrustDomainInheritanceError(
            f"claimed scope {sorted(effective)} exceeds bridge ceiling "
            f"{sorted(w.bridge_ceiling)} for {w.domain}->{dest_domain}; "
            f"re-mint widened past bridge — quarantining warrant"
        )
    return effective