code wiki / _hdl_build / nx_reader_census.nx

nx_reader_census.nx

buildroot/runtime/_hdl_build/nx_reader_census.nx

24922 B115 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic reader
docsdependenciesstructsconstsfunctions

about

nx_reader_census.nx -- the reader S-class CENSUS as a CODE-DEFINED SEED into the sovereign seg-store (knowledge/store/rcen-*, via nx_seg_store) -- operator 2026-06-21: "stop using tsv, nishi ecosystem hardware- rung-up, not use tsv again" + 2026-06-22 evolve to a code-defined seed so even the retired .tsv backup is unnecessary. The 62 capability cells are AUTHORED HERE (author-by-organ, the nx_known_issue_seed pattern); NO .tsv is read. IDEMPOTENT (rule#10): a record is written only if absent-or-changed, then EVERY record is read back + byte-verified -- GREEN only when the store holds exactly the authored census. To GROW the census: add a keys[]/vals[] pair + the id to rc:ids, re-run. Record = id<tab>tier<tab>dimension<tab>capability<tab> best_in_class<tab>status<tab>exceed_angle. expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_reader_census_store.nx nx_seg_store.nx nx_syscalls.nx nx_reader_census.nx

imports: nx_reader_census_store.nxnx_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

main cw sys_write sys_mmap ss_begin ss_begin_cap sys_mmap ↻ rc_streq_store sys_mmap ↻ rc_get ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 clen ss_add ss_add2 ss_w32 ss_len ↻ ss_commit ss_segid_ok sys_mmap ↻ ss_cat ↻ ss_catn sys_mmap ↻ sys_write ↻ ss_write_seg ss_segid_ok ↻ sys_mmap ↻ ss_cat ↻ ss_catn ↻ sys_write ↻

structs

none

consts

none

functions

13func cw(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
14func cn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m}; let t: *u8=sys_mmap(28); 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; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
15func clen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
17func main() -> i64