# What structural signals indicate warrant-chain attenuation loss in A2A v1.0 nested delegation **Date of Record:** 2026 December 3 **Scope:** Applies to A2A v1.0 task delegation where an originator agent `A` delegates to intermediary `B`, which re-delegates to executor `C`, and where each hop carries a signed warrant (capability grant + identity assertion + audit-trace pointer). Does not apply to flat single-hop delegation, nor to A2A deployments using shared-secret rather than per-hop signed warrants. ## Core Distinction The failure of interest is not "a warrant was forged" or "a capability was over-scoped." It is **warrant-chain attenuation loss**: the condition where each individual hop's warrant is structurally valid and signature-verifiable, yet the composed chain no longer proves what it appears to prove—specifically, that `C`'s authority is a strict subset of `A`'s authority, and that the audit trail is a single causally-ordered chain rather than a set of locally-consistent fragments. The distinction that matters operationally: **per-hop validity does not compose into chain validity unless the attenuation predicate is explicitly re-checked at each join.** A2A v1.0 defines the warrant envelope and the `parent_warrant_id` linkage but leaves the *attenuation predicate* (scope ⊆ parent scope, identity ⊆ parent identity, trace pointer resolves to parent trace) as an implementation obligation. Agents that verify only "signature valid + parent exists" accept chains that are topologically linked but semantically widened. The structural signal is that the chain *looks* intact—every `parent_warrant_id` resolves, every signature verifies—while the scope lattice has silently inverted. ## What Was Observed In a three-hop pipeline (planner `A` → broker `B` → executor `C`), the following trace was captured: 1. `A` issues warrant `W_A` with scope `{files:read:/proj/x/**, tools:search}` and identity assertion `id=A`. It sets `trace_root = T0`. 2. `B` receives the task, and because the A2A `Task` object schema it was handed lists `required_capabilities: [files:read:/proj/**]` (a *broader* glob than `W_A` grants—`/proj/**` includes `/proj/x/**` but also `/proj/y/**`), `B` constructs `W_B` by copying the *task's* declared capabilities rather than intersecting with `W_A.scope`. `W_B.parent_warrant_id = W_A.id`, `trace_parent = T0`. `W_B` is signed by `B`'s key. 3. `C` verifies `W_B`: signature valid, `parent_warrant_id` resolves to a known `W_A`, `trace_parent` resolves. `C` proceeds and reads `/proj/y/secrets.json`. 4. The audit trail records `C`'s read under `W_B`, pointing to `T0`. The trail is *locally* consistent. No signature failed. No pointer dangled. The structural tell: at step 3, the verifier had **no record of `W_A.scope` in the verification context**—only `W_A.id`. The `parent_warrant_id` is a *reference*, not an *inclusion proof*. Verification of attenuation requires dereferencing the parent and re-running the subset check; A2A v1.0's envelope does not mandate that the parent's scope be embedded in the child, so a verifier that treats the chain as a hash-linked list (verify link, done) will pass a widened child. A second observed variant: **trace-pointer aliasing.** `B` re-delegated to two executors `C1` and `C2` from the same `W_B`, both with `trace_parent = T0`. The audit trail at `T0` shows two children under one parent warrant, but the `task_id` on `W_B` was reused (A2A permits `contextId` reuse across tasks). Downstream, the auditor reconstructing causality from `trace_parent` pointers cannot distinguish "one task, two subtasks" from "two tasks colliding on a context," and the replay produces a different causal DAG than the live run. ## Condition of Validity The invariant that must hold for the chain to be trustworthy: > For every warrant `W_i` with parent `W_{i-1}`, `W_i.scope ⊆ W_{i-1}.scope` **and** `W_i.identity ⊆ W_{i-1}.identity` **and** `W_i.trace_parent` resolves to a trace node whose `warrant_id` is `W_{i-1}.id` **and** `W_i.task_id` is unique within `W_{i-1}.id`'s child set. This holds only when the verifier at hop `i` has (a) the parent warrant's *content* (not just its id), (b) a scope-subset predicate that is sound for the scope algebra in use (glob containment is not string containment—`/proj/**` ⊄ `/proj/x/**`), and (c) a trace store that enforces child-task uniqueness under a parent warrant. The condition fails silently when any of these is absent, because the *envelope* is still well-formed. There is no error signal at the wire level; the signal is structural and must be computed. ## Decision Boundary The boundary is between **link verification** and **attenuation verification**. Link verification answers "does this warrant descend from a root I trust?" Attenuation verification answers "does this warrant's authority fit inside its parent's?" A2A v1.0's `parent_warrant_id` supports only the former out of the box. Operational rule: an executor agent MUST NOT treat a resolved `parent_warrant_id` as evidence of attenuation. It must dereference the parent warrant, load its scope, and run the subset predicate. If the parent warrant is not retrievable (e.g., `B` holds it privately and exposes only the id), the executor MUST reject—an unresolvable parent is indistinguishable from a forged link, and the safe default is denial, not trust. The corresponding boundary for the audit trail: a `trace_parent` pointer is a *causal claim*, not a *causal proof*. Replay-based audit must reconstruct the DAG from warrant contents (including `task_id` uniqueness constraints), not from pointer traversal alone, or it will accept colliding contexts as valid forks. ## Operational Effect When attenuation is verified, the blast radius of a compromised or buggy intermediary is bounded to its own grant—`B` cannot widen `A`'s authority because `C` re-checks. When it is not, the chain's security reduces to the weakest intermediary's correctness, and the audit trail's integrity reduces to pointer-resolvability, which is trivially satisfiable by any agent that can sign. The practical mitigation is to make attenuation a *first-class, mandatory* verification step with a hard failure mode: reject on unretrievable parent, reject on non-subset scope, reject on duplicate `task_id` under a parent warrant. The following guard encodes that boundary. ```python from dataclasses import dataclass from typing import Optional class WarrantAttenuationError(RuntimeError): """Raised when a delegated warrant does not provably attenuate its parent.""" @dataclass(frozen=True) class Scope: # Glob-style capability scopes; containment is prefix-segment based, not string based. patterns: tuple[str, ...] def contains(self, other: "Scope") -> bool: for pat in other.patterns: if not any(_glob_subsumes(parent, pat) for parent in self.patterns): return False return True def _glob_subsumes(parent: str, child: str) -> bool: # /proj/** subsumes /proj/x/** ; /proj/x/** does NOT subsume /proj/** p_segs, c_segs = parent.split("/"), child.split("/") i = 0 while i < len(p_segs): if i >= len(c_segs): return False if p_segs[i] == "**": return True if p_segs[i] != c_segs[i]: return False i += 1 return i == len(c_segs) @dataclass(frozen=True) class Warrant: id: str parent_warrant_id: Optional[str] task_id: str scope: Scope identity: str trace_parent: Optional[str] def verify_attenuation( child: Warrant, parent: Optional[Warrant], sibling_task_ids: set[str], ) -> None: if child.parent_warrant_id is None: return # root warrant; trust anchored elsewhere if parent is None: raise WarrantAttenuationError( f"warrant {child.id}: parent {child.parent_warrant_id} unresolvable; " "cannot prove attenuation, denying by default" ) if parent.id != child.parent_warrant_id: raise WarrantAttenuationError( f"warrant {child.id}: dereferenced parent id {parent.id} != declared " f"parent {child.parent_warrant_id}" ) if not parent.scope.contains(child.scope): raise WarrantAttenuationError( f"warrant {child.id}: scope {child.scope.patterns} not subset of " f"parent {parent.scope.patterns}" ) if child.identity != parent.identity: raise WarrantAttenuationError( f"warrant {child.id}: identity {child.identity} != parent {parent.identity}" ) if child.trace_parent != parent.trace_parent and parent.trace_parent is not None: raise WarrantAttenuationError( f"warrant {child.id}: trace_parent {child.trace_parent} does not chain " f"to parent trace {parent.trace_parent}" ) if child.task_id in sibling_task_ids: raise WarrantAttenuationError( f"warrant {child.id}: task_id {child.task_id} collides with sibling under " f"parent {parent.id}; audit DAG would alias distinct tasks" ) ```