code wiki / _hdl_build / nx_aesthetic_canon_gate.nx
nx_aesthetic_canon_gate.nx
buildroot/runtime/_hdl_build/nx_aesthetic_canon_gate.nx
about
nx_aesthetic_canon_gate.nx -- GATE for aesthetictwin rung AT1 (the evidence-graded aesthetic canon)
and AT7 (the pelvic-bone floor under the waist), proven END TO END against the PROMOTED nx_body_proc.
THE LOAD-BEARING TEETH ARE THE TWO NEG-CONTROLS: a canon row whose refkey does not resolve REFUSES
BY NAME, and a waist dialled below the model's own bone REFUSES rather than emitting. Both are proven
on the SHIPPED binary with fixtures ASSEMBLED AT RUNTIME in /tmp (the fixture-ratchet law: a detector
that scans source will find its own test fixture, and a production conf is never the gate's fixture).
POSITIVE CONTROLS ARE NOT OPTIONAL: a deny-guard with no firing positive control passes every negative
test while wholly broken -- so T1 grades the LIVE canon, T5 proves a fixture canon CAN pass, and T6
proves the floor passes the real conf before T7 proves it bites a doctored one.
T8 is the derivation tooth: the floor must MOVE when the conf moves, or it is a typed number wearing
a function.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_gatekit_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
| 17 | const AG_DIR: *u8 = "/tmp/nx_aesthetic_canon_gate" as *u8 |
| 18 | const AG_REFS: *u8 = "/tmp/nx_aesthetic_canon_gate/refs.txt" as *u8 |
| 19 | const AG_BADKEY: *u8 = "/tmp/nx_aesthetic_canon_gate/badkey.conf" as *u8 |
| 20 | const AG_REFTGT: *u8 = "/tmp/nx_aesthetic_canon_gate/refutedtarget.conf" as *u8 |
| 21 | const AG_GOOD: *u8 = "/tmp/nx_aesthetic_canon_gate/good.conf" as *u8 |
| 22 | const AG_DIMLOW: *u8 = "/tmp/nx_aesthetic_canon_gate/dim_low.conf" as *u8 |
| 23 | const AG_DIMBIG13: *u8 = "/tmp/nx_aesthetic_canon_gate/dim_big13.conf" as *u8 |
| 24 | const AG_ELF: *u8 = "./nx_body_proc.elf" as *u8 |
| 25 | const AG_CAP: i64 = 262144 |
| 26 | const AG_ABSENT: i64 = 0 - 999999 |
functions
| 28 | func ag_num_after(buf: *u8, n: i64, tag: *u8) -> i64 |
| 44 | func main(argc: i64, argv: *i64) -> i64 |