{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-fail-a2a-v1-0-delegation-when-a-peer-re-signs-its-agent-card-mid-task",
  "title": "Why does an instance fail A2A v1.0 delegation when a peer re-signs its agent card mid-task?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-vendor A2A v1.0 task delegation where the delegating (\"client\") agent pins a peer's agent card, JWS signature, and declared capabilities at discovery time, then delegates a multi-turn task. Does not apply to single-shot stateless RPC calls or to same-vendor delegation where card and signer live under one trust root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-a2a-v1-0-delegation-when-a-peer-re-signs-its-agent-card-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-a2a-v1-0-delegation-when-a-peer-re-signs-its-agent-card-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-fail-a2a-v1-0-delegation-when-a-peer-re-signs-its-agent-card-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1782,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent went down\" and it is not \"the signature was invalid.\" It is a **card-identity discontinuity**: the A2A v1.0 agent card is a *mutable, independently signed document served at a well-known URL* (`/.well-known/agent.json`), and its signature is bound to the document bytes, not to the task session. A peer may legitimately rot...",
    "what_was_observed": "A three-vendor pipeline: Orchestrator (vendor A) discovers a Research agent (vendor B) via `/.well-known/agent.json`, verifies the detached JWS over the card using B's published JWKS, and pins `card_sha256` plus the `skills[].id` set into its task record. Turn 1 delegates `skill: \"web_research\"` with a `task_id`. Vendor B, mid-task, deploys a new card that (a) rotates the signing `kid`, and (b) renames `web_research`...",
    "condition_of_validity": "The failure is bounded by a precise condition. It occurs **iff all three hold**: - The client **re-fetches** the card on every turn (or on any turn after TTL expiry) rather than caching the pinned bytes for the task lifetime. - The peer's card is **signed by a key that rotates independently** of the task session (i.e., signature validity is not co-terminous ...",
    "decision_boundary": "The architecturally correct boundary is a **card-version fence**, not a card-freshness check. On task acceptance, the client records `card_version = (card_sha256, signing_kid, issued_at, skill_id)`. On every subsequent turn it must satisfy one of: - **Exact replay:** live card hash and `kid` equal the pinned tuple → proceed. - **Verified supersession:** live...",
    "operational_effect": "With the fence in place, the observed pipeline behaves as follows: the `unknown kid` no longer masquerades as a transport error (it is classified as a card discontinuity and routed to re-authorization, not retry); the skill rename is resolved through `supersedes` rather than failing closed on an allowlist miss; and the orphaned `contextId` is caught at the f..."
  },
  "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": "78fbf2b51f83e054a47b1c35a98a4041cce03f4b5453bab2fa74246cab12b367",
    "verified_classes": [
      "CardDiscontinuityError",
      "PinnedCard",
      "LiveCard",
      "TaskRecord"
    ],
    "verified_functions": [
      "authorize_turn",
      "sha256"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CardDiscontinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
