code wiki / _hdl_build / nx_deploy_check.nx
nx_deploy_check.nx
buildroot/runtime/_hdl_build/nx_deploy_check.nx
about
nx_deploy_check.nx -- MLIB-022 v1 (CALLOUT-012, operator 2026-06-13: "a deploy organ check --
see what we need to s-class-exceed"). NO live push. Two honest measurements:
1. READINESS: compose the PROVEN nx_deploy primitives -- dep_practice_score (backup/atomic-swap/
healthcheck/rollback/sovereign-transfer = the 5 properties of a safe deploy) + dep_verdict
(healthy -> DEPLOYED, unhealthy -> ROLLED_BACK) + dep_rollback_clean. Proves the deploy organ
can ship safely (atomic swap via renameat, backup-first, health-gated, auto-rollback, no 3rd party).
2. EXCEED GAP (no-wave): census deploy FEATURES vs incumbents (Vercel/Netlify/Capistrano/K8s/Argo),
STATUS COMPUTED from the nx_ecosystem_test self-model (re_has), NOT asserted. Names the ABSENT
features = exactly "what we need to s-class-exceed". Honest verdict: sovereign-transfer is our
AHEAD axis; orchestration breadth (blue-green/canary/zero-downtime/preview-env) is BEHIND.
Self-validating gate (DEPLOYCHECKGATE). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_deploy.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
| 15 | const DK_MAGIC_200000: i64 = 200000 |
| 17 | const DK_N: i64 = 10 |
| 18 | const DK_SELF: *u8 = "runtime/_hdl_build/nx_ecosystem_test.nx" |
functions
| 20 | func dk_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 25 | func dk_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 26 | func dk_readfile(path: *u8, buf: *u8, cap: i64) -> i64 |
| 35 | func dk_has(buf: *u8, n: i64, needle: *u8) -> i64 called by 1: main |
| 43 | func main() -> i64 |