nx_autofix_intake_gate.nx
buildroot/runtime/nx_autofix_intake_gate.nx
about
nx_autofix_intake_gate.nx -- THE WILD/FOREIGN-BUG INTAKE GATE (2026-07-16): turns proposed fix-loop
instances into a VERIFIED episode manifest. Any lane (mutation, janitor, doctor, human, other-model)
appends `name|path` rows to knowledge/forge/fix/mut_proposed.txt; this gate BUILDS+RUNS each one and
keeps ONLY instances whose bug REPRODUCES (>=1 failing FNRES row) -- the classic equivalent-mutant
discipline: a mutation every test passes is NOT an instance, and a build-broken file is not either.
Output: knowledge/forge/fix/mut_manifest.txt (nx_autofix_auto's episode list).
Teeth: T1 parsed >=10 proposed rows; T2 kept >=10 reproducing; T3 THE DISCARD TOOTH -- the deliberate
equivalent mutant (nx_autofix_mut_eqv, all-pass by construction) MUST be absent from the output;
T4 verified manifest written. expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_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
| none |
functions
| 12 | func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 13 | func wn(v: i64) -> i64 |
| 26 | func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: find_first |
| 27 | func find_first(hay: *u8, hn: i64, needle: *u8, from: i64) -> i64 |
| 42 | func has_failing(out: *u8, n: i64) -> i64 |
| 78 | func main(argc: i64, argv: *i64) -> i64 |