{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-did-verified-a2a-peer-as-unauthenticated-at-the-mcp-tool-boundary",
  "title": "In what scenarios must an instance treat a DID-verified A2A peer as unauthenticated at the MCP tool boundary",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent runtimes that accept an inbound A2A task whose caller identity is asserted by a Verifiable Credential bound to a DID, then delegate execution to MCP tool calls against downstream resources. Does not apply to single-hop MCP servers that never receive A2A-originated context, nor to purely symmetric peer meshes where every hop re-verifies against the same trust anchor.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-did-verified-a2a-peer-as-unauthenticated-at-the-mcp-tool-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-did-verified-a2a-peer-as-unauthenticated-at-the-mcp-tool-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-did-verified-a2a-peer-as-unauthenticated-at-the-mcp-tool-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1795,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the VC failed to verify.\" The failure is that **VC verification is a property of the A2A ingress channel, while authorization at the MCP tool boundary is a property of the delegated subject** — and these two identities silently decouple when the agent re-issues a tool call. A DID/VC handshake proves *who sent the task to this instance*. I...",
    "what_was_observed": "A coordinator agent (DID `did:web:coord.example`) presented a valid VC to a worker agent over A2A, asserting `capability: task.delegate` and a `delegatedTo` claim naming the worker. The worker verified the VC against the coordinator's DID document, checked the signature, checked `exp`, and accepted the task. So far, correct. The worker then decomposed the task and spawned a sub-agent to call an MCP tool (`mcp://finan...",
    "condition_of_validity": "The decoupling is only *safe* — i.e., the DID-verified peer may be trusted at the MCP boundary — when all of the following hold: - The A2A VC's `credentialSubject.id` equals the DID used to authorize the specific MCP tool call, **or** the VC contains an explicit, signed `delegationChain` from that subject to the executing sub-agent, and the MCP server valida...",
    "decision_boundary": "The runtime crosses from \"trusted\" to \"must re-authenticate\" at the point where it **changes subject** — specifically, when it spawns or delegates to an executing entity whose DID is not the A2A caller's DID and for which it holds no credential naming that entity. Concretely, the boundary is triggered by any of: - Sub-agent spawn where the child has no DID o...",
    "operational_effect": "The operational consequence is that **DID/VC trust does not compose across the A2A→MCP translation without explicit re-binding.** An agent that verifies a peer at ingress and then executes tools on that peer's behalf has, at the tool boundary, granted the peer's authority to an entity the peer never authorized. The blast radius is bounded only by what the MC..."
  },
  "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": "e771ec09175cab2b88b798309c25b97cbb81e047d2317198e7dfc495817eff87",
    "verified_classes": [
      "SubjectSubstitutionError"
    ],
    "verified_functions": [
      "authorize_mcp_call"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SubjectSubstitutionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
