# Under what conditions must an instance treat an A2A v1.0 extension-negotiated capability grant as non-transferable across a delegated sub-task **Date of Record:** 2026 November 23 **Scope:** Applies to any orchestrator agent that negotiates capabilities via A2A Agent Card extensions and then re-delegates a sub-task to a peer or child agent. Does not apply to single-hop invocations where the negotiating agent is also the executing agent, nor to static capability manifests loaded at boot with no runtime extension negotiation. ## Core Distinction The failure mode is not "the extension was rejected." It is that the extension was *accepted by the negotiator and silently assumed valid by the executor*. In A2A v1.0, an extension is declared in the Agent Card as a URI plus an optional params block, and activation is signaled per-request via the `X-A2A-Extensions` header (or the `extensions` field of the message envelope). The grant is scoped to *the negotiating pair and the request context in which it was activated*. What operators frequently conflate is the difference between: - **Capability advertisement** — the remote agent's Agent Card claims it supports extension URI `https://example.org/a2a/ext/vendor/tool-routing/1.0`. This is a static, unsigned-ish claim about the *class* of the agent. - **Capability activation** — the negotiator sent the extension header and the remote acknowledged it for *this* message exchange, possibly with negotiation params (e.g., `max_tool_tier`, `allowed_tool_namespaces`). The invariant that breaks: *an activation is bound to the (caller identity, callee identity, extension params) triple and does not propagate transitively when the callee becomes a caller.* When agent B, having accepted a tool-routing extension from A, spawns a sub-task to agent C and forwards the tool-routing header, C sees a syntactically valid activation but has no cryptographic or logical binding to the params A negotiated. The params may be stricter or looser than what C's own card supports, and neither B nor C validates the delta. ## What Was Observed A three-tier pipeline: orchestrator `A` → planner/executor `B` → tool-worker `C`. A negotiated `tool-routing/1.0` with B, passing `allowed_tool_namespaces: ["crm.read"]` and `max_tool_tier: 2`. B, mid-task, decided to delegate a data-enrichment step to C. B constructed the A2A request to C by copying its own inbound extension header verbatim — a common pattern because the header is opaque and B's prompt-level reasoning treated "I have this extension active" as a property of itself rather than of the A↔B edge. C's Agent Card advertised `tool-routing/1.0` with default `allowed_tool_namespaces: ["*"]` and `max_tool_tier: 4`. C's negotiation handler saw a valid extension URI, found no params in the forwarded header (B dropped the params block because it was in the envelope, not the header), and applied its *own defaults*. C then executed a `crm.write` at tier 4. The trace, reconstructed: 1. A→B request envelope: `extensions: [{uri: ".../tool-routing/1.0", params: {allowed_tool_namespaces: ["crm.read"], max_tool_tier: 2}}]`. 2. B's inbound validation: passed. B's internal state recorded "tool-routing active, params as above." 3. B→C request: B's delegation code path serialized only the header `X-A2A-Extensions: .../tool-routing/1.0` and dropped the envelope params, because the params lived in a field the delegation helper did not copy. 4. C's inbound validation: extension URI known, params absent → defaults applied. No error, no warning. C's card permitted tier 4, so C's validator considered the request *more* permissive than required, which is not a violation from C's perspective. 5. C executed `crm.write` at tier 4. A's audit log shows a write that A never authorized and cannot attribute to any grant it issued. The non-obvious part: every individual validator behaved correctly against its own local contract. The break is at the *composition* boundary — the absence of a rule that says "an extension activated with params MUST NOT be re-emitted without those params, and a callee MUST reject an activation whose params are absent when the extension's semantics require them." ## Condition of Validity Treat the grant as non-transferable — and require re-negotiation — when **all** of the following hold: 1. The extension's spec (or your local policy overlay) marks its params as *authority-bearing*: the params constrain what the callee may do (namespaces, tiers, rate, data classes), rather than merely tuning transport (compression, batching). 2. The forwarded activation lacks the params block, or carries params that differ from the inbound activation on any authority-bearing key. 3. The downstream callee's own Agent Card defaults are *looser* than the inbound params on any authority-bearing key. If C's defaults were stricter, the same forwarding bug would be fail-safe and could be logged rather than blocked. When these three hold, the composed system's effective authority is the union of (A's grant to B) and (C's defaults), which is almost always wider than any single party intended. The grant is *not* transferable; B must either re-negotiate with C using A's params as a hard ceiling, or refuse the delegation. Conversely, the grant *is* safely forwardable when the extension is explicitly declared transitive in its spec (rare), or when the forwarded activation carries a signed warrant chain (A→B→C) that C can verify against A's public key and that pins the params. A2A v1.0 does not mandate warrant chains; you must add them or you must re-negotiate. ## Decision Boundary The boundary is not "does C support the extension." It is "can C prove the params it is about to enforce are the params A authorized." Two operational rules fall out: - **On the delegating side (B):** before emitting any downstream request, compare the outbound `extensions` field against the inbound one key-by-key. If any authority-bearing key is dropped or widened, abort the delegation and escalate — do not "helpfully" re-derive params from B's own card. B's card describes B, not A's grant. - **On the receiving side (C):** if the extension is marked authority-bearing in the local registry and the activation carries no params, reject with `ExtensionParamsMissing` rather than applying defaults. Defaults are for *initial* negotiation, not for *forwarded* activations. Distinguish the two by presence of an upstream `warrant` or `parent_grant_id` field; if absent, treat as initial and apply defaults; if present, require params. The trap: agents that reason in natural language about their own capabilities will say "I have tool-routing, so I'll pass it along." That inference is the bug. The extension is a property of an edge, not a node. ## Operational Effect Without the boundary, the blast radius of a single dropped params field is the full authority of the most permissive agent in the chain, applied silently, attributed to no one. Audit logs record the write but not the grant, so incident response cannot reconstruct which negotiation authorized it. With the boundary enforced, the failure mode degrades to a clean rejection at C with a `parent_grant_id` that points back to A's original envelope — reconstructable, attributable, and bounded. The cost is that B must carry the inbound params through its delegation state, which means B's checkpoint/resume logic must serialize the full activation, not just the header. That is the same class of state-continuity requirement as context-window checkpointing: the activation is part of the task state, and dropping it on resume is indistinguishable from dropping it on forward. ```python from dataclasses import dataclass, field from typing import Optional class ExtensionGrantError(RuntimeError): """Raised when an A2A extension activation cannot be safely forwarded or accepted.""" class ExtensionParamsMissing(ExtensionGrantError): """Forwarded activation lacks authority-bearing params; callee defaults would widen scope.""" class ExtensionScopeWidened(ExtensionGrantError): """Forwarded params are looser than the inbound grant on an authority-bearing key.""" AUTHORITY_BEARING_KEYS = frozenset({"allowed_tool_namespaces", "max_tool_tier", "data_classes"}) @dataclass class Activation: uri: str params: dict = field(default_factory=dict) parent_grant_id: Optional[str] = None def is_authority_bearing(uri: str, registry: dict) -> bool: spec = registry.get(uri, {}) return bool(spec.get("authority_bearing", False)) def forward_activation(inbound: Activation, registry: dict) -> Activation: """B's delegation path: build the outbound activation from the inbound one.""" if not is_authority_bearing(inbound.uri, registry): return Activation(uri=inbound.uri, params={}, parent_grant_id=None) if not inbound.params: raise ExtensionParamsMissing( f"inbound activation for {inbound.uri} has no authority-bearing params; " "cannot forward without widening downstream scope" ) return Activation( uri=inbound.uri, params=dict(inbound.params), parent_grant_id=inbound.parent_grant_id or "local", ) def accept_activation(inbound: Activation, callee_defaults: dict, registry: dict) -> Activation: """C's inbound path: decide whether to honor a forwarded activation.""" if not is_authority_bearing(inbound.uri, registry): return inbound forwarded = inbound.parent_grant_id is not None if forwarded and not inbound.params: raise ExtensionParamsMissing( f"forwarded activation for {inbound.uri} carries parent_grant_id " f"{inbound.parent_grant_id!r} but no params; refusing to apply callee defaults" ) if not forwarded: return Activation(uri=inbound.uri, params=dict(callee_defaults)) for key in AUTHORITY_BEARING_KEYS & inbound.params.keys(): if key in callee_defaults: default_v = callee_defaults[key] if isinstance(default_v, (list, set)) and isinstance(inbound.params[key], (list, set)): if set(default_v) - set(inbound.params[key]): raise ExtensionScopeWidened( f"callee default for {key} widens forwarded grant: " f"{default_v!r} vs {inbound.params[key]!r}" ) elif isinstance(default_v, int) and isinstance(inbound.params[key], int): if default_v > inbound.params[key]: raise ExtensionScopeWidened( f"callee default for {key} widens forwarded grant: " f"{default_v} > {inbound.params[key]}" ) return inbound REGISTRY = { "https://example.org/a2a/ext/vendor/tool-routing/1.0": {"authority_bearing": True}, "https://example.org/a2a/ext/vendor/compression/1.0": {"authority_bearing": False}, } # Reproduces the observed break: B forwards with params intact, but C's card defaults # are looser than the inbound grant, so C must reject rather than silently widen. a_to_b = Activation( uri="https://example.org/a2a/ext/vendor/tool-routing/1.0", params={"allowed_tool_namespaces": ["crm.read"], "max_tool_tier": 2}, ) b_to_c = forward_activation(a_to_b, REGISTRY) c_defaults = {"allowed_tool_namespaces": ["*"], "max_tool_tier": 4} accept_activation(b_to_c, c_defaults, REGISTRY) # raises ExtensionScopeWidened ```