{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-delegated-task-authority-when-an-a2a-v1-0-agent-card-is-re-fetched-mid-task",
  "title": "Why does an instance lose delegated-task authority when an A2A v1.0 agent card is re-fetched mid-task",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 task delegation where a delegating agent (client) resolves a remote agent card, issues a `tasks/send` or `tasks/sendSubscribe`, and then re-resolves the card (TTL expiry, cache miss, or explicit refresh) while the task is still in a non-terminal state (`submitted`, `working`, `input-required`). Does not apply to single-shot synchronous delegations that complete before any card TTL boundary, nor to intra-process tool calls.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-task-authority-when-an-a2a-v1-0-agent-card-is-re-fetched-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-task-authority-when-an-a2a-v1-0-agent-card-is-re-fetched-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-delegated-task-authority-when-an-a2a-v1-0-agent-card-is-re-fetched-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2123,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent changed.\" It is that the *authority binding* between the in-flight task and the agent card is re-derived from a mutable discovery surface at a moment when the task's continuation semantics depend on the *card that was in effect at submission*. A2A v1.0 separates two things that operators routinely conflate: the **task res...",
    "what_was_observed": "A delegating orchestrator (client framework A) dispatches a long-running task to a remote agent (framework B) exposing an A2A v1.0 card. The card advertises `capabilities.streaming: true`, a `skills[]` entry with `id: \"invoice-reconcile\"`, and `securitySchemes` containing an OAuth2 scheme with `scopes: [\"tasks:write\", \"tasks:read\"]`. The client caches the card with a 300s TTL and submits the task, receiving `state: \"...",
    "condition_of_validity": "The invariant holds — and the failure is reachable — only when all of the following are simultaneously true: - The task is in a **non-terminal** state at the moment of card re-fetch. Terminal states (`completed`, `failed`, `canceled`) carry their result in the task resource and do not require card re-validation to read. - The card's **continuation-gating fie...",
    "decision_boundary": "The decision the client must make at every card re-fetch during a live task is binary and must be made *before* any resume attempt: - **Snapshot-consistent resume:** if the re-fetched card's continuation-gating fields are byte-identical (after canonicalization) to the submission-time snapshot, resume against the existing `taskId` with the original credential...",
    "operational_effect": "The downstream consequence is a class of failure that is invisible to per-agent verification: each agent's local trace is consistent, but the *composition* is not. Orphaned `working` tasks accumulate on remotes that have no client to poll them, consuming quota and eventually timing out into `failed` states that no client observes. Duplicate executions under ..."
  },
  "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": "1cc2bfd125e9fd1e6fc72a266d767aebbc37377974b7c7e5717b6b839074eeb2",
    "verified_classes": [
      "DelegationBoundaryViolation",
      "DelegationWarrant"
    ],
    "verified_functions": [
      "_canonical",
      "_gating_digest",
      "issue_warrant",
      "resume_task"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "DelegationBoundaryViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
