code wiki / _hdl_build / nx_store_catalog.nx
nx_store_catalog.nx
buildroot/runtime/_hdl_build/nx_store_catalog.nx
about
nx_store_catalog.nx -- the sovereign DATA CATALOG: discover every seg_store under knowledge/store/ and report
its segment count + entry count. The s-class-IM DISCOVERY rung (DataHub/OpenLineage-class catalog), READ-ONLY /
ADDITIVE (touches no store, no consumer -> zero break risk). Composes nx_seg_store (ss_manifest_cap / ss_load_aux
/ ss_r32) -- a store is any "<name>manifest.txt" under knowledge/store/. Self-verifies: the largest store has
>=3000 entries (the algo-registry consolidated this session). NEXT rung = lineage (who produces/consumes each
store). expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_seg_store.nxnx_syscalls.nxnx_estate_path.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
| 10 | const K_MAGIC_262144: i64 = 262144 |
| 11 | const K_MAGIC_3000: i64 = 3000 |
functions
| 13 | func sc_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 14 | func sc_putn(v: i64) -> i64 |
| 34 | func sc_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 36 | func sc_ends(name: *u8, suf: *u8) -> i64 |
| 44 | func sc_stat(prefix: *u8, out_seg: *i64) -> i64 |
| 60 | func main() -> i64 |