{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-renegotiates-an-a2a-task-after-the-remote-agent-card-changes-mid-lifecycle",
  "title": "What happens when an instance renegotiates an A2A task after the remote Agent Card changes mid-lifecycle",
  "date_of_record": "2026 November 24",
  "scope": "Applies to A2A v1.0 cross-org delegations where a delegating agent (`caller`) holds an in-flight `Task` against a remote agent (`callee`) whose published Agent Card is re-fetched, re-validated, or re-resolved between task submission and terminal state. Does not cover initial discovery-only flows or same-org intra-mesh delegation where card versioning is pinned by the mesh control plane.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-after-the-remote-agent-card-changes-mid-lifecycle.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-after-the-remote-agent-card-changes-mid-lifecycle.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-renegotiates-an-a2a-task-after-the-remote-agent-card-changes-mid-lifecycle.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1846,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates *capability advertisement* (the Agent Card at `/.well-known/agent.json`) from *task state* (the `Task` object returned by `tasks/send` and mutated by `tasks/get` / SSE `TaskStatusUpdateEvent`). The card is a discovery-time artifact. The task is a lifecycle-time artifact. The protocol does not, by itself, bind a task to the card revision un...",
    "what_was_observed": "Trace from a representative cross-org delegation: 1. `caller` resolves card `C1` (protocolVersion `1.0`, skill `s.invoice.extract`, `defaultOutputModes: [\"application/json\"]`, `security: [{scheme: \"oauth2\", scopes:[\"tasks:write\"]}]`). Caller dispatches `tasks/send` with `taskId=T`, `metadata.cardDigest = sha256(C1)`. 2. Callee accepts, emits `TaskStatusUpdateEvent{state: working}`. Task `T` is now bound, on the calle...",
    "condition_of_validity": "Card/task skew is only a hazard under a conjunction: - The caller performs **lazy or retry-triggered card re-resolution** rather than pinning the card for the task's lifetime. - The callee permits **card mutation without task invalidation**—i.e., it does not bump a card revision that forces existing tasks into a `requires-renegotiation` or `canceled` state, ...",
    "decision_boundary": "The boundary is whether the caller treats the Agent Card as **task-scoped immutable state** or as **ambient, always-current configuration**. The correct invariant: - On `tasks/send` acceptance, the caller MUST record `(taskId, cardDigest, protocolVersion, negotiatedSkills, grantedScopes, acceptedOutputModes)` as an immutable **task contract tuple**, and MUST...",
    "operational_effect": "Without the invariant, cross-org delegations exhibit **divergent terminal states keyed by the same `taskId`**: caller-side `failed`, callee-side `completed`, with artifacts stranded. This is not a transient—it is a durable split-brain that survives retries, because each retry re-resolves the (now `C2`) card and re-derives a different expectation. Downstream ..."
  },
  "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": "1d57009b14f42c2b1d7e375747c2c1a33733bde8c7170af2e08106a4212dbec8",
    "verified_classes": [
      "CardTaskSkewError",
      "TaskContract",
      "AgentCard"
    ],
    "verified_functions": [
      "bind_task",
      "validate_continuation",
      "handle_continuation",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardTaskSkewError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
