code wiki / _hdl_build / nx_aesthetic_canon_gate.nx

nx_aesthetic_canon_gate.nx

buildroot/runtime/_hdl_build/nx_aesthetic_canon_gate.nx

7033 B107 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_gate_verdict.nx nx_gatekit_lib.nx nx_aesthetic_canon_gate.nx

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

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ gk_mkdir sys_mkdir gk_write sys_openat_wr gk_len gk_write_all sys_write ↻ sys_close sys_mmap ↻ gk_run_capture gk_run_cap2 gk_run_cap3 sys_mmap ↻ sys_pipe2 sys_fork sys_close ↻ sys_setpgid sys_openat_rd sys_dup3 sys_execve

structs

none

consts

17const AG_DIR: *u8 = "/tmp/nx_aesthetic_canon_gate" as *u8
18const AG_REFS: *u8 = "/tmp/nx_aesthetic_canon_gate/refs.txt" as *u8
19const AG_BADKEY: *u8 = "/tmp/nx_aesthetic_canon_gate/badkey.conf" as *u8
20const AG_REFTGT: *u8 = "/tmp/nx_aesthetic_canon_gate/refutedtarget.conf" as *u8
21const AG_GOOD: *u8 = "/tmp/nx_aesthetic_canon_gate/good.conf" as *u8
22const AG_DIMLOW: *u8 = "/tmp/nx_aesthetic_canon_gate/dim_low.conf" as *u8
23const AG_DIMBIG13: *u8 = "/tmp/nx_aesthetic_canon_gate/dim_big13.conf" as *u8
24const AG_ELF: *u8 = "./nx_body_proc.elf" as *u8
25const AG_CAP: i64 = 262144
26const AG_ABSENT: i64 = 0 - 999999

functions

28func ag_num_after(buf: *u8, n: i64, tag: *u8) -> i64
called by 1: main calls 2: gk_out_posgk_len
44func main(argc: i64, argv: *i64) -> i64