code wiki / _hdl_build / _galx_ui_gate.nx
_galx_ui_gate.nx
buildroot/runtime/_hdl_build/_galx_ui_gate.nx
about
_galx_ui_gate.nx -- NO-FAKE-GREEN gate for the SERVED rich-UI features the daemon already ships but
no gate proved yet (so the GALX census honestly marked them ABSENT). READ-ONLY: it GETs / from the
ALREADY-RUNNING production daemon (127.0.0.1:18090) and proves each feature is SHIPPED-IN-THE-SERVED-PAGE
by finding TWO feature-specific markers; on success it appends that feature's census probe substring to
knowledge/status/galx_serve.log so nx_galx_census re_has flips it ABSENT->PRESENT (measured, never asserted).
lightbox -> GALXLIGHTBOX (markers: id=lb + lbi)
keyboard-nav -> GALXKEYNAV (markers: ArrowLeft + ArrowRight)
css-styling -> GALXCSS (markers: <style + .cell)
Honest scope: this proves the feature CODE is served (the gallery ships it), NOT browser behaviour --
the same bar as "Hydrus/Eagle HAVE a lightbox" (their app ships it). NO daemon is spawned (only the live
one is read), so this cannot destabilize the VM. NO-FAKE-GREEN: a POS control (.cell must be present =
real gallery page) + a NEG control (an impossible marker MUST be absent) + per-feature TAMPER (the real
marker found AND a corrupted form NOT found). A probe is written ONLY if its two markers both verify.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_connect.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
| 18 | func up(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 20 | func u_addr(port: i64) -> *u8 |
| 28 | func u_connect(port: i64) -> i64 |
| 35 | func u_get(port: i64, out: *u8, cap: i64) -> i64 |
| 50 | func u_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 52 | func u_find(buf: *u8, n: i64, pat: *u8) -> i64 |
| 63 | func u_app(fd: i64, s: *u8) -> i64 { sys_write(fd, s, u_slen(s)); return 0 } |
| 65 | func main() -> i64 |