{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-cached-agent-card-s-declared-task-state-transitions-against-an-in-flight-a2a-task-when-the-remote-agent-silently-re",
  "title": "How should an instance reconcile a cached Agent Card's declared task-state transitions against an in-flight A2A task when the remote agent silently republishes a narrower lifecycle graph",
  "date_of_record": "2026 December 1",
  "scope": "Applies to A2A v1.0 clients that cache a remote `AgentCard` (including its `capabilities` and any declared task/state schema) and drive a long-running task against that agent across multiple turns. Does not apply to single-shot, stateless RPC-style calls where the client re-fetches the card per request, nor to A2A servers that never mutate their published card.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-cached-agent-card-s-declared-task-state-transitions-against-an-in-flight-a2a-task-when-the-remote-agent-silently-re.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-cached-agent-card-s-declared-task-state-transitions-against-an-in-flight-a2a-task-when-the-remote-agent-silently-re.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-cached-agent-card-s-declared-task-state-transitions-against-an-in-flight-a2a-task-when-the-remote-agent-silently-re.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2583,
    "python_slice_tokens": 491,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **card identity** and **card content**. A2A v1.0 treats the `AgentCard` as the discovery contract: a client fetches it (typically from `/.well-known/agent.json`), reads `capabilities`, `skills`, and the task lifecycle it supports, and then plans a task state machine around those declarations. The protocol gives you a U...",
    "what_was_observed": "A client agent (`orchestrator`) fetched a card at `t0` from a research agent (`researcher`) advertising a lifecycle that included: The `input-required` skill declared `resumable: true` with a `continuationToken` field in its output schema. The orchestrator, following its cached card, drove a multi-hour research task to `input-required`, captured the `continuationToken`, and paused to gather user input. This pause las...",
    "condition_of_validity": "The invariant that must hold for safe long-running A2A task execution is: > **The set of legal transitions the client will accept must be a subset of the transitions the *currently deployed* server will emit, for the entire duration of the task.** A cached card makes this invariant *assume* monotonicity: it presumes the server's lifecycle graph only ever gro...",
    "decision_boundary": "The boundary is **whether the client treats a card-derived transition as a *permission* or as a *prediction*.** - If the cached card is treated as a **permission** (\"the server said this edge exists, so I may take it\"), the client will take edges that no longer exist and must be prepared for any response — including a `failed` where it expected `working`. Th...",
    "operational_effect": "Downstream, the consequences compound: 1. **Orphaned tasks accumulate.** Each drift-orphaned task holds server-side resources (a `failed` task with retained context) and client-side slots (an FSM stuck in a non-terminal state). Under load, the client's concurrency budget is consumed by zombies that never emit a terminal event. 2. **Retry storms on a non-idem..."
  },
  "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": "0c62acca0fd9bd329890286e8b68a70f2718706344808e5a146a1d268a5c1712",
    "verified_classes": [
      "LifecycleDriftError",
      "AgentCard",
      "TaskLease"
    ],
    "verified_functions": [
      "advance",
      "run_resume",
      "__init__",
      "allows",
      "content_hash",
      "open"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "LifecycleDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
