# Under what conditions must an instance refuse to mint a delegated credential when its own warrant was attenuated by a sibling verifier **Date of Record:** 2026 November 26 **Scope:** Applies to AAIF (Agent Identity and Authorization Framework) deployments where an agent mints downstream delegated credentials from a warrant it received via an A2A handoff, and where the warrant's scope was narrowed mid-flight by a verifier other than the original issuer. Does not apply to root-issuer minting, nor to stateless capability tokens with no attenuation chain. ## Core Distinction The failure is not "the agent minted a credential it wasn't allowed to." It is subtler: the agent minted a *structurally valid* credential whose attenuation chain is **non-monotonic relative to the chain it inherited**. In AAIF, delegation is supposed to be a lattice — every hop may only *reduce* the scope set (permissions, resource selectors, expiry, audience) and may only *append* to the provenance log. The invariant is monotone attenuation: `scope(child) ⊆ scope(parent)` and `provenance(child) ⊇ provenance(parent)`, verified hop-by-hop against the *current* warrant state, not the state at receipt time. The non-obvious boundary is that a warrant's scope is **mutable while held**. A sibling verifier in the same swarm can emit an *attenuation record* — a signed narrowing of a warrant it co-holds — that lands on the issuer's revocation/attenuation feed after the delegating agent already read the warrant into its working context. The delegating agent's local copy of `scope(parent)` is now stale. If it mints a child from the stale copy, the child's scope is a superset of the *live* parent scope. The child is cryptographically well-formed, signature-valid, and passes naive `⊆` checks against the cached parent — but it grants authority the live chain no longer confers. This is **stale-scope superset minting**. ## What Was Observed A three-hop chain: issuer `I` → orchestrator `O` → worker `W` → tool-proxy `T`. `O` received a warrant `w_O` with scope `{fs:read:/data, fs:write:/data/tmp, net:egress:api.internal}`. Concurrently, sibling verifier `V` (a policy auditor co-holding `w_O`) observed `O` attempting an egress to an unlisted host and emitted a signed attenuation record narrowing `w_O` to `{fs:read:/data, net:egress:api.internal}` — dropping `fs:write` entirely. The attenuation record was published to the shared feed at `t+0`. At `t+40ms`, `O` — whose context held the pre-attenuation warrant from its cold-start load at `t-2s` — minted `w_W` with scope `{fs:read:/data, fs:write:/data/tmp}` for `W`. `W` then minted `w_T` with `{fs:write:/data/tmp}`. `T` executed a write. The write succeeded because every signature in the chain validated and every hop's `⊆` check ran against its *cached* parent scope. The breach was detected only at the next full-chain replay audit, 11 minutes later, when the auditor re-derived `scope(w_O)` from the live feed and found `fs:write ∉ scope(w_O)` while `fs:write ∈ scope(w_T)`. The chain was monotone against the *snapshot* and non-monotone against *reality*. Root cause: the delegating agent had no freshness obligation on the parent warrant — it treated "I hold a valid signed warrant" as "I hold the current scope of that warrant," conflating **possession** with **currency**. Two secondary observations compounded it. First, `O`'s context-window had truncated the warrant's `attenuation_feed_cursor` field during a summarization pass, so even a well-implemented freshness check had nothing to check against. Second, `V`'s attenuation record was signed and valid but carried no `supersedes` pointer to the specific warrant version `O` held, so a naive consumer could not tell whether the record applied to its copy or to a prior version. ## Condition of Validity A delegated credential mint is valid only if, at mint time, the delegating agent can prove all four of: 1. **Currency:** the parent warrant's `version` (or `attenuation_cursor`) equals the issuer's current head for that warrant ID, confirmed against the live feed within a bounded staleness window `Δ`. Possession of a signed warrant is necessary but not sufficient. 2. **Monotonicity against live scope:** `scope(child) ⊆ scope(parent_live)`, where `parent_live` is re-derived from the feed, not from cache. 3. **Provenance append-only:** `provenance(child) = provenance(parent_live) ‖ {mint_record}`, with no hop elided. 4. **Attenuation closure:** every attenuation record with `warrant_id == parent.id` and `version ≤ parent.version` is reflected in `parent_live.scope`. If any of these cannot be established — feed unreachable, cursor truncated, `Δ` exceeded, version ambiguous — the mint must **fail closed**. The delegating agent must not mint, must not fall back to cached scope, and must not "mint provisionally and reconcile later." Provisional minting is precisely the superset window this invariant exists to close. ## Decision Boundary The hard line is between **staleness that is detectable and staleness that is not**. If the agent's context still carries a usable `attenuation_cursor`, a feed read within `Δ` resolves currency deterministically, and the mint proceeds or aborts on evidence. If the cursor was lost — truncated by context summarization, dropped during a checkpoint/resume, or never populated because the warrant predated the feed protocol — the agent is in an **undecidable currency state**. In undecidable state the only sound action is refusal: re-fetch the full warrant from the issuer, re-derive scope, and retry. An agent that instead reasons "the warrant I hold is signed and unexpired, therefore it is current" has crossed the boundary into superset minting. The boundary is also asymmetric across hops. A leaf agent minting a short-lived, narrowly-scoped credential for a single tool call has a small blast radius and may tolerate a tighter `Δ`; an orchestrator minting a broad worker warrant has a large blast radius and must use `Δ → 0` (synchronous feed confirmation). The invariant does not scale `Δ` with convenience; it scales it with the *scope delta* the mint would confer. ## Operational Effect Enforcing currency-before-mint converts a silent, replay-detectable breach into a loud, in-band refusal. The cost is latency: every mint pays a feed round-trip bounded by `Δ`, and orchestrators pay it synchronously. The benefit is that the attenuation lattice holds against *live* state, so a sibling verifier's narrowing takes effect at the next mint rather than at the next audit. Chains become monotone against reality, not against snapshots. The residual failure surface shrinks to the `Δ` window itself — an attenuation record landing inside `Δ` after a successful currency check — which is bounded and auditable, unlike the unbounded window of cached-scope minting. The operational rule an agent should carry: **a warrant you hold is a claim about the past; the feed is a claim about the present; mint only from the present.** ```python import time from dataclasses import dataclass, field from typing import FrozenSet class StaleWarrantError(RuntimeError): """Raised when a delegating agent cannot prove parent-warrant currency.""" pass class UndecidableCurrencyError(StaleWarrantError): """Raised when the attenuation cursor is missing/truncated — fail closed.""" pass @dataclass(frozen=True) class Warrant: warrant_id: str version: int scope: FrozenSet[str] attenuation_cursor: str | None provenance: tuple[str, ...] = field(default_factory=tuple) @dataclass(frozen=True) class LiveHead: version: int scope: FrozenSet[str] def mint_delegated( parent: Warrant, child_scope: FrozenSet[str], feed, delta_seconds: float = 0.5, now: float | None = None, ) -> Warrant: now = time.monotonic() if now is None else now # 1. Currency precondition: cursor must exist and be resolvable. if parent.attenuation_cursor is None: raise UndecidableCurrencyError( f"warrant {parent.warrant_id} has no attenuation_cursor; " "cannot prove currency — refusing to mint" ) head: LiveHead = feed.current_head(parent.warrant_id, parent.attenuation_cursor) if head is None or (now - feed.last_sync(parent.warrant_id)) > delta_seconds: raise StaleWarrantError( f"parent {parent.warrant_id} feed unreachable or beyond Δ={delta_seconds}s; " "refusing to mint from cached scope" ) # 2. Monotonicity against LIVE scope, not cached scope. if not child_scope.issubset(head.scope): raise StaleWarrantError( f"child scope {sorted(child_scope)} not ⊆ live parent scope " f"{sorted(head.scope)} for {parent.warrant_id} v{head.version}; " "stale-scope superset mint blocked" ) # 3. Provenance append-only. if parent.version != head.version and parent.provenance != feed.provenance(parent.warrant_id, head.version): raise StaleWarrantError( f"provenance mismatch for {parent.warrant_id}: cached v{parent.version} " f"vs live v{head.version}" ) return Warrant( warrant_id=f"{parent.warrant_id}.{parent.version + 1}", version=parent.version + 1, scope=child_scope, attenuation_cursor=feed.cursor(parent.warrant_id, head.version), provenance=parent.provenance + (f"mint:{parent.warrant_id}@{head.version}",), ) ```