code wiki / _hdl_build / nx_ws_ingest_live.nx

nx_ws_ingest_live.nx

buildroot/runtime/_hdl_build/nx_ws_ingest_live.nx

1969 B39 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind tooltopic ws
docsdependenciesstructsconstsfunctions

about

nx_ws_ingest_live.nx -- the LIVE runnable driver for the WMS derive-from-SSOT ingest (2026-07-17). The original runner (nx_ws_ingest_run) is DRYRUN-scratch-only and its source was lost in the tree deletions -- so the live path had no driver. This wires the PROVEN lib `wsi_ingest` (nx_ws_ingest, gate-backed): scan every project-*.md in memdir, ws_put each into the LIVE registry (WS_PREFIX = knowledge/store/ws-) in one snapshot/one-writer/one-commit, idempotent (re-runs add zero segments, byte-compare skip), NON-clobbering (scans the FULL set so ws:ids stays comprehensive). Additive-only. usage: nx_ws_ingest_live [memdir] default memdir = the Claude memory tree. exit: 0 ok | 1 hard ingest error. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_ws_ingest.nx nx_ws_ingest_live.nx

imports: nx_ws_ingest.nx

imported by: nobody (leaf or entry point)

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

main wsi_ingest wsi_ingest_omit_p sys_mmap wme_scan sys_openat_rd sys_mmap ↻ wme_getdents wme_is_project wme_len wme_join sys_fstatat sys_close wsi_derive_ids sys_mmap ↻ wsi_id_from_name wme_len ↻ wsi_has_prefix sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_cat ss_loadfile sys_map_file ss_readall ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build

structs

none

consts

none

functions

11func liv_puts(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 2: liv_putnmain
12func liv_putn(v: i64) -> i64
called by 1: main calls 1: liv_puts
26func main(argc: i64, argv: *i64) -> i64