From the recursive multi-agent review (18 confirmed findings). This wave clears
the critical, four highs, and several mediums/lows:
- CRITICAL restore.rs: a Braiins SSH restore reported SUCCESS on a wrong password
or unreachable miner. run_with_timeout now captures the exit code and drains
stderr on its own thread (also fixing the medium stderr-pipe stall), and a new
testable classify_braiins() treats an ssh auth/connection failure (stderr
diagnostic, empty stdout, non-zero exit) as failure while still reading a
dropped connection / timeout as the expected reboot. Unit-tested.
- HIGH restore exclusivity: apply_restore_confirm now refuses when a scan/refresh/
action/flash or another restore is in flight, so this destructive action never
overlaps or orphans a running restore handle.
- HIGH secrets off the command line: Braiins SSH uses `sshpass -e` (env, not -p),
and the access-probe curl passes credentials through a config on stdin (-K -)
instead of `-u user:pass`; both were visible in the process list. New masked
password field (wxTE_PASSWORD bridge) so the Credentials dialog no longer
renders saved passwords in the clear.
- MEDIUM correctness: per-board Chip-temp readings are now index-aligned with the
boards (a missing middle board shows "-" instead of shifting later boards left).
- MEDIUM: saved pool lists (which can hold a pool password) are chmod 0600.
- LOW: access-probe curl timeout now reaps the child (no zombie).
95 tests (+classify_braiins) + clippy-clean + selftest green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6