code wiki / _hdl_build / nx_exceed_deliver.nx

nx_exceed_deliver.nx

buildroot/runtime/_hdl_build/nx_exceed_deliver.nx

3257 B54 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic exceed
docsdependenciesstructsconstsfunctions

about

nx_exceed_deliver.nx -- earn ONE genuine S-class EXCEED (operator: stars are for measured wins, not tasks). The workstream owns the WMS substrate; here it delivers a MEASURED WIN OVER A NAMED ALTERNATIVE -- it fork/execs the real head-to-head gate (WMS vs git) and ONLY if that gate is GREEN (the win actually holds) records status EXCEED in workstreamq. Not a task, not a self-verify -- a gate-proven beat of an external, industry-standard tool. This is the only thing that earns the 5th star. Reuses the verified sd_run_gate fork/exec idiom. Sovereign. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_role_store.nx nx_itoa_lib.nx nx_syscalls.nx nx_exceed_deliver.nx

imports: nx_role_store.nxnx_itoa_lib.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 xd_w sys_write xd_run_gate sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 xd_n nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_exit ↻ sys_mmap ↻ xd_cat rs_append rs_lock sys_openat_append sys_flock rs_segcount sys_mmap ↻ ss_manifest ss_manifest_file sys_mmap ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close rs_unlock sys_flock ↻ sys_close ↻

structs

none

consts

11const XD_CHAN: *u8 = "workstreamq"
12const XD_GATE: *u8 = "nx_ws_exceed_git_live_gate" // the real measured H2H: WMS 144/0 vs git
13const XD_RUNNER: *u8 = "_offc/nx_sov_build_run.elf"
14const XD_PROOF: *u8 = "WMS 144/0 vs git (git refused/lost 104-132 of 144 concurrent writes)"

functions

16func xd_w(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
21func xd_n(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
22func xd_cat(dst: *u8, off: i64, s: *u8) -> i64 { var o: i64 = off; var i: i64 = 0; while s[i] != (0 as u8) { dst[o] = s[i]; o = o + 1; i = i + 1 } return o }
called by 1: main
24func xd_run_gate(gate: *u8) -> i64
41func main(argc: i64, argv: *i64) -> i64