code wiki / _hdl_build / nx_wiki_build.nx
nx_wiki_build.nx
buildroot/runtime/_hdl_build/nx_wiki_build.nx
about
nx_wiki_build.nx -- the AUTONOMOUS wiki builder. Enumerates EVERY workstream record in the memory
dir (getdents64) and stamps an S-class anatomy page for each via wp_emit_page, then writes the index
that links them all. Because pages are named by record name and [[wikilinks]] resolve to <name>.html,
the whole set becomes ONE cross-linked wiki of all our work -- no TSV, no hand-curation. Re-run any
time (or on a pulse) and the wiki regenerates from the live records. Sovereign. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_wiki_page_lib.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
| 8 | const WB_MAGIC_131072: i64 = 131072 |
| 9 | const WB_MAGIC_4194304: i64 = 4194304 |
| 10 | const WB_MAGIC_8388608: i64 = 8388608 |
| 11 | const WB_MAGIC_2048: i64 = 2048 |
| 13 | const WB_MEMDIR: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory" |
| 14 | const WB_OUTDIR: *u8 = "/mnt/c/Users/elder/nishi-core/nxc2/knowledge/wiki_pages" |
functions
| 16 | func wb_is_md(name: *u8) -> i64 |
| 23 | func wb_cat_base(dst: *u8, off: i64, name: *u8) -> i64 |
| 28 | func wb_writefile(path: *u8, buf: *u8, len: i64) -> i64 |
| 34 | func wb_pn(buf: *u8, off: i64, v: i64) -> i64 |
| 43 | func main(argc: i64, argv: *i64) -> i64 |