From 3d4c9d34f1b58805032f2db4b7edcd93a35895aa Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 07:10:31 +0200 Subject: [PATCH] Correct the B1 legacy ruling: no reopen, reconciliation owns the residue Co-Authored-By: Claude Opus 5.5 --- docs/route-continuity-cut.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/route-continuity-cut.md b/docs/route-continuity-cut.md index 5d30194..512ac09 100644 --- a/docs/route-continuity-cut.md +++ b/docs/route-continuity-cut.md @@ -471,7 +471,7 @@ refused, the revert exact). The transition failed: - Low: `docs/deployment-authority.md` says the projection "never drifts". **Self's ruling for the B1 fix batch, which runs on top of F0 because F0 owns the legacy lift:** -1. The legacy-transaction lift maps a pre-B1 continuity abort that issued an activation to +1. ~~(superseded below)~~ The legacy-transaction lift maps a pre-B1 continuity abort that issued an activation to `Pending`. The new single resolution then demotes its own activation, which also cleans the residue that record left behind. 2. Supervision owns the Expected-only precondition. It does not mint a continuity while its @@ -485,6 +485,35 @@ refused, the revert exact). The transition failed: Before any deploy, check the live host for resident continuity abort records. That is a read of `control.cc`, and the operator's to authorise. +**B1 fix batch 1, Soul pass, 2026-09-29: do not close. Self's corrected ruling replaces item 1 above.** +Hands implemented item 1 by reopening terminal pre-B1 records at `Starting`. Soul confirmed the +cost: +- If the target also holds a live transaction, or a second resident pre-B1 abort, the reopened + record fails `ControlSnapshot::read` and Idunn does not boot. +- The migration has already written the record as v4, so the old binary cannot roll back. +- The reopen is a second owner for residue that boot reconciliation already cleans. +The defect was in Self's ruling: it set a state on a record without saying what happens to +terminal records. + +**Corrected ruling:** +- Nothing is reopened. +- A terminal pre-B1 abort keeps its phase. Validation accepts its shape under a **typed legacy + marker** that only the lift sets. +- **Boot reconciliation is the single owner of legacy residue.** +- In-flight pre-B1 aborts may lift to `Pending` only if they cannot collide with another live + transaction. + +**Also fixed in batch 2:** +- A failed pre-fence abort goes to `record_resumable_error`, never to + `begin_post_fencing_abort`. Before this, one wedged abort failed every scheduler tick for + every target. +- Errors are isolated per transaction, including `archive_terminal_transaction`. +- `serve`'s boot wiring is pinned by a test. + +**Moved to B2:** the continuity restart ceiling reads only `ContinuityBackoff`, never +`history.cc`. Otherwise an unreadable history file stops crash recovery for every target. +Deferral and backoff show in `idunn status`. + **B2 — Bounded, backed-off route and unit repair (Idunn).** *Widened 2026-09-29 by Self, from Soul's S1 pass.* S1 closed the healthy-target storm, and