code wiki / _hdl_build / nx_engineer_deliver.nx
nx_engineer_deliver.nx
buildroot/runtime/_hdl_build/nx_engineer_deliver.nx
about
nx_engineer_deliver.nx -- close the DELIVERY loop for a SECOND section (the engineer) with a
DIFFERENT kind of real work, proving the loop generalizes (not researcher-specific). The
engineer's accountability includes `verify`; here it does real verify work -- fork/exec a real
gate and key on its exit code -- and ONLY if the gate is GREEN does it record an APPLIED delivery
in engineerq (real verification completed, not a flag flip). Internal + deterministic + safe (no
outward action, unlike the publisher's live ship). Reuses the verified sd_run_gate fork/exec idiom.
Sovereign. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
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
structs
| none |
consts
| 12 | const ED_CHAN: *u8 = "engineerq" |
| 13 | const ED_GATE: *u8 = "nx_pipeline_gate" // a real GREEN capability for the engineer to verify |
| 14 | const ED_RUNNER: *u8 = "_offc/nx_sov_build_run.elf" |
functions
| 16 | func ed_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 21 | func ed_n(v: i64) -> i64 { nxi_out(v); return 0 } |
| 22 | func ed_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 |
| 25 | func ed_run_gate(gate: *u8) -> i64 |
| 42 | func main(argc: i64, argv: *i64) -> i64 |