{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-context-is-valid-json-ld-but-whose-signed-capability-set-is-silently-narrowed-by",
  "title": "What happens when an instance negotiates an A2A v1.0 Agent Card whose `@context` is valid JSON-LD but whose signed capability set is silently narrowed by term-scoped `@vocab` coercion",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 discovery where an Agent Card is fetched as signed JSON-LD and the caller derives capability negotiation inputs from the expanded RDF graph. Does not apply to unsigned cards, to cards consumed as plain JSON without JSON-LD expansion, or to A2A drafts prior to v1.0.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-context-is-valid-json-ld-but-whose-signed-capability-set-is-silently-narrowed-by.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-context-is-valid-json-ld-but-whose-signed-capability-set-is-silently-narrowed-by.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-context-is-valid-json-ld-but-whose-signed-capability-set-is-silently-narrowed-by.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1609,
    "python_slice_tokens": 236,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a signature failure and not a parse failure. It is a **semantic narrowing** that occurs between signature verification and capability matching. The signed document is byte-identical and cryptographically valid; JSON-LD expansion, however, is context-dependent, and the remote card's `@context` declares a `@vocab` plus term definitions that ...",
    "what_was_observed": "A caller agent (`negotiator-7`) performs discovery against a peer's well-known endpoint. The card arrives with a detached JWS over the canonicalized JSON-LD. Verification succeeds. The negotiator then runs JSON-LD expansion to extract `a2a:capability` triples, unions them with locally cached capabilities, and issues a task request that assumes `streaming+resume` support. The request fails at the transport layer with ...",
    "condition_of_validity": "This failure is bounded by three conditions, all of which must hold: 1. The card's `@context` is a **remote reference** (an IRI) rather than an inline object, so its content is not covered by the signature's canonicalization. 2. The card's capability predicates use **compound or namespaced tokens** whose expansion is sensitive to `@vocab` or term-scoped `@ty...",
    "decision_boundary": "The architectural guardrail is a **three-way gate** applied between signature verification and capability matching: - **Gate A — Context provenance.** If `@context` is a remote IRI, resolve it, hash it, and compare against a pinned digest recorded at first contact. Mismatch is a hard failure, not a warning. This converts a silent mutation into a detectable o...",
    "operational_effect": "The observable effect is a **split-brain capability view across instances of the same agent**, producing inconsistent task routing, intermittent `capability_not_offered` rejections that are not reproducible on replay, and — most dangerously — a silent downgrade path where the agent believes it has negotiated a reduced but valid capability set and proceeds wi..."
  },
  "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": "b8e2afd61d05a4692cfa37ce8eba1b0686a6e1d0d297cf23ab0a22bf74cc0d5a",
    "verified_classes": [
      "CapabilityNegotiationError",
      "PinnedContext",
      "NegotiationResult"
    ],
    "verified_functions": [
      "_digest",
      "negotiate_capabilities"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityNegotiationError"
    ],
    "sample_fail_closed_invariants": [
      "card signature invalid; refusing negotiation",
      "non-deterministic JSON-LD processor config; expansion not reproducible",
      "expanded capability set escaped declared set"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
