Design decisions

284. Recovery bars: cascades <= 2%, common-mistake fix-its >= 95% (2026-11-22)

  • Decision. recovery_scoreboard fails above 2% cascaded errors per broken port (was 5%), and fix_it_scoreboard below 95% of common-mistake errors carrying a fix (was 88%); "fixes restore the program" stays >= 95%.
  • Why. These were the review packet's v0.3 targets. Measured with the new bars: 0 cascades over 414 broken-port copies, and 100.0% of 108 common-mistake errors carry a fix (cargo test -p cpl-cli --test recovery -- --nocapture), so the bars gate what is already true.
  • Reverse. Put 0.05 and 0.88 back in crates/cpl-cli/tests/recovery.rs.