pub fn record_failure(unit: &mut Unit, failure: &VerifyFailure)Expand description
Record a failed verify attempt on a unit.
Increments attempts, appends failure details to notes, and pushes a structured history entry. Does not save to disk — caller decides when to write.