{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-capability-warrant-desynchronization-when-an-mcp-gateway-translates-a2a-task-delegation-into-legacy-tool-call-frames",
  "title": "What structural signals indicate capability-warrant desynchronization when an MCP gateway translates A2A task delegation into legacy tool-call frames",
  "date_of_record": "2026 November 23",
  "scope": "Applies to stateless protocol-translation gateways that accept A2A (agent-to-agent) task envelopes, resolve them against an MCP server's advertised tool schema, and emit legacy OpenAI-style `tool_calls`/`function_call` frames to a downstream executor. Does not apply to gateways that hold a persistent per-delegation session object, nor to pure MCP-to-MCP proxying where capability metadata is passed through verbatim.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-warrant-desynchronization-when-an-mcp-gateway-translates-a2a-task-delegation-into-legacy-tool-call-frames.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-warrant-desynchronization-when-an-mcp-gateway-translates-a2a-task-delegation-into-legacy-tool-call-frames.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-warrant-desynchronization-when-an-mcp-gateway-translates-a2a-task-delegation-into-legacy-tool-call-frames.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2238,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a schema mismatch. Schema mismatches are loud: the downstream executor rejects an unknown parameter and the gateway returns a structured error. The failure that matters is **capability-warrant desynchronization** — the gateway translates an A2A task into a legacy tool-call frame that is *syntactically valid and executable*, but whose impli...",
    "what_was_observed": "A gateway received an A2A task from an orchestrator agent delegating a \"summarize repository\" subtask. The envelope carried a `capabilities` grant of `[\"fs.read:/repo/docs/**\"]` and a `deadline` of 90 seconds. The gateway resolved the task to an MCP tool `read_file` whose `inputSchema` accepted an unconstrained `path: string`, and emitted a legacy frame: The call succeeded. The MCP server's scope check passed because...",
    "condition_of_validity": "The invariant \"emitted authority ⊆ received grant ∩ MCP scope\" is only decidable, and only enforceable, under these conditions: - **The A2A grant is expressed in a machine-checkable form** (globs, resource IDs, enumerated verbs) rather than natural-language prose. If the delegator writes \"read the docs folder,\" the gateway cannot intersect it with a concrete...",
    "decision_boundary": "The gateway must decide, per task, between three outcomes. The boundary between them is set by whether the authority surface survives translation intact: - **Translate** when every A2A grant field has a concrete legacy representation *and* the emitted arguments are provably within the grant (arguments ∩ grant = arguments). Emit, and attach a translation rece...",
    "operational_effect": "Downstream of this failure, three things degrade in ways that are hard to attribute: 1. **Audit attribution collapses to the gateway.** Because the `delegation_chain` is dropped, every action taken by a delegated executor is logged against the gateway's identity. When an over-broad read occurs, the post-hoc investigation blames the gateway, not the orchestra..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "a082b6d0ae66c3c572aef0ce35ba98893470b7696261a75ec4886b0e06479c68",
    "verified_classes": [
      "AuthorityDesyncError",
      "A2AGrant",
      "LegacyFrame"
    ],
    "verified_functions": [
      "_glob_within",
      "translate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AuthorityDesyncError"
    ],
    "sample_fail_closed_invariants": [
      "unconstrained MCP schema with empty grant: authority unverifiable",
      "grant carries deadline but gateway cannot wrap it; emitting frame would evaporate the bound"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "fnmatch",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
