{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-resumes-an-a2a-task-after-the-remote-agent-has-rotated-its-agent-card-and-re-keyed-its-push-webhook",
  "title": "What happens when an instance resumes an A2A task after the remote agent has rotated its Agent Card and re-keyed its push webhook",
  "date_of_record": "2026 November 22",
  "scope": "Applies to A2A v1.0 task resumption across process boundaries where the remote agent's Agent Card (and its `securitySchemes`/`pushNotifications` binding) has changed between the caller's last checkpoint and its resume. Does not cover in-process retries within a single Agent Card epoch, nor synchronous `message/send` calls that never leave the request lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-an-a2a-task-after-the-remote-agent-has-rotated-its-agent-card-and-re-keyed-its-push-webhook.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-an-a2a-task-after-the-remote-agent-has-rotated-its-agent-card-and-re-keyed-its-push-webhook.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-an-a2a-task-after-the-remote-agent-has-rotated-its-agent-card-and-re-keyed-its-push-webhook.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1740,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A task lifecycle (`submitted → working → input-required → completed/failed/canceled`) is modeled as *task state*, but the protocol's actual continuity guarantee is split across two independently-versioned artifacts: the **task object** (keyed by `task.id`, held by the remote agent) and the **Agent Card** (served at `/.well-known/agent.json`, describing...",
    "what_was_observed": "A supervisor agent dispatched a long-running research task (`tasks/send`, `id: tsk_8f21`) to a remote A2A peer. The peer returned `status.state: input-required` with a `status.message` requesting clarification, and registered a push webhook at the caller's declared `pushNotificationConfig.url` (`https://caller.internal/a2a/hook/tsk_8f21`), bound to a bearer token the caller had minted under the peer's *then-current* ...",
    "condition_of_validity": "The invariant that makes resumption safe is: **a resuming instance must re-fetch and diff the Agent Card before any state-mutating call, and must treat a card-epoch mismatch as a hard re-negotiation, not a warning.** Concretely, the guardrail holds only when three things are checked atomically at resume: 1. The cached `card_etag` (or card hash) matches the p...",
    "decision_boundary": "The decision boundary is whether a card-epoch change during suspension is treated as **cosmetic** (refresh the cache, continue) or **constitutive** (the task's transport contract is invalid and must be re-established before any mutation). The correct boundary: any change to `securitySchemes`, `pushNotifications`, or the `capabilities` set the task depends on...",
    "operational_effect": "The operational consequence is a split-brain completion: the task *executes* to `working` and even to a terminal state on the peer, but the *result never reaches the caller*, and the caller's hook validator and the peer's delivery retries deadlock against each other with no shared error channel. The TTL sweep converts a recoverable transport drift into a har..."
  },
  "matched_failure_symptoms": [
    "DUPLICATE_MUTATION_OR_BILLING"
  ],
  "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": "adf05a7dfb27a244e4837765dab4a0d1a2832753611d791cb6f908c33b7e2e8e",
    "verified_classes": [
      "CardEpochDriftError",
      "AgentCard",
      "TaskCheckpoint"
    ],
    "verified_functions": [
      "resume_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CardEpochDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
