code wiki / _hdl_build / nx_hub_legacy_migrate.nx

nx_hub_legacy_migrate.nx

buildroot/runtime/_hdl_build/nx_hub_legacy_migrate.nx

3624 B48 linesdepth 8pulls 9 transitivereach 0 importersview sourcekind tooltopic hub
docsdependenciesstructsconstsfunctions

about

nx_hub_legacy_migrate.nx -- migrate the LAST old-format hub data into the sovereign native store, then RETIRE the superseded flat TSVs (operator: "migrate old things into the new s-class formats and retire"). knowledge/hub/maturity.tsv (7-field artifact registry) -> native hub-maturity- (nx_native_config) knowledge/hub/roles.tsv -> already in native hub-roles- (elderwesto=3); just retire RETIRE = overwrite each TSV with a tombstone marker pointing at the new format (soft, rule #13: not deleted, history preserved; the native store is now the SSOT the gateway reads). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_native_config.nx nx_hub_legacy_migrate.nx

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

main ncfg_begin ss_begin ss_begin_cap sys_mmap lm_art sys_mmap ↻ ncfg_add_row sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap ncfg_key ss_add ss_add2 ss_w32 ss_len ncfg_set_count sys_mmap ↻ ncfg_count_key ncfg_itoa sys_mmap ↻ ss_add ↻ ncfg_commit ss_commit ss_segid_ok sys_mmap ↻ ss_cat ss_catn sys_mmap ↻ sys_write ss_write_seg ss_segid_ok ↻ sys_mmap ↻ ss_cat ↻ ss_catn ↻ sys_write ↻

structs

none

consts

none

functions

10func lm_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 1: main calls 1: sys_write
12func lm_art(w: *i64, idx: i64, artifact: *u8, maturity: *u8, access: *u8, path: *u8, title: *u8, load: *u8, cur: *u8) -> i64
called by 1: main calls 2: sys_mmapncfg_add_row
25func lm_tombstone(path: *u8, marker: *u8) -> i64
32func main() -> i64