code wiki / _hdl_build / nx_wiki_structure_regen_run.nx

nx_wiki_structure_regen_run.nx

buildroot/runtime/_hdl_build/nx_wiki_structure_regen_run.nx

4490 B103 linesdepth 11pulls 16 transitivereach 0 importersview sourcekind tooltopic wiki
docsdependenciesstructsconstsfunctions

about

nx_wiki_structure_regen_run.nx -- LIVE DRY-RUN driver for the A4b re-publish-on-pulse engine. Runs regen(apply_flag=0) against the REAL knowledge/registry/wiki_pages.tsv + the REAL web_assets corpus and prints the full PLAN -- exactly what each ARMED pulse WOULD do, but PUSHES NOTHING (apply_flag=0 => vpub is never reached; the only network write path is gated behind apply_flag==1). This is the read-only proof surface for the cron-armed engine. A fixed epoch is passed so the (would-be) version stamp is deterministic. At the end it asserts the push witness is 0 across the whole plan and exits non-zero if any push was somehow invoked (it must not be). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_wiki_structure_regen.nx nx_syscalls.nx nx_wiki_structure_regen_run.nx

imports: nx_wiki_structure_regen.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main w sys_write wn w ↻ sys_mmap sys_write ↻ sys_mmap ↻ regen regen_ex reg_load sys_mmap ↻ reg_read_bounded sys_openat_rd sys_mmap ↻ sys_read sys_close reg_dup sys_mmap ↻ reg_eq sys_mmap ↻ nx_wiki_doc_store_init sys_mmap ↻ reg_len reg_cat reg_read_asset_slug sys_mmap ↻ reg_cat ↻ reg_read_asset sys_mmap ↻ reg_cat ↻ reg_read_bounded ↻ nx_wiki_doc_store_add sys_mmap ↻ nx_wib_pool_alloc reg_read_asset ↻ reg_emit sys_fork sys_mmap ↻ sys_execve

structs

none

consts

33const RUN_EPOCH: i64 = 1750000000

functions

12func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: wnwpadmain calls 1: sys_write
13func wn(v: i64) -> i64
called by 1: main calls 3: wsys_mmapsys_write
24func wpad(s: *u8, width: i64) -> i64
called by 1: main calls 2: wsys_write
35func main() -> i64