From f6bd1955389976a3f248df977e153000067e7bc6 Mon Sep 17 00:00:00 2001 From: Dotta Date: Sun, 8 Nov 2026 10:51:42 -0600 Subject: [PATCH] docs(recovery): keep the interrupted-preparation kind after the teardown kinds Co-Authored-By: Claude Opus 5.5 --- server/src/services/recovery/ownership-registry.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/services/recovery/ownership-registry.ts b/server/src/services/recovery/ownership-registry.ts index 01e164776db..302ba1147cf 100644 --- a/server/src/services/recovery/ownership-registry.ts +++ b/server/src/services/recovery/ownership-registry.ts @@ -978,6 +978,8 @@ export const OWNABLE_KINDS: readonly OwnableKind[] = [ // shared prover must prove it gone (a missing stamp, or one from another // host or PID space, is unprovable and stays held). The settle re-checks // the durable proof and replays the preparation exactly once. + // Keep this entry after the environment teardown kinds: a lease they settle + // in a pass is released before this kind lists in that same pass. ...runKind("legacy_interrupted_preparation_hold", "Interrupted preparation held for replay", "ownership", heldInterruptedPreparationWhere(), row => { const stamp = legacyControllerOwnerStamp(row);