diff --git a/docs/deployment-authority.md b/docs/deployment-authority.md index f480c2f..eebf935 100644 --- a/docs/deployment-authority.md +++ b/docs/deployment-authority.md @@ -307,6 +307,12 @@ 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 0765431..a0acb0f 100644 --- a/src/control_plane.rs +++ b/src/control_plane.rs @@ -4585,9 +4585,11 @@ impl Engine { else { return Ok(()); }; - if ready_current.envelope != current.envelope { - 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. ensure!( is_semantic_ready(&authenticated), "latest Odin observation is not Ready at admission commit" @@ -4660,9 +4662,6 @@ 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"