pub fn check_drift(
current: &[StatementView],
committed: &[CommittedStatement],
severity: &BTreeMap<String, Severity>,
) -> DriftExpand description
Diff a fresh projection against committed statements (§10):
- a current statement absent from the document is untriaged (error);
- a committed
not_affectedwhose key is gone is stale (error); - a committed human
not_affectedwhose key is still present but whose current status is no longernot_affectedis a dropped suppression (error) — the assertion was removed or no longer applies. Only human statements are status-checked: a plain scan can’t reproduce a machinenot_affected(no--reachability=static), so checking its status would false-flag every one; that case isvex verify’s job. - a still-present gating-severity
under_investigationis a warning.