code wiki / _hdl_build / nx_ng_publish.nx
nx_ng_publish.nx
buildroot/runtime/_hdl_build/nx_ng_publish.nx
about
nx_ng_publish.nx -- hand the NEURAL-GRAPHICS visible artifacts to the Nishi Publisher (operator 2026-06-22:
"stop doing these local file show-and-tell, it needs to be nishifamily.com hosted"). The neural-graphics
workstream REQUESTS; the publisher SHIPS (NO direct push -- the sites.elf-outage law). Mirrors
nx_pub_reader_handoff: import the real publisher, pub_submit each artifact to an ISOLATED ng queue, then run
the publisher's full pipeline (serialize -> idempotent sha-skip -> stage -> VERIFY-sha -> ATOMIC-promote ->
ledger, pub_mkdirp makes the nested dests) into the CANONICAL served liveroot knowledge/publish/live (served
by nx_pub_serve). Dests under sites/nishifamily/ = the nishifamily.com serving structure.
HONEST: this lands the artifacts in the publisher's canonical liveroot (served sovereignly by nx_pub_serve).
The final OUTWARD transport liveroot -> the public nishifamily.com host (.240 NAS, :443) is the OPERATOR-GATED
hub-side leg (the publisher emits/stages; hosting applies; the spoke's NAS verify-mount is empty). 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
| 16 | func ph_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 21 | func ph_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 22 | func ph_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 24 | func main() -> i64 |