code wiki / _hdl_build / nx_spec_anchor_gate.nx
nx_spec_anchor_gate.nx
buildroot/runtime/_hdl_build/nx_spec_anchor_gate.nx
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
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
structs
| none |
consts
| 12 | const SAG_CAP: i64 = 1048576 |
functions
| 14 | func sag_find(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 31 | func main(argc: i64, argv: *i64) -> i64 |