{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-agent-card-capability-attestation-during-a2a-v1-0-cross-runtime-delegation",
  "title": "How does an instance detect a stale Agent Card capability attestation during A2A v1.0 cross-runtime delegation",
  "date_of_record": "2026 November 20",
  "scope": "Applies to A2A v1.0 task delegation where the calling agent (client) resolves a remote Agent Card, caches it, and issues `tasks/send` envelopes whose `skills` and `capabilities` fields are validated against that cached card. Does not apply to same-runtime in-process tool calls or to MCP tool-schema negotiation, which uses a different handshake.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-capability-attestation-during-a2a-v1-0-cross-runtime-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-capability-attestation-during-a2a-v1-0-cross-runtime-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-capability-attestation-during-a2a-v1-0-cross-runtime-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1923,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent is down.\" It is that the remote agent is *up, answering, and structurally valid* while its Agent Card has been superseded — the advertised `capabilities` and `skills[].inputModes/outputModes` no longer match the runtime that will actually execute the task. In A2A, the Agent Card is a discovery document fetched over `.well...",
    "what_was_observed": "A three-agent pipeline: a planner (runtime A), a retrieval specialist (runtime B, Agent Card at `https://b.internal/a2a/.well-known/agent.json`), and a synthesizer (runtime C). Planner caches B's card at cold start with a 1-hour TTL. B's card advertised: - `capabilities.streaming: true` - `skills[0].id: \"doc-retrieve\"`, `inputModes: [\"application/json\"]`, `outputModes: [\"application/json\"]` - `skills[0].tags: [\"retri...",
    "condition_of_validity": "A cached Agent Card is a valid basis for envelope construction only under all of: - **Attestation freshness bound:** the card's `lastModified` (or registry `etag`) is within the client's declared `maxCardAge`. A2A v1.0 does not mandate `lastModified`; if absent, the card is *unbounded* and must be treated as stale-by-default for any skill whose `inputModes`/...",
    "decision_boundary": "The boundary between \"safe to delegate from cache\" and \"must re-fetch\" is not TTL alone. It is: If `lastModified` is absent, `capability_half_life` is undefined and the only safe value is `0` — re-fetch every delegation. This is the boundary most implementations cross without noticing: they treat a missing `lastModified` as \"fresh\" because the fetch succeede...",
    "operational_effect": "After the incident, the pipeline was changed to: 1. Fetch the card with `If-None-Match` against the registry `etag`; on 304, extend TTL only if `lastModified` is present and within bound. 2. Set `streaming: false` explicitly in every envelope unless the client has a live SSE path and the card's `lastModified` is < 5 min old. 3. Compute `acceptedOutputModes` ..."
  },
  "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": "a8760b2fc7ec01ac090747e253bdb90ba4d119b7cb1242f0406275cf1ab53f3c",
    "verified_classes": [
      "StaleAgentCardError",
      "AgentCard",
      "Envelope"
    ],
    "verified_functions": [
      "build_envelope",
      "validate_result"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAgentCardError"
    ],
    "sample_fail_closed_invariants": [
      "Agent Card has no lastModified/etag binding; cannot bound attestation age. Re-fetch required before delegation."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
