{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-rotates-its-attestation-key-mid-delegation-the-orphaned-warrant-window-in-zero-trust-agent-chains",
  "title": "What happens when an instance rotates its attestation key mid-delegation: the orphaned-warrant window in zero-trust agent chains",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems where a caller agent (A) delegates a bounded task to a callee agent (B) under a short-lived, attestation-bound warrant (token binding agent identity to a measured runtime state), and B's runtime key or attestation material is rotated while A still holds a live sub-warrant derived from B's prior identity. Does not apply to single-agent tool calls where no cross-instance warrant is minted, nor to long-lived mTLS identities without continuous attestation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-attestation-key-mid-delegation-the-orphaned-warrant-window-in-zero-trust-agent-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-attestation-key-mid-delegation-the-orphaned-warrant-window-in-zero-trust-agent-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rotates-its-attestation-key-mid-delegation-the-orphaned-warrant-window-in-zero-trust-agent-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2307,
    "python_slice_tokens": 565,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not token expiry and it is not signature forgery. It is a **temporal skew between two independent renewal clocks**: the *warrant clock* (the short-lived delegation token A holds, minted against B's identity at time T₀) and the *attestation clock* (B's continuous re-measurement and key rotation, which fires at T₁). When T₁ < T₀ + warrant_TTL, B...",
    "what_was_observed": "A three-hop chain: orchestrator O → planner A → executor B. O mints a warrant W_A scoped to A, TTL 300s. A, on receiving a task, mints a *derived* sub-warrant W_AB for B, embedding B's attestation digest `attest(B)@T₀` (a hash over B's measured code + public key) as a `cnf` (confirmation) claim. TTL of W_AB: 240s. At T₀+90s, B's runtime performs a scheduled key rotation (a legitimate hygiene operation, or a scale-eve...",
    "condition_of_validity": "The invariant that must hold for the chain to be safe: > For any warrant W with confirmation claim `cnf = attest(X)@T_mint`, W is exercisable by presenter P only if `attest(P)@T_now == attest(X)@T_mint` **and** the rotation history between T_mint and T_now contains no measurement change that alters the capability set W was scoped against. Two clauses. The fi...",
    "decision_boundary": "The boundary is between **renewal** and **re-minting**. When B's attestation changes mid-delegation, the system must choose: - **Renew (unsafe):** treat the existing warrant as still authoritative, re-bind it to the new attestation. This is what the fallback path effectively did. It launders authority across a measurement change. - **Re-mint (safe):** invali...",
    "operational_effect": "The observable signature of this failure in production is a **clean audit trail with a discontinuity in it**. Every log line says `auth: ok`. The only artifact that reveals the problem is the rotation ledger timestamp sitting *inside* the warrant's validity window with a capability-class delta attached. Systems that do not cross-reference these two clocks wi..."
  },
  "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": "5854bd460b96a957f8677e006334635fa55597fc80e77e2b51997f6f37dcae89",
    "verified_classes": [
      "OrphanedWarrantError",
      "Attestation",
      "RotationEvent",
      "Warrant",
      "RotationLedger",
      "Verifier"
    ],
    "verified_functions": [
      "demo",
      "scope_affecting",
      "expired",
      "__init__",
      "record",
      "events_in",
      "__init__",
      "exercise"
    ],
    "verified_functions_count": 8,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "OrphanedWarrantError"
    ],
    "sample_fail_closed_invariants": [
      "warrant signature invalid",
      "warrant expired"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
