code wiki / _hdl_build / nx_autofix_cascade.nx
nx_autofix_cascade.nx
buildroot/runtime/_hdl_build/nx_autofix_cascade.nx
about
nx_autofix_cascade.nx -- THE NEURO-SYMBOLIC ENSEMBLE (autonomous-builder lane, 2026-07-20).
The insight the symbolic judge unlocks: because EVERY accepted fix is property-verified over an
exhaustive domain sweep (symj=GREEN), unioning greens across DIVERSE makers is SOUND -- no wrong
fix can slip in. So a cascade of complementary makers beats any single one. MEASURED: 1.5B=10/14,
coder15-adapted=9/14, but they miss DIFFERENT instances -> cascade union = 12/14 = 86% (coder15
rescues the operand-binding absdiff + negation-semantics neg the 1.5B can't; 1.5B carries the
syntax-clean cases coder15 fumbles). This organ computes the ensemble resolve rate from N maker
ledgers, model-free (pure ledger union) -- fast, reusable for ANY maker set, gate-provable.
A per-instance resolve = maker=GREEN in ANY ledger (property-verified preferred: symj=GREEN).
argv: <manifest> <ledger1> [ledger2 ...] (manifest rows: name|path)
emit: per-instance resolved-by + CASCADE resolve rate + honest property-verified count.
exit: 0 always (report); the resolve rate IS the payload. license_tier: ORIGINAL No hw writes.
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 15 | const AC_CAP: i64 = 1048576 |
| 16 | const AC_NL: i64 = 10 |
| 17 | const AC_PIPE: i64 = 124 |
| 18 | const AC_MAXLED: i64 = 8 |
functions
| 20 | func ac_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 21 | func ac_wn(v: i64) -> i64 |
| 34 | func ac_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: ac_find |
| 35 | func ac_find(hay: *u8, hn: i64, needle: *u8, from: i64) -> i64 |
| 50 | func ac_verdict(led: *u8, ln: i64, name: *u8, symout: *i64) -> i64 |
| 83 | func main(argc: i64, argv: *i64) -> i64 |