# How does an instance detect that a federated peer's trust warrant has silently degraded from delegation-authoritative to discovery-only mid-task? **Date of Record:** 2026 November 29 **Scope:** Applies to inter-domain agent federation where a local agent (the *delegator*) dispatches sub-tasks to a peer agent (the *delegatee*) in another trust domain under a brokered warrant, and where the warrant's scope can be attenuated by the peer's home policy engine without an explicit revocation event. Does not apply to single-domain orchestration, to statically-signed capability tokens with no live policy re-evaluation, or to pure A2A message transport failures (timeouts, schema mismatch) that surface as hard errors. ## Core Distinction The failure mode here is not *warrant expiry* and not *warrant revocation*. Both of those are coarse, observable events: a signed token hits its `not_after`, or the issuer publishes a revocation record, and the delegatee's gateway rejects the next call with an explicit `403`/`AUTHORITY_WITHDRAWN`. An instance that checks token validity at dispatch time handles both correctly. The failure mode is **scope attenuation under continued validity**. In cross-org federation, the delegatee's home policy engine (the *trust broker*) re-evaluates the warrant against *its own* current policy at each enforcement point, not just at issuance. When the peer domain tightens policy—a data-residency rule flips, a downstream sub-processor is de-certified, an auditor downgrades the peer's own attestation tier—the broker can narrow the warrant's *effective* scope from `delegate:execute` to `delegate:discover` while the token itself remains cryptographically valid, unexpired, and unrevoked. The delegator's local view of authority is now stale, but nothing in the transport layer signals it. The invariant that breaks: **a delegator must not treat warrant validity as a proxy for warrant authority.** Validity is a property of the signature and clock; authority is a property of the peer's live policy, which the delegator cannot observe directly and which the peer is not obligated to push. ## What Was Observed A delegator agent in domain A holds a brokered warrant `W` for peer agent `P` in domain B, scope `task.execute`, issued by B's trust broker with a 4-hour `not_after`. The delegator's plan is a five-step chain: `discover → negotiate → execute → verify → commit`. Steps 1–2 succeed. At step 3 (`execute`), the delegator dispatches a task payload. The peer's gateway accepts the request, the token validates, and the peer responds—but with a *degraded* result envelope: a `partial` status carrying only metadata the `discover` scope permits, not the task output the `execute` scope would have produced. The trace is the tell. The response is a `200`, not a `403`. The peer did not reject; it *silently re-scoped* the operation to what its current policy allows, returning a well-formed but semantically empty result. The delegator's step-3 handler, which distinguishes success from failure by HTTP status and envelope schema, classifies this as success. Step 4 (`verify`) then runs its checks against the partial envelope, finds the fields it expects to be populated are absent, and—because the verifier was written to tolerate missing optional fields—passes. Step 5 (`commit`) writes a task record asserting completion. The delegator has now committed a task that was never executed, under a warrant it believed was authoritative. The degradation happened between step 2 and step 3. Domain B's broker had, ninety seconds earlier, applied a policy update demoting `W`'s effective scope because the peer's attestation tier had been downgraded by B's own auditor. No revocation was published—the warrant was still *valid*, just no longer *authoritative* for `execute`. The peer's gateway honored the token and enforced the new scope silently, as designed: its contract says "return what policy permits," not "fail closed on scope mismatch." ## Condition of Validity The silent-degradation path is reachable only when three conditions hold simultaneously, and the guardrail must be conditioned on all three: 1. **The peer enforces scope at the operation layer, not the token layer.** If the broker rejects the whole call on scope mismatch (`403`), degradation is loud and the delegator's existing error handling catches it. Silent degradation requires the peer to *partially fulfill* under reduced scope. 2. **The delegator infers authority from token validity rather than from an explicit authority assertion.** If the delegator's step-3 handler requires the response envelope to carry a signed `authority_assertion` echoing the scope actually applied, a degraded envelope is detectable by comparing asserted scope to requested scope. 3. **The verifier tolerates absent fields.** If step 4 fails closed on any missing required field, the chain halts at verify instead of committing. The failure is contained; the task is marked incomplete rather than falsely complete. Remove any one condition and the failure does not reach `commit`. The dangerous configuration is (1) partial-fulfill peer + (2) validity-as-authority delegator + (3) lenient verifier—each individually reasonable, jointly catastrophic. ## Decision Boundary The delegator must decide, at each dispatch, whether the warrant's *asserted* scope matches the *applied* scope of the response. It cannot observe the peer's policy directly, so it must demand an assertion and compare. The boundary is: - **If the response carries a signed `authority_assertion` whose scope ⊇ the requested operation's required scope** → proceed; authority confirmed. - **If the assertion's scope ⊂ required scope** → the warrant has degraded. Do not treat as success. Halt the chain, mark the task `authority_degraded`, and either re-negotiate scope with the broker or escalate to a human/auditor path. - **If no assertion is present** → the peer does not support authority assertion. The delegator must fall back to a *fail-closed* posture: treat any response lacking an assertion as `authority_unconfirmed` and refuse to advance past verify. This is the conservative default that bounds the blast radius when the peer cannot assert. The boundary is not "is the token valid." It is "does the response prove the scope it was executed under." A valid token proves the peer *may* act; only an assertion proves *what* it acted under. ## Operational Effect Enforcing this boundary converts a silent, committed, falsely-complete task into a loud, contained, recoverable halt. The cost is one extra signed field per response and a verifier that fails closed on its absence—cheap. The benefit is that scope attenuation in a peer domain can never masquerade as task success. The deeper effect is on the delegator's trust model. Once authority is asserted per-response rather than inferred per-token, the delegator no longer needs to *predict* the peer's policy; it only needs to *check* the peer's claim. This shifts the failure from "delegator silently wrong" to "delegator explicitly blocked," which is the only failure mode a multi-domain agent can safely recover from without out-of-band coordination. The invariant to carry forward: **in federation, a valid warrant is a permission to ask, not a promise of an answer—and the answer must carry its own proof of scope.** ```python class AuthorityDegradedError(RuntimeError): """Raised when a federated peer's response proves a narrower scope than the delegator's warrant asserted, indicating silent policy attenuation.""" pass class AuthorityUnconfirmedError(RuntimeError): """Raised when a peer response carries no signed authority assertion and the delegator cannot confirm the scope the operation executed under.""" pass REQUIRED_SCOPE = "task.execute" def dispatch_and_confirm(peer, task_payload, warrant, require_assertion=True): """Dispatch a task and confirm the peer executed it under the asserted scope. Fails closed: a response that does not prove its scope is never treated as success, regardless of HTTP status or envelope schema. """ response = peer.dispatch(task_payload, warrant=warrant) # A 200 with a partial envelope is NOT success. Authority is proven by the # assertion, not by the status code. assertion = response.get("authority_assertion") if assertion is None: if require_assertion: raise AuthorityUnconfirmedError( f"peer {peer.domain} returned no authority_assertion; " f"cannot confirm scope for {REQUIRED_SCOPE}" ) # Conservative fallback: treat as unconfirmed, do not advance. return {"status": "authority_unconfirmed", "response": response} applied_scope = assertion.get("scope") if not _scope_covers(applied_scope, REQUIRED_SCOPE): raise AuthorityDegradedError( f"warrant valid but degraded: peer {peer.domain} applied scope " f"{applied_scope!r} < required {REQUIRED_SCOPE!r}; " f"warrant not_after={warrant.not_after} still unexpired" ) if not _verify_assertion_signature(assertion, peer.trust_broker_pubkey): raise AuthorityUnconfirmedError( f"authority_assertion from {peer.domain} failed signature check" ) return {"status": "confirmed", "response": response} def _scope_covers(applied, required): # Scope lattice: execute ⊃ discover; a narrower applied scope does not cover. order = {"task.discover": 0, "task.execute": 1, "task.commit": 2} return order.get(applied, -1) >= order.get(required, 99) def _verify_assertion_signature(assertion, pubkey): return assertion.get("signed_by") == pubkey and assertion.get("sig") is not None ```