code wiki / _hdl_build / nx_reader_arc_health.nx
nx_reader_arc_health.nx
buildroot/runtime/_hdl_build/nx_reader_arc_health.nx
about
nx_reader_arc_health.nx -- the MECHANIZED "no tech debt" proof for the whole reader/library arc (operator
2026-06-22: "we dont want any tech debt"). Spawns EVERY reader-arc gate via the sovereign runner, captures each
verdict (exit 0 = GREEN), and tallies. The ONE known coordinated blocker -- nx_pub_reader_receipt_gate, RED only
because of the nx_cc regalloc nondeterminism (compiler ws, handed off; the receipt CAPABILITY is proven by 4
deployed ledger-verified receipts) -- is reported LOUD but does NOT fail the arc verdict. ANY OTHER red = a real
regression = arc RED. Re-run this anytime to prove the arc is still clean. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 9 | func hp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func hn(v0: i64) -> i64 { var v: i64=v0; if v<0 { sys_write(1,"-" as *u8,1); v=0-v } let b: *u8=sys_mmap(24); var k: i64=0; if v==0 {b[0]=48 as u8;k=1} while v>0 {b[k]=(48+(v%10)) as u8; v=v/10; k=k+1} let o: *u8=sys_mmap(24); var j: i64=0; while j<k {o[j]=b[k-1-j];j=j+1} sys_write(1,o,k); return 0 } |
| 11 | func hstreq(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: main |
| 14 | func run_gate(name: *u8, redir: *u8) -> i64 |
| 33 | func main() -> i64 |