code wiki / _hdl_build / nx_build_govern.nx
nx_build_govern.nx
buildroot/runtime/_hdl_build/nx_build_govern.nx
about
nx_build_govern.nx -- R-LIVE-1: first LIVE adoption of backend-build governance. Unlike the hermetic
gates, this runs against the REAL tree: it (1) registers the organs WE built this session into a
PERSISTENT build-registry (knowledge/registry/build_registry.log, the Librarian SSOT; additive framed
store, idempotent via latest-wins), and (2) runs a REAL bypass census of runtime/_hdl_build -- total
nx_*.nx organs vs how many are registered -> the honest MIGRATION SURFACE (the unregistered ones, exactly
like the Publisher's "real bypassers" finding). Reuses br_* from nx_build_registry_lib.
Verdict GREEN iff the session organs registered (distinct >= the count we submitted). license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_build_reg_sov.nxnx_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
| 10 | const K_MAGIC_8192: i64 = 8192 |
| 11 | const K_MAGIC_65536: i64 = 65536 |
functions
| 13 | func gp(s: *u8) -> i64 { let n: i64 = br2_len(s); sys_write(1, s, n); return 0 } |
| 14 | func gpn(v: i64) -> i64 |
| 23 | func gv_getdents(fd: i64, buf: *u8, count: i64) -> i64 { return __syscall(217, fd, buf, count, 0, 0, 0) } called by 1: main |
| 25 | func gv_isorgan(name: *u8) -> i64 |
| 36 | func in_set(name: *u8, names: *i64, cnt: i64) -> i64 { var k: i64 = 0; while k < cnt { if br2_streq(name, names[k] as *u8) == 1 { return 1 } k = k + 1 } return 0 } |
| 38 | func main() -> i64 |