code wiki / _hdl_build / nx_engineer_gate_runner.nx

nx_engineer_gate_runner.nx

buildroot/runtime/_hdl_build/nx_engineer_gate_runner.nx

1579 B34 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic engineer
docsdependenciesstructsconstsfunctions

about

nx_engineer_gate_runner.nx -- the ENGINEER's full-pipeline gate (verifier organ). The old runners checked only a run's exit code, so a compiler error (empty .s -> garbage binary) or a SIGSEGV could read as a PASS -- the exact blind spot that hid the recent crash. This runs every gate through the WHOLE pipeline and classifies it honestly: COMPILE-FAIL / LINK-FAIL / CRASH(signal) / FAIL(exit) / PASS. RACI: the ENGINEER is responsible for this verdict; it does not fix (Doctor) or admit (Council).

dependencies 1 imports · 1 importers

nx_engineer_crash.nx nx_engineer_gate_runner.nx nx_engineer_gate_runner_test.nx

imports: nx_engineer_crash.nx

imported by: nx_engineer_gate_runner_test.nx

structs

none

consts

10const EGR_PASS: i64 = 0
11const EGR_COMPILE_FAIL: i64 = 1
12const EGR_LINK_FAIL: i64 = 2
13const EGR_CRASH: i64 = 3
14const EGR_FAIL: i64 = 4

functions

18func eng_gate(compiler: *u8, src: *u8, sout: *u8, eout: *u8, capf: *u8, out: *i64) -> i64
28func egr_verdict_name(v: i64) -> *u8
called by 1: main