eureka-pipeline, huginn-mind: a Sleep turn shares the Persona slot, a consolidation is a pair

RunTurn gains Sleep and RunSlot/RunTurn::slot (PersonaTurn and Sleep hold the Persona slot, a Self run the other); live_holder, launch holders and the unit template compare slots, not turns. MemoryOrigin gains Sleep { run }. Admission refuses an unpaired consolidation both ways (MindRefusal::UnpairedConsolidation): a memory that consolidates others without a Superseded resolution of each by it in the batch, and a memory Superseded by memories that do not name it. Published schemas regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-08 11:01:39 +01:00
commit 79edda37f6
15 changed files with 293 additions and 29 deletions

View file

@ -255,8 +255,9 @@ impl<'i> Docs<'i> {
}
/// The in-force run of hers, other than `run_key`, that holds the slot of
/// the turn `run` is of: ruling one-live-self-run's one live run per
/// instance and turn, asked by a run's opening and by the withdrawal that
/// the turn `run` is of (a Persona session and a Sleep run share the
/// Persona slot): ruling one-live-self-run's one live run per
/// instance and slot, asked by a run's opening and by the withdrawal that
/// would put a closed run back in force. An operator's run neither holds
/// the slot nor is refused for it.
pub(crate) fn live_holder(&self, run_key: &str, run: &PipelineRun) -> Option<&str> {
@ -267,7 +268,7 @@ impl<'i> Docs<'i> {
PipelineDocument::Run(other)
if other_key != run_key
&& other.instance == run.instance
&& other.turn == run.turn
&& other.turn.slot() == run.turn.slot()
&& other.operated_by == RunOperator::Mind
&& self.in_force(PipelineKind::Run, other_key) =>
{