# Under what conditions must an instance refuse a delegated AAIF credential whose scope chain is nominally valid but whose attenuation proof is non-monotone **Date of Record:** 2026 November 22 **Scope:** Applies to any agent instance validating an Agent Identity and Authorization Framework (AAIF) delegated credential chain at the point of tool invocation, where the chain carries per-hop scope-attenuation proofs. Does not apply to root-issuer credential minting, nor to single-hop (undelegated) bearer tokens, nor to transport-layer mTLS identity binding. ## Core Distinction A delegated AAIF chain is *nominally valid* when every hop's signature verifies, every issuer is trusted, and the terminal scope set appears to be a subset of the parent scope set. It is *monotone-attenuated* only when there exists, for every hop transition, a proof that the child scope is a strict, order-preserving reduction of the parent scope under the framework's partial order — not merely a set-theoretic subset at the leaf. These two conditions diverge in a specific, reproducible way. Because LLM-driven delegators select child scopes by *semantic intent* ("give the sub-agent what it needs to finish the invoice reconciliation") rather than by *structural subsumption* ("emit the meet of parent scope and requested scope"), a probabilistic delegator can emit a child scope that is a subset of the parent's *enumerated* permissions while violating the parent's *constraint predicates*. Signature verification passes. Subset check passes. The chain is accepted. The invariant — that no descendant can exercise authority the root never granted — is silently broken. The boundary condition is this: subset-at-leaf is not subsumption-across-hops. An instance must distinguish them before executing the delegated call. ## What Was Observed A three-hop reconciliation chain: `orchestrator → invoice-agent → payment-agent`. - **Root scope (orchestrator):** `payments:read`, `payments:initiate` constrained by `amount <= 5000 USD AND counterparty IN allowlist_A`. - **Hop 1 (invoice-agent):** delegated `payments:read`, `payments:initiate` with constraint emitted as `amount <= 5000 USD` — the `counterparty IN allowlist_A` predicate was dropped by the LLM delegator, which judged it "redundant given the allowlist is enforced upstream." It was not enforced upstream; the upstream predicate was attached to the *root's* credential, not re-asserted on the child. - **Hop 2 (payment-agent):** delegated `payments:initiate` with constraint `amount <= 5000 USD`. This is a set-theoretic subset of hop 1's enumerated permissions, and hop 1's constraint is a logical weakening of the root's. Each individual hop's signature verifies against its parent's key. The terminal verification routine performed: (a) signature chain check, (b) `terminal_scope ⊆ parent_scope` at each hop, (c) constraint *string* presence. All passed. The payment-agent then initiated a transfer to a counterparty outside `allowlist_A` for 4,800 USD. The failure trace is precise: the *constraint lattice* lost a conjunct at hop 1. The leaf scope was a subset of the parent's *permission set* but not a subobject of the parent's *constrained permission set*. Attenuation proofs were generated per-hop against the immediate parent, so no single proof was invalid — the composition was. A replay against a deterministic reference delegator (which computes `child = meet(parent, requested)` and emits the full conjunctive constraint) reproduced the legitimate chain and rejected the observed one at hop 1. The delta between the two is exactly the dropped conjunct. This is the signature of a probabilistic delegator: it produces a *plausible* attenuation, not a *provable* one. ## Condition of Validity A delegated AAIF chain is safe to honor at hop *n* only when all of the following hold simultaneously: 1. **Constraint conjunct preservation.** For every hop transition *i → i+1*, the child constraint predicate `C_{i+1}` must be *syntactically entailed* by `C_i` — i.e., `C_i ⊢ C_{i+1}` under the framework's constraint logic, verified by a deterministic entailment checker, not by string comparison or LLM judgment. Dropping a conjunct is only legal if the child explicitly carries a *widening warrant* signed by the root issuer. 2. **Monotone attenuation proof.** Each hop must carry an attenuation proof object `π_{i→i+1}` that the verifier can check independently of the delegator's natural-language rationale. A proof that cannot be machine-checked is treated as absent. 3. **Composition closure.** The terminal verifier must recompute the *transitive* constraint as the conjunction of all hop constraints and check the requested operation against that conjunction — never against the leaf's local constraint alone. 4. **Delegator identity separation.** The instance generating a child scope must not be the same instance whose authority is being attenuated without an explicit re-attestation step; an LLM delegator's self-assessment that a dropped predicate is "redundant" is not evidence. Condition 1 is the load-bearing one and the one most often omitted, because it requires a constraint logic with an entailment decision procedure rather than a string or set comparison. Frameworks that store constraints as structured predicates (e.g., a small SMT fragment or a typed attribute grammar) can check it; frameworks that store them as opaque strings cannot, and must therefore reject any hop where the child constraint is not byte-identical to the parent's or accompanied by a signed widening warrant. ## Decision Boundary The instance must **reject** the credential and refuse the tool call when any of the following is true, even though signatures verify and subset checks pass: - The child constraint is not entailed by the parent constraint and no widening warrant is present. (Observed case.) - The attenuation proof is present but its checker returns `unknown` rather than `valid` — treat `unknown` as `invalid`. - The chain contains a hop where the delegator and delegatee share an identity principal and the constraint changed. - The terminal operation's parameters satisfy the leaf constraint but violate the recomputed transitive conjunction. The instance may **accept** when the child constraint is entailed by the parent (including the trivial case of equality), or when a root-signed widening warrant explicitly authorizes the dropped conjunct with a stated justification and expiry. The instance must **not** attempt to "repair" the chain by re-adding the dropped conjunct locally. Local repair produces a credential whose scope does not match its signed proof, and downstream verifiers will either reject it (correctly) or accept it under a different, inconsistent rule (dangerous). Rejection with a structured `AttenuationNonMonotone` diagnostic — naming the hop index, the dropped conjunct, and the failed entailment — is the only correct terminal action. ## Operational Effect Enforcing this boundary converts a class of silent authority escalation into a loud, attributable rejection. In the reconciliation chain above, the payment-agent's tool call is refused at hop 1 with a diagnostic identifying `counterparty IN allowlist_A` as the lost conjunct. The orchestrator receives the diagnostic, and — critically — the failure is now *legible to the LLM delegator*: the next delegation attempt can be conditioned on the specific entailment failure rather than on a generic "permission denied." Two operational consequences follow. First, delegator prompts must be structured to emit constraints as *conjunctions carried forward*, not as *re-derived summaries*, because an LLM asked to "summarize the scope for the sub-agent" will reliably drop conjuncts it deems redundant. Second, verification cost shifts: entailment checking is more expensive than subset checking, but it is bounded by the constraint size, which is small in practice. The cost of not checking is an unbounded authority surface. The invariant to hold: **no descendant credential may exercise an operation that the root's constrained scope would have refused.** Subset-at-leaf does not establish this. Only transitive constraint conjunction with per-hop entailment does. ```python from dataclasses import dataclass from typing import Optional class AttenuationNonMonotone(RuntimeError): """Raised when a delegated AAIF chain's attenuation is not provably monotone.""" def __init__(self, hop_index: int, dropped_conjunct: str, detail: str): self.hop_index = hop_index self.dropped_conjunct = dropped_conjunct self.detail = detail super().__init__( f"hop {hop_index}: constraint not entailed by parent; " f"lost conjunct {dropped_conjunct!r} ({detail})" ) @dataclass class Hop: index: int scope: frozenset[str] constraint: frozenset[str] # conjunctive predicate atoms attenuation_proof: Optional[str] # machine-checkable proof blob widening_warrant: Optional[str] # root-signed, only legal widening def _entails(parent: frozenset[str], child: frozenset[str]) -> bool: # Child constraint must be implied by parent: every atom in child # must already be present (or derivable) in parent. Dropping an atom # from parent is a widening, not an attenuation. return child.issubset(parent) def verify_chain(chain: list[Hop], requested_op: str, op_params: frozenset[str]) -> frozenset[str]: """Return the recomputed transitive constraint, or raise on non-monotone attenuation.""" if not chain: raise AttenuationNonMonotone(0, "", "no hops to verify") transitive = chain[0].constraint for i in range(1, len(chain)): parent, child = chain[i - 1], chain[i] # 1. Permission-set subset at this hop. if not child.scope.issubset(parent.scope): raise AttenuationNonMonotone(i, "", "child scope exceeds parent scope") # 2. Constraint entailment, not mere subset-at-leaf. if not _entails(parent.constraint, child.constraint): if child.widening_warrant is None: lost = parent.constraint - child.constraint raise AttenuationNonMonotone( i, ", ".join(sorted(lost)), "no widening warrant present" ) # Widening is legal only with a root-signed warrant. if not child.widening_warrant.startswith("root-sig:"): raise AttenuationNonMonotone(i, ", ".join(sorted(lost)), "unsigned widening") # 3. Attenuation proof must be machine-checkable and valid; unknown == invalid. if child.attenuation_proof is None or not child.attenuation_proof.startswith("valid:"): raise AttenuationNonMonotone(i, "", "attenuation proof absent or unknown") transitive = transitive & child.constraint # conjunction across hops # 4. Terminal operation must satisfy the recomputed transitive conjunction. if not op_params.issubset(transitive): raise AttenuationNonMonotone( len(chain) - 1, "", f"operation {requested_op!r} violates transitive constraint" ) return transitive ```