# In what scenarios must an instance reject a peer's signed agent manifest because capability attestation freshness diverges from warrant validity at the trust boundary **Date of Record:** 2026 November 30 **Scope:** Applies to cross-organization agent-to-agent handshakes where a peer presents a signed manifest carrying (a) a capability attestation and (b) a delegation warrant, and the receiving instance must decide whether to admit the peer into a multi-step task. Does not apply to intra-org agents sharing a single trust root or to stateless one-shot RPC calls with no delegated authority. ## Core Distinction A signed agent manifest is a bundle of two independently clocked artifacts: a **capability attestation** (what the peer's runtime can currently do — model version, tool bindings, sandbox profile, declared resource ceilings) and a **delegation warrant** (what the peer is authorized to do on behalf of its principal — scopes, expiry, chain of custody). Both are signed, both are verifiable, and both carry timestamps. The failure mode is treating them as a single freshness unit. They are not. The attestation describes *runtime state* and decays on the timescale of a model swap or tool re-binding — minutes to hours. The warrant describes *authority* and decays on the timescale of the delegating principal's policy — hours to days. When an instance validates a manifest by checking "is the signature valid and is the bundle not expired," it silently conflates these two clocks. The result is a class of admission where the peer's *authority* is live but its *attested capability* is stale, or vice versa — and the receiving agent proceeds to route work to a peer whose actual execution surface no longer matches what was attested at warrant-issue time. The invariant that must hold: **a warrant is only as trustworthy as the freshness of the attestation it was bound to.** A warrant signed against attestation `A1` does not authorize execution under attestation `A2`, even if `A2` is presented in the same manifest with a valid signature from the same key. ## What Was Observed A receiving agent (`orchestrator-A`, org X) admitted a peer (`worker-B`, org Y) for a 40-minute batch task. The manifest presented at handshake contained: - Attestation `att-B:v7`, signed by org Y's runtime attestation key, timestamped `T0`, declaring `sandbox_profile: gVisor`, `model: coder-32b-2024-11`, `max_tokens_per_call: 8192`. - Warrant `war-B:v3`, signed by org Y's delegation authority, timestamped `T0`, expiring `T0+24h`, scoped to `code_execution` and `file_read` under a named project. `orchestrator-A` verified both signatures, confirmed `war-B:v3` unexpired, and admitted `worker-B`. Twenty-two minutes into the task, org Y's runtime rotated `worker-B` to a new model and a weaker sandbox profile (`att-B:v8`, `sandbox_profile: process`, `model: coder-32b-2025-02`), re-signed the attestation, and continued serving under the *same* warrant `war-B:v3`. The warrant was never re-issued because the authority scopes had not changed — only the runtime had. `orchestrator-A` had no mechanism to detect the rotation. It had cached the manifest at handshake and treated the warrant's 24-hour expiry as the admission horizon. It continued dispatching `code_execution` steps to `worker-B` under an assumption — gVisor isolation — that had been true at `T0` and was false at `T0+22m`. The divergence was caught only when a downstream auditor replayed the task and found that `worker-B`'s execution trace showed host-level process spawning inconsistent with the attested sandbox. The trace: ``` T0 manifest{att-B:v7, war-B:v3} presented, both sigs valid T0 orchestrator-A verifies war-B:v3 expiry = T0+24h → ADMIT T0+22m org Y rotates runtime → att-B:v8 signed, war-B:v3 unchanged T0+22m orchestrator-A unaware; cached manifest still att-B:v7 T0+38m orchestrator-A dispatches code_execution step #14 T0+38m worker-B executes under att-B:v8 (process sandbox) T0+41m step #14 trace shows host spawn; auditor flags mismatch ``` The binding between warrant and attestation was implicit — established only by co-occurrence in the manifest at `T0` — and nothing in the protocol required the peer to prove that the attestation *currently* backing execution was the one the warrant was issued against. ## Condition of Validity The admission decision is valid only when all of the following hold simultaneously: 1. `attestation.timestamp >= warrant.issued_at` — the attestation is at least as new as the warrant (a warrant cannot be bound to a capability that did not yet exist). 2. `attestation.timestamp <= now - max_attestation_age` — the attestation is within the receiver's freshness window, which must be *shorter* than the warrant's remaining lifetime. 3. `warrant.binds_attestation_hash == hash(attestation)` — the warrant cryptographically commits to the specific attestation it authorizes. This is the load-bearing condition and the one most commonly absent. 4. On any mid-task re-attestation, the peer must re-present the manifest and the receiver must re-verify conditions 1–3 before the next dispatch. Condition 3 is the invariant. Without an explicit `binds_attestation_hash` field inside the signed warrant body, the manifest is a *bag* of signatures, not a *chain* of trust, and freshness of one component tells you nothing about the other. When condition 3 is enforced, a runtime rotation invalidates the warrant by construction: `att-B:v8` has a different hash, so `war-B:v3` no longer matches, and `worker-B` must obtain a re-issued warrant `war-B:v4` that binds `att-B:v8`. The receiver then re-runs the full admission gate rather than silently inheriting the old decision. ## Decision Boundary The receiving instance must reject the manifest and refuse admission — not merely warn — when any of the following boundary conditions trigger: - **Attestation-warrant skew:** `hash(attestation) != warrant.binds_attestation_hash`. Reject with `AttestationWarrantMismatch`. Do not fall back to "signatures are both valid, proceed." - **Freshness inversion:** `warrant.remaining_lifetime > receiver.max_attestation_age` *and* the warrant does not require periodic re-attestation. A 24-hour warrant over a 5-minute attestation freshness window is a structural guarantee of undetected drift. Reject with `WarrantOutlivesAttestation`. - **Mid-task rotation without re-handshake:** a peer that presents a new attestation hash mid-task without a corresponding re-issued warrant. Reject the next dispatch with `UnboundReAttestation` and halt the task at the last verified checkpoint. - **Clock skew beyond tolerance:** `|peer.timestamp - receiver.timestamp| > skew_tolerance` on either artifact. Reject with `TrustClockSkew` — freshness comparisons are meaningless across unsynchronized clocks, and an attacker can exploit skew to keep a stale attestation "fresh." The boundary does *not* trigger on warrant expiry alone (that is a simple timeout, handled by ordinary re-delegation) nor on attestation staleness alone when the warrant explicitly binds the stale hash and the receiver's policy permits that specific pinned attestation. The failure is specifically the *unbound* divergence — authority and capability decaying on different clocks with no cryptographic link forcing them to move together. ## Operational Effect Enforcing the binding converts a silent, time-delayed integrity failure into an immediate, local admission rejection. The peer's runtime rotation becomes a *visible* event at the receiver — a re-handshake — rather than an invisible one that surfaces only in post-hoc audit. The cost is protocol overhead: every attestation rotation forces a warrant re-issue and a full re-admission gate, which for high-churn runtimes (frequent model swaps, autoscaling sandbox profiles) can mean re-handshakes every few minutes. That overhead is the price of the invariant, and it is correct to pay it: the alternative is dispatching privileged execution steps to a peer whose isolation guarantees have silently degraded. The secondary effect is on the auditor's replay. With `binds_attestation_hash` present, every execution trace is unambiguously attributable to a specific attested runtime, because the warrant in force at dispatch time commits to exactly one attestation. Without it, replay cannot distinguish "worker-B executed under gVisor as attested" from "worker-B executed under a process sandbox after an unlogged rotation," and the audit's consensus on what happened is unrecoverable. ## Guardrail Implementation The admission gate below encodes conditions 1–4 and the four rejection boundaries. It treats the manifest as a chain, not a bag, and fails closed on any unbound divergence. ```python import hashlib from dataclasses import dataclass from datetime import datetime, timedelta class TrustBoundaryError(RuntimeError): """Base class for cross-org manifest admission failures.""" class AttestationWarrantMismatch(TrustBoundaryError): """Warrant does not cryptographically bind the presented attestation.""" class WarrantOutlivesAttestation(TrustBoundaryError): """Warrant lifetime exceeds the receiver's attestation freshness window.""" class UnboundReAttestation(TrustBoundaryError): """Peer rotated attestation mid-task without a re-issued warrant.""" class TrustClockSkew(TrustBoundaryError): """Timestamps diverge beyond tolerance; freshness is unverifiable.""" @dataclass(frozen=True) class Attestation: version: str sandbox_profile: str model: str timestamp: datetime signature_valid: bool def digest(self) -> str: body = f"{self.version}|{self.sandbox_profile}|{self.model}|{self.timestamp.isoformat()}" return hashlib.sha256(body.encode()).hexdigest() @dataclass(frozen=True) class Warrant: version: str scopes: tuple issued_at: datetime expires_at: datetime binds_attestation_hash: str signature_valid: bool @dataclass(frozen=True) class ReceiverPolicy: max_attestation_age: timedelta clock_skew_tolerance: timedelta def admit_peer( attestation: Attestation, warrant: Warrant, policy: ReceiverPolicy, now: datetime, admitted_attestation_hash: str | None = None, ) -> str: """Return the admitted attestation hash, or raise TrustBoundaryError. admitted_attestation_hash is the hash bound at initial handshake; if provided, this call is a mid-task re-verification. """ if not attestation.signature_valid or not warrant.signature_valid: raise TrustBoundaryError("signature verification failed") # Condition 3: the warrant must commit to this exact attestation. if warrant.binds_attestation_hash != attestation.digest(): raise AttestationWarrantMismatch( f"warrant {warrant.version} binds {warrant.binds_attestation_hash[:12]}, " f"peer presented {attestation.digest()[:12]}" ) # Condition 4: mid-task rotation must carry a re-issued warrant. if admitted_attestation_hash is not None and attestation.digest() != admitted_attestation_hash: raise UnboundReAttestation( f"attestation rotated from {admitted_attestation_hash[:12]} to " f"{attestation.digest()[:12]} without re-handshake" ) # Condition 1: attestation must not predate the warrant. if attestation.timestamp < warrant.issued_at: raise AttestationWarrantMismatch("attestation predates warrant issue") # Clock skew guard on both artifacts. for label, ts in (("attestation", attestation.timestamp), ("warrant", warrant.issued_at)): if abs((now - ts).total_seconds()) > policy.clock_skew_tolerance.total_seconds(): raise TrustClockSkew(f"{label} timestamp diverges from receiver clock") # Condition 2: attestation within freshness window. if now - attestation.timestamp > policy.max_attestation_age: raise TrustBoundaryError("attestation stale beyond freshness window") # Structural guard: warrant must not outlive the freshness window # unless it forces periodic re-attestation (encoded as scope). if (warrant.expires_at - now) > policy.max_attestation_age and "re_attest_required" not in warrant.scopes: raise WarrantOutlivesAttestation( f"warrant valid {(warrant.expires_at - now)} but attestation " f"freshness is only {policy.max_attestation_age}" ) return attestation.digest() ```