pub enum GoalStatus {
Active,
UserPaused,
BackOffPaused,
NoProgressPaused,
InfraPaused,
Blocked,
BudgetLimited,
Complete,
}Expand description
Lifecycle status of a goal.
The paused variants encode the reason the goal was paused:
UserPausedfor explicit pause requestsBackOffPausedwhen the classifier run cap is hitNoProgressPausedwhen the verifier flags the same gaps with no progressInfraPausedwhen a turn finishes with an infrastructure errorBlockedwhen the model determined the goal is not achievable
Backwards-compat serde aliases: older shells serialized this
enum with the default PascalCase form ("Active", "Paused",
"BudgetLimited", "Complete"). The #[serde(alias = ...)]
attributes preserve in-flight goal snapshots written by older shells.
Variants§
Active
Goal is actively running.
UserPaused
Explicitly paused by the user.
BackOffPaused
Paused due to repeated classifier failures (back-off cap hit).
NoProgressPaused
Paused because the verifier reported the same gaps with no progress.
InfraPaused
Paused due to an infrastructure error in a turn.
Blocked
Blocked; the model determined the goal is not achievable.
BudgetLimited
Hit the token budget limit.
Complete
Goal completed successfully.
Trait Implementations§
Source§impl Clone for GoalStatus
impl Clone for GoalStatus
Source§fn clone(&self) -> GoalStatus
fn clone(&self) -> GoalStatus
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 GoalStatus
Source§impl Debug for GoalStatus
impl Debug for GoalStatus
Source§impl<'de> Deserialize<'de> for GoalStatus
impl<'de> Deserialize<'de> for GoalStatus
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GoalStatus
Source§impl PartialEq for GoalStatus
impl PartialEq for GoalStatus
Source§impl Serialize for GoalStatus
impl Serialize for GoalStatus
impl StructuralPartialEq for GoalStatus
Auto Trait Implementations§
impl Freeze for GoalStatus
impl RefUnwindSafe for GoalStatus
impl Send for GoalStatus
impl Sync for GoalStatus
impl Unpin for GoalStatus
impl UnsafeUnpin for GoalStatus
impl UnwindSafe for GoalStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.