code wiki / _hdl_build / nx_pub_search_handoff.nx
nx_pub_search_handoff.nx
buildroot/runtime/_hdl_build/nx_pub_search_handoff.nx
about
nx_pub_search_handoff.nx -- push onsite-search front-end surfaces to the Nishi Publisher (operator law: NO
workstream pushes to nishifamily.com directly -- the sites.elf-outage law). The SEARCH workstream REQUESTS;
the publisher SHIPS. Mirrors nx_pub_reader_handoff / nx_pub_library_handoff exactly: pub_submit each artifact
to an ISOLATED search queue, then run the publisher's full pipeline (serialize -> idempotent sha-skip -> stage
-> VERIFY-sha -> ATOMIC-promote -> ledger) to a LOCAL liveroot. This establishes the law-compliant publish path
the search workstream was missing (reader + library had handoffs; search did not).
Artifact = the sovereign ZERO-JS search UI page. The ENGINE improvements (hybrid/stem/fuzzy) ship later as a
BINARY deploy of nx_gallery_serve (the live BM25 search at gallery_serve:1040) -- a coordinated change to a
gallery-OWNED daemon, submitted the same way (pub_submit dest=.../nx_gallery_serve.elf policy=binary), NOT a
direct push. The OUTWARD transport liveroot -> nishifamily.com is OPERATOR-GATED (publisher R6 outward + R8).
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
| 17 | func sh_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 22 | func sh_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 23 | func sh_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 } |
| 25 | func main() -> i64 |