code wiki / _hdl_build / nx_pm_board_gate.nx
nx_pm_board_gate.nx
buildroot/runtime/_hdl_build/nx_pm_board_gate.nx
about
nx_pm_board_gate.nx -- gate for the PM dashboard (authored ON nx_gate_verdict, migrate-on-touch).
The load-bearing tooth is T4: ROI is NON-FAKE BY CONSTRUCTION -- a SET-ME assumption surfaces under
needs_decision (never invented); only an operator-filled basis yields a derived number.
T1 executive tallies derive from planes (frontier done/total, debts open/closed)
T2 debt gate is schema-aware (a legacy 5-col row AND a v2 7-col row both counted; sev read right)
T3 sev>=7 open debt listed as an incident
T4 ROI: SET-ME row -> needs_decision; filled row -> derived number (dclosed * minutes)
T5 fail-closed: unseeded frontier plane -> nonzero exit, no dashboard
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_store_seed_lib.nxnx_seg_store.nxnx_deploy_lib.nxnx_gate_verdict.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
| 16 | const MG_CAP: i64 = 262144 |
| 17 | const MG_PFX: i64 = 128 |
functions
| 19 | func mg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: mg_has |
| 20 | func mg_has(q: *u8, n: i64, s: *u8) -> i64 |
| 33 | func mg_mkpfx(dst: *u8, stem: *u8, epoch: i64) -> i64 |
| 41 | func main() -> i64 |