{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-after-the-remote-vendor-rotates-its-signing-key-mid-delegation",
  "title": "Why does an instance accept a delegated task against a stale agent card after the remote vendor rotates its signing key mid-delegation",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 (or draft-compatible) clients that cache `AgentCard` documents and validate signed `Artifact` envelopes against the `securitySchemes`/`signatures` declared in that cached card. Does not apply to same-process tool calls, to A2A deployments that re-fetch the card on every task, or to transports where artifact integrity is enforced by mTLS session binding rather than detached JWS.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-after-the-remote-vendor-rotates-its-signing-key-mid-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-after-the-remote-vendor-rotates-its-signing-key-mid-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-task-against-a-stale-agent-card-after-the-remote-vendor-rotates-its-signing-key-mid-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2268,
    "python_slice_tokens": 433,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the card is stale.\" Stale cards are a known, boring problem: you re-fetch, you get a new card, you move on. The non-obvious boundary is that **card discovery and artifact verification are two distinct trust operations that A2A v1.0 lets you bind to a single cached snapshot**, so a key rotation on the remote side produces a *split state*: ...",
    "what_was_observed": "A cross-vendor delegation between a planner agent (vendor A, A2A client) and an executor agent (vendor B, A2A server) under signed artifact exchange. Vendor B rotates its artifact-signing key on a 24-hour cadence and publishes the new key in a refreshed `AgentCard` at the top of each rotation window. Vendor A's client caches cards for 6 hours and re-validates on TTL expiry only. Trace of the failing window: 1. `t=0` ...",
    "condition_of_validity": "The failure requires all of the following to co-occur: - Client caches `AgentCard` and binds artifact verification to the cached snapshot (the spec-compliant-but-underspecified behavior). - Remote rotates signing keys on a cadence shorter than or comparable to the client's card TTL, **or** rotates on demand (incident response, regional failover). - Task exec...",
    "decision_boundary": "The client must choose, per task, between two policies, and the choice must be made at *task submission* time, not at artifact-verification time: - **Pin-to-authorization**: verify the artifact only against the card snapshot that authorized the task. Safe against card-substitution attacks. Produces false failures across rotation boundaries. Requires the remo...",
    "operational_effect": "In production this presents as an intermittent, load-correlated failure: delegated tasks fail signature verification at a rate proportional to `(task_duration / rotation_period)`, with the failures clustering around rotation windows and disappearing when the client's card TTL happens to expire mid-task. It is routinely misdiagnosed as a clock-skew or nonce p..."
  },
  "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": "10dcaa83b24ba654d91bbbc2628fa25c27b92eba53bb0bbc95ee5d5d8d302feb",
    "verified_classes": [
      "CardBindingError",
      "AgentCard",
      "ArtifactEnvelope"
    ],
    "verified_functions": [
      "verify_artifact_against_authorization",
      "delegate_task",
      "digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CardBindingError"
    ],
    "sample_fail_closed_invariants": [
      "remote does not advertise a rotation cadence and its artifact scheme does not carry card_digest; in-flight tasks may str"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
