code wiki / (root) / nx_container_census.nx

nx_container_census.nx

buildroot/runtime/nx_container_census.nx

10680 B173 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic container
docsdependenciesstructsconstsfunctions

about

nx_container_census.nx -- SOVEREIGN depth+breadth census: Nishi Container Host vs the June-2026 container landscape. Operator 2026-06-24: "nishi researcher pass + census pass loops on Docker + other container stuff so we can be sure on DEPTH and BREADTH we can run Elder AI s-class-exceed." DEPTH = per-capability-axis grade (HAVE/PARTIAL/MISSING), GROUNDED in real on-disk evidence (organs, gate logs, artifacts) -- a HAVE claimed without evidence is flagged LIAR. BREADTH = how much of the landscape we have RESEARCHED+banked (knowledge/library/ctr_*.txt from nx_fetch). Liar-killed: cc_has must find the marker in the real file (neg-controls: missing file -> 0, wrong marker -> 0). NO fake greens. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_container_census.nx

imports: nx_syscalls.nxnx_runtime.nx

imported by: nobody (leaf or entry point)

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

main cc_p cc_w sys_write cc_has sys_mmap cc_read sys_openat_rd sys_read sys_close cc_strlen cc_find cc_exists sys_mmap ↻ cc_read ↻ cc_axis cc_has ↻ cc_p ↻ cc_gname cc_w ↻ cc_pn cc_wn sys_mmap ↻ sys_write ↻ sys_mmap ↻ cc_pn ↻ sys_openat_wr cc_w ↻ cc_wn ↻ sys_close ↻

structs

none

consts

10const CC_MAGIC_262144: i64 = 262144
11const CC_MAGIC_262143: i64 = 262143
13const CC_TSV: *u8 = "knowledge/status/container_census.tsv"

functions

15func cc_w(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 3: cc_pcc_gnamemain calls 1: sys_write
16func cc_wn(fd: i64, v: i64) -> i64
called by 2: cc_pnmain calls 2: sys_mmapsys_write
29func cc_p(s: *u8) -> i64 { return cc_w(1, s) }
called by 2: cc_axismain calls 1: cc_w
30func cc_pn(v: i64) -> i64 { return cc_wn(1, v) }
called by 2: cc_axismain calls 1: cc_wn
31func cc_strlen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: cc_has
32func cc_read(path: *u8, buf: *u8, cap: i64) -> i64
45func cc_find(buf: *u8, n: i64, pat: *u8, pl: i64) -> i64
called by 1: cc_has
57func cc_has(path: *u8, marker: *u8) -> i64
65func cc_exists(path: *u8) -> i64 { let b: *u8 = sys_mmap(64); let n: i64 = cc_read(path, b, 64); if n > 0 { return 1 } return 0 }
called by 1: main calls 2: sys_mmapcc_read
66func cc_gname(fd: i64, g: i64) -> i64
called by 1: cc_axis calls 1: cc_w
74func cc_axis(name: *u8, exemplar: *u8, claimed: i64, path: *u8, marker: *u8) -> i64
called by 1: main calls 4: cc_hascc_pcc_gnamecc_pn
84func main() -> i64