code wiki / _hdl_build / nx_pub_vroom_ship.nx
nx_pub_vroom_ship.nx
buildroot/runtime/_hdl_build/nx_pub_vroom_ship.nx
about
nx_pub_vroom_ship.nx -- SHIP the video room through the Nishi Publisher's GOVERNED OUTWARD lane
(operator 2026-06-22: "ship this stuff and get the nishi publisher you are doing"). Unlike the
internal handoff (nx_pub_vroom_handoff), this runs the R6-governed path: submit with policy=OUTWARD
(held fail-closed) -> record the OPERATOR APPROVAL of the exact artifact sha (the operator-gating
made mechanical -- "ship this stuff" IS the approval) -> pub_run_governed SHIPS the approved bytes
(sha-verified -> atomic-promote -> ledger) to the OUTWARD liveroot.
HONEST SCOPE: this completes the publisher's governed outward publish to the liveroot. The final
NETWORK TRANSPORT (liveroot -> live NAS 192.168.8.227 -> nishifamily.com/video) rides the team's SSH
and needs /tmp/nxpw; if that credential is absent this session, the bytes are governed-approved +
staged, and nx_vroom_deploy ships them the instant the credential is present. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_publisher.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
| 15 | func sp(s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } sys_write(1,s,n); return 0 } |
| 16 | func spn(v: i64) -> i64 { if v==0 { sys_write(1,"0" as *u8,1); return 0 } var m: i64=v; if m<0 { sys_write(1,"-" as *u8,1); m=0-m } let d: *u8=sys_mmap(24); var k: i64=0; while m>0 { d[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } var i: i64=k-1; while i>=0 { let o: *u8=sys_mmap(1); o[0]=d[i]; sys_write(1,o,1); i=i-1 } return 0 } |
| 17 | func sx(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 { return 0 } sys_close(fd); return 1 } |
| 19 | func main() -> i64 |