code wiki / _hdl_build / nx_gatedry_gate.nx

nx_gatedry_gate.nx

buildroot/runtime/_hdl_build/nx_gatedry_gate.nx

3437 B58 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_gatedry_gate.nx -- proves the gate-DRY classifier, and DOGFOODS BOTH BASE CLASSES IT ADVOCATES: it emits its verdict through nx_gate_verdict (so this gate is itself an L009 ADOPTER, not a breach), and every tooth is a gv_bite cell (fires on the crafted-bad input, SILENT on the crafted-good one), because a gate that only ever sees one polarity proves nothing. Measured 2026-07-31: gv_bite appears in only 8 of 2167 gate files = 3.7 permil, so most gates cannot tell "it passed" from "it never fired". HERMETIC BY CONSTRUCTION: drives the pure classifier on SYNTHETIC BUFFERS. It writes nothing and reads no shared tree, so it can never disturb the corpus it judges (the fsops-gate lesson). license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 0 importers

nx_gatedry_lib.nx nx_gate_verdict.nx nx_gatedry_gate.nx

imports: nx_gatedry_lib.nxnx_gate_verdict.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 gv_head gv_puts sys_write gdg_cls gd_classify gd_has gd_len gd_len ↻ gv_bite gv_puts ↻ gv_check gv_puts ↻ gd_has ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻

structs

none

consts

none

functions

13func gdg_cls(s: *u8) -> i64 { return gd_classify(s, gd_len(s)) }
called by 1: main calls 2: gd_classifygd_len
15func main() -> i64