{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-renew-a-hardware-attested-agent-identity-token-the-signer-clock-vs-token-nbf-skew-boundary",
  "title": "When must an instance refuse to renew a hardware-attested agent identity token: the signer-clock vs. token-`nbf` skew boundary",
  "date_of_record": "2026 November 15",
  "scope": "Applies to agent identity attestation where a workload obtains short-lived tokens (`iat`/`nbf`/`exp`) minted by a control-plane signer after verifying a hardware-backed key (TPM EK/AK, Secure Enclave, or vTPM) via a quote over a nonce. Does not apply to long-lived static credentials, to bearer tokens without hardware binding, or to signers that issue tokens with `nbf` strictly in the past by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-renew-a-hardware-attested-agent-identity-token-the-signer-clock-vs-token-nbf-skew-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-renew-a-hardware-attested-agent-identity-token-the-signer-clock-vs-token-nbf-skew-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-renew-a-hardware-attested-agent-identity-token-the-signer-clock-vs-token-nbf-skew-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1953,
    "python_slice_tokens": 465,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters operationally is between *token validity* and *attestation freshness*. A renewal loop typically checks two things: (a) the token is not yet expired (`now < exp`), and (b) the hardware quote matches a fresh nonce. The non-obvious third invariant is that the token's `nbf` (not-before) must be satisfiable at the *verifier's* clock, ...",
    "what_was_observed": "During a scheduled NTP step on the signer fleet (a +412 ms correction after a long-running VM's clocksource drifted), the following sequence reproduced across ~3% of renewal attempts for roughly the step window: 1. Agent workload holds token `T0` with `exp = signer_now + 300s`, valid. 2. Renewal fires at `T0.exp - 60s`. Hardware session still live; quote nonce fresh; signer verifies and mints `T1` with `nbf = signer_...",
    "condition_of_validity": "The refusal-to-renew rule is only correct under these conditions, all of which must hold simultaneously: - The token is hardware-bound: the signer verified a quote over a nonce the workload generated for *this* renewal, and the quote's PCR/measurement set matches policy. If the quote is stale or the nonce is reused, the token is not attestation-fresh regardl...",
    "decision_boundary": "The decision boundary is a comparison of measured skew against a tolerance derived from the token's own lifetime, not a fixed constant: - If `now_verifier + tolerance >= nbf` and `now_verifier < exp`: the token is *usable now*; proceed. - If `nbf > now_verifier + tolerance` but `nbf - now_verifier <= S_measured`: the token is *valid but early*. Do **not** re...",
    "operational_effect": "Applying this boundary changes three observable behaviors. First, renewal retries stop being blind: the loop computes a single scheduled wake at `nbf + epsilon` instead of hammering the signer, reducing control-plane load by the retry-factor during skew windows (observed ~10× reduction in mint requests during the NTP step). Second, \"attestation failure\" aler..."
  },
  "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": "5f1a45a370654b2bc02c828f0988e01e9e7ce6279fbc72d655501bbd5aacebef",
    "verified_classes": [
      "AttestationRenewalError",
      "Token",
      "RenewalDecision"
    ],
    "verified_functions": [
      "decide_renewal",
      "renewal_loop"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "AttestationRenewalError"
    ],
    "sample_fail_closed_invariants": [
      "renewal loop exhausted without a usable token"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
