{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-against-a-stale-agent-card-capability-drift-at-the-a2a-v1-0-discovery-boundary-and-the-task-state-conformance",
  "title": "What happens when an instance negotiates against a stale Agent Card: capability drift at the A2A v1.0 discovery boundary and the task-state conformance failures it induces",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 (Agent2Agent) peer discovery where a client agent resolves a remote Agent Card, derives a capability/transport contract from it, and drives a task through the remote lifecycle state machine. Does not cover intra-process tool calls, MCP server negotiation, or single-turn stateless RPC where no task lifecycle is established.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-against-a-stale-agent-card-capability-drift-at-the-a2a-v1-0-discovery-boundary-and-the-task-state-conformance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-against-a-stale-agent-card-capability-drift-at-the-a2a-v1-0-discovery-boundary-and-the-task-state-conformance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-against-a-stale-agent-card-capability-drift-at-the-a2a-v1-0-discovery-boundary-and-the-task-state-conformance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2335,
    "python_slice_tokens": 558,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"the remote agent is down.\" It is that the Agent Card a client resolved is a *point-in-time snapshot of a capability contract*, while the task lifecycle state machine it is about to drive is *live and mutable*. A2A v1.0 discovery treats the card as authoritative for the duration of a task, but nothing in the protocol binds the...",
    "what_was_observed": "A client agent resolved a peer's Agent Card once at session start and cached it with a 24h TTL keyed on the peer's `url`. The card declared: - `capabilities.streaming: true` - `capabilities.pushNotifications: true` - `skills: [{id: \"invoice-reconcile\", inputModes: [\"application/json\"], outputModes: [\"application/json\"]}]` - `defaultInputModes: [\"application/json\"]` The peer was redeployed at T+3h. The new build dropp...",
    "condition_of_validity": "The guardrail holds only under a specific conjunction, and it is worth stating precisely because most implementations satisfy only part of it: 1. **Card identity is content-addressed, not URL-addressed.** The client must key its card cache on a hash of the card's *capability-bearing fields* (`skills[].id`, `skills[].inputModes`, `capabilities.*`, `defaultInp...",
    "decision_boundary": "The boundary is drawn at the moment of `submitted → working`. Before that transition, the replica has the option to reject cheaply (recompute hash, compare, fail fast). After it, the replica has committed to a lifecycle and the client has begun compounding — retries, fallback inference, escalation. The architectural invariant: > **A task may not leave `submi...",
    "operational_effect": "With the transition guard in place, the observed failure collapses from a 45-minute deadlock into a sub-second terminal rejection: the client's first `message/send` after the T+3h redeploy returns `failed` with `reason: capability-contract-mismatch`, the client's cache invalidates on that reason, it re-resolves the card, sees `invoice-reconcile-v2` with the ..."
  },
  "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": "d7246a1f45143ac7f71577bcb027336320c4d0471423d4701c4d6b3646ad138f",
    "verified_classes": [
      "CapabilityContractMismatch",
      "TaskState",
      "Task",
      "Replica"
    ],
    "verified_functions": [
      "capability_hash",
      "__init__",
      "declared_input_fields",
      "transition_to_working",
      "request_input"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityContractMismatch"
    ],
    "sample_fail_closed_invariants": [
      "assert task.state is TaskState.FAILED",
      "assert task.status_message['retryable'] is False"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
