code wiki / _hdl_build / nx_pub_vroom_emit_handoff.nx
nx_pub_vroom_emit_handoff.nx
buildroot/runtime/_hdl_build/nx_pub_vroom_emit_handoff.nx
about
nx_pub_vroom_emit_handoff.nx -- the EMITTED /video/ client deployed BY THE NISHI PUBLISHER (operator
2026-06-23: "we have a nishi team with publisher, make sure it's working with that and the publisher
deploys"). The flow is now end-to-end sovereign + team-owned: nx_vroom_emit OWNS+emits the client (with
the camera-mirror fix) -> THIS organ pub_submits the emitted index.html + app.js to the publisher ->
the PUBLISHER ships them (serialize -> idempotent sha-skip -> stage -> VERIFY-sha -> ATOMIC-promote ->
ledger). No direct push; the publisher is the deploy authority. We then VERIFY the camera-fix marker
survived into the PUBLISHED bytes (strong verify, not a shared string). The liveroot -> live /video/
web root transport (R8) + nx_live_verify on the served bytes is the final gate. 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
| 12 | func hp(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 hn(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 } |
| 14 | func hx(p: *u8) -> i64 { let fd: i64=sys_openat_rd(p); if fd<0 { return 0 } sys_close(fd); return 1 } |
| 15 | func slen2(s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } return n } called by 1: find_sub |
| 16 | func find_sub(hay: *u8, n: i64, needle: *u8) -> i64 |
| 23 | func main() -> i64 |