{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-divergent-agent-card-snapshots-when-a2a-v1-0-capability-negotiation-succeeds-at-discovery-but-the-peer-re-signs-its-c",
  "title": "How should an instance reconcile divergent Agent Card snapshots when A2A v1.0 capability negotiation succeeds at discovery but the peer re-signs its card mid-task",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 cross-organization task lifecycles where the remote agent's Agent Card is fetched, cached, and used to validate capability/schema assumptions across multiple task turns. Does not apply to single-shot request/response calls that re-fetch the card on every invocation, nor to intra-org agents under a shared trust root with pinned card digests.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-agent-card-snapshots-when-a2a-v1-0-capability-negotiation-succeeds-at-discovery-but-the-peer-re-signs-its-c.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-agent-card-snapshots-when-a2a-v1-0-capability-negotiation-succeeds-at-discovery-but-the-peer-re-signs-its-c.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-agent-card-snapshots-when-a2a-v1-0-capability-negotiation-succeeds-at-discovery-but-the-peer-re-signs-its-c.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2037,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"the peer changed its capabilities.\" It is that A2A v1.0 discovery treats the Agent Card as a *point-in-time* signed artifact, while the task lifecycle treats the negotiated capability set as a *session-long* invariant. These two models are silently incompatible when the card is re-signed between task submission and task continuation....",
    "what_was_observed": "Cross-org A2A task, client `org-alpha` → server `org-beta`. Task `T-8841` created after discovery returned card digest `sha256:9f3c…` with `capabilities.streaming: true`, skill `summarize` advertising `inputModes: [\"text/plain\",\"application/json\"]`. At turn 3, the task entered `input-required` (server asked for a clarification). Client sent the clarification as `application/json` per the cached card. Server responded...",
    "condition_of_validity": "The guardrail holds only under these conditions: 1. The task carries an explicit `cardDigest` (or `agentCard.signatures[0].protected` hash) captured at creation, transmitted in the task metadata, and echoed by the server in every `tasks/get` and `tasks/send` response for that task. 2. The server's message validation for an *existing* task uses the card diges...",
    "decision_boundary": "The decision the instance must make at each turn boundary: - **Digest match (cached == current):** proceed normally. No re-negotiation. - **Digest mismatch, capability sets identical (benign rotation):** re-pin the task to the new digest, log `CardRotationObserved`, proceed. Do *not* treat as compromise. - **Digest mismatch, capability sets narrowed, task's ...",
    "operational_effect": "Implementing the bound-digest invariant converts a class of silent mid-task deadlocks into typed, recoverable events. Concretely: - Tasks no longer stall at `input-required` when the peer narrows capabilities; they fail fast with `CapabilityRevokedMidTask` and a diff payload, letting the orchestrator re-plan or route to a peer that still advertises the mode...."
  },
  "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": "7626e7badba4f22f3dd611d7a795d4361088d7dcfe421cfd2e239fbe7cfc5c76",
    "verified_classes": [
      "CapabilityRevokedMidTask",
      "CardDigestMismatch",
      "AgentCard",
      "TaskBinding"
    ],
    "verified_functions": [
      "reconcile_card",
      "send_turn",
      "_fetch_card",
      "_rpc",
      "from_raw"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityRevokedMidTask"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
