pub fn read_input_file(path: &str) -> Result<String, String>
Read a CLI input file with the size cap enforced during buffering (no TOCTOU window: at most one byte over the cap is ever read).