pub struct LifecycleSection {
pub forget_enabled: bool,
pub forget_min_age_days: u32,
pub forget_usefulness_floor: f32,
pub forget_protect_use_count: u32,
pub regret_flag_threshold: u64,
pub proposal_expiry_days: u32,
pub proposal_auto_accept_confidence: f32,
}Expand description
F3 lifecycle / forgetting policy configuration.
All settings are gated behind forget_enabled = false by default so
existing installs are completely unaffected until an operator opts in.
#[serde(default)] keeps all existing project.toml files loading cleanly.
Fields§
§forget_enabled: boolMaster opt-in switch. Default false — forgetting is NEVER triggered without the operator explicitly enabling it.
forget_min_age_days: u32Minimum age (days) before a memory is eligible for archival.
Only memories whose last_useful_at (or created_at when never cited)
is older than this many days are considered. Default 90.
forget_usefulness_floor: f32Usefulness floor: memories with usefulness_score / max(use_count, 1) <= this value are candidates. Default -0.1 (net-negative).
forget_protect_use_count: u32Evergreen protection threshold. Memories with
Non-negative memories with use_count >= forget_protect_use_count are protected regardless
of their usefulness ratio. Default 10.
regret_flag_threshold: u64Number of retrieval.regret events a memory must accumulate before
it appears in the review list. Default 5.
proposal_expiry_days: u32Number of days before a pending proposal is auto-expired (rejected with reason “expired”). Default 30. 0 disables expiry.
proposal_auto_accept_confidence: f32Proposals with proposed_confidence >= this value are auto-accepted
during the hygiene pass. Default 1.1 (disabled — threshold above the
maximum possible confidence of 1.0).
Trait Implementations§
Source§impl Clone for LifecycleSection
impl Clone for LifecycleSection
Source§fn clone(&self) -> LifecycleSection
fn clone(&self) -> LifecycleSection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more