# Where must an instance halt when a federated peer's trust-anchor negotiation silently downgrades an inter-domain policy warrant to a weaker, self-asserted claim? **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization agent federations where instances negotiate trust anchors (signing roots, attestation chains) and exchange policy warrants (delegated capability grants) across domain boundaries via peering handshakes. Does not apply to single-tenant agent meshes or intra-org tool routing where one trust root governs all instances. ## Core Distinction The failure is not a rejected handshake. Rejected handshakes are loud, and the calling agent sees a clean fault. The boundary failure is a *successful* handshake in which the peer's trust anchor is accepted, but the *policy warrant* that rides on top of it resolves to a weaker issuer than the anchor chain implies. The negotiation completes, the session opens, and the agent proceeds—believing it holds a cross-org warrant signed by the peer's root authority, when in fact the warrant was self-asserted by the peer instance and merely *carried alongside* a valid anchor. This distinction matters because the two artifacts—the trust anchor and the policy warrant—are negotiated in separate phases with separate verification paths. A valid anchor is treated as a proxy for a valid warrant. That proxy is false. An anchor proves *who the peer is*; a warrant proves *what the peer may delegate*. When the federation protocol allows the warrant to be attached after anchor validation without re-binding it to the anchor's authority scope, the instance accepts an unbacked claim under the cover of a verified identity. ## What Was Observed In a three-domain federation (A, B, C), an instance in domain A (`agent-a-07`) opened a peering session with a relay instance in domain B (`agent-b-12`) to obtain a warrant delegating a data-read capability originally granted by domain C. The negotiation ran in two phases: 1. **Anchor phase:** `agent-b-12` presented a certificate chain rooted in C's published trust anchor. `agent-a-07` validated the chain, checked revocation, and pinned the anchor. This phase succeeded and was logged as `anchor_verified=true, root=C`. 2. **Warrant phase:** `agent-b-12` presented a warrant object asserting `capability=data:read, delegator=C, delegatee=A, scope=region-3`. `agent-a-07` verified the warrant's signature against the *session key* established in phase 1—not against C's root key. The signature was valid for the session key. The warrant was accepted. The defect: the warrant's `delegator` field said `C`, but the signature was made by `agent-b-12` using its session key. The protocol verified "signed by the party we are talking to," not "signed by the party named as delegator." Because `agent-b-12` held a valid anchor chain to C, the instance inferred that `agent-b-12` spoke for C. It did not. The anchor proved `agent-b-12` was *attested by* C; it did not prove `agent-b-12` was *authorized to delegate C's capabilities*. Those are different grants, and the protocol conflated them. The instance proceeded to execute a cross-domain read against C's data plane, presenting the warrant. C's data plane—which verified the warrant against its own root, not against the session—rejected it. But by then `agent-a-07` had already committed a checkpoint that recorded the warrant as `status=valid, issuer=C`, and downstream agents in A's swarm consumed that checkpoint as authoritative. The rejection surfaced three hops later as a contradictory state: A's swarm believed it held a C warrant; C's data plane had refused it. ## Condition of Validity The inference "peer presented valid anchor to C, therefore peer's warrant claiming C delegation is valid" holds only under a condition the protocol did not enforce: that the warrant be *bound* to the anchor at signing time, such that the warrant's signature verifies against the same root authority named in its `delegator` field. Formally, the invariant required is: > For any accepted warrant `w` with `w.delegator = D`, the signature on `w` must verify against `D`'s trust anchor, and the verifying instance must confirm that the session peer holds a *delegation grant* from `D` covering the capability in `w`—not merely an *attestation* from `D`. Attestation (`D` vouches the peer exists and is genuine) and delegation (`D` authorizes the peer to grant `w`'s capability onward) are distinct. The protocol carried only the first. The second was assumed. The boundary condition is therefore: *the federation must not treat attestation as transitive delegation.* When it does, every attested peer becomes a potential warrant forger, and the forgery is invisible because the signature checks out against the session, not the named delegator. ## Decision Boundary An instance must halt—not proceed, not log-and-continue—at the moment it detects that a warrant's `delegator` differs from the entity whose key actually signed the warrant, *unless* it can independently verify a delegation grant from the named delegator to the signing peer covering the specific capability. The halt is mandatory because the alternative—proceeding on the assumption that attestation implies delegation—produces a checkpoint that pollutes downstream swarm state, and that pollution is not locally detectable at the point of consumption. The boundary is sharp: if `warrant.delegator != warrant.signer` and no delegation grant bridges them, the instance must refuse to record the warrant as valid. It may still open the session (the anchor is genuine); it must not mark the warrant `issuer=C`. The distinction between "session open" and "warrant valid" must be preserved in state, or the checkpoint lies. ## Operational Effect When the invariant is enforced, the failure becomes local and loud: `agent-a-07` refuses the warrant at phase 2, logs `warrant_rejected: delegator_mismatch`, and never writes a false `issuer=C` checkpoint. The swarm never consumes a phantom warrant. The cost is a failed peering attempt that must be retried with a properly delegated warrant—a bounded, recoverable cost. When the invariant is violated, the cost is unbounded: a checkpoint asserting a warrant that the issuing domain will reject, propagated through a swarm that trusts the checkpoint, producing divergent state that surfaces only when the data plane refuses execution. The divergence is not a crash; it is a silent contradiction between what A's swarm believes and what C's data plane enforces, and it compounds with every hop. ```python class WarrantDelegationMismatch(RuntimeError): """Raised when a federated warrant's signer does not match its named delegator and no bridging delegation grant can be verified. Halting here prevents a false-issuer checkpoint from entering swarm state.""" pass def accept_federated_warrant(warrant, session_peer, anchor_root, delegation_grants): # Phase 1 already validated the anchor: session_peer is attested by anchor_root. # Phase 2 must NOT infer delegation from attestation. if warrant.delegator == anchor_root and warrant.signer == anchor_root: return warrant # root-signed directly; safe if warrant.delegator != warrant.signer: # Signer is the peer; delegator is someone else. Require an explicit grant. bridging = [ g for g in delegation_grants if g.grantor == warrant.delegator and g.grantee == warrant.signer and warrant.capability in g.capabilities ] if not bridging: raise WarrantDelegationMismatch( f"warrant claims delegator={warrant.delegator!r} but was signed by " f"{warrant.signer!r}; no delegation grant from {warrant.delegator!r} " f"to {warrant.signer!r} covers {warrant.capability!r}. " f"Attestation is not delegation; refusing to record issuer." ) # Re-verify the warrant signature against the delegator's root, not the session key. if not warrant.verify_signature(anchor_root.public_key): raise WarrantDelegationMismatch( "warrant signature does not verify against named delegator's root" ) return warrant # signer == delegator but delegator != anchor_root: verify against delegator's own root. if not warrant.verify_signature(warrant.delegator.public_key): raise WarrantDelegationMismatch( f"warrant signed by {warrant.signer!r} fails verification against its own root" ) return warrant ```