{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-agent-card-signature-rotation-from-silently-voiding-in-flight-a2a-task-delegations",
  "title": "Which invariants prevent Agent Card signature rotation from silently voiding in-flight A2A task delegations",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 task delegation where a delegating agent (`client`) validates a remote `AgentCard` by signature and binds a signed task warrant to the card's key material. Does not apply to intra-org delegation where both endpoints share a trust root and card keys are rotated atomically with the trust store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-signature-rotation-from-silently-voiding-in-flight-a2a-task-delegations.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-signature-rotation-from-silently-voiding-in-flight-a2a-task-delegations.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-signature-rotation-from-silently-voiding-in-flight-a2a-task-delegations.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2189,
    "python_slice_tokens": 463,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a signature fails to verify.\" It is the opposite: **every signature verifies correctly, on both ends, and the delegation is still void.** A remote agent rotates its signing key, republishes its AgentCard at the same well-known discovery URL with a new `kid`, and continues to serve. The delegating agent holds a cached card snapshot fr...",
    "what_was_observed": "Two organizational agents, `orchestrator` (org A) and `fulfiller` (org B), delegate a multi-hour reconciliation task. The sequence: 1. `t0` — `orchestrator` performs `GET /.well-known/agent-card.json` on `fulfiller`. Card carries `signature.kid = \"fulfiller-2026-03\"`, valid 90 days, `signature.alg = ES256`. Card is cached with its full JWKS. 2. `t1` — `orchestrator` mints a task warrant: a JWS over `{task_id, delegat...",
    "condition_of_validity": "The invariant that must hold for A2A delegation to be safe across a key rotation is: > **For any task warrant W bound to card key `kid=k` with expiry `E_W`, the delegatee MUST continue to accept signatures/claims referencing `k` until `max(E_W, E_task)` for all warrants it has acknowledged, regardless of whether `k` is the currently active signing key.** Thi...",
    "decision_boundary": "The boundary is whether the delegation system distinguishes **card-as-identity** from **card-as-current-key-endpoint**. - If the card is treated as *identity* (a stable handle whose key set may evolve, with retired keys retained for the commitment tail), rotation is safe: old warrants resolve against retained keys, new warrants resolve against the active key...",
    "operational_effect": "The observable effects, in order of how they surface: 1. **Silent mid-task failure.** The delegation fails at a step boundary, not at issuance. Side effects already committed in the delegatee's domain are orphaned. The delegator cannot distinguish \"counterparty rejected my warrant\" from \"counterparty rotated\" without out-of-band inspection. 2. **Split-brain ..."
  },
  "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": "03f5037eb8ead98b5fd949bb5700ca6b5a8c76384b93658ce1a7e5986695ec67",
    "verified_classes": [
      "CardContinuityViolation",
      "CardKey",
      "AgentCardSnapshot",
      "TaskWarrant"
    ],
    "verified_functions": [
      "verify_warrant_against_card",
      "assert_publication_retention",
      "resolve"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CardContinuityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "datetime",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
