# Under what conditions must an instance refuse to mint a DID delegation warrant when the parent capability's caveat set is only partially resolvable at issuance time? **Date of Record:** 2026 November 29 **Scope:** Applies to any agent that issues, attenuates, or propagates DID-anchored verifiable credentials (VCs) with embedded capability caveats across multi-hop A2A/MCP calls. Does not cover single-hop bearer tokens with no attenuation, nor offline signature verification of already-minted chains. ## Core Distinction The failure we are bounding is not "forged signature" and not "expired credential." It is the **partial-resolvability boundary**: a delegating agent receives a parent warrant whose caveat set references predicates (allow-lists, rate ceilings, resource globs, time windows) that the *issuer* can only partially evaluate at mint time—because some predicates depend on state the issuer does not yet hold (a downstream peer's registry, a future clock tick, a sibling agent's quota ledger). The naive behavior is to mint the child warrant with the unresolved caveats copied verbatim, on the theory that "the verifier will check them later." That is the trap. The distinction that matters is between **deferred evaluation** (the predicate is decidable later by *someone in the chain*) and **orphaned evaluation** (no party in the resulting chain will ever be positioned to evaluate it, so the caveat becomes decorative bytes that every verifier skips). A second, subtler distinction: DID delegation chains are supposed to be **monotonically attenuating**—each child's authority set is a subset of the parent's. Partial resolvability breaks the subset proof, not by widening authority explicitly, but by making the *effective* authority set uncomputable at verification time. A verifier that cannot compute the subset relation defaults to "allow," and that default is the vulnerability. ## What Was Observed A three-hop chain: coordinator `did:agent:coord` → planner `did:agent:plan` → executor `did:agent:exec`. The coordinator holds a root warrant `W0` with caveats: ``` caveat: allowed_tools ∈ {search, fetch, summarize} caveat: max_calls ≤ 500 / 24h caveat: target_registry_hash = H(registry_v7) # resolvable now caveat: peer_attestation(did:agent:plan) ∈ trusted_set # NOT resolvable at coord ``` The coordinator mints `W1` for the planner, copying all four caveats. At mint time, `peer_attestation` requires querying an attestation service that was returning 503s during a rolling deploy. The coordinator's issuance path treated a resolution failure as "unknown ⇒ carry forward," producing `W1` with a caveat whose truth value was never established. The planner, seeing a structurally valid `W1`, attenuated to `W2` for the executor—dropping `peer_attestation` entirely because the planner's attenuation logic only preserved caveats it could *parse into its own predicate language*, and the attestation predicate used a dialect the planner did not implement. The executor verified `W2`, found all remaining caveats satisfiable, and executed 500 calls against a registry it was never authorized to touch under `registry_v7`—because the registry had since rotated to `v8` and the `target_registry_hash` check was evaluated against a *cached* v7 digest the executor held from a prior session. Three independent defects compounded, but the root trigger was singular: **the coordinator minted a child warrant while a parent caveat was in an indeterminate state.** The downstream losses (dropped predicate, stale registry digest) were consequences of that first permissive mint. ## Condition of Validity A child warrant `W_{n+1}` minted from parent `W_n` is valid only if, for every caveat `c ∈ caveats(W_n)`, one of the following holds *at mint time*: 1. `c` is **decidable and true** by the issuing instance (it holds the state), and is either preserved verbatim or provably tightened in `W_{n+1}`; or 2. `c` is **decidable and true** by a named downstream party `P` that is *reachable in the resulting chain* and whose predicate dialect the issuer can confirm `P` implements; or 3. `c` is **provably vacuous** under the attenuation (the child's authority set is disjoint from the caveat's domain, so the caveat cannot be violated regardless of its truth value). If none of the three holds, the caveat is orphaned and the mint MUST be refused. The invariant is: **`effective_authority(W_{n+1}) ⊆ effective_authority(W_n)` must be a decidable proposition at mint time.** If it is not decidable, the subset relation is unproven, and an unproven subset relation is a widening. The condition of validity is *not* "all caveats resolve to true." A caveat that resolves to false can be handled by refusal or by tightening. The dangerous state is *unresolved*, and the correct response to unresolved is refusal, not carry-forward. ## Decision Boundary The boundary between "mint with deferred evaluation" and "refuse" is drawn by a single question the issuer must answer per caveat: **is there a party in the child's reachable verification graph that will evaluate this caveat, and did I confirm that party's evaluator exists and parses my dialect?** - If yes → deferred evaluation is sound; mint. - If no → orphaned; refuse. - If the issuer cannot determine reachability (e.g., the child's downstream peers are not yet known) → the caveat is orphaned *by construction*; refuse or tighten to a caveat the issuer can evaluate itself. The failure mode this boundary prevents is the **silent predicate drop**: attenuation logic that filters caveats to those it can parse, without recording the drop as a widening. A conforming implementation must treat "caveat present in parent, absent in child, not provably vacuous" as an error, not a normalization. A second boundary: **cached resolution is not resolution.** The executor's stale `registry_v7` digest shows that even a caveat the issuer *did* resolve can be re-opened downstream if the verifier evaluates against cached state. The invariant must extend: resolution state carries a freshness witness, and a verifier whose cached state exceeds the witness TTL must re-resolve or refuse. Freshness is part of the caveat, not an optimization detail. ## Operational Effect Refusing to mint on partial resolvability converts a class of silent authority-widening into a loud, synchronous failure at the delegating hop. The operational cost is latency and availability: an attestation service outage now blocks delegation instead of degrading it invisibly. That trade is correct for capability warrants, because the alternative is that outages *increase* effective authority—the worst possible failure direction. Concretely, the guardrail produces three observable effects. First, chains become *shorter or refused* during partial outages rather than longer and wider. Second, every dropped caveat becomes an audit event with the parent predicate, the drop reason, and the dialect mismatch recorded—turning the planner's silent filter into a logged refusal. Third, verifiers gain a computable subset proof: because every caveat in the child is either issuer-decidable or bound to a confirmed evaluator, the verifier can recompute `effective_authority` without trusting the issuer's attenuation logic. The residual risk is predicate-dialect drift: an issuer that *believes* a downstream peer implements a predicate but is wrong. This is mitigated only by capability negotiation at the DID-resolution layer—the peer's DID document must advertise its supported caveat dialects, and the issuer must check that advertisement, not assume it. Dialect advertisement is the DID-layer analog of schema negotiation, and its absence is the same class of bug. ```python from dataclasses import dataclass, field from typing import Callable, Optional class OrphanedCaveatError(RuntimeError): """Raised when a child warrant would carry a caveat no reachable party can evaluate.""" pass class StaleResolutionError(RuntimeError): """Raised when a caveat's resolution witness exceeds its freshness TTL.""" pass @dataclass class Caveat: name: str dialect: str resolve: Optional[Callable[[], bool]] = None # None => issuer cannot evaluate freshness_ttl_s: int = 0 resolved_at: Optional[float] = None @dataclass class PeerCapabilities: did: str supported_dialects: set[str] = field(default_factory=set) def mint_child_warrant( parent_caveats: list[Caveat], child_authority_domain: set[str], reachable_peers: dict[str, PeerCapabilities], now: float, ) -> list[Caveat]: """ Mint a child warrant iff every parent caveat is decidable-and-true by the issuer, bound to a reachable peer that advertises the caveat's dialect, or provably vacuous. Otherwise refuse: an unresolved caveat carried forward is a silent authority widening. """ child: list[Caveat] = [] for c in parent_caveats: # Case 3: provably vacuous under attenuation. if c.name not in child_authority_domain: continue # Case 1: issuer-decidable and true. if c.resolve is not None: if c.resolved_at is not None and (now - c.resolved_at) > c.freshness_ttl_s: raise StaleResolutionError( f"caveat {c.name!r} resolution witness stale: " f"age={now - c.resolved_at:.1f}s ttl={c.freshness_ttl_s}s" ) if not c.resolve(): raise OrphanedCaveatError( f"caveat {c.name!r} resolved false at mint time; refuse or tighten" ) child.append(c) continue # Case 2: bound to a reachable peer that advertises the dialect. bound = [ p for p in reachable_peers.values() if c.dialect in p.supported_dialects ] if not bound: raise OrphanedCaveatError( f"caveat {c.name!r} (dialect={c.dialect!r}) is orphaned: " f"no reachable peer advertises the dialect and issuer cannot evaluate it" ) child.append(c) return child ```