Repository navigation
Description
What: The GPU serving host comes back on its own after a hang or power loss, and its hangs are logged until the suspected power-supply fault is fixed.
Why: The router runs on one GPU host that reset repeatedly, including at idle, so live serving loses its router lane whenever the host is down.
So what: Host work: the user installs the smart plug, sets power-on after AC loss and swaps the power supply; an agent sets up the watcher and the hang log. The user's runbook is the record.
Parent
Outcome
A permanent watcher on another always-on machine detects that the serving host is unresponsive and power-cycles it through a smart plug; the host powers on after AC loss and starts the router service at boot; a hang log records each event. After the power-supply swap, the hang log confirms the fault is gone.
Elon record
- Requirements and who asked: permanent watcher, smart plug for automatic power cycle, power-on after AC loss, then a power-supply swap confirmed by the hang log (user, 2026-10-12); no training while serving and a boot-start unit (gap review synthesis).
- Deleted: an in-host process watcher alone (it cannot power on a host that reset); a 60-second circuit inside serving (the serving server's remote state covers outages).
- Bottleneck: hardware actions only the user can take (plug, firmware setting, power-supply swap).
- Checked myself: the gap reviews and the user's decision record; three resets on 2026-10-12, one at idle.
Acceptance criteria
- A forced hang is detected and the host is power-cycled without a person, and the router service is back after boot.
- The host powers on by itself after AC loss.
- Each hang or power cycle is logged with time and recovery duration.
- After the power-supply swap, the hang log covers an agreed period with no unexplained reset.
- Every machine change is recorded in the user's runbook.
Non-goals
- Router serving code (Serving: deliver stored knowledge before the agent's next decision on every host #3 children).
- Training schedules beyond "no training while serving".
Blocked by
- None
Required proof
- A logged forced-hang recovery, an AC-loss power-on, and the post-swap hang log summary on this Issue; the runbook entries.
Activity
lukemaj commentedon Oct 12, 2026
User decision (2026-10-12): the smart plug is a Shelly Plug S Gen3 (ordered). Gen3 exposes a local RPC API (Switch.Set / Switch.GetStatus over HTTP on the LAN), so the watcher can power-cycle without the vendor cloud. Work starts when the plug arrives.