pub struct SkillLifecycleConfig {Show 17 fields
pub promote_draft_uses: u64,
pub promote_emerging_uses: u64,
pub promote_emerging_success_rate: f64,
pub promote_emerging_age_days: i64,
pub promote_stable_uses: u64,
pub promote_stable_success_rate: f64,
pub promote_stable_age_days: i64,
pub demote_emerging_uses: u64,
pub demote_emerging_success_rate: f64,
pub demote_stable_uses: u64,
pub demote_stable_success_rate: f64,
pub deprecated_success_rate: f64,
pub deprecated_no_success_days: i64,
pub auto_archive_confidence: f64,
pub auto_archive_age_days: i64,
pub broken_workflow_streak: u32,
pub archive_destroy_grace_days: i64,
}Expand description
Per-skill lifecycle scoring thresholds.
Stored under skill.lifecycle.* in ~/.mur/config.yaml.
All fields are optional on disk — missing keys fall back to the
compile-time defaults so a partial config is always valid.
Fields§
§promote_draft_uses: u64§promote_emerging_uses: u64§promote_emerging_success_rate: f64§promote_emerging_age_days: i64§promote_stable_uses: u64§promote_stable_success_rate: f64§promote_stable_age_days: i64§demote_emerging_uses: u64§demote_emerging_success_rate: f64§demote_stable_uses: u64§demote_stable_success_rate: f64§deprecated_success_rate: f64§deprecated_no_success_days: i64§auto_archive_confidence: f64§auto_archive_age_days: i64§broken_workflow_streak: u32Number of consecutive Execution events with env_class == "workflow"
that immediately triggers a Deprecated transition, bypassing the
normal scoring path. Set to 0 to disable the fast-path.
archive_destroy_grace_days: i64Days a skill must remain in Archived state before mur skill sweep
transitions it to Destroyed and removes its directory from disk.
Set to 0 to disable hard-delete.
Trait Implementations§
Source§impl Clone for SkillLifecycleConfig
impl Clone for SkillLifecycleConfig
Source§fn clone(&self) -> SkillLifecycleConfig
fn clone(&self) -> SkillLifecycleConfig
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 SkillLifecycleConfig
impl Debug for SkillLifecycleConfig
Source§impl Default for SkillLifecycleConfig
impl Default for SkillLifecycleConfig
Source§impl<'de> Deserialize<'de> for SkillLifecycleConfigwhere
SkillLifecycleConfig: Default,
impl<'de> Deserialize<'de> for SkillLifecycleConfigwhere
SkillLifecycleConfig: Default,
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 From<&SkillLifecycleConfig> for LifecycleThresholds
impl From<&SkillLifecycleConfig> for LifecycleThresholds
Source§fn from(c: &SkillLifecycleConfig) -> Self
fn from(c: &SkillLifecycleConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SkillLifecycleConfig
impl RefUnwindSafe for SkillLifecycleConfig
impl Send for SkillLifecycleConfig
impl Sync for SkillLifecycleConfig
impl Unpin for SkillLifecycleConfig
impl UnsafeUnpin for SkillLifecycleConfig
impl UnwindSafe for SkillLifecycleConfig
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