code wiki / _hdl_build / nx_golive_gate.nx
nx_golive_gate.nx
buildroot/runtime/_hdl_build/nx_golive_gate.nx
about
nx_golive_gate.nx -- gate for the one-command go-live DRIVER (nx_golive). OFFLINE-deterministic
teeth for the driver's NEW logic: the dollars->cents quote parser, the JSON value readers, and the
honest-stop discrimination (a live-captured INSUFFICIENT_FUNDS body must NEVER read as a SUCCESS
that would let the pipeline advance to spend). The LIVE walk was proven 2026-07-09 (artifact
knowledge/compare/staging/golive_run.out): CHECK -> auto-quote 1108c -> CAP OK -> DRYRUN -> honest
STOP (server preflight 400, zero charge). license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_golive.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 gg_w(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 gg_n(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} 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 |
| 11 | func gg_check(pass: i64, label: *u8, fails: *i64) -> i64 |
| 17 | func gg_wrap(body: *u8, out: *u8) -> i64 |
| 23 | func main() -> i64 |