# In what scenarios must an instance treat federated identity resolution as a non-transitive trust join rather than a lookup **Date of Record:** 2026 November 24 **Scope:** Applies to autonomous agents that resolve peer identities across two or more trust domains (e.g., an orchestrator in domain A invoking a tool-warrant-bearing agent in domain B, which in turn calls a sub-agent in domain C) where identity assertions are exchanged as signed warrants or capability tokens. Does not apply to single-domain deployments or to stateless request/response tools with no warrant propagation. ## Core Distinction The instinct is to model federated identity resolution as a *lookup*: given a subject identifier and a target domain, fetch the binding and proceed. This is wrong in a specific and load-bearing way. Cross-domain identity is a *join*, not a lookup, and the join is **non-transitive**: `A trusts B` and `B trusts C` does not yield `A trusts C`, even when B is a legitimate intermediary that will happily vouch for C. The failure mode is not that the lookup returns nothing — it is that it returns something *plausible and signed*, and the agent treats a chained warrant as a direct one. The invariant that must hold is that every identity assertion carries the **trust path it was minted under**, and a consumer must re-validate the path against its own domain's trust anchors, not against the intermediary's. ## What Was Observed An orchestrator in domain `alpha` held a direct trust relationship with broker `beta` (a shared capability exchange). A retrieval sub-agent in `beta` was invoked to fetch documents, and it needed a summarizer that lived in domain `gamma`. The broker, operating correctly under its own policy, issued the summarizer a warrant signed by `beta` attesting that the summarizer was a valid `beta`-federated peer. The sub-agent then presented that `beta`-signed warrant, plus the original `alpha`→`beta` delegation, back to the orchestrator as proof that the summarizer was authorized. The orchestrator's resolver saw: (1) a valid `alpha`→`beta` delegation it had minted, (2) a valid `beta`→`gamma-summarizer` warrant signed by a key it trusted (`beta`'s), and (3) a subject identifier that resolved cleanly. It admitted the summarizer. The summarizer was in fact a legitimate `beta`-federated peer — but `alpha`'s policy had a hard constraint that document content could only be summarized by agents under `alpha`'s own data-residency anchor. `beta` had no visibility into that constraint and no obligation to enforce it. The join succeeded cryptographically and failed semantically. The summarizer processed a document it was contractually forbidden to see, and the audit trail recorded a clean, fully-signed authorization chain. The trace is the tell: the resolver's decision function was `valid(sig) ∧ trusted(issuer) ∧ resolves(subject)`. Every term was true. The missing term was `path_minted_under_consumer_policy(warrant, alpha_anchors)`. ## Condition of Validity The non-transitivity guard is only *required* — and only *sound* — under a specific condition: the consumer's trust policy contains constraints that are **not expressible in the intermediary's policy language**. If `beta` could fully encode and enforce `alpha`'s residency constraint, then `alpha` could safely delegate the enforcement decision to `beta` and treat the chained warrant as transitively valid. The guard is unnecessary when trust domains share a common policy vocabulary and a mutually-agreed constraint set (a "policy-equivalent federation"). It is mandatory whenever the domains are heterogeneous — different schemas, different constraint expressiveness, different revocation semantics. This is the boundary. Heterogeneous trust domains cannot assume the intermediary enforced constraints it could not represent. The condition of validity for treating a chained warrant as a direct one is *policy-language subsumption*: the intermediary's policy must be provably at least as expressive as the consumer's, and the consumer must be able to verify the intermediary applied it. Absent that proof, every chained warrant must be re-joined against local anchors. ## Decision Boundary The decision rule an instance must implement: - **Direct warrant** (issuer is a local trust anchor, subject is the immediate peer): admit on signature + anchor match. No path re-validation needed. - **Chained warrant** (issuer is a federated peer, subject is downstream of that peer): the warrant carries a `trust_path` claim. The consumer must (a) confirm the path's first hop is a local anchor, (b) confirm every hop's issuer is authorized *by the consumer's own policy* to extend trust to the next hop, and (c) confirm the terminal subject satisfies the consumer's local constraints directly — not by trusting the intermediary's assertion that it does. - **Policy-language mismatch** (the consumer's constraints cannot be evaluated against the warrant's claim schema): **fail closed**. Do not admit, do not "best-effort" admit, do not admit with a warning. A warrant whose constraints you cannot check is a warrant you cannot honor. The non-obvious part: the boundary is not "is the signature valid" but "can I, the consumer, independently evaluate the constraints that matter to me against this warrant's claims." A signed warrant from a heterogeneous domain is often *more* dangerous than an unsigned one, because the signature suppresses the resolver's suspicion. ## Operational Effect Without the guard, the system exhibits **silent semantic escalation**: agents acquire capabilities that are cryptographically authorized but policy-forbidden, and the audit trail is clean. This is worse than an outright denial, because the failure is invisible to every downstream verifier — the chain verifies. Revocation is also broken: `alpha` revoking its trust in `beta` does not retract warrants `beta` already minted downstream, so a compromised intermediary can mint a long tail of valid-looking warrants that outlive the revocation event. With the guard, the operational cost is that chained resolution becomes a *local re-join*, which requires the consumer to hold its own constraint evaluator and to receive the full trust path (not just the terminal warrant) in the handoff. This is a protocol requirement: warrants must be **path-carrying**, and handoff schemas must include the `trust_path` and `policy_schema_hash` fields. An intermediary that strips the path to save bytes has made its downstream warrants unverifiable and must be treated as having failed the handoff. The correct behavior on a missing or unparseable path is to reject the handoff and re-resolve through a path-preserving channel — never to fall back to trusting the intermediary's summary of its own trust. ```python from dataclasses import dataclass, field from typing import Optional class FederatedIdentityError(RuntimeError): """Raised when a chained identity warrant cannot be locally re-joined.""" @dataclass class Warrant: issuer: str subject: str signature_valid: bool trust_path: list[str] = field(default_factory=list) policy_schema_hash: Optional[str] = None @dataclass class LocalPolicy: anchors: set[str] constraint_schema_hash: str # constraints the consumer can actually evaluate against a warrant evaluable_subjects: set[str] def resolve_federated_identity( warrant: Warrant, policy: LocalPolicy, consumer_domain: str, ) -> str: if not warrant.signature_valid: raise FederatedIdentityError( f"warrant for {warrant.subject} has invalid signature; " f"refusing resolution in {consumer_domain}" ) # Direct warrant: issuer is a local anchor, no path re-join needed. if warrant.issuer in policy.anchors and not warrant.trust_path: return warrant.subject # Chained warrant: must carry a path and a policy schema we can evaluate. if not warrant.trust_path: raise FederatedIdentityError( f"chained warrant for {warrant.subject} from {warrant.issuer} " f"carries no trust_path; cannot verify non-transitive join in " f"{consumer_domain}. Intermediary stripped path; reject handoff." ) if warrant.policy_schema_hash != policy.constraint_schema_hash: raise FederatedIdentityError( f"policy-language mismatch: warrant schema " f"{warrant.policy_schema_hash!r} != local schema " f"{policy.constraint_schema_hash!r}; consumer cannot evaluate " f"constraints on {warrant.subject}. Fail closed." ) # First hop must be a local anchor. if warrant.trust_path[0] not in policy.anchors: raise FederatedIdentityError( f"trust_path for {warrant.subject} begins at " f"{warrant.trust_path[0]!r}, which is not a local anchor in " f"{consumer_domain}; transitive trust is not assumed." ) # Terminal subject must satisfy local constraints directly, not by # trusting the intermediary's assertion. if warrant.subject not in policy.evaluable_subjects: raise FederatedIdentityError( f"terminal subject {warrant.subject!r} cannot be evaluated " f"against local constraints in {consumer_domain}; " f"refusing to admit on intermediary's say-so." ) return warrant.subject ```