code wiki / _hdl_build / nx_gateorder.nx
nx_gateorder.nx
buildroot/runtime/_hdl_build/nx_gateorder.nx
about
nx_gateorder.nx -- sweeps a source tree asking ONE question it can actually answer:
DOES THIS GATE LEAVE A DURABLE VERDICT RECORD AT ALL?
The standing form of a one-off /tmp shell sweep. A finding not wired into a standing instrument
decays, so the check lives here: repeatable by any seat, on any tree, with no shell.
⚠⚠ORDERING IS DELIBERATELY NOT JUDGED. An earlier version of this organ also reported EMIT-EARLY by
comparing the first emit-token offset against the last tooth offset. It was WRONG ON ALL SEVEN gates
it flagged, and I filed a sev7 debt against other lanes before checking: the token's first textual
occurrence lands on HELPER DEFINITIONS (`func g_log`), on TEST FIXTURES, and on /tmp scratch writes --
and this organ's own gate self-flagged, because the pattern appears in its test-data string literals.
★★★★★TEXTUAL POSITION CANNOT DECIDE EXECUTION ORDER. The one genuine ordering defect in this arc was
caught by READING THE LOG (gate printed 41/41 while its log said 23/23), which grep could never do.
nx_gateorder [root] default root = runtime exit 0 always (a report, not a verdict)
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_gateorder_lib.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
| 19 | const GOW_FCAP: i64 = 262144 |
| 20 | const GOW_DBUF: i64 = 65536 |
| 21 | const GOW_PATH: i64 = 1024 |
| 22 | const GOW_MAXDEPTH: i64 = 12 |
| 23 | const GOW_MAXLIVE: i64 = 512 |
| 24 | const GOW_NAMEW: i64 = 64 |
functions
| 37 | func gow_init() called by 1: main |
| 54 | func gow_has_binary(srcname: *u8) -> i64 called by 1: gow_record |
| 77 | func gow_join(dir: *u8, name: *u8, out: *u8) called by 1: gow_scan_dir |
| 104 | func gow_is_dot(name: *u8) -> i64 called by 1: gow_scan_dir |
| 113 | func gow_read_file(path: *u8) -> i64 |
| 131 | func gow_record(cls: i64, srcname: *u8) |
| 160 | func gow_scan_dir(dir: *u8, depth: i64) called by 2: gow_scan_dirmain calls 8: sys_getdents64gow_is_dotgow_joingow_scan_dirgo_ends_gate_nxgow_read_file+2 |
| 196 | func main(argc: i64, argv: *i64) -> i64 |