nx_fabric_census.nx
buildroot/runtime/nx_fabric_census.nx
about
nx_fabric_census.nx -- the SkyHammer fabric exceed LIVING MAP (the "reviewed by the team" artifact).
(knowledge/research/2026-06-23-skyhammer-fabric-sclass-exceed-benchmark.md.)
Self-gating census: it GRADES each of the 7 axes (A..G) by reading the REAL on-disk evidence each rung's
gate left behind (knowledge/status/fabric_*.log "verdict=GREEN" + the rung's marker) -- so the map reflects
what is actually proven, not what a doc claims. LIVING: re-running a rung's gate (re-writing its GREEN log)
is picked up here; a regressed/missing log re-grades its axis and FAILS the snapshot assertion.
LIAR-KILLED BOTH WAYS (the census cannot rubber-stamp): a real marker in its real log grades EXCEEDS;
a BOGUS marker, a real marker in the WRONG log, and a MISSING log all MUST grade 0 -- proving the grader
reads the bytes rather than asserting a constant. Mirrors nx_connect_census / nx_media_census / nx_vizsla_census.
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 15 | const K_MAGIC_65536: i64 = 65536 |
functions
| 17 | func cp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 18 | func cn(v: i64) -> i64 |
| 28 | func fdn(fd: i64, v: i64) -> i64 |
| 37 | func cs_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: axis_green |
| 39 | func cs_contains(hay: *u8, hn: i64, ndl: *u8, nn: i64) -> i64 called by 1: axis_green |
| 51 | func cs_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 65 | func axis_green(logpath: *u8, marker: *u8) -> i64 |
| 74 | func grade_line(axis: *u8, label: *u8, g: i64) -> i64 |
| 83 | func main() -> i64 |