code wiki / _hdl_build / nx_wiki_links_seed.nx
nx_wiki_links_seed.nx
buildroot/runtime/_hdl_build/nx_wiki_links_seed.nx
about
nx_wiki_links_seed.nx -- seed the CURATED WIKI NAV TREE into the NATIVE seg_store (no TSV).
Migration step (operator: "stop using tsv, nishi ecosystem only, all rungs everywhere"): writes the
curated navigation tree (slug/parent/prev/next/related/tags/diataxis) that nx_wiki_shell sh_links_load
reads, into the content-addressed store knowledge/store/wiki-links- via nx_native_config (tag "wl"),
so the WHOLE wiki nav engine reads the native store instead of wiki_links.tsv. Authored-by-organ;
"-" means empty/none (root parent / path endpoint / no related) -- sh_wl_cell maps "-" -> 0, exactly
the TSV semantics. Re-run after editing the tree. No hardware writes (#26). license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_native_config.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
| none |
functions
| 12 | func wl_prefix() -> *u8 { return "knowledge/store/wiki-links-\x00" as *u8 } called by 1: main |
| 13 | func wl_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func wl_row(w: *i64, idx: i64, slug: *u8, parent: *u8, prv: *u8, nxt: *u8, related: *u8, tags: *u8, diataxis: *u8) -> i64 |
| 28 | func main() -> i64 |