code wiki / lib

topic: lib

46 modules sharing the lib name family (derived from the tree's prefix discipline).

The 'lib' topic family in the Nishi sovereign ecosystem provides foundational libraries for data ingestion and processing, supporting the ecosystem's modular architecture. Modules like nx_lib_fetch_ingest handle the full sovereign ingest process, fetching and processing work URLs, while nx_lib_gbif focuses on ingesting real data from the GBIF backbone-taxonomy. nx_lib_e2e_test ensures the integrity of the library read path through end-to-end testing, ensuring reliability across the ecosystem's binary-per-organ design.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_lib_compact.nxcompact the library seg_store: merge the many small403
nx_lib_e2e_test.nxEND-TO-END gate for the sovereign library read path.852
nx_lib_fetch.nxsovereign HTTPS fetch for the library ingest (retires903
nx_lib_fetch_cookie.nxsovereign HTTPS GET with a browser UA + Cookie1345
nx_lib_fetch_ingest.nxthe FULL sovereign ingest: fetch a work URL over181
nx_lib_fetch_probe.nxproves nx_lib_fetch compiles/links against the full433
nx_lib_gbif.nxingest the library's REAL data: GBIF backbone-taxonomy1214
nx_lib_gbif_bulk.nxSCALE: ingest the full GBIF bulk taxonomy (~16K taxa)475
nx_lib_gbif_probe.nxingest the REAL library GBIF data from disk into745
nx_lib_http.nxPURE HTTP routing/response for the sovereign library API.1636
nx_lib_http_test.nxgate for the sovereign library HTTP router.602
nx_lib_httpd.nxsovereign HTTP DAEMON for the nishi-library read API.1074
nx_lib_index.nxPERSISTED inverted index for the library search (the1423
nx_lib_index_test.nxgate for the PERSISTED inverted-index search.722
nx_lib_ingest.nxSOVEREIGN local-file ingest into the Nishi research library. Reads a source file and384
nx_lib_ingest_json.nxthe deterministic tail of the sovereign ingest:381
nx_lib_ingest_json_test.nxgate the deterministic ingest tail:552
nx_lib_ingest_tsv.nxsovereign WRITE/INGEST path for the nishi-library catalog.542
nx_lib_openalex.nxingest REAL works from the OpenAlex API JSON into30411
nx_lib_openalex_probe.nxLIVE: fetch real works from OpenAlex over905
nx_lib_page.nxsovereign ZERO-JS HTML frontend for the nishi-library.1716
nx_lib_page_test.nxgate for the sovereign zero-JS HTML frontend.742
nx_lib_parse.nxsovereign JSON -> work-record parser (retires the Python844
nx_lib_parse_test.nxgate for the sovereign JSON->work parser.562
nx_lib_pdf.nxsovereign PDF -> text for the library (retires docling).342
nx_lib_pdf_diag.nxdiagnose PDF text extraction quality on the saved514
nx_lib_pdf_probe.nxLIVE proof of the sovereign PDF axis via the library344
nx_lib_pdf_stream_diag.nxdump a decompressed CONTENT stream from the FOP685
nx_lib_pmc_fetch.nxpull the NCBI PoW interstitial + the pow.js algorithm404
nx_lib_pmc_pow.nxsolve NCBI PMC's JS proof-of-work anti-bot gate, all1559
nx_lib_pow_decomp.nxfetch the gzip'd pow.js and inflate it to readable463
nx_lib_probe.nxsovereign HTTP CLIENT that hits the live nx_lib_httpd422
nx_lib_reindex.nxisolate the full-text index build over the durable 16K314
nx_lib_research_alias_gate.nxgate for the /research edge-prefix alias in nx_lib_http.686
nx_lib_search.nxsovereign SEARCH over the nishi-library catalog store.1145
nx_lib_search_test.nxgate for the sovereign library search.742
nx_lib_semantic.nxR3b-SCALE: run the sovereign distributional embedder over the REAL banked library22211
nx_lib_serve.nxsovereign QUERY/SERVE layer for the nishi-library, on1145
nx_lib_serve_test.nxgate for the sovereign query/serve layer.684
nx_lib_std.nxTHE SOVEREIGN STANDARD LIBRARY (seed, v0 2026-07-12).13211
nx_lib_std_gate.nxgate for the sovereign stdlib seed. KATs per function + NEGATIVE1382
nx_lib_store.nxsovereign CATALOG STORE for the nishi-library, on the17413
nx_lib_store_test.nxsovereign gate for the catalog store (SQLite replacement).783
nx_lib_uxf_ingest.nxLibrary arc R4a: content-address the CALIBRE CATALOG into the UXF envelope1517
nx_lib_verify_probe.nxEND-TO-END LIVE verify of the deploy: fetch the354
nx_lib_write_test.nxgate for the sovereign WRITE endpoint (POST /api/ingest).572