pub struct HeartbitPulseConfig {
pub enabled: bool,
pub interval_seconds: u64,
pub active_hours: Option<ActiveHoursConfig>,
pub prompt: Option<String>,
pub idle_backoff_threshold: u32,
}Expand description
Heartbit pulse configuration for autonomous periodic awareness.
When enabled, the daemon periodically reviews its persistent todo list and decides what to work on next — a cognitive pulse loop.
Fields§
§enabled: boolEnable the heartbit pulse. Defaults to false.
interval_seconds: u64Interval in seconds between heartbit pulse ticks. Defaults to 1800 (30 min).
active_hours: Option<ActiveHoursConfig>Active hours window. When set, the pulse only fires within this window.
prompt: Option<String>Custom prompt override for the heartbit pulse. When absent, the default built-in prompt is used.
idle_backoff_threshold: u32Number of consecutive HEARTBIT_OK responses before doubling the interval (idle backoff). Defaults to 6 (3h at 30min interval).
Trait Implementations§
Source§impl Clone for HeartbitPulseConfig
impl Clone for HeartbitPulseConfig
Source§fn clone(&self) -> HeartbitPulseConfig
fn clone(&self) -> HeartbitPulseConfig
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 moreSource§impl Debug for HeartbitPulseConfig
impl Debug for HeartbitPulseConfig
Source§impl<'de> Deserialize<'de> for HeartbitPulseConfig
impl<'de> Deserialize<'de> for HeartbitPulseConfig
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
Auto Trait Implementations§
impl Freeze for HeartbitPulseConfig
impl RefUnwindSafe for HeartbitPulseConfig
impl Send for HeartbitPulseConfig
impl Sync for HeartbitPulseConfig
impl Unpin for HeartbitPulseConfig
impl UnsafeUnpin for HeartbitPulseConfig
impl UnwindSafe for HeartbitPulseConfig
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