{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-task-whose-agent-card-was-signed-by-a-key-the-caller-never-resolved",
  "title": "Why does an instance accept a task whose Agent Card was signed by a key the caller never resolved?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task delegation where the caller discovers a remote Agent Card via a well-known URI, verifies its signature against a JWKS, and then negotiates a task lifecycle (`submitted → working → completed`). Does not apply to same-process tool invocation (MCP) or to statically pinned agent registries where card and key are provisioned out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-whose-agent-card-was-signed-by-a-key-the-caller-never-resolved.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-whose-agent-card-was-signed-by-a-key-the-caller-never-resolved.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-whose-agent-card-was-signed-by-a-key-the-caller-never-resolved.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1796,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the signature failed to verify.\" The failure is that card *authenticity* and card *authority over the task* are two different invariants, and A2A v1.0 lets you satisfy the first while silently violating the second. An Agent Card is a signed JSON document containing `name`, `capabilities`, `skills`, `securitySchemes`, and — critically — a ...",
    "what_was_observed": "Trace of a delegation that passed every check the caller had implemented and still crossed a trust boundary: 1. Caller resolves `https://agent-b.partner.example/.well-known/agent-card.json`, receives a card with `kid: \"b-prod-2025-04\"` and `securitySchemes.oauth2.issuer: \"https://auth.partner.example\"`. 2. Caller fetches `https://auth.partner.example/.well-known/jwks.json`, finds `b-prod-2025-04`, verifies the JWS ov...",
    "condition_of_validity": "The card-as-authority invariant holds only when all of the following are true, and A2A v1.0 does not enforce any of them: - **Executor binding:** the instance answering `message/send` must present a proof that it is the same principal the card describes — e.g. a short-lived JWT whose `iss` matches `securitySchemes.oauth2.issuer` and whose `sub` is bound to t...",
    "decision_boundary": "The caller must decide, at card-fetch time, whether it is willing to delegate to an executor it cannot bind. The boundary is: - **If** the card's `securitySchemes` include a scheme that produces a per-request bearer token whose `sub` is checked by the executor against the card's `kid` — **then** card signature is sufficient authority and delegation may proce...",
    "operational_effect": "In the observed trace, the caller's retry logic treated the `404` on cancel as transient and re-sent `tasks/cancel` three times across two instances, each returning `404`. The task record was orphaned in the partner's queue, and the caller's own ledger marked it `cancelled` — a state the executor never agreed to. Downstream reconciliation flagged a phantom i..."
  },
  "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": "6f2d97e83d87a9d23ebed0914d5c7cccc9f841a9d16427144c1dbfd1692c79b2",
    "verified_classes": [
      "TrustBoundaryError",
      "AgentCard",
      "TaskHandle"
    ],
    "verified_functions": [
      "begin_task",
      "cancel_task"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TrustBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "uuid"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
