# Why does an instance accept a capability warrant it cannot verify: monotonic trust decay and the stale-attestation window in A2A capability negotiation **Date of Record:** 2026 November 27 **Scope:** Applies to agent-to-agent (A2A) capability negotiation where a requesting instance selects a peer's advertised capability based on warrants (signed attestations of capability, version, and scope) that carry a validity horizon and a trust score that decays over observation time. Does not apply to single-agent tool selection against a static, locally-verified schema registry, nor to MCP server capability lists served within a single trust domain with no inter-instance handoff. ## Core Distinction The failure is not "the peer lied" and not "the signature was invalid." Both of those are caught by standard verification: check the signature, check the issuer against a trust root, check the expiry timestamp against wall clock. The failure is subtler: **the warrant is cryptographically valid, unexpired, and correctly signed, but the trust score attached to the issuing authority has decayed below the threshold at which the capability claim should be honored — and the negotiating instance has no local observation that would let it detect the decay.** This is the difference between *validity* and *warranted acceptance*. A signature proves who asserted the claim. It does not prove the asserter is still trustworthy at the moment of acceptance. In multi-agent systems, warrants are typically minted once and cached; trust scores are typically decayed on a schedule; and the two clocks are almost never reconciled at the decision point. The negotiating agent therefore performs a *point-in-time* check (signature + expiry) against a *continuous-time* quantity (trust) that has been silently drifting. The invariant that is violated: *a capability claim may only be honored if the trust score of its issuer, evaluated at the moment of acceptance, is at or above the threshold in force at the moment of minting.* Standard A2A stacks check the threshold at mint time (it is baked into the warrant) but evaluate trust at accept time — and never compare the two. ## What Was Observed A three-tier swarm: an orchestrator (`orch-1`), a pool of retrieval/execution workers, and a separate auditor tier whose job is to countersign capability warrants. Workers advertise capabilities via signed warrants of the form `{capability, version, scope, issuer, minted_at, expires_at, trust_at_mint}`. The orchestrator caches validated warrants for the lifetime of a task and re-uses them across baton passes. Trace of a failure that produced a silent scope escape: 1. `T0` — Auditor `aud-7` mints a warrant for worker `w-3`: `capability=fs.read`, `scope=/data/tenant-a`, `trust_at_mint=0.91`, `expires_at=T0+3600s`. Signature verifies. Orchestrator accepts and caches. 2. `T0+40s` — `aud-7`'s outbound behavior degrades (a prompt-injection attempt against the auditor's own tool loop partially succeeds; its countersigning key is not compromised, but its *judgment* is). The trust subsystem, which scores auditors on downstream incident rate, begins decaying `aud-7`'s score at 0.01/min. 3. `T0+1800s` — `aud-7` trust score crosses 0.60, the configured acceptance floor for `fs.*` capabilities. No event is emitted; decay is continuous. 4. `T0+2400s` — `orch-1` performs a baton pass to `w-3` for a follow-up subtask, re-uses the *cached* warrant from step 1, re-checks signature (valid) and expiry (`T0+3600s`, still 1200s away), and dispatches a read against `/data/tenant-a/../tenant-b/ledger.csv`. Path normalization resolves outside the advertised scope. The read succeeds. 5. `T0+2700s` — The auditor tier's own consensus check flags `aud-7` as degraded. By then `w-3` has executed 14 operations under a warrant whose issuer was below floor for the last 15 minutes. The observable symptom was not an error. It was **fourteen successful tool calls with valid signatures and unexpired timestamps, every one of which should have been refused.** The orchestrator had all the information needed to refuse — the trust score was queryable — but the decision path never joined the cached warrant to the live trust score. The warrant was treated as a *durable grant*; it was in fact a *snapshot of a decaying quantity*. A second, mirror-image observation: when the orchestrator was patched to re-query trust on every reuse, it began refusing ~9% of *legitimate* warrants during transient trust-score dips caused by unrelated auditors' incidents bleeding into a shared scoring pool. The naive fix traded a scope escape for a liveness failure. This is the boundary condition the rest of this record addresses. ## Condition of Validity The stale-attestation window exists if and only if all four of the following hold. If any one is false, the failure mode is bounded by other mechanisms and this record does not apply. 1. **Warrant lifetime exceeds trust half-life.** If `expires_at - minted_at` is shorter than the time in which the issuer's trust score can decay from `trust_at_mint` to below the acceptance floor, the warrant expires before it can go stale. The window opens precisely when `warrant_ttl > (trust_at_mint - floor) / decay_rate`. In the trace above: `(0.91 - 0.60) / (0.01/60) ≈ 1860s`, and the TTL was 3600s — a 1740-second window of unwarranted acceptance. 2. **Trust decay is continuous and unsignaled.** If the trust subsystem emits a revocation event at floor-crossing and the orchestrator subscribes, the window closes at the event. The failure requires decay to be a *pull* quantity (queried on demand) rather than a *push* event (delivered on transition). Most A2A stacks implement trust as a pull score because push requires a persistent subscription channel per issuer. 3. **Warrants are cached across baton passes.** If every dispatch re-mints the warrant, the trust-at-mint is re-evaluated and the window never opens. Caching is the norm because re-minting is a round-trip to the auditor tier and baton passes are latency-sensitive. 4. **Scope is enforced by the warrant, not by the callee.** If `w-3` independently enforced `scope=/data/tenant-a` against its own filesystem view, the orchestrator's stale warrant would be harmless. The escape required the *callee to trust the caller's warrant* — the standard A2A assumption that the dispatcher has already validated. This is the most dangerous of the four conditions because it inverts the usual defense-in-depth expectation: the callee is *less* able to detect issuer decay than the caller, since the callee never sees the trust score at all. The condition of validity is therefore: **a cached, callee-trusted, pull-scored warrant whose TTL outlives the issuer's decay-to-floor time.** All four must be present. Remove any one and the window collapses. ## Decision Boundary The decision the system must make at every warrant reuse is not "is this warrant valid" (it is) but "has the *basis* for this warrant's trust claim survived to now." There are three defensible policies, and the choice among them is the actual engineering decision: - **Strict re-evaluation.** Re-query issuer trust at every reuse; refuse below floor. Correct, but produces the 9% false-refusal liveness failure observed above, because trust scores are noisy and shared-pool contamination causes transient dips that are not real degradations. Acceptable only if false refusals are cheap (idempotent reads) and a retry-with-backoff path exists. - **Bounded staleness with a decay-aware TTL.** Cap the effective warrant lifetime at `min(expires_at, minted_at + (trust_at_mint - floor)/decay_rate)`. This is the policy that matches the physics: the warrant is only as good as the time it takes its issuer to decay to floor. It requires the orchestrator to know `decay_rate` per issuer class, which is a configuration surface most stacks do not expose. When it does, the false-refusal rate drops to near zero because refusals happen only at genuine floor crossings, not at transient dips. - **Calibrated hysteresis.** Accept between floor and floor+ε if the trust score's *derivative* is non-negative (recovering) and refuse if negative (decaying). This handles the transient-dip problem but requires a trust-score time series, not a scalar — a heavier dependency. The boundary is drawn at **whether the system can afford the latency of a trust re-query at baton-pass time.** If it can (sub-10ms local cache of a pushed score), strict re-evaluation with hysteresis is correct. If it cannot (cross-region auditor, cold cache), the decay-aware TTL cap is the only policy that bounds the window without inducing false refusals. Choosing neither — the observed default — leaves the window open for the full warrant TTL. A second boundary: **who enforces scope.** The trace shows the callee trusted the caller's warrant. The correct invariant is that the callee enforces scope against its *own* policy, using the warrant only as an upper bound, never as the sole authority. A callee that normalizes and checks paths against its own tenant boundary is immune to caller-side staleness entirely. This is the cheaper fix and should be mandatory regardless of which trust policy is chosen. ## Operational Effect The immediate effect is a **silent scope escape under a valid signature** — the worst class of agent failure, because every standard check passes and the audit log shows a clean chain of authorized operations. Post-hoc forensics see valid signatures, unexpired timestamps, and a correct issuer; the only evidence of the failure is a trust score that was below floor at execution time, which is typically not logged alongside the dispatch record. The secondary effect is **trust-pool contamination**: when one auditor degrades, every warrant it ever minted becomes suspect simultaneously, including warrants for capabilities unrelated to the incident. A naive strict-re-evaluation policy then refuses a large fraction of legitimate work, and operators — seeing the liveness collapse — disable the check, reopening the window wider than before. This is the classic security-usability ratchet, and it is why the decay-aware TTL cap is preferred: it localizes the blast radius to warrants whose *own* issuer decayed, not to the whole pool. The architectural invariant required to bound the failure: > A cached capability warrant is valid for acceptance only while `now < min(expires_at, minted_at + (trust_at_mint - floor)/decay_rate)` **and** the callee independently enforces the warrant's scope against its own policy. The dispatcher must never treat a warrant as a durable grant; the callee must never treat it as the sole authority. Two guardrails follow directly. First, **log the live issuer trust score on every dispatch**, not just at mint — without it the failure is invisible in audit. Second, **make the callee's scope check independent of the warrant's scope field**, so that caller-side staleness cannot propagate into a callee-side escape. The first makes the failure detectable; the second makes it non-exploitable even when detection lags. ```python import time from dataclasses import dataclass class StaleWarrantError(RuntimeError): """Raised when a cached capability warrant's issuer trust has decayed below the acceptance floor before the warrant's own expiry.""" @dataclass(frozen=True) class Warrant: capability: str scope: str issuer: str minted_at: float expires_at: float trust_at_mint: float @dataclass(frozen=True) class IssuerTrust: score: float # current pull-scored trust decay_rate_per_sec: float # positive; score falls at this rate while degraded ACCEPTANCE_FLOOR = {"fs.read": 0.60, "fs.write": 0.85, "net.egress": 0.75} def effective_expiry(w: Warrant, floor: float) -> float: """The warrant is only good until its issuer decays to floor.""" if w.trust_at_mint <= floor: return w.minted_at # never valid decay_to_floor = (w.trust_at_mint - floor) / max(1e-9, _decay_for(w.issuer)) return min(w.expires_at, w.minted_at + decay_to_floor) _DECAY_TABLE = {"aud-7": 0.01 / 60.0, "aud-1": 0.001 / 60.0} def _decay_for(issuer: str) -> float: return _DECAY_TABLE.get(issuer, 0.005 / 60.0) def accept_warrant(w: Warrant, trust: IssuerTrust, now: float) -> None: floor = ACCEPTANCE_FLOOR.get(w.capability) if floor is None: raise StaleWarrantError(f"no acceptance floor for capability {w.capability!r}") if now >= w.expires_at: raise StaleWarrantError(f"warrant expired at {w.expires_at}") # The check that standard A2A stacks omit: has the BASIS for trust survived? bound = effective_expiry(w, floor) if now >= bound: raise StaleWarrantError( f"issuer {w.issuer!r} trust basis stale: warrant nominally valid until " f"{w.expires_at}, but issuer decays to floor {floor} at {bound}; " f"now={now}, live_score={trust.score:.3f}" ) # Second guardrail: callee-side independent scope enforcement, not warrant-trusted. if not _callee_scope_ok(w.scope): raise StaleWarrantError( f"callee policy rejects scope {w.scope!r} independent of warrant" ) def _callee_scope_ok(scope: str) -> bool: # Callee normalizes against its OWN tenant boundary; warrant scope is an upper bound. return ".." not in scope and scope.startswith("/data/tenant-a") if __name__ == "__main__": now = 1000.0 w = Warrant( capability="fs.read", scope="/data/tenant-a/../tenant-b/ledger.csv", issuer="aud-7", minted_at=now, expires_at=now + 3600, trust_at_mint=0.91, ) trust = IssuerTrust(score=0.58, decay_rate_per_sec=0.01 / 60.0) # At T0+2400s the warrant is unexpired and signature-valid, but the issuer # has been below floor for ~15 minutes. This must refuse. accept_warrant(w, trust, now=now + 2400) ```