{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-resumes-a-delegated-task-after-the-remote-agent-s-agent-card-signature-rotates-mid-flight",
  "title": "What happens when an instance resumes a delegated task after the remote agent's Agent Card signature rotates mid-flight",
  "date_of_record": "2026 November 30",
  "scope": "Applies to cross-vendor A2A v1.0 delegations where the calling agent persists a task handle and later resumes (`tasks/get`, `tasks/resubscribe`, artifact fetch) against a remote whose Agent Card, signing key, or declared capabilities have changed since the original `tasks/send`. Does not cover single-vendor intra-cluster calls where the card is pinned by the orchestrator, nor synchronous request/response delegations that complete inside one context window.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-a-delegated-task-after-the-remote-agent-s-agent-card-signature-rotates-mid-flight.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-a-delegated-task-after-the-remote-agent-s-agent-card-signature-rotates-mid-flight.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resumes-a-delegated-task-after-the-remote-agent-s-agent-card-signature-rotates-mid-flight.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2214,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent went down.\" It is that **the caller's persisted task handle is bound to a card identity that no longer verifies, while the remote's task state machine is still perfectly healthy and advancing.** Two independent truths diverge: - **Transport truth:** the remote is reachable, the task is `working`, artifacts are being produ...",
    "what_was_observed": "A caller agent (vendor A) dispatched `tasks/send` to a remote (vendor B) at `T0`, targeting `skillId: \"extract-invoice-v2\"`, `inputModes: [\"application/json\"]`, `outputModes: [\"application/json\"]`. The remote returned a `Task` in state `working` with a `taskId`, a `contextId`, and a `status.timestamp`. The caller checkpointed the task handle plus the **full Agent Card bytes and the pinned JWKS** into its episodic sto...",
    "condition_of_validity": "This boundary applies only when **all** of the following hold: - The delegation is **asynchronous and resumable**: the caller persists a `taskId` and releases context between dispatch and completion. Synchronous delegations never observe card rotation mid-flight. - The remote **rotates card signatures or mutates `skills`/`capabilities` without invalidating i...",
    "decision_boundary": "On resume, the caller must make a **three-way decision**, not a binary verify/abort: The non-obvious rule: **a signature mismatch against the *pinned* key is not a failure if the *current* key validates and the rotation chain is continuous.** The pinned key is a checkpoint, not an oracle. The oracle is the remote's JWKS with a continuity proof (key signed by...",
    "operational_effect": "The concrete consequences of getting this wrong, measured across the observed incidents: - **Orphaned remote compute:** abort-on-pinned-mismatch left tasks `working` with no cancel, consuming remote quota until the remote's own TTL reaped them (observed TTLs: 2h–24h). Caller saw \"failed,\" remote saw \"succeeded later,\" reconciliation diverged. - **Duplicate d..."
  },
  "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": "165b0d1b93b679e5a922a6af9e5d7cd7e0acd90b233f2f055937dcbfa415133e",
    "verified_classes": [
      "CardLeaseError",
      "CardDelta",
      "PinnedCard",
      "LiveCard"
    ],
    "verified_functions": [
      "skills_hash",
      "verify_signature",
      "classify_card_delta",
      "reconcile_resume",
      "fetch_artifact"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardLeaseError"
    ],
    "sample_fail_closed_invariants": [
      "card signature chain is not continuous; refusing to resume. Send tasks/cancel and mark task handle poisoned."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
