code wiki / _hdl_build / nx_account_admin_census.nx

nx_account_admin_census.nx

buildroot/runtime/_hdl_build/nx_account_admin_census.nx

5977 B78 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_account_admin_census.nx -- the honest, ORGAN-COMPUTED scorecard for the HR-driven account-admin capability (the ecosystem's census doctrine: measured, never self-scored). It grades each capability by READING that capability's GATE LOG and checking the LATEST verdict is GREEN -- PRESENT iff its gate is green, the exceed cell EXCEEDS iff the measured exceed gate is green, ABSENT otherwise. A cell can NOT be marked PRESENT without a green gate behind it. LIAR-KILL negative control: a cell pointing at a non-existent log MUST grade ABSENT, proving the census doesn't rubber-stamp. Run the gates first (or the sweep); this reflects their last results. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_sovjson_lib.nx nx_syscalls.nx nx_account_admin_census.nx

imports: nx_sovjson_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main g_w sj_puts sys_write sys_mmap aac_cell aac_log_green sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close aac_last g_w ↻ g_n g_w ↻ sys_mmap ↻ sys_write ↻ sys_openat_append gw sys_write ↻ sys_write ↻ sys_close ↻ sys_exit

structs

none

consts

none

functions

10func g_w(s: *u8) -> i64 { return sj_puts(s) }
called by 3: g_naac_cellmain calls 1: sj_puts
11func g_n(v: i64) -> i64 { var m: i64=v; if m<0{g_w("-" as *u8);m=0-m} let t:*u8=sys_mmap(24); var k:i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i:i64=0; let o:*u8=sys_mmap(24); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 }
called by 1: main calls 3: g_wsys_mmapsys_write
12func gw(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 }
called by 1: main calls 1: sys_write
15func aac_last(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: aac_log_green
23func aac_log_green(path: *u8) -> i64
34func aac_cell(name: *u8, path: *u8, is_exceed: i64, pres: *i64, exc: *i64, absent: *i64) -> i64
called by 1: main calls 2: aac_log_greeng_w
43func main() -> i64