{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-a2a-discovery-staleness-versus-task-lifecycle-terminality",
  "title": "What happens when an instance trusts a cached Agent Card past its capability epoch: A2A discovery staleness versus task-lifecycle terminality",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 deployments where a client agent caches a remote `AgentCard` (from `/.well-known/agent.json` or the registry) and reuses it across task submissions while the remote agent mutates its advertised skills, artifact MIME types, or `capabilities.streaming`/`pushNotifications` flags. Does not cover initial discovery handshake failures or transport-level TLS errors, which fail loudly and are out of scope.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-a2a-discovery-staleness-versus-task-lifecycle-terminality.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-a2a-discovery-staleness-versus-task-lifecycle-terminality.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-past-its-capability-epoch-a2a-discovery-staleness-versus-task-lifecycle-terminality.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1613,
    "python_slice_tokens": 309,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the card is stale.\" It is that A2A's task lifecycle and A2A's capability advertisement are two independently versioned state machines that the spec never binds together with a monotonic fence. A task moves `submitted → working → input-required → completed|failed|canceled`. An AgentCard mutates out-of-band, with no epoch in the task envelo...",
    "what_was_observed": "A procurement agent (vendor A) discovered a document-extraction agent (vendor B) at T0. Cached card advertised one skill, `extract`, with `outputModes: [\"application/json\"]` and artifact schema `schemaVersion: \"1.2\"`. At T0+40min, vendor B shipped `schemaVersion: \"1.3\"`, which renamed `pages[].blocks` to `pages[].segments` and moved `confidence` from block-level to page-level. The card's `version` field was bumped to...",
    "condition_of_validity": "The invariant that must hold — and that A2A v1.0 does not enforce — is: > **For any task that reaches a terminal state, the artifact schema the client validates against MUST be the schema the server emitted against, and the capability flags the client used for transport selection MUST match those the server honored for that task.** This holds only if one of ...",
    "decision_boundary": "The boundary is the **cache-fill-to-terminal-state window** versus the **capability mutation window**. If `cache_fill_time + cache_ttl < mutation_time`, the client is safe. If `mutation_time < cache_fill_time + cache_ttl < task_terminal_time`, the client is in the silent-failure zone: the task will complete against a schema it cannot validate. The decision r...",
    "operational_effect": "The operational consequence is that A2A task success and artifact conformance are *decoupled*, and the decoupling is invisible in the task state machine. A monitoring system watching `task.status.state` will report 100% success while the artifact pipeline silently drops payloads. The remediation is to add a **conformance gate downstream of terminality**: eve..."
  },
  "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": "353bd2cdeba7a96e92878db2ad88a45bf7bf06a31b59246d81b8e99f574ed617",
    "verified_classes": [
      "ArtifactSchemaConformanceError",
      "CachedCard"
    ],
    "verified_functions": [
      "ingest_terminal_artifacts"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ArtifactSchemaConformanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
