From 7a61c77420e84d7fe0233ae210daa7774d08cfed Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 28 Sep 2026 14:20:26 +0200 Subject: [PATCH] Revert "Continue commit from refreshed topology receipt" This reverts commit 55e5d559d61c81ab18034a131dc0a02e4e8c037d. --- docs/deployment-authority.md | 6 ------ src/control_plane.rs | 11 ++++++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/docs/deployment-authority.md b/docs/deployment-authority.md index eebf935..f480c2f 100644 --- a/docs/deployment-authority.md +++ b/docs/deployment-authority.md @@ -307,12 +307,6 @@ record, refuses if a projected write lease remains, and demotes the projection to Expected-only. The admitted receipt does not overwrite a newer signed activation, and no operator edits the CultCache projection by hand. -At admission commit, Idunn stores each newly authenticated Odin sequence in -the live transaction receipt. That receipt refresh is progress owned by the -same transaction, so commit continues from the returned snapshot; the final -compare-exchange rejects a later concurrent change. A live provider heartbeat -does not defer admission to another scheduler tick indefinitely. - Idunn starts and recovers from its own durable admitted state. Odin is the first managed semantic daemon, never an Idunn bootstrap dependency. Odin's initial admission is the sole graph-bootstrap exception: Idunn uses its root-admitted diff --git a/src/control_plane.rs b/src/control_plane.rs index a0acb0f..0765431 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -4585,11 +4585,9 @@ impl Engine { else { return Ok(()); }; - // `admit_latest_topology` compare-checks the transaction before it - // writes and returns the updated snapshot. Its own sequence receipt - // refresh is progress, not an external mutation; continuing from this - // snapshot prevents a live publisher from starving the final commit. - // The terminal compare-exchange still rejects any later mutation. + if ready_current.envelope != current.envelope { + return Ok(()); + } ensure!( is_semantic_ready(&authenticated), "latest Odin observation is not Ready at admission commit" @@ -4662,6 +4660,9 @@ impl Engine { else { return Ok(()); }; + if commit_current.envelope != ready_current.envelope { + return Ok(()); + } ensure!( is_semantic_ready(&authenticated), "latest Odin observation is not Ready after the final admission challenge"