code wiki / _hdl_build / nx_wiki_versioned_publish_live.nx

nx_wiki_versioned_publish_live.nx

buildroot/runtime/_hdl_build/nx_wiki_versioned_publish_live.nx

6936 B122 linesdepth 11pulls 13 transitivereach 0 importersview sourcekind orphan librarytopic wiki
docsdependenciesstructsconstsfunctions

about

nx_wiki_versioned_publish_live.nx -- A4a LIVE PROOF (real, additive, ends restored to original). Treats the live web_assets/nist_stem.html (body 9450 B) as v1 and archives it, emits an ADDITIVE v2 (a "Last reviewed 2026-06-17" trailing comment -- nothing deleted), vpub's v2 LIVE (guarded, push=1), then restore(nist_stem, 1) to re-push v1 LIVE so production ends byte-exact the original -- with BOTH v1 and v2 retained as rollback points in the durable archive store. Every live write flows through the A3 guard (pub_publish_ex). Prints vp_list + the assigned version#s; the operator fetch-verifies sizes. Run as: nx_wiki_versioned_publish_live.sov.elf (no args -- paths are baked, like the gates) license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_wiki_versioned_publish.nx nx_itoa_lib.nx nx_wiki_restore.nx nx_syscalls.nx nx_wiki_versioned_publish_live

imports: nx_wiki_versioned_publish.nxnx_itoa_lib.nxnx_wiki_restore.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

24const LIVE_EPOCH: i64 = 1781730256

functions

16func l_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
21func l_num(v: i64) -> i64 { nxi_out(v); return 0 }
26func main() -> i64