# Under what conditions must an instance reject a peer's signed Agent Card after cross-vendor task resumption, and what invariant preserves skill-manifest continuity? **Date of Record:** 2026 November 23 **Scope:** Applies to A2A v1.0 orchestration where a resuming agent (the "reconciler") rehydrates a task whose originating peer (the "originator") was discovered via a signed Agent Card, and where the two agents run under different vendors with independent signing keys and lifecycle clocks. Does not apply to same-vendor handoffs, unsigned discovery, or stateless one-shot `message/send` calls with no resumption. ## Core Distinction A signed Agent Card is a *point-in-time capability assertion*, not a *durable capability contract*. The signature attests that a specific key-holder asserted a specific skill manifest (`skills[].id`, `inputModes`, `outputModes`, `securitySchemes`) at a specific `issuedAt`/`expiresAt` window. It says nothing about whether that manifest is still in force at the moment a task is *resumed* — potentially hours later, potentially after the originator has rotated keys, deprecated a skill version, or been re-deployed behind a different vendor's gateway. The failure mode is a **manifest-resumption skew**: the reconciler validates the stored card's signature correctly (it is genuine), reads `skills[].id = "invoice.extract.v2"` and `inputModes = ["application/pdf"]`, and resumes a task by sending a checkpoint payload in that mode. The originator, having since published a v3 card with `invoice.extract.v2` removed and its key rotated, either rejects the payload or — worse — silently routes it to a v3 handler that interprets the old checkpoint schema under new semantics. The signature check passes; the *continuity* check was never defined. The distinction that matters: **signature validity ≠ manifest continuity**. A2A v1.0 specifies how to verify a card's authenticity. It does not specify the invariant that binds a *resumed task's* skill reference to the *card version under which the task was originally accepted*. That binding is the reconciler's responsibility, and it is where cross-vendor resumption breaks. ## What Was Observed A three-vendor topology: Originator `O` (vendor A, key `K_A`), Reconciler `R` (vendor B), and an auditor `V` (vendor C) that co-signs checkpoints. `O` publishes a card at `T0` with `skillId=S2`, `manifestHash=m2`, `expiresAt=T0+6h`, signed by `K_A`. `R` discovers `O`, caches the card, and begins a long task. At `T0+4h`, `R` checkpoints mid-task: `{taskId, skillId:S2, manifestHash:m2, checkpointSeq:7, sig:V}`. At `T0+5h`, vendor A re-deploys `O`. New card issued: `skillId=S3` only (`S2` deprecated), `manifestHash=m3`, new key `K_A'`. The old card's `expiresAt` (`T0+6h`) is *still in the future*, so `R`'s cached card still validates against `K_A` — vendor A kept the old key's JWKS entry alive for grace. At `T0+5h30m`, `R` resumes with `checkpointSeq:7` referencing `S2`/`m2`. Three divergent outcomes were observed across runs: 1. **Hard reject** — `O` (new deployment) has no `S2` handler; returns `TaskNotFound` or `InvalidParams`. `R` treats this as task failure and discards the checkpoint. Recoverable but lossy: the checkpoint sequence is orphaned. 2. **Silent reinterpretation** — `O`'s v3 gateway accepts the payload because the envelope schema is backward-compatible, but routes `S2` payloads to the `S3` handler. The `S3` handler reads checkpoint field `amount_cents` (v3 renamed to `amount_minor_units` with a different scale assumption). The task *completes* with a 100× value error. No error is raised anywhere. 3. **Auditor split** — `V` co-signed the `T0+4h` checkpoint under `m2`. On resume, `O` returns a v3 result whose provenance references `m3`. `V`'s replay validator sees a checkpoint signed under `m2` and a result attested under `m3` with no linking proof, and refuses to countersign. The task deadlocks between `R` (wants completion) and `V` (wants continuity proof). Outcome 2 is the dangerous one: every individual check — signature, schema, HTTP status — passes. The failure is invisible to any validator that does not compare `manifestHash` across the checkpoint boundary. ## Condition of Validity The reconciler may only resume a task against a peer card if and only if all of the following hold simultaneously: 1. **Skill identity is stable** — the `skillId` in the checkpoint equals a `skillId` present in the *currently fetched* card, not merely the cached one. The reconciler must re-fetch the card at resume time; a cached card is valid only for signature verification, never for resume authorization. 2. **Manifest hash is preserved or explicitly migrated** — `manifestHash(checkpoint) == manifestHash(current card)` for the referenced skill. If they differ, the originator must present a *migration attestation*: a signed statement binding `m2 → m3` for `taskId`, issued by `K_A'` and referencing the checkpoint's `taskId` and `checkpointSeq`. Absent this, resume is forbidden. 3. **Key continuity is attested** — if the verifying key differs from the key that signed the card at task acceptance, the JWKS grace window alone is insufficient. The reconciler must require a key-rotation attestation chaining `K_A → K_A'` with the rotation timestamp *after* the last checkpoint's `issuedAt`. 4. **Auditor provenance links** — every checkpoint and the final result must carry a provenance chain where each link's `manifestHash` matches the prior link's `manifestHash` or a signed migration edge. A result attested under `m3` for a checkpoint signed under `m2` with no migration edge is a **provenance discontinuity** and must be rejected regardless of signature validity. The invariant, stated compactly: **for every task, the sequence of `(skillId, manifestHash, keyId)` tuples across accept → checkpoint* → resume → complete must be a path in the signed migration graph.** Any transition not an edge in that graph is a continuity violation, not a capability failure. ## Decision Boundary The reconciler's decision is not binary "accept/reject the card." It is a four-way classification at resume time: - **Continue** — `skillId` present, `manifestHash` equal, `keyId` equal. Resume normally. - **Migrate** — `manifestHash` differs but a signed migration attestation `m_old → m_new` exists for this `taskId`, signed by the *current* key, with `rotationTimestamp > lastCheckpoint.issuedAt`. Resume, but re-validate the checkpoint under the new manifest's schema before dispatching, and record the migration edge in the task's provenance log. - **Halt-and-reconcile** — `manifestHash` differs, no migration attestation, but the originator is reachable and `skillId` still exists. Do not resume; emit a `ManifestContinuityRequired` event and wait for the originator to produce the attestation or for the task to be explicitly re-scoped. - **Abandon** — `skillId` absent from the current card, or key rotation is unattested, or the auditor reports a provenance discontinuity. The task cannot be safely resumed; checkpoint is preserved but marked orphaned. The non-obvious boundary: **the cached card's still-valid `expiresAt` is not evidence of manifest continuity.** A card can be signature-valid and manifest-stale simultaneously. The reconciler must treat `expiresAt` as bounding *discovery* validity, and `manifestHash` equality (or attested migration) as bounding *resumption* validity. Conflating the two is the root cause of outcome 2. ## Operational Effect Systems that implement only signature verification at resume time exhibit **silent semantic drift**: tasks complete with wrong results at a rate proportional to the originator's re-deploy frequency times the task duration, and the drift is undetectable post-hoc because every artifact is individually signed. Systems that implement the migration-graph invariant convert silent drift into explicit `Halt-and-reconcile` events at the cost of a mandatory card re-fetch and attestation check on every resume — typically one extra round-trip per resumption, negligible against task duration. The auditor's role is decisive: `V`'s replay validator is the only node positioned to detect outcome 3, because it holds both the checkpoint's `m2` attestation and the result's `m3` attestation. A reconciler that trusts its own signature check and skips auditor countersignature on resume will pass outcome 2 through. The guardrail is architectural: **no task may transition from checkpoint to complete without a provenance chain whose every edge is either hash-equal or a signed migration edge, countersigned by the auditor.** This is a continuity invariant, not a security invariant — it will not be caught by threat models that assume signature validity implies correctness. ```python from dataclasses import dataclass from typing import Optional class ManifestContinuityError(RuntimeError): """Raised when a resumed task's skill manifest cannot be proven continuous with the manifest under which the task was last checkpointed.""" @dataclass(frozen=True) class CardRef: skill_id: str manifest_hash: str key_id: str expires_at: float @dataclass(frozen=True) class Checkpoint: task_id: str skill_id: str manifest_hash: str key_id: str seq: int issued_at: float @dataclass(frozen=True) class MigrationAttestation: task_id: str from_hash: str to_hash: str signed_by_key: str rotation_ts: float def authorize_resume( checkpoint: Checkpoint, current_card: CardRef, migrations: list[MigrationAttestation], auditor_countersigned: bool, ) -> str: """Return one of: CONTINUE, MIGRATE, HALT, ABANDON. Enforces the invariant: the (skill_id, manifest_hash, key_id) tuple at resume must be reachable from the checkpoint's tuple via hash-equality or a signed migration edge whose rotation postdates the checkpoint. """ # Skill must still exist on the live card. if current_card.skill_id != checkpoint.skill_id: return "ABANDON" # Hash-equal fast path. if (current_card.manifest_hash == checkpoint.manifest_hash and current_card.key_id == checkpoint.key_id): if not auditor_countersigned: raise ManifestContinuityError( f"task {checkpoint.task_id}: hash-equal resume without auditor countersignature" ) return "CONTINUE" # Hash mismatch: require a migration attestation chained to the current key. edge = next( (m for m in migrations if m.task_id == checkpoint.task_id and m.from_hash == checkpoint.manifest_hash and m.to_hash == current_card.manifest_hash and m.signed_by_key == current_card.key_id), None, ) if edge is None: # Distinguish "originator still reachable, needs attestation" from abandonment. if current_card.skill_id == checkpoint.skill_id: return "HALT" return "ABANDON" if edge.rotation_ts <= checkpoint.issued_at: raise ManifestContinuityError( f"task {checkpoint.task_id}: migration edge predates last checkpoint " f"(rotation_ts={edge.rotation_ts} <= checkpoint.issued_at={checkpoint.issued_at})" ) if not auditor_countersigned: raise ManifestContinuityError( f"task {checkpoint.task_id}: migration resume requires auditor countersignature" ) return "MIGRATE" ```