code wiki / _hdl_build / nx_hostctl_supervise_gate.nx
nx_hostctl_supervise_gate.nx
buildroot/runtime/_hdl_build/nx_hostctl_supervise_gate.nx
about
nx_hostctl_supervise_gate.nx -- KAT for the upgraded supervisor decision logic (gaps #5 health-probe +
#4 restart-guard, wired into nx_hostctl.cmd_supervise). Proves: a dead daemon -> restart; an alive+SERVING
daemon -> leave it; an alive-but-HUNG daemon -> restart (the case PID-liveness misses); and the crash-loop
guard allows exactly BURST restarts per window then backs off. exit 0 = pass, N = assertion N failed.
dependencies 2 imports · 0 importers
imports: nx_hostctl.nxnx_assert.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func hgg_mock(port: i64, mode: i64) -> i64 |
| 32 | func main() -> i64 |