code wiki / _hdl_build / nx_mgmt_core_gate.nx

nx_mgmt_core_gate.nx

buildroot/runtime/_hdl_build/nx_mgmt_core_gate.nx

3325 B54 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic mgmt
docsdependenciesstructsconstsfunctions

about

nx_mgmt_core_gate.nx -- PURE unit gate for the management LOGIC layer. The whole point of the layering: the domain core is testable with ZERO IO -- no socket, no HTTP, no file, no exec, no auth setup. This gate calls the mc_* rules directly and asserts. (Contrast nx_mgmt_api_gate, which needs a realm + crafted HTTP bytes.) GREEN iff every business rule holds. Sovereign: nx_mgmt_core + nx_syscalls. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_mgmt_core.nx nx_syscalls.nx nx_mgmt_core_gate.nx

imports: nx_mgmt_core.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main g_w sys_write g_eq g_row g_w ↻ mc_is_dup mc_is_loop mc_is_duel mc_verdict mc_deploy_decide sys_openat_append sys_write ↻ sys_close sys_exit

structs

none

consts

none

functions

8func 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 }
called by 2: g_rowmain calls 1: sys_write
9func g_row(name: *u8, ok: i64) -> i64
called by 1: g_eq calls 1: g_w
14func g_eq(name: *u8, got: i64, want: i64) -> i64 { var ok: i64 = 0; if got == want { ok = 1 } return g_row(name, ok) }
called by 1: main calls 1: g_row
16func main() -> i64