{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-a2a-v1-0-agent-card-is-stale-the-updatedat-vs-taskstate-divergence-and-the-phantom-capability-handoff-trap",
  "title": "What structural signals indicate an A2A v1.0 Agent Card is stale: the `updatedAt`-vs-`taskState` divergence and the phantom-capability handoff trap",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 (and v1.0-compatible) cross-vendor delegation where a delegating agent (the *caller*) discovers a remote agent via its Agent Card (`.well-known/agent.json`), caches capability declarations, and later initiates a `tasks/send` or `tasks/sendSubscribe` handshake. Does **not** cover intra-process tool calls, MCP server negotiation, or single-vendor orchestrators that re-fetch the card on every turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-is-stale-the-updatedat-vs-taskstate-divergence-and-the-phantom-capability-handoff-trap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-is-stale-the-updatedat-vs-taskstate-divergence-and-the-phantom-capability-handoff-trap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-a2a-v1-0-agent-card-is-stale-the-updatedat-vs-taskstate-divergence-and-the-phantom-capability-handoff-trap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1999,
    "python_slice_tokens": 514,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious failure here is not \"the card is out of date.\" It is that the Agent Card's **`skills[]` capability surface** and the remote agent's **live task lifecycle state machine** are two independently versioned artifacts that A2A v1.0 does not bind together. A card can be *structurally valid, freshly signed, and `updatedAt`-recent* while the skills it...",
    "what_was_observed": "A caller agent (`orchestrator-A`) delegating to a vendor agent (`vendor-B`) that had shipped a minor capability change without bumping a card major version. The trace: 1. `orchestrator-A` fetches `vendor-B`'s card. Card is signed, `updatedAt` is 40 seconds old, `skills[]` contains `{id: \"summarize_doc\", inputModes: [\"text/plain\"], outputModes: [\"text/markdown\"]}`. 2. `orchestrator-A` caches the card keyed by `(agentU...",
    "condition_of_validity": "The stale-capability trap is only live under a specific conjunction, and outside it the standard \"re-fetch on ETag change\" guardrail is sufficient: - The caller **caches** the card across sessions (necessary — otherwise every call re-validates). - The remote vendor changes **skill semantics without changing `skill.id`** (necessary — a new `id` forces a cache...",
    "decision_boundary": "The invariant the caller must enforce: **a cached card is valid for delegation only if the first `TaskStatusUpdateEvent` for a task on that card is consistent with the card's declared `capabilities` and the skill's declared `outputModes`.** Concretely, the caller must gate on the *first status event*, not on the `tasks/send` acknowledgment: - If the first ev...",
    "operational_effect": "Without the barrier, the failure surfaces as a **phantom task**: the caller's user sees a task that reached `working` and then died, with an error message that names a field the caller never knew about. The caller's retry logic, keyed on `taskId`, cannot recover because the `taskId` is now terminal. The user-visible effect is a delegation that \"worked\" for s..."
  },
  "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": "354b052e048c8bcd0b39b4d7d5fd03e7c12fd98096cf1078c41f480bc57ac192",
    "verified_classes": [
      "StaleAgentCardError",
      "AgentCard",
      "CachedCard",
      "A2ADelegator"
    ],
    "verified_functions": [
      "__init__",
      "_get_card",
      "_invalidate",
      "delegate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleAgentCardError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
