code wiki / _hdl_build / nx_frontier_store_seed.nx

nx_frontier_store_seed.nx

buildroot/runtime/_hdl_build/nx_frontier_store_seed.nx

1502 B32 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind tooltopic frontier
docsdependenciesstructsconstsfunctions

about

nx_frontier_store_seed.nx -- CLI: migrate/re-seed the frontier seg-store FROM the staging .tsv. Operator 2026-07-17 "we arent supposed to be using .tsv" -> the .tsv is put-file STAGING; this makes the sovereign store (knowledge/store/frontier-) the SSOT that nx_frontier_board reads. usage: nx_frontier_store_seed [tsvpath] (default knowledge/registry/frontier_queue.tsv) license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 3 imports · 0 importers

nx_frontier_store.nx nx_seg_store.nx nx_syscalls.nx nx_frontier_store_seed.nx

imports: nx_frontier_store.nxnx_seg_store.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 sys_mmap ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close fss_werr sys_write sys_exit frs_seed sts_seed ss_begin_cap sys_mmap ↻ sts_mm sys_mmap ↻ sts_werr sys_write ↻ sys_exit ↻ sts_rowkey ss_catn sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_catn ↻ ss_commit ss_segid_ok sys_mmap ↻ ss_cat ss_catn ↻ sys_write ↻ ss_write_seg ss_segid_ok ↻ sys_mmap ↻ ss_cat ↻ ss_catn ↻ sys_write ↻

structs

none

consts

10const FSS_MSGCAP: i64 = 96
11const FSS_SZCAP: i64 = 16
12const FSS_NL: i64 = 10
13const FSS_STDERR: i64 = 2

functions

15func fss_werr(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(FSS_STDERR, s, n); return 0 }
called by 1: main calls 1: sys_write
17func main(argc: i64, argv: *i64) -> i64