Skip to main content

filter_enabled

Function filter_enabled 

Source
pub fn filter_enabled(
    loaded: Vec<LoadedSkill>,
    disabled_skills: &[String],
) -> Vec<LoadedSkill>
Expand description

Drop skills disabled for an agent (Phase 1 denylist). Applied once at agent startup, after load_all, so the filtered list feeds both injection and the trigger registry.