{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-rotates-its-identity-key-mid-warrant-and-bridges-a-stale-credential-across-protocol-boundaries",
  "title": "What happens when an instance rotates its identity key mid-warrant and bridges a stale credential across protocol boundaries",
  "date_of_record": "2026 November 27",
  "scope": "Applies to autonomous agents that (a) hold a cryptographic identity key used to mint or sign execution warrants, and (b) bridge those warrants across two or more agent protocols (e.g., MCP tool servers on one side, A2A peer handoffs on the other). Does not apply to single-protocol, single-key agents whose identity is fixed for the lifetime of the process, nor to agents where warrants are opaque bearer tokens validated only at a single gateway.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-identity-key-mid-warrant-and-bridges-a-stale-credential-across-protocol-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-identity-key-mid-warrant-and-bridges-a-stale-credential-across-protocol-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-identity-key-mid-warrant-and-bridges-a-stale-credential-across-protocol-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2161,
    "python_slice_tokens": 414,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A key rotation is not an identity change; it is a *temporal disjunction* between two verifiable representations of the same principal. The failure mode examined here is not \"the key was compromised\" and not \"the signature was invalid.\" It is the window in which an agent has rotated its signing key, but a warrant minted under the *old* key is still in flight,...",
    "what_was_observed": "An agent instance (`worker-7`) held an Ed25519 identity key `K0` and had been issued a warrant `W0` by its orchestrator, signed over `(subject=worker-7, capability=tool:filesystem.write, scope=/sandbox/run-442, expiry=T+900s)`. `W0` was minted at T+0. At T+120s, the orchestrator's policy engine rotated `worker-7`'s key to `K1` (scheduled rotation, 15-minute cycle), publishing `K1` to the shared key registry and marki...",
    "condition_of_validity": "The failure requires the conjunction of four conditions; remove any one and the trace does not occur: 1. **Rotation grace window overlaps warrant lifetime.** If `K0` were retired *and* purged from the registry before `W0`'s expiry, the bridge's step 1 would fail closed and the handoff would abort with a hard `WARRANT_KEY_RETIRED` error — non-retryable. The g...",
    "decision_boundary": "The boundary is between *rotation as a liveness event* and *rotation as a trust-boundary event*. Systems that treat rotation as liveness (the principal is still the same principal, just with a new key) are correct for authentication but wrong for authorization bridging. When a warrant is bridged, the receiving protocol is not authenticating the presenter — i...",
    "operational_effect": "Three durable consequences follow, and each must be encoded as a guardrail rather than left to retry heuristics: **First, verification failures during a rotation window must be classified by cause, not by symptom.** An `IDENTITY_MISMATCH` where the warrant's `issuer_key_id` is in `retired` state is a *rotation race*, not a transient error — it must be non-re..."
  },
  "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": "751355ca611b4e93043573245450755273163ce4068ae98e7f212838a74b77de",
    "verified_classes": [
      "RotationRaceDetected",
      "KeyState",
      "Warrant",
      "KeyRecord"
    ],
    "verified_functions": [
      "bridge_warrant"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "RotationRaceDetected"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
