code wiki / _hdl_build / nx_pub_library_handoff.nx
nx_pub_library_handoff.nx
buildroot/runtime/_hdl_build/nx_pub_library_handoff.nx
about
nx_pub_library_handoff.nx -- push the LIBRARY consumed-sources catalog to the Nishi Publisher (operator
2026-06-20: "push to the publisher"). The library workstream REQUESTS; the publisher SHIPS (no direct
push -- the sites.elf-outage law). Mirrors nx_pub_teacher_handoff: imports the real publisher ONLY (small
object), submits web_assets/library-sources.html to an isolated library queue, and runs the publisher's
full pipeline (serialize -> idempotent sha-skip -> stage -> VERIFY-sha -> ATOMIC-promote -> ledger) to a
LOCAL liveroot. The OUTWARD transport liveroot -> nishifamily.com/library is OPERATOR-GATED (publisher R6
policy=outward + the R8 transport rung) -- not run in-sandbox (no egress). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_publisher.nxnx_itoa_lib.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 lh_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 17 | func lh_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 18 | func lh_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 20 | func main() -> i64 |