Skip to main content

precedence

Function precedence 

Source
pub fn precedence(
    select: Option<&str>,
    cap: Option<usize>,
    attention: bool,
) -> Policy
Expand description

policy over its three switches: select (BORG_SELECT), cap (BORG_STOP_ASK_CAP as conscience.rs ask_cap reads it) and attention (BORG_STOP_ATTENTION=on). fixed wins over both evaluation switches, the cap over attention, both over learned; any other BORG_SELECT, or none, is the default, the learned policy: its pre-registered checks passed under Rules v2 (docs/evidence.md#lesson-selection, run v2 2026-10-29), and BORG_SELECT=fixed is the way back. Whatever evaluates the learned policy (select/replay.rs, the monitoring of what it would do) names Policy::Learned and never reads this.