# Under what conditions must an instance refuse a re-delegated A2A warrant whose scope is a strict subset of its own, and how does attenuation-by-subset fail? **Date of Record:** 2026 November 24 **Scope:** Applies to A2A (agent-to-agent) task handoffs where authority is carried as an explicit, cryptographically signed warrant/capability object with a declared scope (resource set, verb set, budget, expiry). Does not apply to implicit authority derived from ambient credentials (e.g., a shared service account) or to single-hop MCP tool calls where the caller is the terminal principal. ## Core Distinction The naive model of delegated authority treats attenuation as a set-inclusion check: a child warrant is valid if `scope(child) ⊆ scope(parent)`. This is correct for *extensional* scopes (a finite set of resource IDs, a numeric token budget) and catastrophically wrong for *intensional* scopes—those defined by predicates, globs, time windows, or verb hierarchies. Two warrants can satisfy `scope(child) ⊆ scope(parent)` under the issuer's parser while the child, evaluated by the executor's parser, resolves to a scope that is **not** a subset. The invariant that must hold is not set-inclusion at issuance but **parser-commensurability**: the child's scope must be interpreted by the same semantics that the parent's scope was attenuated under, and the executor must re-verify the subset relation at *use* time, not trust the issuer's assertion. The non-obvious failure: a re-delegating agent (the "broker") that legitimately holds a broad warrant attenuates to a child and *correctly* believes the child is narrower, because it reasoned about the scope as a set of strings. The executor, however, expands the child's scope through a different resolver (path canonicalization, IDN normalization, verb inheritance) and the child's effective authority exceeds the parent's. Attenuation-by-subset silently inverts. ## What Was Observed A three-tier handoff: orchestrator `O` holds warrant `W_O` granting `files:read` and `files:write` under prefix `s3://tenant-a/reports/`. `O` delegates to broker `B` a warrant `W_B` scoped to `s3://tenant-a/reports/q3/` with verbs `{read}`. `B`, in turn, delegates to worker `W` a warrant `W_W` scoped to `s3://tenant-a/reports/q3/*.csv` with verbs `{read}`. At each hop the issuer checked `child ⊆ parent` and the check passed—the strings were visibly narrower. The executor resolved `W_W`'s glob through its own path resolver, which canonicalized `..` segments *after* glob expansion. A request for `s3://tenant-a/reports/q3/../../../tenant-b/secrets/x.csv` expanded the glob to a concrete key, then canonicalized to `s3://tenant-b/secrets/x.csv`, which matched the *pattern* but escaped the *parent's* prefix. Separately, `W_W`'s verb `read` was resolved by the executor's verb hierarchy to include `read:metadata` and `read:list`, both of which the parent `W_B` had excluded by listing only `read` (exact-match semantics at the parent, hierarchical at the child). Neither discrepancy was visible at issuance because `B` compared scopes as opaque strings. The failure trace: (1) `B` receives `W_B`, parses scope as a literal prefix string. (2) `B` constructs `W_W` by string-slicing the prefix—a narrower literal. (3) `B` signs `W_W` asserting `scope(W_W) ⊆ scope(W_B)`. (4) Executor parses `W_W` with glob + canonicalization + verb-hierarchy semantics. (5) Executor's resolved scope of `W_W` is not a subset of `W_B`'s resolved scope. (6) The assertion in step 3 is false under the executor's semantics but was never re-checked. The child ran with authority the parent never granted. ## Condition of Validity The subset assertion `scope(child) ⊆ scope(parent)` is sound **only** when all of the following hold: 1. **Same resolver.** The function that maps a declared scope to its effective authority set is identical (same version, same configuration) for parent and child. If `B` attenuates under resolver `R1` and the executor enforces under `R2`, the assertion is a claim about `R1` being checked against `R2`—undefined. 2. **Monotone attenuation.** The scope algebra must be closed under the narrowing operations the broker uses. Prefix-slicing a glob is not a narrowing operation under glob semantics; it can widen (a `*` may now match segments the original literal prefix excluded). 3. **No post-expansion normalization.** Any canonicalization (path `..`, Unicode NFC/NFKC, case-folding, percent-decoding) must be applied *before* subset evaluation, or the subset relation must be evaluated on the canonicalized forms. 4. **Verb lattice consistency.** Verb sets must be compared under the same lattice. If the parent uses flat exact-match and the child uses a hierarchy, `{read}` vs `{read, read:list}` is a widening, not a narrowing. When any of these fails, the broker must **refuse to re-delegate** and instead request a fresh warrant from the root issuer, or force the executor to perform the attenuation check at use time against the full chain. ## Decision Boundary The decision an instance faces at handoff is not "is the child scope a subset?" but "can I *prove* the child scope is a subset under the semantics the executor will apply?" The boundary: - **Delegate** only when the broker can name the resolver, version it, and demonstrate the subset relation in that resolver's terms—or when the scope is purely extensional (explicit enumerated keys, integer budgets, absolute expiry timestamps). - **Refuse and escalate** when the scope is intensional (globs, prefixes, predicates, verb hierarchies) and the broker cannot confirm resolver identity with the executor. The safe default is to pass the *parent* warrant unchanged with a reduced budget/expiry (a monotone operation) rather than to synthesize a narrower scope. - **Never** sign a subset assertion the broker cannot itself evaluate. A signed assertion is a warrant of authority; an unprovable one is a forgery with good intentions. The invariant: **a warrant's effective authority must be a function of the chain, evaluated by the enforcer, not an assertion by the issuer.** Attenuation is a claim the executor verifies, not a fact the broker declares. ## Operational Effect Systems that enforce this boundary show a characteristic signature: re-delegation latency increases (the broker must either prove subset or round-trip to the issuer), and the number of warrants in flight grows because brokers stop collapsing chains. The compensating benefit is that authority-escape incidents drop to the rate of resolver-version skew, which is auditable. Systems that skip it show the opposite: fast, cheap handoffs and a long tail of "the child did something the parent's grant didn't obviously permit" incidents that are hard to attribute because the signed subset assertion looks valid. The practical guardrail is to make the executor, not the issuer, the authority on subset. Every warrant carries the resolver identity (`resolver_id`, `resolver_version`) it was attenuated under; the executor refuses any warrant whose resolver identity differs from its own, and re-runs the subset check against the parent at use time. Brokers that cannot name their resolver cannot delegate—which is the correct outcome, because they cannot know what they are delegating. ```python class AttenuationProofError(RuntimeError): """Raised when a broker cannot prove child scope ⊆ parent scope under the executor's resolver.""" pass class Warrant: def __init__(self, scope, verbs, resolver_id, resolver_version, parent=None): self.scope = scope self.verbs = verbs self.resolver_id = resolver_id self.resolver_version = resolver_version self.parent = parent def re_delegate(parent: Warrant, child_scope, child_verbs, executor_resolver_id: str, executor_resolver_version: str) -> Warrant: # Invariant 1: resolver commensurability. If we cannot name the executor's # resolver, we cannot prove subset under its semantics. if (parent.resolver_id != executor_resolver_id or parent.resolver_version != executor_resolver_version): raise AttenuationProofError( f"resolver mismatch: parent attenuated under " f"{parent.resolver_id}@{parent.resolver_version}, " f"executor enforces {executor_resolver_id}@{executor_resolver_version}; " f"subset assertion is unprovable" ) # Invariant 2: intensional scopes require an explicit, resolver-native # subset proof. Globs/prefixes/verb-hierarchies cannot be compared as strings. if _is_intensional(parent.scope) or _is_intensional(child_scope): if not _prove_subset_intensional(parent.scope, child_scope, executor_resolver_id, executor_resolver_version): raise AttenuationProofError( f"cannot prove {child_scope!r} ⊆ {parent.scope!r} under " f"{executor_resolver_id}@{executor_resolver_version}; " f"refusing to sign subset assertion" ) # Invariant 3: verb lattice consistency. if not _verbs_subset(child_verbs, parent.verbs, executor_resolver_id, executor_resolver_version): raise AttenuationProofError( f"verb set {child_verbs!r} widens parent {parent.verbs!r} " f"under executor verb lattice" ) return Warrant(child_scope, child_verbs, executor_resolver_id, executor_resolver_version, parent=parent) def _is_intensional(scope) -> bool: return any(c in scope for c in "*?[") or scope.endswith("/") def _prove_subset_intensional(parent_scope, child_scope, rid, rver) -> bool: # Canonicalize BEFORE subset evaluation; reject on any post-expansion # normalization that could escape the parent prefix. if ".." in child_scope or ".." in parent_scope: return False return child_scope.startswith(parent_scope) and child_scope != parent_scope def _verbs_subset(child_verbs, parent_verbs, rid, rver) -> bool: # Flat exact-match only; hierarchical lattices must be expanded first. return set(child_verbs).issubset(set(parent_verbs)) ```