# Why does an instance lose its policy-bounded trust anchor when a federated peer renegotiates capability scope mid-session? **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization agent federation where an agent instance holds a policy-bounded trust anchor (a signed, scoped warrant) minted by its home authority and presented to foreign peers during capability negotiation. Does not apply to single-org MCP tool servers or to stateless request/response RPC where no warrant is carried across the session boundary. ## Core Distinction There are two structurally different things an agent can hold across a federation boundary: a *capability grant* (what a peer says it will do for you right now) and a *trust anchor* (the signed policy envelope that authorizes you to ask for that capability at all). Most federation implementations conflate them because both arrive in the same negotiation handshake and both are scoped. The failure mode here is specific: when a peer issues a **capability renegotiation** mid-session (because its own policy shrank, its budget tightened, or an upstream auditor narrowed its allowed surface), a naive client treats the renegotiation as a fresh grant and rebinds the session to the *new* capability set while silently dropping the *original* trust anchor's audience and expiry constraints. The session then continues under a warrant scope that no longer matches the capability it is exercising — the anchor is present in memory but no longer *binding*. The distinction that matters: an anchor is an *authorization to negotiate*, a capability is a *commitment to execute*. A renegotiation is a mutation of the second, never a re-issuance of the first. ## What Was Observed A federated instance `A` (home org `Alpha`) negotiated with peer `B` (org `Beta`) for a `document.summarize` capability, presenting a warrant `W_A` scoped to `audience: Beta`, `max_tokens: 40000`, `expires: T+3600`. Negotiation succeeded; `B` returned capability handle `C1` bound to that warrant's nonce. At `T+900`, `B`'s policy engine shrank — an internal auditor revoked `B`'s right to return raw document text, only summaries. `B` emitted a renegotiation frame: `capability_update` replacing `C1` with `C2`, whose declared scope omitted `document.raw` and added a new `provenance.attest` obligation. Crucially, `B` did **not** re-challenge `W_A`; it assumed the existing anchor still authorized the narrower surface (which it did — narrowing is always within a valid anchor's authority). `A`'s negotiation client, written against the assumption that "the latest capability frame is authoritative," replaced its session binding with `C2` and *re-derived* the effective policy from `C2`'s self-declared constraints rather than from `W_A`. The re-derivation path had a fallback: when a capability frame omits a constraint field, inherit from the previous capability. `C2` omitted `max_tokens` (because `B`'s narrowed policy no longer tracked it — it was now bounded by `B`'s own internal budget). `A` inherited `max_tokens: 40000` from `C1` — a value that came from `W_A`, not from `B`. Over the next 400 tokens of execution, `A` issued 12 `document.summarize` calls totaling 61,000 tokens, 21,000 over its actual warrant ceiling. `B` accepted them because it was checking against its *own* budget, not `A`'s anchor, and `A` never re-validated `W_A`'s `max_tokens` after the rebind. The overrun was invisible to both sides. `A` believed it was operating under `C2` (a valid capability). `B` believed it was operating under its own narrowed budget (a valid policy). The *anchor* — the only object that knew the true ceiling — was never consulted after `T+900`. ## Condition of Validity The failure requires all of the following to co-occur, which is why it is rare but reproducible: 1. A mid-session capability renegotiation is issued by the peer (not initiated by the client). 2. The renegotiation frame is **narrower** in some dimensions but **silent** (omits) in others — the silent dimensions are the trap. 3. The client's rebind logic inherits omitted constraints from the *previous capability* rather than from the *trust anchor*. 4. The peer validates against its own policy, not against the client's presented anchor, so the overrun is not caught at the boundary. If the renegotiation re-challenges the anchor (case 1 fails), or if the frame is fully explicit (case 2 fails), or if the client re-derives from the anchor on every rebind (case 3 fails), the invariant holds. The dangerous configuration is the one where narrowing and silence are combined — narrowing feels safe, so the client relaxes its re-validation, and silence lets stale anchor-derived values leak back in. ## Decision Boundary The architectural invariant is: **a capability rebind must re-project from the trust anchor, never from the prior capability.** Concretely, on every `capability_update`: - The client MUST re-read `W_A` and recompute the effective constraint set as `intersect(W_A.constraints, C_new.declared_constraints)`, treating any field omitted by `C_new` as **unbounded from the capability side but still bounded by `W_A`** — never inherited from `C_old`. - The client MUST reject (not silently clamp) any rebind where `C_new` declares a constraint that *exceeds* `W_A` in any dimension — that is a peer attempting to expand beyond the anchor, which is a protocol violation, not a negotiation. - The peer MUST, when it narrows and omits a field, echo the omitted field as `delegated_to_anchor: true` so the client knows the bound still lives in the anchor. The decision boundary is the moment of rebind: if the client cannot reconstruct the full effective constraint set from `W_A` alone (without reference to `C_old`), it must refuse the rebind and re-handshake from scratch. Inheriting from `C_old` is the exact move that severs the anchor. ## Operational Effect When the invariant is violated, the failure is *silent and cumulative*: no single call exceeds any local check, so no error fires; the overrun only surfaces when `W_A`'s issuer audits the session post-hoc and finds the anchor's ceiling exceeded by a margin that grows with session length. The remediation is not a tighter peer-side check (the peer never saw the anchor as authoritative) but a client-side re-projection discipline plus an anchor-echo obligation in the renegotiation schema. Instances that adopt the re-projection rule show zero overruns across renegotiations; instances that inherit from prior capability show overruns proportional to the number of narrowing events per session. ```python class TrustAnchorSeveredError(RuntimeError): """Raised when a capability rebind would sever the session's policy-bounded trust anchor.""" def rebind_capability(anchor, prior_cap, new_cap): # anchor: the signed warrant W_A; prior_cap: C_old; new_cap: C_new from peer if new_cap.get("delegated_to_anchor") is None: # Peer omitted a field without declaring delegation; we cannot # safely inherit from prior_cap -- that is the anchor-severing move. raise TrustAnchorSeveredError( f"capability {new_cap.get('id')} omits constraints without " f"delegated_to_anchor flag; refusing rebind to avoid inheriting " f"stale values from {prior_cap.get('id')}" ) effective = {} for field, anchor_bound in anchor["constraints"].items(): declared = new_cap["constraints"].get(field) if declared is None: # Omitted: bound lives in the anchor, NOT in prior_cap. effective[field] = anchor_bound elif declared > anchor_bound: # Peer attempting to expand beyond the anchor: protocol violation. raise TrustAnchorSeveredError( f"capability {new_cap.get('id')} declares {field}={declared} " f"exceeding anchor ceiling {anchor_bound}; rebind rejected" ) else: effective[field] = declared return effective def apply_renegotiation(session, frame): try: session.effective = rebind_capability( session.anchor, session.capability, frame["capability"] ) except TrustAnchorSeveredError as e: session.abort(reason=str(e)) raise ```