ensure_gateway_runtime's replacement branch moves into _observe_replacing_stale (CC back
under target; the stopped owner reads as draining/"replaced", the same retiring path an idle
exit takes). gateway status notes (the incompatible-owner report, standalone-by-config) move
to hermes_cli/gateway_status_notes.py so gateway.py shrinks instead of growing; blind excepts
narrowed; the TUI verdict-echo test moves to the notice test file.
(cherry picked from commit 547d7da12556d2d0ed26b3644bc4a7e62c446574)
(cherry picked from commit 0ddf64ebd2fb856afc9cc029aa4f22e7b08eddc0)
The bootstrap's verdict (`gateway incompatible: runtime_protocol`) never matched the TUI's
stderr-problem filter, so the reason was dropped and the status bar only cycled "retrying in
30s". The bootstrap now prints the verdict and its remedy (ensure's `detail`) as verdict lines,
and STDERR_PROBLEM_RE echoes them in the activity feed. Remedy strings are kept to one line that
fits the 120-char activity row.
(cherry picked from commit 66a6f0093e5c15e9f571c11e42b6732844dcd7c4)
(cherry picked from commit bcc5d020c45be9a3dcd434aa500e8d25c81c162b)
After an upgrade the old daemon keeps answering the home's control socket without a
runtime_protocol, so every ensure (TUI bootstrap, Desktop's `hermes gateway ensure`,
`hermes chat`) answered incompatible/runtime_protocol forever: the TUI retried every 30 s and
Desktop's Retry looped on "Hermes couldn't start".
ensure_gateway_runtime now stops that owner once, the way `hermes gateway stop` does (a
planned-stop marker in the owner's home, SIGTERM, bounded wait, start-time-guarded force
kill), then starts the current owner like any absent one. Refused with a reason in `detail`:
a newer-protocol owner, another install's (home outside this install's root, or the process
serves another home), and anything whose pid/start time cannot be pinned.
(cherry picked from commit f807caa7a989d82bf577ad38eb12f413ee626a1e)
(cherry picked from commit 294639f272154723ceb1c485038942437bf927d9)