{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-peer-s-agent-card-when-its-jws-capability-manifest-verifies-cryptographically-but-its-declared-capabil",
  "title": "Under what conditions must an instance reject a peer's Agent Card when its JWS capability manifest verifies cryptographically but its declared capability set contradicts the manifest's `extensions` hash chain",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 peers that publish a signed JWS Agent Card whose `capabilities` object is covered by an `extensions` array of hash-chained sub-manifests. Does not apply to unsigned cards, to cards whose signature fails outright (that is a different, simpler rejection path), or to intra-process tool schemas.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-agent-card-when-its-jws-capability-manifest-verifies-cryptographically-but-its-declared-capabil.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-agent-card-when-its-jws-capability-manifest-verifies-cryptographically-but-its-declared-capabil.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-agent-card-when-its-jws-capability-manifest-verifies-cryptographically-but-its-declared-capabil.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1563,
    "python_slice_tokens": 257,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"signature invalid\" — that case is trivial and every conformant client rejects it. The non-obvious case is **signature valid, semantic contradiction**: the JWS verifies against the publisher's key, the `extensions` hash chain is internally consistent, and yet the top-level `capabilities` block asserts a capability set that is *no...",
    "what_was_observed": "A coordinator agent discovered a worker via a well-known Agent Card endpoint. The card declared: - `capabilities.streaming: true` - `capabilities.pushNotifications: true` - `capabilities.extensions: [{uri: \"a2a://ext/filesystem-write\", digest: \"sha256:9f2c…\", prev: null}, {uri: \"a2a://ext/shell-exec\", digest: \"sha256:1a7b…\", prev: \"sha256:9f2c…\"}]` The JWS verified cleanly. The chain was well-formed: `prev` linkage m...",
    "condition_of_validity": "A peer's Agent Card is admissible for capability-gated dispatch **only if all of the following hold simultaneously**: 1. The JWS verifies against a `kid` resolved from the publisher's current JWKS, fetched independently of the card body (never trust a `jku`/`x5u` embedded in the card itself — that is a separate injection vector). 2. The `extensions` array is...",
    "decision_boundary": "The boundary is between **\"verified\"** and **\"coherent.\"** These are independent predicates and must be evaluated as such: - `verified ∧ coherent` → admit, cache, dispatch. - `¬verified` → reject, do not cache, log as transport/identity failure. - `verified ∧ ¬coherent` → **reject and quarantine**. Do not cache as a valid card. Do not fall back to \"trust the...",
    "operational_effect": "Enforcing coherence at discovery time converts a mid-execution sandbox denial (non-atomic, leaves partial state, forces checkpoint rollback) into a pre-dispatch rejection (atomic, zero side effects, actionable audit record). The coordinator never checkpoints a task against a peer it will not be able to complete. The cost is one extra pass over the `extension..."
  },
  "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": "99a1b8b65d53888421ffc737edd6c4f591aa931df8fe4e949d055b33ddb215cd",
    "verified_classes": [
      "ManifestCoherenceError",
      "SubManifest"
    ],
    "verified_functions": [
      "_verify_chain_links",
      "admit_agent_card"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestCoherenceError"
    ],
    "sample_fail_closed_invariants": [
      "card JWS did not verify; refusing admission"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
