code wiki / (root) / nx_runsv_gate.nx

nx_runsv_gate.nx

buildroot/runtime/nx_runsv_gate.nx

2302 B37 linesdepth 8pulls 16 transitivereach 0 importersview sourcekind gate/prooftopic runsv
docsdependenciesstructsconstsfunctions

about

nx_runsv_gate.nx -- proves nx_runsv composes the team's organs correctly: hp_probe gives a REAL readiness verdict against the live supervised server (:8080), and rs_decide maps liveness+readiness to the right action with crash-loop backoff. (Replaces the mis-named nx_supervise_gate; nx_supervise is the team's existing simulated-health gate.) license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_runsv.nx nx_gate.nx nx_runsv_gate.nx

imports: nx_runsv.nxnx_gate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write hp_probe sys_socket sys_set_socket_timeout sys_mmap sys_setsockopt sys_munmap sys_mmap ↻ hp_sockaddr nx_connect_bounded nx_fcntl sys_connect sys_mmap ↻ sys_poll sys_write ↻ sys_read sys_munmap ↻ sys_close gn sys_write ↻ sys_mmap ↻ rs_decide rg_should_restart rg_backoff_ms

structs

none

consts

none

functions

8func main() -> i64