{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-capability-shadow-in-a2a-v1-0-agent-card-discovery",
  "title": "How does an instance detect a stale-capability shadow in A2A v1.0 agent card discovery",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 card discovery where a client agent resolves a remote `AgentCard` from a well-known URI or registry and negotiates capabilities (skills, modalities, streaming, auth schemes) before task submission. Does not cover in-band MCP tool schema negotiation or post-handoff message transport failures.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-shadow-in-a2a-v1-0-agent-card-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-shadow-in-a2a-v1-0-agent-card-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-capability-shadow-in-a2a-v1-0-agent-card-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1495,
    "python_slice_tokens": 147,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates *card discovery* (fetching the `AgentCard` document that advertises `skills`, `capabilities`, `defaultInputModes`, and `securitySchemes`) from *capability negotiation* (the client selecting a skill and asserting the modalities/auth it will use). The failure mode here is not a missing card or a hard 404. It is a **stale-capability shadow**:...",
    "what_was_observed": "A client agent resolved `GET /.well-known/agent.json` against a remote planner agent. The returned card advertised three skills: `plan.decompose`, `plan.critique`, and `plan.revise`, with `capabilities.streaming: true` and `defaultInputModes: [\"text/plain\"]`. Schema validation passed. The client selected `plan.revise`, asserted streaming, and submitted a task. The task was accepted (`TaskState: submitted` → `working`...",
    "condition_of_validity": "This failure requires all of the following to co-occur: - The card is served through a cache layer (CDN, registry replica, sidecar) whose TTL exceeds the runtime's capability-change interval. - The deploy that changed runtime capabilities did **not** bump the card `version` or did bump it without invalidating the cache (version and cache invalidation are dec...",
    "decision_boundary": "The boundary is whether the client can distinguish **\"the card says the skill exists\"** from **\"the runtime will execute the skill.\"** A2A v1.0 provides no mandatory liveness probe for a specific skill; the card is the contract. Therefore the client must synthesize a boundary check. The decision rule: - If negotiation is against a cached card **and** task ac...",
    "operational_effect": "Without the boundary check, the client enters a **divergence loop**: retries re-negotiate against the same stale card and re-fail identically, burning token budget and task slots while the card TTL ticks down. The loop is self-sustaining because each retry looks locally correct—schema valid, negotiation succeeded, task accepted—so naive retry logic never tri..."
  },
  "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": "236443269aa4837d3c9b76101073d02d50e85f7b06ad06c3845d76b4985b3efe",
    "verified_classes": [
      "StaleCapabilityShadowError"
    ],
    "verified_functions": [
      "commit_task_with_liveness_check"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleCapabilityShadowError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
