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.
| module | description | lines | funcs |
|---|---|---|---|
| nx_lib_compact.nx | compact the library seg_store: merge the many small | 40 | 3 |
| nx_lib_e2e_test.nx | END-TO-END gate for the sovereign library read path. | 85 | 2 |
| nx_lib_fetch.nx | sovereign HTTPS fetch for the library ingest (retires | 90 | 3 |
| nx_lib_fetch_cookie.nx | sovereign HTTPS GET with a browser UA + Cookie | 134 | 5 |
| nx_lib_fetch_ingest.nx | the FULL sovereign ingest: fetch a work URL over | 18 | 1 |
| nx_lib_fetch_probe.nx | proves nx_lib_fetch compiles/links against the full | 43 | 3 |
| nx_lib_gbif.nx | ingest the library's REAL data: GBIF backbone-taxonomy | 121 | 4 |
| nx_lib_gbif_bulk.nx | SCALE: ingest the full GBIF bulk taxonomy (~16K taxa) | 47 | 5 |
| nx_lib_gbif_probe.nx | ingest the REAL library GBIF data from disk into | 74 | 5 |
| nx_lib_http.nx | PURE HTTP routing/response for the sovereign library API. | 163 | 6 |
| nx_lib_http_test.nx | gate for the sovereign library HTTP router. | 60 | 2 |
| nx_lib_httpd.nx | sovereign HTTP DAEMON for the nishi-library read API. | 107 | 4 |
| nx_lib_index.nx | PERSISTED inverted index for the library search (the | 142 | 3 |
| nx_lib_index_test.nx | gate for the PERSISTED inverted-index search. | 72 | 2 |
| nx_lib_ingest.nx | SOVEREIGN local-file ingest into the Nishi research library. Reads a source file and | 38 | 4 |
| nx_lib_ingest_json.nx | the deterministic tail of the sovereign ingest: | 38 | 1 |
| nx_lib_ingest_json_test.nx | gate the deterministic ingest tail: | 55 | 2 |
| nx_lib_ingest_tsv.nx | sovereign WRITE/INGEST path for the nishi-library catalog. | 54 | 2 |
| nx_lib_openalex.nx | ingest REAL works from the OpenAlex API JSON into | 304 | 11 |
| nx_lib_openalex_probe.nx | LIVE: fetch real works from OpenAlex over | 90 | 5 |
| nx_lib_page.nx | sovereign ZERO-JS HTML frontend for the nishi-library. | 171 | 6 |
| nx_lib_page_test.nx | gate for the sovereign zero-JS HTML frontend. | 74 | 2 |
| nx_lib_parse.nx | sovereign JSON -> work-record parser (retires the Python | 84 | 4 |
| nx_lib_parse_test.nx | gate for the sovereign JSON->work parser. | 56 | 2 |
| nx_lib_pdf.nx | sovereign PDF -> text for the library (retires docling). | 34 | 2 |
| nx_lib_pdf_diag.nx | diagnose PDF text extraction quality on the saved | 51 | 4 |
| nx_lib_pdf_probe.nx | LIVE proof of the sovereign PDF axis via the library | 34 | 4 |
| nx_lib_pdf_stream_diag.nx | dump a decompressed CONTENT stream from the FOP | 68 | 5 |
| nx_lib_pmc_fetch.nx | pull the NCBI PoW interstitial + the pow.js algorithm | 40 | 4 |
| nx_lib_pmc_pow.nx | solve NCBI PMC's JS proof-of-work anti-bot gate, all | 155 | 9 |
| nx_lib_pow_decomp.nx | fetch the gzip'd pow.js and inflate it to readable | 46 | 3 |
| nx_lib_probe.nx | sovereign HTTP CLIENT that hits the live nx_lib_httpd | 42 | 2 |
| nx_lib_reindex.nx | isolate the full-text index build over the durable 16K | 31 | 4 |
| nx_lib_research_alias_gate.nx | gate for the /research edge-prefix alias in nx_lib_http. | 68 | 6 |
| nx_lib_search.nx | sovereign SEARCH over the nishi-library catalog store. | 114 | 5 |
| nx_lib_search_test.nx | gate for the sovereign library search. | 74 | 2 |
| nx_lib_semantic.nx | R3b-SCALE: run the sovereign distributional embedder over the REAL banked library | 222 | 11 |
| nx_lib_serve.nx | sovereign QUERY/SERVE layer for the nishi-library, on | 114 | 5 |
| nx_lib_serve_test.nx | gate for the sovereign query/serve layer. | 68 | 4 |
| nx_lib_std.nx | THE SOVEREIGN STANDARD LIBRARY (seed, v0 2026-07-12). | 132 | 11 |
| nx_lib_std_gate.nx | gate for the sovereign stdlib seed. KATs per function + NEGATIVE | 138 | 2 |
| nx_lib_store.nx | sovereign CATALOG STORE for the nishi-library, on the | 174 | 13 |
| nx_lib_store_test.nx | sovereign gate for the catalog store (SQLite replacement). | 78 | 3 |
| nx_lib_uxf_ingest.nx | Library arc R4a: content-address the CALIBRE CATALOG into the UXF envelope | 151 | 7 |
| nx_lib_verify_probe.nx | END-TO-END LIVE verify of the deploy: fetch the | 35 | 4 |
| nx_lib_write_test.nx | gate for the sovereign WRITE endpoint (POST /api/ingest). | 57 | 2 |