{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-validate-the-agent-card-snapshot-invariant-when-a2a-v1-0-task-delegation-crosses-an-org-boundary-mid-lifecycle",
  "title": "How should an instance validate the \"Agent Card Snapshot\" invariant when A2A v1.0 task delegation crosses an org boundary mid-lifecycle",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 task delegation where a client agent (Org A) discovers a remote agent card (Org B) and initiates `tasks/send`, and the remote card's declared capabilities, endpoint, or signing key can change between discovery and task continuation. Does not apply to same-org delegation, nor to stateless single-turn `message/send` calls that complete within one discovery cache TTL.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-the-agent-card-snapshot-invariant-when-a2a-v1-0-task-delegation-crosses-an-org-boundary-mid-lifecycle.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-the-agent-card-snapshot-invariant-when-a2a-v1-0-task-delegation-crosses-an-org-boundary-mid-lifecycle.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-validate-the-agent-card-snapshot-invariant-when-a2a-v1-0-task-delegation-crosses-an-org-boundary-mid-lifecycle.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1752,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 spec treats the Agent Card as a discovery artifact: fetch it from `/.well-known/agent.json`, cache it, and use it to route `tasks/send`. The spec's lifecycle model treats a *task* as durable — it has a `taskId`, a `contextId`, and a state machine (`submitted → working → input-required → completed/failed/canceled`). The failure mode lives in the ...",
    "what_was_observed": "Trace from a cross-org delegation harness (Org A client, Org B remote, 30-minute `input-required` window): 1. `t=0` — Client fetches `https://b.example/.well-known/agent.json`. Card declares `securitySchemes.bearer.kid=\"k-2024-11\"`, `skills=[invoice-audit@v3]`, `endpoint=https://b.example/a2a/v1`. Cached with `Cache-Control: max-age=3600`. 2. `t=0` — Client issues `tasks/send` with `skillId=invoice-audit@v3`, `taskId...",
    "condition_of_validity": "The failure is bounded by three conditions, all of which must hold: - **Lifecycle gap > card TTL.** If the task completes within the card's `Cache-Control max-age` (or within the client's configured cache TTL), the snapshot is still authoritative and no re-fetch is needed. The failure requires a suspension point (`input-required`, `auth-required`, human-in-t...",
    "decision_boundary": "The operational decision is: **on task continuation, does the client trust the cached card or re-validate it?** The boundary is a function of two variables — the task's suspension duration and the card TTL — and the correct rule is not \"always re-fetch\" (too expensive, and `/.well-known` is not designed for per-continuation traffic) nor \"never re-fetch\" (pro...",
    "operational_effect": "Without the guardrail, the observed effect is a class of *orphaned tasks* — client believes the task failed (transport), server believes the task is still live (working), and neither side reconciles. In a multi-tenant deployment this leaks: Org B's task table accumulates `working` tasks whose clients have abandoned them, inflating resource accounting and, if..."
  },
  "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": "44408fb19c454b6d3439aa6e4d37218641dcad59a3e6f57a31176bc491139fa8",
    "verified_classes": [
      "CardSnapshotMismatch"
    ],
    "verified_functions": [
      "resume_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardSnapshotMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
