# When must an instance refuse a federated capability grant whose attestation chain re-anchors mid-handoff **Date of Record:** 2026 November 20 **Scope:** Applies to cross-org agent federations where peer agents present capability attestations signed by trust anchors, and where a task handoff may cross an anchor boundary between the issuing org and the receiving org. Does not apply to single-org deployments with one root of trust, nor to stateless request/response tool calls that carry no delegated warrant. ## Core Distinction The failure mode is not "an untrusted peer sends a forged attestation." Signature verification catches that trivially. The boundary that actually breaks is subtler: **a valid attestation chain that is internally consistent but whose root anchor changes identity between the moment a capability was delegated and the moment it is exercised.** A federation typically lets each org publish a trust anchor (a root key). Peer A delegates capability `C` to Peer B, signing a warrant chain `A_root → A_issuing → C`. Peer B then hands the task to Peer C, re-wrapping `C` under `C`'s own anchor: `C_root → C_issuing → C'`. Every link verifies. Every signature is fresh. And yet the *effective authority* of `C'` is not what `C`'s delegator intended, because the chain now trusts a root that the original delegator never consented to. The invariant that must hold is **anchor continuity**: the set of roots trusted at warrant exercise time must be a subset of the roots trusted at warrant issuance time, transitively, for the specific capability path. The distinction from ordinary PKI path validation: in standard X.509 you validate to *a* trusted root from a configured store. In agent federations you must validate to *the same* root that the delegating agent's policy named, even after the warrant has been re-signed by intermediaries. Re-anchoring is legal in the transport sense and illegal in the authority sense. ## What Was Observed In a three-org federation (Org A planner, Org B executor, Org C auditor), the following trace reproduced reliably: 1. Org A issues warrant `W_A` granting `write:ledger` to Org B, anchored at `A_root`, TTL 600s, with a policy field `anchor_constraint: [A_root]`. 2. Org B accepts the task and, per its handoff protocol, forwards a *derived* warrant `W_B` to Org C for audit logging. Org B re-signs `W_B` under its own anchor `B_root` and — because its signing library defaults to "wrap under local anchor" — includes `B_root` as the chain root, appending `A_root` only as a *cosmetic* parent hint in a non-validated extension field. 3. Org C validates `W_B`: signature chain `C_verifier → B_issuing → W_B` checks out against `B_root`, which is in Org C's trust store. Validation passes. Org C exercises `write:ledger` on behalf of the task. 4. Org A's policy engine later audits and finds a `write:ledger` operation whose authority traces to `B_root`, not `A_root`. Under A's policy, `B_root` was never authorized to *sub-delegate* `write:ledger` — only to *execute* it. The grant was exercised. The signature was valid. The authority was never actually conferred. The cosmetic `A_root` hint in the extension field is what made the chain *look* continuous in logs while being discontinuous in validation. The non-obvious part: the failure is invisible to any single verifier. Org C did exactly what its trust store told it to. Org B did what its signing library defaulted to. Only a cross-chain comparison of *issuance-time anchor set* vs *exercise-time anchor set* surfaces the violation — and that comparison requires state that no individual verifier holds. ## Condition of Validity A federated capability grant `W` is valid at exercise time if and only if all of the following hold simultaneously: - **Signature validity:** every link in `W`'s chain verifies against its declared issuer key. - **Anchor membership:** `W`'s terminal root is in the exercising verifier's trust store. - **Anchor continuity (the invariant that fails):** the terminal root of `W` is a member of the `anchor_constraint` set carried in the *original* delegating warrant, transitively through every re-wrap. The constraint set is monotone non-increasing along the chain: each re-wrap may narrow it, never widen it, and never substitute it. - **Delegation-depth and capability-subset checks:** standard, but insufficient alone. The continuity invariant is the one that re-anchoring breaks. It cannot be enforced by the exercising verifier alone because the exercising verifier may not have seen the original warrant. It requires the constraint set to be *carried inside* the signed warrant and *checked at every hop*, not appended as a hint. ## Decision Boundary The decision boundary is precise: **reject the grant the moment a re-wrap would introduce a root not already in the carried `anchor_constraint` set, even if that root is locally trusted.** Two corollaries matter operationally: - Local trust is not transitive authority. Org C trusting `B_root` for *its own* interactions does not mean `B_root` can stand in for `A_root` on a capability A delegated. Trust store membership answers "will I talk to you," not "did the original delegator authorize you to hold this." - A hint field is not a constraint. Any anchor reference that is not inside the signed, validated payload and not checked at each hop is decorative. The moment a signing library auto-populates a "parent" field without the validator enforcing it, you have a silent continuity break. The boundary is crossed (failure occurs) when: chain verifies ∧ terminal root ∈ local trust store ∧ terminal root ∉ carried constraint set. The correct action is refusal with a continuity-violation error, not a warning, because the exercised capability is unauthorized by construction. ## Operational Effect When continuity is enforced, three things change: 1. **Re-anchoring becomes an explicit re-delegation.** Org B cannot silently re-root a warrant; it must request a fresh grant from A that names `B_root` (or `C_root`) in the constraint set. This turns a silent authority substitution into a visible, auditable policy decision by the original delegator. 2. **Audit becomes local.** Because the constraint set travels inside the signed warrant, any verifier — including a post-hoc auditor replaying logs — can check continuity without reconstructing cross-org state. The cosmetic-hint failure disappears. 3. **Handoff latency increases at anchor boundaries only.** Same-anchor handoffs (the common case within an org) pay nothing; cross-anchor handoffs pay one round-trip to the original delegator. This is the correct cost: it is exactly the case where authority is at stake. The residual risk is constraint-set forgery during re-wrap. Mitigate by requiring the re-wrapping issuer to sign the *entire inherited constraint set*, not a diff, and by having the original delegator include a monotone counter so a re-wrap that drops constraints is detectable even if re-signed. ```python from dataclasses import dataclass, field from typing import FrozenSet class AnchorContinuityViolation(RuntimeError): """Raised when a re-anchored warrant grants authority the original delegator never conferred, even though every signature verifies.""" @dataclass(frozen=True) class Warrant: capability: str issuer_root: str # terminal root of THIS chain anchor_constraint: FrozenSet[str] # carried, signed, monotone depth: int signature_valid: bool = True def verify_and_exercise( warrant: Warrant, local_trust_store: FrozenSet[str], original_constraint: FrozenSet[str], ) -> None: if not warrant.signature_valid: raise AnchorContinuityViolation( f"signature invalid on {warrant.capability}" ) if warrant.issuer_root not in local_trust_store: raise AnchorContinuityViolation( f"root {warrant.issuer_root} not in local trust store" ) # The invariant that re-anchoring silently breaks: if warrant.issuer_root not in original_constraint: raise AnchorContinuityViolation( f"re-anchor detected: capability {warrant.capability!r} " f"exercised under root {warrant.issuer_root!r}, but original " f"delegator constrained anchors to {sorted(original_constraint)}" ) # Constraint set must only narrow across hops, never widen. if not warrant.anchor_constraint.issubset(original_constraint): raise AnchorContinuityViolation( f"constraint widened on re-wrap: {sorted(warrant.anchor_constraint)} " f"is not a subset of {sorted(original_constraint)}" ) # ... proceed to exercise the capability def exercise_federated_grant( warrant: Warrant, local_trust_store: FrozenSet[str], original_constraint: FrozenSet[str], ) -> None: try: verify_and_exercise(warrant, local_trust_store, original_constraint) except AnchorContinuityViolation: # Refuse; do not downgrade to a warning. The capability is # unauthorized by construction, not merely suspect. raise # Reproduces the observed trace: B re-anchors A's grant under B_root. if __name__ == "__main__": reanchored = Warrant( capability="write:ledger", issuer_root="B_root", # re-anchored anchor_constraint=frozenset({"B_root"}), # widened / substituted depth=2, signature_valid=True, ) exercise_federated_grant( warrant=reanchored, local_trust_store=frozenset({"B_root", "C_root"}), original_constraint=frozenset({"A_root"}), ) ```