code wiki / _hdl_build / nx_mgmt_publish_bin.nx
nx_mgmt_publish_bin.nx
buildroot/runtime/_hdl_build/nx_mgmt_publish_bin.nx
about
nx_mgmt_publish_bin.nx -- submit the ecosystem CONTROL-PLANE binary (nx_mgmt_api) to the publisher
(policy=outward, operator-approval-gated; NO direct nx_aw_send). Mirrors nx_hub_publish_hostctl: a
separate one-shot so re-runs never duplicate rows. The publisher STAGES (verify landed-sha, ledger) on
approval; the live atomic-promote + launch remains the operator/hostctl step.
- nx_mgmt_api.elf -> /volume1/homes/elderwesto/nishihost/nx_mgmt_api.elf.new (control plane :18098)
Launch (operator/hostctl, per the live runbook): ./nx_mgmt_api.elf 18098 <login-daemon keys> <store>
'Nishi Wiki' mgmt_snap.json 1000000000 -- realm/keys/store MUST match the :9091 login daemon that
issues the X-Nishi-Session tokens, or every valid session is rejected. Then /health is the live surface.
Sovereign: nx_syscalls + nx_publisher. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_publisher.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
| 12 | func pp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func pn(v: i64) -> i64 { var m: i64=v; if m<0 { sys_write(1,"-" as *u8,1); m=0-m } let bb: *u8=sys_mmap(28); var k: i64=0; if m==0 { bb[0]=48 as u8; sys_write(1,bb,1); return 0 } let t: *u8=sys_mmap(28); while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } var i: i64=0; while i<k { bb[i]=t[k-1-i]; i=i+1 } sys_write(1,bb,k); return 0 } |
| 17 | func stage(src: *u8, dst: *u8) -> i64 |
| 27 | func main(argc: i64, argv: *i64) -> i64 |