pub enum LoopPhase {
Reason,
Act {
tool_calls: Vec<ToolCall>,
},
Observe {
results: Vec<ToolResult>,
},
Delta {
pressure: f64,
},
}Expand description
The turn step of the L* execution loop (M1d).
Schedulability (Ready/Running/Blocked/Suspended/Done) is no longer carried here — it lives
on the root task’s TaskState in the kernel’s TaskTable, queried via
[LoopStateMachine::lifecycle]. LoopPhase is now orthogonal: it only records which step of a
running turn the loop is in. When the task is Ready/Suspended/Done, the phase value is
inert (left at its last step) and ignored.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoopPhase
impl RefUnwindSafe for LoopPhase
impl Send for LoopPhase
impl Sync for LoopPhase
impl Unpin for LoopPhase
impl UnsafeUnpin for LoopPhase
impl UnwindSafe for LoopPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more