code wiki / _hdl_build / nx_status_page.nx

nx_status_page.nx

buildroot/runtime/_hdl_build/nx_status_page.nx

12840 B189 linesdepth 9pulls 21 transitivereach 0 importersview sourcekind tooltopic status
docsdependenciesstructsconstsfunctions

about

nx_status_page.nx -- GENERATE the nishifamily.com/status dashboard: every managed site (local + external) + the hosting S-class scorecard (read live from the researcher's gap backlog). module: nishi-core.hosting.status_page capability: CORE_COMPUTE (the operator's status-of-all-sites dashboard, S-class via the page builder) Built through nx_wiki_shell so it clears the full wiki-page feature bar. The site inventory is a SNAPSHOT (last-verified state, honestly labelled -- live up/down probing is the nx_site_monitor rung). The hosting scorecard is COMPUTED from knowledge/registry/hosting_research.tsv (the sovereign researcher's verified gaps), so "where our hosting stands vs best-in-class" is measured, not asserted. GATING: the operator wants this BEHIND the access wall -- this organ emits the content; the wall (nx_sites_daemon_v2 /login + session) gates it. Sovereign: nx_syscalls + nx_wiki_shell. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_wiki_shell.nx nx_health_probe.nx nx_cert_monitor.nx nx_status_page.nx

imports: nx_syscalls.nxnx_wiki_shell.nxnx_health_probe.nxnx_cert_monitor.nx

imported by: nobody (leaf or entry point)

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

main sys_now_realtime_sec sys_mmap sys_clock_gettime_real sys_mmap ↻ sh_head sh_cat sh_nav sh_cat ↻ sh_cat ↻ sh_catn sys_mmap ↻ sh_infobox_open sh_cat ↻ sh_infobox_row sh_cat ↻ sh_infobox_close sh_cat ↻ sh_toc_open sh_cat ↻ sh_toc_item sh_cat ↻ sh_toc_close sh_cat ↻ sh_section sh_cat ↻ st_site sh_cat ↻ st_live 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

structs

none

consts

18const ST_MAGIC_8443: i64 = 8443
19const ST_MAGIC_7443: i64 = 7443
20const ST_MAGIC_8446: i64 = 8446
21const ST_MAGIC_8447: i64 = 8447
22const ST_MAGIC_8097: i64 = 8097
23const ST_MAGIC_18090: i64 = 18090
25const ST_OUT: *u8 = "web_assets/status.html"
26const ST_RES: *u8 = "knowledge/registry/hosting_research.tsv"
27const ST_CERT: *u8 = "/volume1/homes/elderwesto/nishihost/certs/le_fullchain.der"
28const ST_CAP: i64 = 262144

functions

30func st_field(b: *u8, ls: i64, le: i64, f: i64) -> *u8
called by 1: main calls 1: sys_mmap
38func st_d1(s: *u8) -> i64 { if s[0] >= 48 as u8 { if s[0] <= 57 as u8 { return (s[0] - 48 as u8) as i64 } } return 0 }
called by 1: main
39func st_cat_esc(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main calls 1: sh_cat
53func st_site(h: *u8, w: i64, host: *u8, scope: *u8, routes: *u8, state: *u8) -> i64
called by 1: main calls 1: sh_cat
65func st_live(h: *u8, w: i64, label: *u8, port: i64, served_p: *i64) -> i64
called by 1: main calls 3: hp_probesh_catsh_catn
80func main() -> i64