pub enum OperatingMode {
Explore,
Execute,
Verify,
Recover,
AskHuman,
Sleep,
}Expand description
The agent’s current operating mode.
Mode transitions are driven by the homeostasis controller based on the AgentStateVector.
Variants§
Explore
High uncertainty — gathering information, read-only tools preferred.
Execute
Default productive mode — executing tools, making progress.
Verify
High side-effect pressure — validating before committing.
Recover
Error streak >= threshold — rollback, change strategy.
AskHuman
Pending approvals or human input needed.
Sleep
Progress >= 98% or awaiting next signal.
Trait Implementations§
Source§impl Clone for OperatingMode
impl Clone for OperatingMode
Source§fn clone(&self) -> OperatingMode
fn clone(&self) -> OperatingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperatingMode
impl Debug for OperatingMode
Source§impl Default for OperatingMode
impl Default for OperatingMode
Source§fn default() -> OperatingMode
fn default() -> OperatingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperatingMode
impl<'de> Deserialize<'de> for OperatingMode
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
Source§impl PartialEq for OperatingMode
impl PartialEq for OperatingMode
Source§impl Serialize for OperatingMode
impl Serialize for OperatingMode
impl Copy for OperatingMode
impl Eq for OperatingMode
impl StructuralPartialEq for OperatingMode
Auto Trait Implementations§
impl Freeze for OperatingMode
impl RefUnwindSafe for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Unpin for OperatingMode
impl UnsafeUnpin for OperatingMode
impl UnwindSafe for OperatingMode
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.