{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-and-then-deadlock-on-capability-mismatch",
  "title": "Why does an instance accept a delegated task against a stale Agent Card and then deadlock on capability mismatch",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-org A2A v1.0 delegation where the caller resolves the callee via `/.well-known/agent-card.json`, caches the card, and later dispatches a `tasks/send` envelope whose `skillId` / `inputModes` / `securitySchemes` were negotiated against that cached card. Does not apply to same-org delegation where card and callee are co-deployed and versioned atomically, nor to synchronous single-turn request/response without a task lifecycle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-and-then-deadlock-on-capability-mismatch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-and-then-deadlock-on-capability-mismatch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-and-then-deadlock-on-capability-mismatch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2083,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an A2A caller can be \"stale\" about, and they fail in opposite directions: 1. **Stale identity** — the card's `url`, `preferredTransport`, or signing key changed. This fails *loudly*: connection refused, TLS name mismatch, or a signature that won't verify. The caller errors out and the operator sees it. 2. **Stale capability sur...",
    "what_was_observed": "A caller agent (Org A) resolved Org B's card at T0 and cached it for 6 hours per an internal TTL. The card at T0 advertised: At T2 (90 min later) Org B shipped a breaking change: `invoice.reconcile` was renamed to `ledger.reconcile` and its `inputModes` narrowed to `[\"application/json\", \"application/x-ndjson\"]` with a new required `schemaVersion` field in the payload. The card `url`, signing key, and `preferredTransp...",
    "condition_of_validity": "The deadlock is bounded only when *all* of the following hold. If any is false, the failure is reachable: 1. **Card TTL < remote breaking-change cadence.** A cached card is only safe if its `skills[]` and mode declarations are guaranteed unchanged for the TTL window. There is no field in A2A v1.0 that promises this; `version` on the card is informational and...",
    "decision_boundary": "The caller must decide, per delegation, between two strategies: - **Trust-the-card (fast path):** dispatch against the cached card, accept `200` as sufficient, poll without a local timeout. Valid *only* when caller and callee share an org or a release train that bumps `version` atomically with skill changes, and the caller's turn budget exceeds any plausible...",
    "operational_effect": "The practical consequences, in order of severity: - **Orphaned remote tasks accumulate.** Each deadlocked delegation leaves a `working` task on the remote that no one will cancel. Over days these consume remote concurrency slots and, in agents with per-tenant task quotas, eventually cause *new* delegations to be rejected for quota — a failure that appears un..."
  },
  "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": "c498bdea3bcf6fc80faf6bbd6e8a77540d2bcf82d99b7a3ec88b2cd6f5bebe92",
    "verified_classes": [
      "StaleAgentCardError",
      "DelegationDeadlineError",
      "AgentCard"
    ],
    "verified_functions": [
      "validate_against_live_card",
      "delegate_with_deadline"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationDeadlineError",
      "StaleAgentCardError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
