# Where must an instance refuse to inherit a delegated credential when the AAIF chain's attenuation proof is unverifiable at the current hop? **Date of Record:** 2026 November 29 **Scope:** Applies to AAIF (Agent Authentication and Identity Framework) verifiable credential (VC) delegation chains where an agent instance receives a signed capability warrant from a parent agent and must decide whether to accept, attenuate, or refuse it at handoff. Does not apply to root credential issuance, static service-account tokens, or single-hop identity assertions without delegation. ## Core Distinction The failure mode is not "invalid signature." A signature check is cheap, deterministic, and binary. The failure mode is **attenuation-proof discontinuity**: the delegated credential's `proof` chain asserts that each hop narrowed scope relative to its parent, but the intermediate hop's attenuation predicate cannot be re-evaluated at the current instance because the parent's *claim set* is not fully present in the transferred envelope. A parent agent, when it delegates, is supposed to embed enough of its own credential (the "parent claim snapshot") for the child to recompute `child.scope ⊆ parent.scope`. In practice, agents under context pressure emit *compressed* delegations: they carry the parent's `cid` (content identifier of the parent VC), the child's scope, and a signature over the pair—but omit the parent's actual claim graph. The child can verify the signature, verify the `cid` matches a hash it was told about, and still be **unable to prove the subset relation**. It then faces the question in the title: inherit on trust, or refuse? Most implementations inherit on trust, because the signature verified and the `cid` matched. That is the boundary failure. ## What Was Observed A three-hop chain: orchestrator `O` → planner `P` → executor `E`. `O` holds root scope `fs:read:/data/*`. `P` receives an attenuated warrant `fs:read:/data/reports/*`. `P` delegates to `E` with a warrant claiming `fs:read:/data/reports/q3/*`. At `E`, the envelope contained: - `E.cred.scope = fs:read:/data/reports/q3/*` - `E.cred.parent_cid = ` - `E.cred.signature` — valid, signed by `P` - **No** `P.cred.claims` body. `E`'s verification routine did three things: (1) checked `E.cred.signature` against `P`'s public key, (2) checked `parent_cid` was in `E`'s known-issuer registry, (3) checked `E.cred.scope` was syntactically well-formed. All three passed. `E` executed a tool call reading `/data/reports/q3/raw.csv`. The read succeeded. The problem: `P`'s actual scope was `fs:read:/data/reports/*` **excluding** `raw/` (a subdirectory excluded because it contained PII). `P`'s exclusion predicate was expressed in `P.cred.claims.deny` — a field `P` had stripped when compressing the delegation to `E` to save ~400 tokens in `E`'s context. `E` could not see the deny list, so it could not evaluate `q3/raw.csv` against it. The subset relation `E.scope ⊆ P.scope` was **false**, but unprovable as false at `E` because the disproving evidence was absent. The violation surfaced only at audit replay, twelve tool calls later, when the auditor reconstructed the chain from `O`'s and `P`'s retained credentials and found the deny intersection. ## Condition of Validity The inheritance-on-trust shortcut is valid **if and only if** the delegating hop is contractually obligated to preserve a *sufficient claim snapshot* for the child to recompute the subset relation, and that preservation is itself verifiable. Concretely, a credential envelope `C` with parent `P` is *self-attenuating* (safe to inherit) only when: 1. `C.claims` and `P.claims` are both present in the envelope, **or** 2. `C` carries a `parent_claims_digest` and the parent's claim set is retrievable from an addressable, integrity-checked store (e.g., content-addressed by `parent_cid`), **or** 3. `C` carries a machine-checkable `attenuation_proof` — a succinct proof (e.g., a signed set-inclusion witness) that `C.scope ⊆ P.scope` without requiring `P.claims` in the clear. If none of (1)–(3) hold, the envelope is **attenuation-opaque**. An attenuation-opaque credential is not invalid—its signature is fine—but its *delegation semantics* are unverifiable at the receiving hop. This is the exact gap where trust silently substitutes for proof. The invariant: **an instance must never treat a verified signature as evidence of a verified attenuation.** Signature validity proves *who* delegated; it says nothing about *whether the delegation was legal* relative to the delegator's own authority. ## Decision Boundary The refusal boundary is sharp and must be placed at envelope ingestion, before any tool call is dispatched: - If `C` is self-attenuating (case 1–3 above): accept, and record the recomputed subset check result in the execution trace. - If `C` is attenuation-opaque **and** the parent claim set is retrievable and integrity-checks against `parent_cid`: fetch, recompute, then accept or refuse on the recomputed relation. - If `C` is attenuation-opaque **and** the parent claim set is *not* retrievable: **refuse delegation and escalate**. Do not execute. Do not "proceed under the assumption that the parent was correct"—that assumption is precisely the failure. The common wrong boundary is to place the check *after* the first tool call, on the theory that the tool's own authorization layer will catch overreach. It will not: the tool sees `E.cred.scope = q3/*` and authorizes against *that*, having no visibility into `P`'s deny list. The tool is downstream of the gap, not a guard against it. A second wrong boundary is to treat `parent_cid` presence as sufficient. A `cid` is a *pointer*, not a *proof*. Pointing at a credential you cannot dereference proves nothing about its contents. ## Operational Effect When the boundary is placed correctly, delegation chains become **fail-closed on attenuation opacity**. The operational consequences: - **Latency cost:** every opaque envelope triggers either a store fetch (case 2) or an escalation (case 3). In a warm cache with content-addressed parent credentials, this is ~5–15ms; on cache miss it is a network round-trip. Chains that compress delegations to save context tokens now pay that cost at every hop—which is the correct trade, because the tokens saved were the very evidence needed to prove legality. - **Escalation volume:** planners that strip claim bodies will see their children refuse and escalate. This is a *feature*: it forces the delegating hop to either preserve claims or emit an attenuation proof. Over a few cycles, well-behaved planners learn to emit `parent_claims_digest` + addressable store references rather than inline compression. - **Audit replay:** because the subset check is recomputed and logged at ingestion, replay no longer needs to reconstruct the chain from retained root credentials—the decision and its evidence are in the trace. The twelve-tool-call-late discovery described above collapses to a single refused execution at `E`. - **Blast radius:** a malicious or buggy parent that delegates *wider* than its own scope can no longer succeed by simply omitting its claim body. The child refuses the opaque envelope, and the overreach never reaches a tool. The general principle: **in a delegation chain, the receiver's authority is bounded by what it can *prove* about its parent's authority, not by what its parent *asserted*.** An instance that inherits an attenuation-opaque credential is asserting a subset relation it cannot check—which is the operational definition of an unverified privilege escalation waiting to be discovered by the auditor. ```python class AttenuationOpaqueError(RuntimeError): """Raised when a delegated credential cannot prove child.scope ⊆ parent.scope at the receiving hop because the parent claim set is absent and unretrievable.""" pass def verify_delegation(envelope, parent_store, known_issuers): # Step 1: signature — proves WHO delegated, not WHETHER it was legal. if not envelope.signature_valid(known_issuers): raise AttenuationOpaqueError( f"signature invalid for parent_cid={envelope.parent_cid}" ) # Step 2: self-attenuating cases (1-3): claims present, or digest+store, or proof. if envelope.has_full_claims(): return check_subset(envelope.claims, envelope.parent_claims) if envelope.has_attenuation_proof(): if not envelope.attenuation_proof.verify(): raise AttenuationOpaqueError("attenuation proof failed verification") return True # Step 3: opaque — attempt to dereference parent claims by cid. if envelope.parent_cid is None: raise AttenuationOpaqueError( "opaque envelope with no parent_cid: cannot locate parent claims" ) parent_claims = parent_store.fetch(envelope.parent_cid) if parent_claims is None: # The boundary: refuse. Do NOT inherit on trust. raise AttenuationOpaqueError( f"parent claims for cid={envelope.parent_cid} unretrievable; " f"cannot prove {envelope.scope} ⊆ parent.scope — refusing delegation" ) if not parent_store.integrity_ok(envelope.parent_cid, parent_claims): raise AttenuationOpaqueError( f"parent claims for cid={envelope.parent_cid} failed integrity check" ) # Step 4: recompute the subset relation with the actual parent claim graph. if not check_subset(envelope.scope, parent_claims.scope, parent_claims.deny): raise AttenuationOpaqueError( f"delegation illegal: {envelope.scope} not a subset of " f"parent scope {parent_claims.scope} minus deny {parent_claims.deny}" ) return True ```