code wiki / (root) / nx_gaterun.nx

nx_gaterun.nx

buildroot/runtime/nx_gaterun.nx

2563 B49 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_gaterun.nx -- sovereign build/test ORCHESTRATOR: run N gates through the sovereign toolchain and print ONE clean aggregate (passed/total + the failures), using the REAL exit code per gate (0=GREEN, nonzero=RED) -- not output grepping. Retires the bash `for g in ...; do nx_sov_build_run $g | grep GREEN; done` crutch entirely. Each gate's chatter is muted to /dev/null so the summary is clean; a failure is re-run verbose on its own. Usage: nx_gaterun <gate1> <gate2> ... SOTA bar (2026 CI/parallel-test): run jobs + aggregate report; EXCEED = sovereign + real-exit-code (no false-green) + data-driven gate list. Composes sys_fork/dup3/execve/wait4 (the nx_sov_build_run spine). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate.nx nx_gaterun.nx

imports: nx_syscalls.nxnx_gate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_exit sys_openat_wr gr_run_gate sys_mmap sys_fork sys_dup3 sys_execve sys_exit ↻ sys_wait4 gn sys_write ↻ sys_mmap ↻

structs

none

consts

none

functions

12func gr_run_gate(gate: *u8, devnull: i64) -> i64
32func main(argc: i64, argv: *i64) -> i64