code wiki / (root) / nx_api_sota_census.nx

nx_api_sota_census.nx

buildroot/runtime/nx_api_sota_census.nx

6237 B86 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic api
docsdependenciesstructsconstsfunctions

about

nx_api_sota_census.nx -- grade the Nishi sovereign mgmt API vs the SOTA API capability union (knowledge/registry/api_sota_features.conf, grounded in knowledge/fetched/api_*.raw). LIAR-KILL: every HAVE/PARTIAL/EXCEED names an organ; we OPEN runtime/<organ> -> a missing file flips it to UNGROUNDED (caught). Reports HAVE/PARTIAL/GAP/EXCEED + a meet-SOTA score + the GAP list + the beyond-SOTA EXCEED list. license_tier: ORIGINAL depends: nx_syscalls

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_api_sota_census.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sys_openat_rd cp sys_write sys_exit sys_read sys_close cseq cwrite sys_write ↻ cn sys_write ↻ sys_mmap ↻

structs

none

consts

7const K_MAGIC_262144: i64 = 262144
8const K_MAGIC_1024: i64 = 1024

functions

10func cp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
11func cn(v: i64) -> i64 { if v==0 { sys_write(1,"0" as *u8,1); return 0 } var m: i64=v; if m<0 { sys_write(1,"-" as *u8,1); m=0-m } let t: *u8=sys_mmap(28); var k: i64=0; while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } while k>0 { k=k-1; sys_write(1,(((t as i64)+k) as *u8),1) } return 0 }
called by 1: main calls 2: sys_writesys_mmap
13func cseq(buf: *u8, off: i64, len: i64, lit: *u8) -> i64 { var i: i64=0; while i<len { if lit[i]==(0 as u8) { return 0 } if buf[off+i]!=lit[i] { return 0 } i=i+1 } if lit[len]!=(0 as u8) { return 0 } return 1 }
called by 1: main
14func cwrite(buf: *u8, off: i64, len: i64) -> i64 { sys_write(1, (((buf as i64)+off) as *u8), len); return 0 }
called by 1: main calls 1: sys_write
16func main() -> i64