nx_deploy_guard.nx
buildroot/runtime/nx_deploy_guard.nx
about
nx_deploy_guard.nx -- ENFORCED adversarial deploy gate (census gap #1, the ratchet that makes "adversarial
verification is REQUIRED" enforced, not advisory). NO mutating control-plane action (selfswap/deploy/restart/etc.)
runs unless the adversarial CI is GREEN: it runs nx_adversarial_ci FAIL-CLOSED, and ONLY on GREEN does it invoke
nx_aw_hostctl <sub>. A RED suite -> DEPLOY BLOCKED, nothing changes. Composes _offc/nx_adversarial_ci.elf +
_offc/nx_aw_hostctl.elf. Usage: nx_deploy_guard <nx_aw_hostctl-sub> [arg] (e.g. nx_deploy_guard selfswap). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 9 | const DG_CI: *u8 = "_offc/nx_adversarial_ci.elf" as *u8 |
| 10 | const DG_HOSTCTL: *u8 = "_offc/nx_aw_hostctl.elf" as *u8 |
functions
| 12 | func dg_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 17 | func dg_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 20 | func dg_run(path: *u8, a1: *u8, a2: *u8) -> i64 |
| 39 | func main(argc: i64, argv: *i64) -> i64 |