Guard ordinary deployment journals and bind migration recovery to the original release
ABSDEV Framework CI / framework-ci (push) Successful in 37s

This commit is contained in:
Mark Gregory
2026-11-28 09:31:26 +00:00
parent bd0279d91b
commit 8d11a82be4
9 changed files with 178 additions and 27 deletions
+17
View File
@@ -0,0 +1,17 @@
# Migration journal protection
Compose migration and ordinary deployment operations through `SiteOperations`
using its journal, approval store and deployment lock. The journal persists
its guard binding on disk. Journal creation, transition and retirement check
migration state under the journal lock. Migration intent publication uses
the same journal lock, so a concurrent ordinary writer cannot slip past the
guard while the intent is being recorded.
The migration coordinator requires a trusted original-release probe. It
records the active release number, revision and provenance fingerprint in
the checksummed intent and rechecks them after containment. Forward recovery
requires that same release to remain active and verifies its current
provenance before activation. Unbound older intents require manual review.
Interrupted or failed migration evidence keeps ordinary writes blocked.
Production execution remains disabled.