nx_buildecho_gate.nx
buildroot/runtime/nx_buildecho_gate.nx
about
nx_buildecho_gate.nx -- BITE-PROVE THE CROSS-TARGET GUARD, BOTH WAYS (2026-08-07, debt 1786128134).
The guard this tests is the only thing standing between a wrong-target compile and a wrong organ going
live under the right name. It had been written, compiled, and NEVER FIRED.
*A GUARD THAT HAS ONLY EVER BEEN COMPILED IS UNVERIFIED, NOT SAFE* -- and a deny-guard that is only
ever shown inputs it should refuse passes every test while being wholly broken, which is why T2 and T5
exist: they are the inputs it must ALLOW.
The fixtures are REAL captures, copied byte-for-byte from what /api/build actually produced today --
including the mismatch that started this (asked nx_filecopy, builder echoed nx_seg_store_gate).
A fixture invented to suit the parser proves only that the parser suits the fixture.
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_buildecho.nxnx_gate_verdict.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
| 16 | func bp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 17 | func bn(v: i64) -> i64 |
| 30 | func blen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 31 | func bsame(a: *u8, b: *u8) -> i64 called by 1: main |
| 44 | func main() -> i64 |