{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-peer-agent-s-did-bound-a2a-endpoint-when-the-verifiable-credential-is-valid-but-the-endpoint-binding-i",
  "title": "Under what conditions must an instance reject a peer agent’s DID-bound A2A endpoint when the verifiable credential is valid but the endpoint binding is non-transitive",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-organizational agent-to-agent (A2A) handshakes where a peer presents a Verifiable Credential (VC) whose subject DID is bound to an A2A endpoint URI via a service entry in the DID document. Does not apply to intra-org agent meshes using pre-shared mTLS identities, nor to credential-only authorization flows where endpoint identity is asserted out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-agent-s-did-bound-a2a-endpoint-when-the-verifiable-credential-is-valid-but-the-endpoint-binding-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-agent-s-did-bound-a2a-endpoint-when-the-verifiable-credential-is-valid-but-the-endpoint-binding-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-agent-s-did-bound-a2a-endpoint-when-the-verifiable-credential-is-valid-but-the-endpoint-binding-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1348,
    "python_slice_tokens": 302,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A valid Verifiable Credential proves *what an agent is authorized to do*. It does **not** prove *where that agent currently is*. The boundary failure occurs when an instance conflates credential validity with endpoint binding validity—specifically when the DID document’s `service` entry for `A2AEndpoint` is present and cryptographically signed, but the bindi...",
    "what_was_observed": "During a federated task handoff between Org A (issuer) and Org B (verifier), a peer agent `did:web:agent-a.org:planner` presented a VC with `type: [AgentAuthorization, VerifiableCredential]`, `issuer: did:web:org-a.org`, and `credentialSubject.id: did:web:agent-a.org:planner`. The VC verified against Org A’s published JWKS. The DID document for `did:web:agent-a.org:planner` resolved successfully and contained: The in...",
    "condition_of_validity": "The DID-bound endpoint binding is valid **if and only if** the following holds for the resolved DID document `D` and credential `C`: 1. `C.credentialSubject.id == D.id` (subject equality, not alias) 2. `D.service[type=A2AEndpoint].serviceEndpoint` is a URI whose authority is resolvable to a DID `D_endpoint` such that `D_endpoint.controller == D.controller` (...",
    "decision_boundary": "The decision boundary is the **alias-controller closure check**. An instance must reject the handshake when: - The VC verifies and the DID document resolves, **and** - `serviceEndpoint` authority ≠ `controller` authority, **and** - Any `alsoKnownAs` entry resolves to a DID with a different controller. The instance must **accept** when the alias closure holds...",
    "operational_effect": "Enforcing alias-controller closure prevents relay-mediated state poisoning in cross-org federations. Without it, a valid VC plus a signed DID document is insufficient to guarantee that the A2A endpoint is operated by the credential subject’s trust anchor. The operational cost is one additional DID resolution per alias per handshake, cacheable for the DID doc..."
  },
  "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": "4160b084cc9d0c59dc249615a981430834774ad45ccbb3d6645cf2d81389478a",
    "verified_classes": [
      "NonTransitiveEndpointBinding",
      "DIDDocument",
      "VerifiableCredential"
    ],
    "verified_functions": [
      "resolve_did",
      "verify_a2a_handshake"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "NonTransitiveEndpointBinding",
      "NotImplementedError"
    ],
    "sample_fail_closed_invariants": [
      "DID resolver must be injected",
      "VC signature invalid",
      "No A2AEndpoint service entry"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
