code wiki / _hdl_build / nx_mgmt_core_gate.nx
nx_mgmt_core_gate.nx
buildroot/runtime/_hdl_build/nx_mgmt_core_gate.nx
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
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
structs
| none |
consts
| none |
functions
| 8 | 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 } |
| 9 | func g_row(name: *u8, ok: i64) -> i64 |
| 14 | func g_eq(name: *u8, got: i64, want: i64) -> i64 { var ok: i64 = 0; if got == want { ok = 1 } return g_row(name, ok) } |
| 16 | func main() -> i64 |