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

4960 B71 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind tooltopic pub
docsdependenciesstructsconstsfunctions

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

nx_publisher.nx nx_syscalls.nx nx_pub_vroom_emit_handoff.nx

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

main hp sys_write hx sys_openat_rd sys_close sys_exit pub_init sys_mkdir pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word sha256_final blk_set_byte ↻ sha256_compress ↻ sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻

structs

none

consts

none

functions

12func hp(s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
13func 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 }
called by 1: main calls 2: sys_writesys_mmap
14func hx(p: *u8) -> i64 { let fd: i64=sys_openat_rd(p); if fd<0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
15func slen2(s: *u8) -> i64 { var n: i64=0; while s[n]!=0 as u8 { n=n+1 } return n }
called by 1: find_sub
16func find_sub(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main calls 1: slen2
23func main() -> i64