{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-its-own-warrant-when-a-long-lived-session-outlives-a-credential-rotation",
  "title": "Where must an instance re-verify its own warrant when a long-lived session outlives a credential rotation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to autonomous agents holding a signed capability warrant (JWT/mTLS-bound delegation token) across sessions that persist longer than the warrant's rotation or revocation horizon. Does not apply to stateless per-request invocation models where the warrant is re-presented on every call and validated by the callee.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-its-own-warrant-when-a-long-lived-session-outlives-a-credential-rotation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-its-own-warrant-when-a-long-lived-session-outlives-a-credential-rotation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-its-own-warrant-when-a-long-lived-session-outlives-a-credential-rotation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1996,
    "python_slice_tokens": 398,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token rejected.\" That is the benign case, caught by any signature-and-expiry check. The failure is the *silent continuity gap*: a session that established trust at `t0` under warrant `W0`, then continued executing tool calls, mutating memory, and handing off state after `W0` was rotated to `W1` or revoked outright — while the agen...",
    "what_was_observed": "A long-running research agent (session lifetime ~9 hours, ~1,400 tool calls) was issued warrant `W0` at session start with scope including `filesystem:write:/scratch` and `http:post:internal-api`. At hour 6, an operator rotated credentials and issued `W1` that **dropped `filesystem:write`** (retaining read) to contain a disk-pressure incident, and rotated the signing key. The trace: - The agent's session token was re...",
    "condition_of_validity": "The guardrail — **re-derive authority from the live warrant at every plan-revision boundary, not at session start** — is only valid under these conditions, and fails outside them: - **Plan-revision boundaries must be identifiable.** If the agent cannot tell when it is \"re-planning\" versus \"executing a step,\" there is no hook to re-verify at. Long ReAct loops...",
    "decision_boundary": "The precise line: **the agent may continue a plan across a rotation only if every remaining step's required scope is a subset of the intersection of old and new warrants.** The moment a remaining step requires a scope present in `W0` but absent in `W1`, the plan is invalid and must be re-planned from the current warrant — not retried, not routed around. Oper...",
    "operational_effect": "Enforcing re-derivation at plan-revision boundaries converts a silent continuity gap into a visible, bounded halt. In the incident above, the correct behavior at call 1,102 was: rotation event arrives → `removed_scopes` includes `filesystem:write` → agent checks remaining plan → \"write artifact tree\" requires removed scope → **Invalidated** → checkpoint and ..."
  },
  "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": "f21bcef5c3dcdeda21774683ff891d43543cfa62220999500470500f2a39821f",
    "verified_classes": [
      "WarrantScopeInvalidated",
      "Warrant",
      "PlanStep",
      "Session"
    ],
    "verified_functions": [
      "apply_rotation",
      "execute_step"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "WarrantScopeInvalidated"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
