nx_assetingest_gate.nx
buildroot/runtime/nx_assetingest_gate.nx
about
nx_assetingest_gate.nx -- THE ASSET INGEST LANE'S STANDING GATE. Runs every ingest organ's KAT
*and* its real-data regressions in one command, from a roster that is DATA.
NAMING: nx_ingest_gate.nx ALREADY EXISTS and is the referee for a WRITING rung (prose scene /
entity extraction). "ingest" means text there and assets here. This file was almost written over
it; the compare-and-swap guard refused the blind write and saved the other lane's organ. Third
name collision of the day, after nx_bvh (bounding volume, not biovision).
*A NAME IS NOT A CAPABILITY -- AND A NAME YOU DID NOT CHECK IS SOMEBODY ELSE'S ORGAN.
D001 COMPLIANT (2026-08-07): the first cut of this gate rolled its OWN verdict and /api/promote
refused it -- nx_gate_green could not judge it and it wrote no harness.jrnl frame, so its flake
and erosion would have been invisible. It was a gate that existed but was not IN THE WORKFLOW.
It now inherits nx_gate_verdict, the one canonical emitter.
*A GATE NOBODY RUNS IS A COMMENT; A GATE NOTHING CAN READ IS AN ISLAND.
THE THIRD STATE: a roster row's fixture can be absent. Per gv_need, that is SKIP -- "I could not
look" is not "I looked and it is broken". A detector that cannot tell those apart teaches
everyone to ignore it.
ROSTER-DRIVEN (knowledge/assetingest_gate.roster): adding a check is an APPEND, never a
recompile. Rows: <elf-basename> TAB <space-separated args> TAB <expected substring>.
The roster deliberately mixes KATs with THIRD-PARTY-DATA regressions -- a lane gated only by
fixtures its own author wrote is a lane grading its own homework.
usage: nx_assetingest_gate [roster] default knowledge/assetingest_gate.roster
nx_assetingest_gate --kat selftest: 4 teeth, 3 of them anti-vacuity
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_gate_verdict.nxnx_tool_run.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
| 31 | const AG_ELFDIR: *u8 = "/volume1/homes/elderwesto/nishihost/" |
| 32 | const AG_ROSTER: *u8 = "knowledge/assetingest_gate.roster" |
| 33 | const AG_CAP: i64 = 1048576 |
| 34 | const AG_MAXARG: i64 = 32 |
| 35 | const AG_PATHW: i64 = 512 |
| 36 | const AG_FLDW: i64 = 1024 |
| 37 | const AG_MODE: i64 = 420 |
functions
| 39 | func ag_slen(s: *u8) -> i64 { var i: i64 = 0; while s[i] != (0 as u8) { i = i + 1 } return i } |
| 41 | func ag_contains(buf: *u8, n: i64, needle: *u8) -> i64 |
| 58 | func ag_slice(src: *u8, a: i64, b: i64, dst: *u8, cap: i64) -> i64 |
| 68 | func ag_cat(dst: *u8, o: i64, s: *u8, cap: i64) -> i64 |
| 78 | func ag_run_row(elf: *u8, args: *u8, expect: *u8) -> i64 |
| 123 | func ag_rows(buf: *u8, len: i64, ran: *i64, ctr: *i64) -> i64 |
| 174 | func ag_eval(rpath: *u8, ran: *i64) -> i64 |
| 182 | func ag_gate(rpath: *u8) -> i64 |
| 205 | func ag_put(b: *u8, o: i64, s: *u8) -> i64 |
| 211 | func ag_writef(path: *u8, b: *u8, n: i64) -> i64 called by 1: ag_kat |
| 219 | func ag_kat() -> i64 |
| 258 | func main(argc: i64, argv: *i64) -> i64 |