{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-desynchronizing-the-task-lifecycle-state-machine-during-long-lived-delegation",
  "title": "Which invariants prevent A2A v1.0 Agent Card drift from silently desynchronizing the task lifecycle state machine during long-lived delegation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 delegations where a client agent resolves a remote Agent Card once, caches it, and then drives a multi-turn task lifecycle (`submitted → working → input-required → completed/failed/canceled`) against that cached card. Does not cover stateless one-shot request/response calls, nor Agent Card refresh driven by an explicit version-pinned discovery registry.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-desynchronizing-the-task-lifecycle-state-machine-during-long-lived-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-desynchronizing-the-task-lifecycle-state-machine-during-long-lived-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-a2a-v1-0-agent-card-drift-from-silently-desynchronizing-the-task-lifecycle-state-machine-during-long-lived-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1811,
    "python_slice_tokens": 178,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 spec treats Agent Card discovery and task lifecycle as two *separately specified* mechanisms. Discovery is a point-in-time document fetch (`/.well-known/agent.json` or registry lookup) that yields a capability declaration. The task lifecycle is a stateful protocol governed by a server-side state machine with defined transitions. The spec does no...",
    "what_was_observed": "During a multi-turn delegation to a research-summarization agent, the following trace was captured. The client resolved the card at `t=0`, cached `skills[].id = \"summarize-v1\"` with `inputModes: [\"text/plain\"]` and a declared lifecycle support of `input-required` with a schema `{ \"clarification\": string }`. The task was submitted and entered `working`. At `t=+4h` (during a long `working` phase), the server deployed a...",
    "condition_of_validity": "The invariant that prevents this class of failure is: > **A client MUST NOT emit a lifecycle transition request whose validity depends on a cached Agent Card field that the server may have mutated since the last observed task event, unless the card's `version` (or a content hash) is re-confirmed as unchanged at the transition boundary.** Concretely, the guar...",
    "decision_boundary": "The decision boundary is the moment the client receives a server-originated lifecycle event that carries a schema-bearing payload (`input-required`, `artifact`, or any structured `status.message`). At that boundary the client must choose between two policies: 1. **Optimistic parse against cached card** — fast, but silently produces misinterpretation when the...",
    "operational_effect": "With the conformance-gated policy in place, the observed deadlock is converted into an explicit, bounded failure: on the first `input-required` event after drift, the client's version probe returns a mismatch, the client raises a schema-drift error, and the task fails fast with a diagnostic naming the changed fields (`inputModes`, `input-required` schema). T..."
  },
  "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": "cbb198b45cc6952f4a8aa57f68c68f988762b9b1d2fd0c2ef92470ddecabd3c7",
    "verified_classes": [
      "AgentCardDriftError"
    ],
    "verified_functions": [
      "respond_to_input_required"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AgentCardDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
