code wiki / _hdl_build / nx_user_console.nx
nx_user_console.nx
buildroot/runtime/_hdl_build/nx_user_console.nx
about
nx_user_console.nx -- the END-USER CONSOLE (operator 2026-06-09: "getting capabilities in the
hands of the end users"). Generates a browser dashboard FROM THE DURABLE LOGS (real data, never
narration): latest site-quality score + per-criterion rows, the proof-ledger verdict, the bench
verdicts. Output knowledge/site_console.html -- servable HOT by the live sites daemon (drop into
the router's content dir = live next request). DOGFOOD LAW: the console page itself must PASS
nx_site_quality_gate -- the team's quality bar applies to the team's own UI. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 9 | const K_MAGIC_1048592: i64 = 1048592 |
| 10 | const K_MAGIC_1048576: i64 = 1048576 |
functions
| 11 | func _p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 16 | func _pn(v: i64) -> i64 { nxi_out(v); return 0 } calls 1: nxi_out |
| 17 | func _fp(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 18 | func uc_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: uc_last_line |
| 19 | func uc_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 34 | func uc_last_line(ofd: i64, buf: *u8, n: i64, pat: *u8) -> i64 |
| 55 | func main() -> i64 |