pub fn resolve_toggle(
default_on: bool,
raw: Option<&str>,
legacy_off: bool,
) -> Resolved<bool>Expand description
2026-09-25: The override grammar for a boolean lever, as a pure function.
raw is the positive variable’s value (None = absent). legacy_off is
the presence of the matching METRALE_NO_* kill switch, which wins over
everything, so a stale positive variable cannot veto it.