{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-discovery-when-the-remote-task-lifecycle-has-already-advanced-past-the-advertised-capab",
  "title": "How does an instance detect a stale Agent Card during A2A v1.0 discovery when the remote task lifecycle has already advanced past the advertised capability set",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 peer discovery where an agent resolves a remote peer's Agent Card, binds a task lifecycle against the advertised skills/capabilities, and registers a push-notification webhook against the card's declared `pushNotifications` endpoint. Does not cover intra-process tool calls, MCP server capability negotiation, or one-shot stateless request/response with no task handle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-discovery-when-the-remote-task-lifecycle-has-already-advanced-past-the-advertised-capab.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-discovery-when-the-remote-task-lifecycle-has-already-advanced-past-the-advertised-capab.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-during-a2a-v1-0-discovery-when-the-remote-task-lifecycle-has-already-advanced-past-the-advertised-capab.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1996,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A Agent Card is a *cached, self-declared advertisement*, not a live capability contract. Discovery treats the card as ground truth at the moment of fetch, but the remote agent's actual task lifecycle state machine can advance independently of what any card snapshot says. The failure is not \"the card is wrong\" — it is that **card freshness and task-life...",
    "what_was_observed": "A client agent (`orchestrator-7`) resolved peer `summarizer-eu-2` via `/.well-known/agent.json` and received a card advertising three skills (`summarize`, `extract-entities`, `summarize-batch`) and `capabilities.pushNotifications: true` with a `pushNotifications.endpoint` webhook URL. The client created a task: The remote acknowledged the webhook binding and echoed the config. The client then released its polling loo...",
    "condition_of_validity": "This failure is bounded and reproducible only when all of the following hold: 1. The card advertises `capabilities.pushNotifications: true` **and** at least one skill with a concurrency or rate constraint (`maxConcurrentTasks`, `rateLimit`) that the client did not parse. 2. The client adopted push-only delivery (no active polling) based on the card's push ca...",
    "decision_boundary": "The operational decision is: **when a task is in `submitted` state with a registered push-notification binding, at what point does the client treat the absence of a webhook as evidence of a broken binding rather than evidence of legitimate queueing?** The naive answer — \"wait for the task's declared timeout\" — is wrong because `submitted` carries no timeout ...",
    "operational_effect": "The guardrail is a *binding liveness invariant*: every push-notification binding must carry an independently-derived liveness deadline computed from the card's concurrency constraints, and every deadline expiry must trigger a card re-fetch and a staleness diff before any retry. The client must never assume that `capabilities.pushNotifications: true` implies ..."
  },
  "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": "91fe40deebe0eae7b7c75640d61829feadee3fc9d3d342f846bdd1d024eb605a",
    "verified_classes": [
      "StaleAgentCardBindingError",
      "SkillConstraint",
      "AgentCard"
    ],
    "verified_functions": [
      "derive_binding_deadline",
      "assert_binding_liveness",
      "check_card_drift"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleAgentCardBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
