{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-a2a-task-resumption-from-silently-re-executing-a-signed-artifact-after-card-re-discovery",
  "title": "Which invariants prevent cross-org A2A task resumption from silently re-executing a signed artifact after card re-discovery",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 client agents that resume a previously negotiated `Task` across an org boundary after the remote Agent Card has been re-fetched (key rotation, capability change, or cache eviction). Does not cover first-time task submission, in-band streaming deltas, or single-org deployments where card identity is stable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-a2a-task-resumption-from-silently-re-executing-a-signed-artifact-after-card-re-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-a2a-task-resumption-from-silently-re-executing-a-signed-artifact-after-card-re-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-a2a-task-resumption-from-silently-re-executing-a-signed-artifact-after-card-re-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1503,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the card changed\" and it is not \"the artifact was tampered with.\" It is the failure to distinguish **card identity continuity** from **task identity continuity**. A2A v1.0 lets a client re-discover an Agent Card mid-task (the spec permits re-fetch on `404`/`410` from a cached card URL, or on explicit key-rotation signals). The card carrie...",
    "what_was_observed": "Trace from a two-org deployment (client `org-a`, remote `org-b`), resuming task `t-7f3a` after `org-b` rotated its card signing key at T+40m: 1. Client holds cached card `C_old` (kid `b-2024-1`) and an in-flight `Task` with `status=working`, last artifact ref `A_1` signed under `b-2024-1`. 2. Client polls `GET /tasks/t-7f3a`; remote returns `410 Gone` with `Location: /.well-known/agent-card.json`. 3. Client re-fetche...",
    "condition_of_validity": "The re-execution is only possible when all three hold: - **Card re-discovery is permitted mid-task.** If the client pins the card for the task's lifetime (rejecting `410`-driven re-fetch), the failure cannot trigger. Most clients do not pin. - **The remote's task handler keys off card version rather than an explicit `task_epoch`.** A2A v1.0 leaves `Task` res...",
    "decision_boundary": "The boundary is whether to treat card re-discovery as: - **(A) A trust refresh** — new card is trusted for *new* tasks; in-flight tasks continue under the pinned old key set, and any artifact signed under a new kid on an in-flight task is rejected with an explicit `ArtifactKeyDriftError`. - **(B) A trust replacement** — new card supersedes old; in-flight tas...",
    "operational_effect": "Under (A), the failure mode is bounded: the client raises `ArtifactKeyDriftError` on receipt of `A_2`, the task halts in `input-required`, and a human or orchestrator decides whether to accept the re-negotiation. Under (B), the failure is silent — the only signal is a duplicate artifact downstream, often discovered days later during reconciliation. The guard..."
  },
  "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": "e3760e5529f785d492e0da0e8824f8ba84229be2a00c2e59f7959adeaf20d423",
    "verified_classes": [
      "ArtifactKeyDriftError",
      "TaskEnvelope"
    ],
    "verified_functions": [
      "handle_artifact_receipt",
      "accept_artifact",
      "renegotiate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ArtifactKeyDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
