Skip to main content

audit

Function audit 

Source
pub fn audit(
    changes: &[Change],
    patch: &str,
    frozen: &BTreeSet<String>,
    additions_ok: bool,
    approved: &BTreeSet<String>,
) -> Vec<String>
Expand description

Findings for an attempt: changes and patch between its checkpoints, frozen the test files that existed when it started. With additions_ok, a frozen test whose diff only adds lines is no finding (removed tests and skip markers still are). An agent context file (AGENTS.md, …) changed without a person’s grant in approved is one.