code wiki / _hdl_build / nx_spec_anchor_gate.nx

nx_spec_anchor_gate.nx

buildroot/runtime/_hdl_build/nx_spec_anchor_gate.nx

3233 B65 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic spec
docsdependenciesstructsconstsfunctions

about

nx_spec_anchor_gate.nx -- REGRESSION TOOTH for the NXA format spec. The spec is the format's ONLY documentation BY DESIGN ("this file IS the spec"), so a rewrite that drops a normative paragraph is silent contract loss -- MEASURED 2026-07-29: the entire channel-2 PACKED WORLD-DELTA section vanished in the POSE-amendment rewrite and nothing noticed until the seq1285 unit audit re-read the file. Each tooth asserts a normative ANCHOR substring exists. usage: nx_spec_anchor_gate [specpath] (default knowledge/nxa_format_spec.md) Mutation-proof without touching the real spec: run against a COPY with an anchor removed. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_spec_anchor_gate.nx

imports: nx_syscalls.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 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 ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close gv_ctr sys_mmap ↻ gv_head gv_puts sys_write ↻ gv_check gv_puts ↻ sys_exit ↻ gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻

structs

none

consts

12const SAG_CAP: i64 = 1048576

functions

14func sag_find(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
31func main(argc: i64, argv: *i64) -> i64