pub fn run_learn( command: &str, output: &str, exit_code: i32, ) -> Result<(), Error>
Run the learn flow: call LLM, validate + save pattern.