code wiki / _hdl_build / nx_ims_search_publish.nx
nx_ims_search_publish.nx
buildroot/runtime/_hdl_build/nx_ims_search_publish.nx
about
nx_ims_search_publish.nx -- land /wiki/search.html LIVE through the GUARDED + VERSIONED publish path
(vpub): snapshot a content-addressed rollback version, then the A3 fail-closed guard must ALLOW before the
NAS push runs. ADDITIVE. Publishes the re-emitted START hub first (so its rendered tree's <a href> to the
new search child is LIVE -> keeps reachability=100), then search.html. The corpus set = all 13 live wiki
slugs; a missing/dead slug => the guard rejects with PG_REJECT_DEAD_LINK (fail-closed) -- the safety net.
REUSE: nx_wiki_versioned_publish vpub. Mirrors nx_ims_batch1_publish exactly. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_wiki_versioned_publish.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
| 19 | const SP_EPOCH: i64 = 1781860000 |
functions
| 11 | func p_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func p_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 21 | func sp_publish(slug: *u8, path: *u8, cs_ptr: *i64, cs_len: *i64, ncorpus: i64) -> i64 |
| 35 | func main() -> i64 |