# Under what conditions must an instance re-negotiate a peer's capability warrant when a federated A2A handoff crosses an org trust boundary mid-task? **Date of Record:** 2026 November 24 **Scope:** Applies to autonomous agent instances that receive a task from an originating org (Org A), delegate or hand off to a peer agent in a foreign org (Org B) via an A2A-style protocol carrying a signed capability warrant, and then continue execution after the peer returns. Does not apply to single-org MCP tool calls where the caller and callee share a trust domain, nor to stateless request/response RPC with no delegated authority. ## Core Distinction The failure is not "the peer is untrusted." It is that **the warrant a peer presents at handoff time is a snapshot of authority, but the task's authority requirements evolve as the task advances, and the two clocks drift out of sync at the org boundary.** A capability warrant (`warrant_B`) is minted by Org B's issuer describing what `agent_B` may do *on behalf of* `agent_A`'s delegated intent, scoped to a set of capabilities, a delegation depth, and an expiry. The subtle part: the originating instance `agent_A` typically validates the warrant **once, at handoff**, then treats the returned result as trustworthy for the remainder of the task. But a multi-step task that crosses back and forth means `agent_A` keeps acting on results produced under a warrant whose scope no longer matches the sub-task now being executed. Re-negotiation is required whenever the *current* sub-task's required-capability set is not a subset of the *presented* warrant's granted set — and this must be checked at every re-entry, not just the first. The invariant that must hold: **for every action `agent_A` takes on a value returned by `agent_B`, there exists a live, unexpired, un-revoked warrant whose granted capability set is a superset of the capability the returned value is being used to justify.** Violating it is a confused-deputy escalation across an org boundary, and it is silent because the bytes are well-formed. ## What Was Observed A federated procurement flow: `agent_A` (Org A) is asked to "reconcile invoice set and issue payment authorization." Step 1 hands a read-only reconciliation sub-task to `agent_B` (Org B) under `warrant_B` scoped to `{invoice.read, ledger.read}`, expiry T+300s. `agent_B` returns a reconciled total and a `reconciliation_proof`. `agent_A` validates `warrant_B` at handoff — signature valid, scope `{invoice.read, ledger.read}`, expiry OK — and accepts the result. The task then advances: `agent_A` must now *issue payment authorization*, a capability it holds locally (`payment.authorize`) but which requires the reconciliation to be attested by the party that produced it. `agent_A` re-invokes `agent_B` to "attest the reconciliation for authorization." `agent_B` signs an attestation. `agent_A` proceeds to authorize payment. The failure: the attestation was produced by `agent_B` under a **re-issued** warrant. Between the first and second call, Org B's policy engine had narrowed `warrant_B` — the re-issued warrant dropped `ledger.read` and added a `delegation_depth=0` constraint after a peer-revocation event. `agent_A`'s validation cache still held the *first* warrant object keyed by `agent_B`'s instance ID and did not re-fetch. The attestation was accepted against a stale warrant. The resulting payment authorization was justified by a reconciliation `agent_B` could no longer legally attest to, because the warrant under which the original reconciliation was produced had been superseded. The trace, concretely: 1. T+0: `agent_A` → `agent_B`, handoff with `warrant_B@v1` `{invoice.read, ledger.read}`, exp T+300. 2. T+0: `agent_A` validates `warrant_B@v1`, caches it under key `(agent_B.id, "warrant")`. 3. T+40: `agent_B` produces reconciliation; returns `(total, proof, warrant_ref=v1)`. 4. T+180: Org B revocation event → `warrant_B@v2` minted `{invoice.read}`, `delegation_depth=0`, `supersedes=v1`. `v1` is now revoked at issuer. 5. T+190: `agent_A` → `agent_B`, "attest for authorization." 6. T+190: `agent_A` **cache hit** on `(agent_B.id, "warrant")` → validates against `v1`. Passes (cache never re-checks issuer revocation). 7. T+200: `agent_B` signs attestation under `v2` (it always uses current). Returns `warrant_ref=v2`. 8. T+200: `agent_A` accepts attestation; does **not** diff `warrant_ref` against cached warrant. Payment authorized. 9. Post-hoc audit: authorization justified by a reconciliation whose producing warrant (`v1`) was revoked 20s before the attestation was requested; the attestation (`v2`) cannot cover a reconciliation produced under `v1` because `v2` lacks `ledger.read`. The reconciliation and the attestation are now *cross-warrant*: the thing being attested was produced under authority the attesting warrant does not include. `agent_A` never noticed because it validated the *identity* of the peer, not the *continuity* of the warrant across the two calls. ## Condition of Validity Re-negotiation (a fresh warrant fetch + scope diff + issuer revocation check) is mandatory, and only sufficient, when **all** of the following hold: - The peer returns a `warrant_ref` that differs from the warrant used to justify the sub-task that produced the value now being consumed. This is the primary trigger and must be checked on every return, not only the first. - The current sub-task's required-capability set is not a subset of the cached warrant's granted set. Subset check, not equality — a narrowed warrant that still covers the need is fine; a narrowed warrant that drops a needed capability is not. - The issuer's revocation state is queried at use time (or within a bounded staleness window shorter than the task's inter-call gap). Cached validation is only valid if the cache TTL is strictly less than the minimum inter-call gap observed for that peer, which is generally unknowable — so default to re-fetch on `warrant_ref` mismatch, and re-fetch on expiry for same-ref re-use. - The delegation depth of the current warrant is `>=` the depth required to chain the original sub-task's authority forward. A `delegation_depth=0` warrant cannot retroactively cover a value produced under a deeper chain. It is **not** valid to re-negotiate by simply re-validating the cached warrant against its own signature. Signature validity is necessary and insufficient; the failure above passes signature validation trivially. ## Decision Boundary The boundary is between *identity continuity* (same peer instance, same issuer) and *authority continuity* (same warrant lineage, unbroken, un-narrowed across the value's production and consumption). Systems that conflate the two — caching by peer identity — will accept cross-warrant attestations. Systems that key the cache by `(peer.id, warrant_ref, issuer_revocation_epoch)` and re-fetch on any `warrant_ref` change or epoch advance will reject them. Concretely, the decision rule: - If `returned.warrant_ref == cached.warrant_ref` **and** now < cached.expiry **and** issuer revocation epoch unchanged → reuse, no re-fetch. - If `returned.warrant_ref != cached.warrant_ref` → **mandatory re-fetch and scope diff**; if the new warrant's granted set does not cover the capability the returned value is being used to justify, the value is **quarantined** (not discarded — it may still be usable for a narrower downstream purpose), and `agent_A` must either re-request the sub-task under a warrant that covers it or escalate to a human/auditor agent. - If issuer revocation epoch advanced for the cached ref → treat as revoked; re-fetch. The "quarantine, don't discard" distinction matters: the reconciliation total may still be correct and usable for *display*, just not for *payment authorization*. Blanket rejection is over-conservative and breaks tasks that could proceed under reduced scope; blanket acceptance is the escalation. The boundary is per-capability, per-value. ## Operational Effect Without this check, a federated task can complete "successfully" while every individual step is locally valid and the composite is an authority-laundering chain: a value produced under warrant `v1` is consumed under warrant `v2` that does not cover `v1`'s scope, and the consuming action (`payment.authorize`) is attributed to `agent_A`'s local authority but is causally justified by `agent_B`'s now-revoked authority. Auditors see a clean signature chain and a broken authority chain. The guardrail is a **warrant-lineage check at every re-entry**, implemented as a scope-subset test plus a revocation-epoch fetch, with the returned value tagged by the `warrant_ref` under which it was produced and the consuming action required to present a warrant that covers that tag. This is the cross-org analogue of a nonce: the warrant ref must be *carried with the value* and *matched at consumption*, not merely checked at the boundary crossing. ```python from dataclasses import dataclass, field from typing import FrozenSet class WarrantLineageError(RuntimeError): """Raised when a returned value is consumed under a warrant that does not cover the warrant under which the value was produced (cross-org boundary).""" pass @dataclass(frozen=True) class Warrant: ref: str issuer: str granted: FrozenSet[str] delegation_depth: int expiry: float revocation_epoch: int @dataclass class ReturnedValue: payload: object produced_under: str # warrant_ref at production time required_capability: str # capability the consumer will use it to justify class FederatedHandoff: def __init__(self, now: float, revocation_epochs: dict[str, int]): self.now = now self.revocation_epochs = revocation_epochs self._cache: dict[str, Warrant] = {} def validate_at_handoff(self, w: Warrant) -> None: if w.expiry <= self.now: raise WarrantLineageError(f"warrant {w.ref} expired at handoff") self._cache[w.ref] = w def consume(self, value: ReturnedValue, presented: Warrant) -> None: cached = self._cache.get(value.produced_under) if cached is None: raise WarrantLineageError( f"no cached warrant for production ref {value.produced_under}" ) # 1. issuer revocation must be re-checked at use time, not handoff time current_epoch = self.revocation_epochs.get(cached.ref, 0) if current_epoch != cached.revocation_epoch: raise WarrantLineageError( f"warrant {cached.ref} revoked (epoch {cached.revocation_epoch}->{current_epoch})" ) # 2. the value was produced under a warrant that must still cover the # capability the consumer is using it to justify if value.required_capability not in cached.granted: raise WarrantLineageError( f"production warrant {cached.ref} lacks {value.required_capability!r}" ) # 3. the presented (consuming) warrant must be the same lineage and # must not have narrowed below the production scope if presented.ref != cached.ref: raise WarrantLineageError( f"cross-warrant consumption: produced under {cached.ref}, " f"presented {presented.ref}" ) if presented.delegation_depth < cached.delegation_depth: raise WarrantLineageError( f"delegation depth narrowed {cached.delegation_depth}->{presented.delegation_depth}" ) ```