Skip to main content

Module external_learner

Module external_learner 

Source
Expand description

EVO-6: External knowledge learning.

Fetches tech articles from external sources (CN-priority), extracts planning rules via LLM, and evolves the source registry itself (pause/retire low-quality sources, update accessibility scores).

Gated by env var: SKILLLITE_EXTERNAL_LEARNING=1 (default OFF). Daily cap: max 3 external fetch runs per day. Network: CN sources use 5s timeout, global sources use 15s timeout.

Functions§

apply_external_rule_promotions
Promote external rules with effectiveness ≥ 0.7 to priority 65. Called from feedback.rs integration point (see promote_external_rules).
run_external_learning
Run external learning cycle. Returns (change_type, id) pairs for the changelog.
should_run_external_learning
Check whether external learning is enabled and under the daily cap.