code wiki / _hdl_build / nx_ng2_census.nx
nx_ng2_census.nx
buildroot/runtime/_hdl_build/nx_ng2_census.nx
about
nx_ng2_census.nx -- SOVEREIGN coverage census for the ROUND-2 applied/perception/avatar/voice frontier
(operator 2026-06-23: "make sure we didn't miss anything like qwen camera angle, hololive-type avatars, own-voice
translation, beauty evaluation, OCR/what-are-we-seeing"). Grounded on REAL organ existence (org_resolve) so it
CAN'T be fiction: a family classifies HAVE iff a real organ file exists, MISSING otherwise. The MISSING set is
the honest worklist = what we actually missed. Data in the sovereign nx_seg_store (NO TSV). Mirrors nx_ng_gap.
Gate: neg-control has teeth (a real organ -> 1, a fake -> 0); verdict GREEN if grounded + teeth (HAVE>=1).
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_seg_store.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
| 10 | const AP_MAGIC_2048: i64 = 2048 |
| 12 | const AP_STORE: *u8 = "knowledge/store/ngfx_applied" |
| 13 | const NSTEPS: i64 = 12 |
functions
| 15 | func cp(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 clen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: sa |
| 17 | func cpn(v: i64) -> i64 |
| 26 | func cstreq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: org_resolve |
| 27 | func cexists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 28 | func cjoin(pfx: *u8, name: *u8, out: *u8) -> i64 { var o: i64 = 0; var i: i64 = 0; while pfx[i] != (0 as u8) { out[o] = pfx[i]; o = o + 1; i = i + 1 } i = 0; while name[i] != (0 as u8) { out[o] = name[i]; o = o + 1; i = i + 1 } out[o] = 0 as u8; return 0 } called by 1: org_resolve |
| 29 | func org_resolve(name: *u8) -> i64 |
| 37 | func ap_key(k: i64, out: *u8) -> i64 |
| 43 | func ap_field(src: *u8, slen: i64, idx: i64, out: *u8) -> i64 called by 1: main |
| 50 | func sa(w: *i64, key: *u8, val: *u8) -> i64 { ss_add(w, 1, key, val, clen(val)); return 0 } |
| 54 | func ap_seed() -> i64 |
| 72 | func main() -> i64 |