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 orphan librarytopic 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)

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 }
13func wn(v: i64) -> i64
24func wpad(s: *u8, width: i64) -> i64
35func main() -> i64