code wiki / _hdl_build / nx_health_template_gate.nx
nx_health_template_gate.nx
buildroot/runtime/_hdl_build/nx_health_template_gate.nx
about
nx_health_template_gate.nx -- PURE gate for the content-aware health verdict. The load-bearing test (T1) is
the OPERATOR'S EXACT CASE: the real sites.elf 404 body served WITH a 200 status -> must verdict DOWN
(HT_ERROR_CONTENT), proving "a 404 being up with a 200 status is wrong" is caught. Plus: a known-good page is
OK, a real non-200 is WRONG_STATUS, and a 200 missing its template marker is MISSING_TEMPLATE. GREEN iff T1..T8.
Sovereign: nx_health_template + nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_health_template.nxnx_syscalls.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 g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 11 | func g_row(name: *u8, ok: i64) -> i64 |
| 16 | func g_eq(name: *u8, got: i64, want: i64) -> i64 { var ok: i64 = 0; if got == want { ok = 1 } return g_row(name, ok) } |
| 18 | func main() -> i64 |