pub fn interpret_command_result( command: &str, exit_code: i32, stdout: &str, stderr: &str, ) -> CommandResult
Interpret command result based on semantic rules