pub enum MilestonePolicy {
RequireVerifier,
Terminate,
AutoPass,
}Expand description
Controls what the runner does when the state machine returns
EvaluateMilestone — i.e., the LLM finished a turn but a milestone phase
has not yet been evaluated.
Variants§
RequireVerifier
Wait for a verifier callback or suspend if none is configured (default).
Terminate
Terminate the run immediately with status = "milestone_pending".
AutoPass
Unconditionally pass every milestone phase. Useful in unit tests and capability-unlock–only scenarios where the criteria check is a no-op.
Trait Implementations§
Source§impl Clone for MilestonePolicy
impl Clone for MilestonePolicy
Source§fn clone(&self) -> MilestonePolicy
fn clone(&self) -> MilestonePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MilestonePolicy
Source§impl Debug for MilestonePolicy
impl Debug for MilestonePolicy
Source§impl Default for MilestonePolicy
impl Default for MilestonePolicy
Source§fn default() -> MilestonePolicy
fn default() -> MilestonePolicy
Returns the “default value” for a type. Read more
impl Eq for MilestonePolicy
Source§impl PartialEq for MilestonePolicy
impl PartialEq for MilestonePolicy
Source§fn eq(&self, other: &MilestonePolicy) -> bool
fn eq(&self, other: &MilestonePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MilestonePolicy
Auto Trait Implementations§
impl Freeze for MilestonePolicy
impl RefUnwindSafe for MilestonePolicy
impl Send for MilestonePolicy
impl Sync for MilestonePolicy
impl Unpin for MilestonePolicy
impl UnsafeUnpin for MilestonePolicy
impl UnwindSafe for MilestonePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.