code wiki / _hdl_build / nx_janitor_sweep_run.nx

nx_janitor_sweep_run.nx

buildroot/runtime/_hdl_build/nx_janitor_sweep_run.nx

2427 B47 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic janitor
docsdependenciesstructsconstsfunctions

about

nx_janitor_sweep_run.nx -- thin RUNNER for the existing jan_sweep: migrate OUR non-sovereign data dirs (the .tsv/.conf/.json the auditor flags as NONSOV_FORMAT) into the sovereign seg_store, byte-verified, ADDITIVE (originals INTACT -> retire-ready; the actual count-drop = the GATED jan_retire step, because many are human-edited sources still read by organs). Composes the existing nx_janitor_sweep -- no rebuild; this is the by-hand sovereign migration doctrine (operator 2026-06-28: "get everything that's tsv/3rd-party onto the nishi ecosystem"). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_janitor_sweep.nx nx_syscalls.nx nx_janitor_sweep_run.nx

imports: nx_janitor_sweep.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main jsr_puts sys_write jsr_one sys_mmap jan_sweep sys_openat_rd sys_mmap ↻ sys_getdents64 dirent_reclen dirent_name jsw_is_format sys_mmap ↻ jsw_lc jsw_storename jan_migrate sys_mmap ↻ ss_readall sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ss_begin ss_begin_cap sys_mmap ↻ jan_key sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_commit ss_segid_ok sys_mmap ↻ ss_cat ss_catn sys_mmap ↻ sys_write ↻ ss_write_seg

structs

none

consts

none

functions

10func jsr_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: jsr_onemain calls 1: sys_write
11func jsr_putn(v: i64) -> i64
called by 2: jsr_onemain calls 2: sys_writesys_mmap
22func jsr_one(dir: *u8) -> i64
33func main() -> i64