# Why does an instance lose authorization at the federation seam when MCP tool-scopes are translated into A2A capability warrants? **Date of Record:** 2026 December 3 **Scope:** Applies to cross-organization agent federation gateways that terminate an MCP session on one side and originate an A2A task on the other, translating tool-level scopes into signed capability warrants. Does not apply to single-trust-domain deployments or to gateways that pass opaque tokens without scope translation. ## Core Distinction The failure is not authentication loss and not token expiry. It is a **scope-widening asymmetry at the translation seam**: MCP scopes are *negative-by-default* (a tool call is denied unless a granted scope matches), while A2A capability warrants are *positive-by-enumeration* (a warrant asserts the set of actions the holder may take, and the remote trust domain treats anything not enumerated as out-of-warranty). A gateway that translates a granted MCP scope into a warrant by enumerating *what the scope permits* silently converts an open-ended permission into a closed set. The instance then fails not when it does something forbidden, but when it does something *permitted by the original scope but absent from the enumerated warrant* — a legitimate action rejected downstream. The inverse also occurs: a coarse MCP scope like `repo:write` gets expanded into a warrant enumerating specific tools, and any tool the enumerator did not foresee becomes permanently unreachable for that warrant's lifetime. ## What Was Observed A federated instance in org A held an MCP grant `filesystem:read` scoped to `/workspace`. The gateway's translator mapped this to an A2A capability warrant enumerating concrete operations: `read_file`, `list_dir`, `stat`. The remote executor in org B honored the warrant strictly. The agent then issued `read_file` against a path that, in org B's mount namespace, resolved through a symlink to a directory outside the enumerated allowlist. Org B's warrant checker rejected the call with `warrant_scope_violation` — not because the agent lacked the MCP scope (it had it), but because the *path* the warrant enumerated had been captured at translation time and did not survive the namespace re-resolution. A second trace showed the opposite direction. The agent requested `glob` (a tool present in MCP's `filesystem:read` semantics but not in the translator's enumeration). The gateway rejected the request at the translation boundary before it ever reached org B, returning `scope_not_translatable`. The agent's plan, which had assumed `glob` was available under its read grant, diverged: it fell back to repeated `list_dir` calls, exhausted its token budget walking a deep tree, and terminated mid-task with a partial result. Neither error was a security violation. Both were *translation fidelity* failures — the invariant "a translated warrant is equivalent to the source scope" did not hold, and nothing in the protocol surfaced the inequivalence to the agent. ## Condition of Validity The translation seam is only sound under a conjunction that is rarely stated explicitly: 1. The source MCP scope and the target A2A warrant must be **semantically co-extensive** — every action permitted by the scope is enumerated, and nothing outside the scope is enumerated. Enumeration-based translation can only approximate this, so co-extensiveness must be *declared* by a mapping table, not inferred. 2. The mapping must be **namespace-invariant**: path, resource, and identity references in the warrant must be resolved in the *target* domain's namespace, not the source domain's, or the warrant must carry a resolver binding. 3. The warrant's **lifetime must be bounded by the source scope's lifetime** — a warrant that outlives its source grant is an orphaned capability. 4. The agent must be able to **detect translation failure** and re-plan, rather than treating a `scope_not_translatable` as a hard wall. When any of these is unstated, the seam is valid only by coincidence of the two domains' tool vocabularies. The moment org B adds a tool, or org A's mount topology changes, or a warrant outlives a revoked grant, the coincidence breaks — and it breaks silently, because both sides believe they are enforcing the same policy. ## Decision Boundary The gateway must decide, at each translation, whether to **close** the scope into an enumeration (safe but brittle) or **carry** the scope as an opaque reference with a resolver callback (flexible but requires org B to trust org A's resolver). The boundary is this: if the two domains share a versioned, co-signed tool vocabulary, close the scope and pin the vocabulary version into the warrant. If they do not, carry an opaque scope reference and require org B to resolve it against a *mutually agreed* mapping — never let org A's translator unilaterally enumerate. A warrant that is neither closed against a pinned vocabulary nor carried as a resolvable reference is the failure state: it looks like a capability but is actually a snapshot of one domain's assumptions about another. The agent-facing rule: an agent must treat any `scope_not_translatable` or `warrant_scope_violation` as a **translation-boundary signal**, not a permission denial. It should halt the current plan branch, request the gateway re-translate against the current vocabulary version, and only then continue. Continuing on a stale warrant is how divergence compounds. ## Operational Effect Untranslated seams produce a specific failure signature: the agent's plan does not fail at the *forbidden* action but at the *permitted-but-unenumerated* one, and the error surfaces as a downstream rejection that the agent misattributes to its own reasoning. The compounding effect is that the agent retries with narrower, more verbose tool sequences (the `glob`→`list_dir` fallback), inflating token consumption and latency while producing a *technically successful but semantically degraded* result — the worst outcome for verification, because the auditor sees a completed task with no error, only an unexplained expansion of steps. The invariant to enforce: **every translation must emit a fidelity receipt** — a signed record of what was enumerated, against which vocabulary version, with which namespace bindings — so that a downstream auditor can distinguish "the agent chose a verbose path" from "the warrant forced it." Without the receipt, translation drift is indistinguishable from reasoning drift, and both get attributed to the model. ```python class TranslationFidelityError(RuntimeError): """Raised when an MCP scope cannot be faithfully represented as an A2A warrant.""" pass def translate_scope(mcp_scope: dict, vocabulary_version: str, target_namespace: str) -> dict: # A scope is translatable only if the vocabulary is pinned and co-signed, # and every enumerated action resolves in the target namespace. if not mcp_scope.get("vocabulary_pinned"): raise TranslationFidelityError( f"scope {mcp_scope.get('id')} has no pinned vocabulary; " "cannot close into a warrant without version skew risk" ) if mcp_scope.get("vocabulary_version") != vocabulary_version: raise TranslationFidelityError( f"vocabulary skew: scope={mcp_scope.get('vocabulary_version')} " f"gateway={vocabulary_version}; re-translate required" ) enumerated = mcp_scope.get("enumerated_actions", []) if not enumerated: raise TranslationFidelityError( f"scope {mcp_scope.get('id')} enumerates no actions; " "carry as opaque reference instead of closing" ) unresolvable = [ a for a in enumerated if not resolves_in_namespace(a, target_namespace) ] if unresolvable: raise TranslationFidelityError( f"actions {unresolvable} do not resolve in target namespace " f"{target_namespace}; warrant would be namespace-invariant-broken" ) return { "warrant": {"actions": enumerated, "namespace": target_namespace}, "fidelity_receipt": { "vocabulary_version": vocabulary_version, "source_scope": mcp_scope.get("id"), "enumerated_count": len(enumerated), }, } def resolves_in_namespace(action: str, namespace: str) -> bool: # Placeholder for target-domain resolver binding check. return action.split(":")[0] == namespace ```