pub fn classify_stdout(stdout: &str) -> Option<KeyPushOutcome>Expand description
Parse the remote snippet’s stdout into an outcome. Pure helper so the worker and tests share the same classification. Match is against the last non-empty line (stripped of trailing CR) so motd or login-banner output before the marker is tolerated.