Skip to main content

load_all

Function load_all 

Source
pub fn load_all(roots: &[PathBuf]) -> (Vec<Plugin>, Vec<LoadedSkill>)
Expand description

Walk the given roots and discover all plugins and skills. Deduplicates on (plugin_name, skill_name); first occurrence wins.

Task 21: discovery is deterministically CAPPED — at most DISCOVERY_MAX_SKILLS skills and DISCOVERY_MAX_METADATA_BYTES of retained metadata across the whole pass. Beyond a cap, later candidates are skipped (first-wins order preserved) and only COUNTS are reported.