{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-signing-key-agent-card-when-the-delegated-task-s-purpose-claim-outlives-the-vendor-s-key-rotation-window",
  "title": "How does an instance detect a stale-signing-key Agent Card when the delegated task's `purpose` claim outlives the vendor's key-rotation window",
  "date_of_record": "2026 November 23",
  "scope": "Applies to A2A v1.0 task delegation where the caller validates the callee's Agent Card signature, then issues a task under a `purpose`/`audience` claim whose TTL exceeds the callee's JWS signing-key rotation interval. Does not cover symmetric-key (HMAC) card signing, nor intra-vendor delegation where key material is shared out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-signing-key-agent-card-when-the-delegated-task-s-purpose-claim-outlives-the-vendor-s-key-rotation-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-signing-key-agent-card-when-the-delegated-task-s-purpose-claim-outlives-the-vendor-s-key-rotation-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-signing-key-agent-card-when-the-delegated-task-s-purpose-claim-outlives-the-vendor-s-key-rotation-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1954,
    "python_slice_tokens": 355,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired signature.\" It is a **temporal skew between two independently-clocked validity windows**: the Agent Card's JWS `kid` is valid *at card-fetch time*, and the delegation token's `purpose` claim is valid *for the task's lifetime*. A2A v1.0 ties card signature verification to the *handshake instant*, but the task authorization it impli...",
    "what_was_observed": "A caller agent (vendor A) discovers a callee (vendor B) via an A2A Agent Card served at `/.well-known/agent.json`. The card is JWS-signed; the caller verifies against B's JWKS, extracts `kid: b-2025-04`, and caches the card with a TTL of 24h (the caller's default card-cache policy). The caller then issues a long-running `tasks/send` with a delegation token carrying `purpose: \"invoice-reconciliation\"`, `aud: \"vendor-b...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: 1. **Card-cache TTL > key-rotation interval.** If the caller re-fetches and re-verifies the card more frequently than B rotates keys, the stale-`kid` window never opens. The bug lives precisely in the gap `card_cache_ttl > rotation_interval`. 2. **Task lifetime > rotation interval.** Short tas...",
    "decision_boundary": "The instance must decide, at the moment `card_verification == failed` while `task_status == working`, between three actions. The decision boundary is **whether the delegation token carries a card-`kid` binding**: - **If the token's `purpose` claim includes `card_kid: b-2025-04`** (a binding the caller *can* add even though A2A v1.0 does not require it): the ...",
    "operational_effect": "Without the `card_kid` binding and without key retention, the operational effect is **silent authorization drift**: long-running delegated tasks continue to execute on cards that can no longer be verified, and the caller's security posture degrades from \"verified delegation\" to \"trust-on-first-handshake\" without any alert firing, because the task-status chan..."
  },
  "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": "55db13722bfbed2f6688eebc7d00693c939e0c44deb66db4988fa6c1d8eb0540",
    "verified_classes": [
      "StaleCardBinding",
      "CachedCard",
      "DelegationToken"
    ],
    "verified_functions": [
      "revalidate_running_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StaleCardBinding"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
