The gate reads the hold itself at admission; the heartbeat no longer writes resolutions on an answer

open_and_launch decides what an open question holds, once, after the breaker reads and just before the admission: LaunchRequest.held and Held's Default are gone, so no caller can launch a held item and a caller's earlier read (claimable) is advisory only. launch::retire_answered and its heartbeat call are deleted: whoever answers retire resolves the claims, and the hold persists until they do. The retire option text is restored to the r4 wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-01 12:29:55 +01:00
commit 9c58d5620f
8 changed files with 110 additions and 176 deletions

View file

@ -151,10 +151,10 @@ pub(crate) fn holds(mind: &dyn MindPort) -> Result<Vec<Hold>> {
hold::holds(&|asking| mind.query(asking))
}
/// A snapshot of the items an open question holds, read once by whoever
/// launches and passed to everything that launch consults, so the gate, the
/// queue and the claims they chose cannot answer differently within one launch.
#[derive(Clone, Debug, Default, PartialEq, Eq)]
/// A snapshot of the items an open question holds. Only `on_hold` makes one
/// (there is no empty default), and the launch gate reads its own, once, at
/// admission; a reader that chooses claims by one is advisory.
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Held(Vec<PipelineRef>);
impl Held {