code wiki / _hdl_build / nx_status_page.nx
nx_status_page.nx
buildroot/runtime/_hdl_build/nx_status_page.nx
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
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
structs
| none |
consts
| 18 | const ST_MAGIC_8443: i64 = 8443 |
| 19 | const ST_MAGIC_7443: i64 = 7443 |
| 20 | const ST_MAGIC_8446: i64 = 8446 |
| 21 | const ST_MAGIC_8447: i64 = 8447 |
| 22 | const ST_MAGIC_8097: i64 = 8097 |
| 23 | const ST_MAGIC_18090: i64 = 18090 |
| 25 | const ST_OUT: *u8 = "web_assets/status.html" |
| 26 | const ST_RES: *u8 = "knowledge/registry/hosting_research.tsv" |
| 27 | const ST_CERT: *u8 = "/volume1/homes/elderwesto/nishihost/certs/le_fullchain.der" |
| 28 | const ST_CAP: i64 = 262144 |
functions
| 30 | func st_field(b: *u8, ls: i64, le: i64, f: i64) -> *u8 |
| 38 | func 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 |
| 39 | func st_cat_esc(dst: *u8, off: i64, s: *u8) -> i64 |
| 53 | func st_site(h: *u8, w: i64, host: *u8, scope: *u8, routes: *u8, state: *u8) -> i64 |
| 65 | func st_live(h: *u8, w: i64, label: *u8, port: i64, served_p: *i64) -> i64 |
| 80 | func main() -> i64 |