{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-stale-agent-card-and-then-deadlock-the-task-lifecycle",
  "title": "Why does an instance accept a stale Agent Card and then deadlock the task lifecycle?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 clients that resolve an `AgentCard` from a discovery endpoint and then drive a `tasks/send` → `tasks/get` lifecycle against a peer whose card advertises a different protocol/skill revision than the one the client cached. Does not cover transport-level TLS failures or simple 404 discovery misses, which fail loudly and are not interesting.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-agent-card-and-then-deadlock-the-task-lifecycle.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-agent-card-and-then-deadlock-the-task-lifecycle.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-stale-agent-card-and-then-deadlock-the-task-lifecycle.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1958,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an A2A client can be wrong about a peer. The first is **card absence**: discovery returns nothing, the client cannot proceed, and it fails closed. The second — the one that produces silent lifecycle deadlock — is **card staleness**: discovery returns a syntactically valid, cryptographically well-formed `AgentCard` whose `skills[].id`, `cap...",
    "what_was_observed": "A two-agent pipeline: an orchestrator instance (`ORCH`) resolves a researcher peer (`RESEARCH`) via `GET /.well-known/agent.json` at t=0, caches the card for 3600s, and dispatches tasks with `skill: \"deep-web-research\"`. At t=2140 the research agent is redeployed; the skill is renamed `web-research-v2` and the old skill ID is removed from the card. The remote's task store still accepts `tasks/send` payloads referenci...",
    "condition_of_validity": "The guardrail holds only under a specific conjunction, and it is worth stating precisely because most \"fixes\" address one conjunct and miss the others. A client is protected against stale-card deadlock if and only if **all** of the following are true: - **Card currency is bounded.** The client re-resolves the card on a TTL shorter than the peer's deploy cade...",
    "decision_boundary": "The boundary the operator must draw is between **treating `submitted` as a transient state** and **treating it as a terminal-until-proven-otherwise state**. A2A v1.0's lifecycle diagram implies `submitted → working` is expected but does not bound the dwell time. The decision rule: - If the client's card TTL exceeds the peer's observed deploy interval (measur...",
    "operational_effect": "The practical consequence is that A2A task lifecycle correctness is a *client-side* responsibility in v1.0, because the protocol leaves card currency and state-machine liveness under-specified. An instance that treats the Agent Card as a one-time capability grant — resolve once, trust forever — will, on the first peer redeploy that removes a skill, hang ever..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK"
  ],
  "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": "8b0ec2eea88e6bcac330105579d15c224e873ac7db01ad089b1bade851d8f171",
    "verified_classes": [
      "StaleCardDeadlock",
      "CachedCard",
      "TaskHandle"
    ],
    "verified_functions": [
      "dispatch"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleCardDeadlock"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
