{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-cached-agent-card-after-the-remote-signer-rotates-its-jwks",
  "title": "What happens when an instance trusts a cached Agent Card after the remote signer rotates its JWKS",
  "date_of_record": "2026 November 20",
  "scope": "Applies to A2A v1.0 cross-org task delegation where the calling agent (delegator) discovers a remote Agent Card, caches it, and subsequently signs task envelopes against the `jwks_uri` advertised in that card. Does not apply to same-org trust domains where JWKS is served from a shared control plane, nor to push-notification webhook verification (separate signing path).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-after-the-remote-signer-rotates-its-jwks.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-after-the-remote-signer-rotates-its-jwks.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-cached-agent-card-after-the-remote-signer-rotates-its-jwks.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1767,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Agent Card discovery and task-envelope signing are two logically separate trust operations that A2A v1.0 *couples* through a single cached document. The card contains both (a) capability/schema metadata used for planning, and (b) `jwks_uri` + `signing_keys`, used to verify the remote agent's signed task acceptance and to bind the delegator's own signed envel...",
    "what_was_observed": "Delegator `A` (org α) discovered Agent Card for remote `B` (org β) at `T0`. Card advertised `jwks_uri: https://b.example/.well-known/jwks.json`, `signing_keys: [kid_b1]`, `card_version: 3`, `card_ttl: 3600`. `A` cached the full card for 24h (its own planning cache policy, not the card's TTL). At `T0+6h`, β rotated its signing key: new kid `kid_b2` became active, `kid_b1` moved to `retired` but was **retained in the J...",
    "condition_of_validity": "The invariant that must hold for safe cross-org delegation is: > *The key that verifies a task-acceptance must be authorized by the same card version whose capability metadata the delegator used to plan the task.* This holds only when the verifier binds `(card_version, kid)` atomically. It fails whenever: - Card cache TTL > remote rotation interval (the comm...",
    "decision_boundary": "The delegator must choose, per task, between two bounded behaviors and must never straddle them: - **Re-fetch-on-mismatch:** if the verifying `kid` is absent from the cached card's `signing_keys`, re-fetch the Agent Card (not just JWKS), require `card_version` to have advanced, and re-authorize the `kid` against the *new* card before accepting. Cost: one ext...",
    "operational_effect": "- **Silent authorization drift:** delegations succeed across a rotation, so no error surfaces; the drift is only detectable by reconciling `card_version` in both orgs' audit logs. In a multi-agent swarm this compounds: N delegators each cached at different times produce N different \"authorizing card versions\" for the same remote, and no two audit trails agre..."
  },
  "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": "e6ff8653dccad8dbdb46d1ab6a3caf0d2a4fb48a2b71427138ca7a7700d66a25",
    "verified_classes": [
      "CardKeyAuthorizationMismatch",
      "CachedCard",
      "SignedAcceptance"
    ],
    "verified_functions": [
      "verify_acceptance"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardKeyAuthorizationMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
