code wiki / _hdl_build / nx_site_liveness.nx

nx_site_liveness.nx

buildroot/runtime/_hdl_build/nx_site_liveness.nx

4980 B80 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic site
docsdependenciesstructsconstsfunctions

about

nx_site_liveness.nx -- the LIVE truth source the maturity engine was missing: probe each public site for REAL (HTTP 200 + body, via the sovereign fetcher) and write a verdict log the rollup reads. Composes the gate-proven health logic (nx_http_health_gate 9/9) but INLINES the verdict (the hh_healthy CALL miscompiles -- a real .nx codegen bug found live). Output: knowledge/status/site_liveness.log lines `... verdict=GREEN|RED`, the last being the consolidated SITES-LIVE-ALL (so the maturity engine's gate-liveness reads the true overall state). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_http_health_lib.nx nx_site_liveness.nx

imports: nx_http_health_lib.nx

imported by: nobody (leaf or entry point)

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

main sl_check dep_run_capture sys_fork sys_openat_wr sys_dup3 sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_execve sys_exit ↻ sys_wait4 dp_contains dp_len

structs

none

consts

8const K_MAGIC_16384: i64 = 16384
9const K_MAGIC_16380: i64 = 16380
26const SL_EDGE_ENDPOINT: *u8 = "127.0.0.1:8443"
27const SL_EDGE_MARKER: *u8 = "X-Served-By: nishi-substrate-v2"
28const SL_STATUS_OK: *u8 = "HTTP/1.1 200"

functions

31func sl_check(lfd: i64, host: *u8, url: *u8) -> i64
called by 1: main calls 2: dep_run_capturedp_contains
58func main() -> i64
calls 1: sl_check