code wiki / _hdl_build / nx_mgmt_snapshot_gate.nx
nx_mgmt_snapshot_gate.nx
buildroot/runtime/_hdl_build/nx_mgmt_snapshot_gate.nx
about
nx_mgmt_snapshot_gate.nx -- PURE isolation gate for the R1b health-snapshot PRODUCER (nx_mgmt_snapshot).
Feeds raw-proc/log FIXTURES (shaped exactly like the live nishihost ground truth) through ss_synth and asserts
the emitted "SUP <n>" / "SVC ..." snapshot byte-for-byte. The headline test is the live-proven FALSE-POSITIVE
fix: the supervisor + its reader-keeper child (same sid, pid!=sid) must yield SUP 1, NOT SUP 2. Two negative
controls (T7 no-false-duel, T8 no-false-UP) keep it from being a fabricated green. No IO/socket/exec/auth.
GREEN iff every assertion holds. Sovereign: nx_mgmt_snapshot + nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_mgmt_snapshot.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
| none |
functions
| 10 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 12 | func g_row(name: *u8, ok: i64) -> i64 |
| 19 | func g_has(out: *u8, n: i64, s: *u8) -> i64 |
| 34 | func g_present(name: *u8, out: *u8, on: i64, needle: *u8) -> i64 { return g_row(name, g_has(out, on, needle)) } |
| 35 | func g_absent(name: *u8, out: *u8, on: i64, needle: *u8) -> i64 |
| 41 | func main() -> i64 |