nx_lib_serve.nx
buildroot/runtime/nx_lib_serve.nx
about
nx_lib_serve.nx -- sovereign QUERY/SERVE layer for the nishi-library, on
nx_lib_store. This is the MIGRATION rung: the program's read path moves to
.nx, reading the sovereign catalog store and emitting the JSON an API
returns -- REPLACING serve.py's SQLite _read_work path. No shell, no python,
no 3rd-party. Built + run by the WOMB.
license_tier: ORIGINAL | genealogy_id: nishi_library_sovereign_serve_2026_06_30
dependencies 2 imports · 7 importers
imports: nx_syscalls.nxnx_lib_store.nx
imported by: nx_lib_gbif_probe.nxnx_lib_http.nxnx_lib_ingest_json_test.nxnx_lib_openalex_probe.nxnx_lib_parse_test.nxnx_lib_probe.nxnx_lib_serve_test.nx
structs
| none |
consts
| 9 | const K_MAGIC_1048576: i64 = 1048576 |
functions
| 12 | func lsv_cat(out: *u8, off: i64, s: *u8) -> i64 called by 1: nx_lib_serve_work |
| 20 | func lsv_field(rec: *u8, reclen: i64, n: i64, outp: *i64, outlen: *i64) -> i64 called by 1: lsv_cat_field |
| 42 | func lsv_cat_field(out: *u8, off: i64, rec: *u8, reclen: i64, n: i64) -> i64 |
| 62 | func nx_lib_serve_work(hk: *u8, out: *u8) -> i64 called by 5: mainlhd_responsemainmainmain calls 4: sys_mmapnx_lib_store_get_worklsv_catlsv_cat_field |
| 88 | func nx_lib_serve_list(out: *u8) -> i64 |