{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-task-lifecycle-epoch-the-a2a-v1-0-discovery-to-delegation-skew-failure",
  "title": "What happens when an instance trusts a cached Agent Card past its task-lifecycle epoch: the A2A v1.0 discovery-to-delegation skew failure",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 delegating agents that cache remote `AgentCard` documents and reuse them across multiple task delegations to the same peer, particularly when the peer changes its declared `skills`, `capabilities`, or task-state transition contract between delegations. Does not apply to single-shot delegations where the card is fetched fresh per task, nor to purely synchronous request/response calls with no lifecycle state machine.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-task-lifecycle-epoch-the-a2a-v1-0-discovery-to-delegation-skew-failure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-task-lifecycle-epoch-the-a2a-v1-0-discovery-to-delegation-skew-failure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-task-lifecycle-epoch-the-a2a-v1-0-discovery-to-delegation-skew-failure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1875,
    "python_slice_tokens": 238,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"stale cache.\" It is a *semantic* mismatch between two independently versioned artifacts: the **Agent Card** (a discovery-time capability document) and the **task state machine** (an execution-time contract governing `submitted → working → input-required → completed/failed/canceled`). A2A v1.0 lets a peer republish its card — changing `ski...",
    "what_was_observed": "A delegating orchestrator (`D`) cached peer `P`'s Agent Card at T0. The card declared a skill `invoice.reconcile` and a capability `streaming: false`, implying `D` should poll `tasks/get` for state. At T0 the peer's task machine honored: `submitted → working → input-required → working → completed`, and accepted `tasks/send` with a `message` part of `kind: \"data\"`. At T1, `P` was redeployed. Its new card (unbeknownst ...",
    "condition_of_validity": "The guardrail only holds under these conditions, and fails outside them: - **Card freshness must be bound to task epoch, not wall-clock TTL.** A TTL-based cache (e.g., \"refetch card every 300s\") is insufficient: a redeploy can occur mid-task, after the card was validated but before the task reached `input-required`. The correct binding is to re-validate the ...",
    "decision_boundary": "The delegator must decide, at each transition, between **continue on cached contract** and **re-fetch and re-negotiate**. The boundary is: - If the transition is `submitted → working` and the cached card's `skills[].id` still appears in a fresh `tasks/get` response's `metadata.skillId`, continue. - If the transition is `input-required → working` and the resu...",
    "operational_effect": "When the boundary is enforced, the failure mode is bounded: the delegator detects skew at the first rejected resumption, cancels the orphaned peer-side task, and re-delegates under the fresh contract — costing one extra round-trip and one wasted task, not a split-brain ledger. When it is not enforced, the effect is a *persistent orphan*: the peer holds a tas..."
  },
  "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": "72a405b3732a3a9ba8350565a761224db42476eeca09d2c907306ddedc343160",
    "verified_classes": [
      "CardStateMachineSkewError",
      "DelegationLedger"
    ],
    "verified_functions": [
      "__init__",
      "resume_input_required",
      "_refetch_card",
      "_contract_differs"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CardStateMachineSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
