nx_swcompare_research.nx
buildroot/runtime/nx_swcompare_research.nx
about
nx_swcompare_research.nx -- the GENERATIVE researcher stage of Nishi Compare. Generalizes the hardcoded
nx_frontier_research_fetch: reads a per-domain QUERY SPEC (data, not code) and banks the CURRENT (2024-2026)
frontier for that domain over sovereign TLS via the KEYLESS scholarly APIs (OpenAlex/arXiv/Crossref). This is
"use the nishi researcher on 25/26 gaps" made reusable -- a new domain = a new spec file, zero new code.
Spec format (knowledge/compare/<domain>.q): one query per line "<bankname><TAB><url>"; lines without a TAB
(or starting with '#') are skipped. Banks -> knowledge/library/<bankname>.txt (the researcher's evidence corpus,
consumed by nx_swcompare's gap-map). Usage: nx_swcompare_research <spec-path> license_tier: ORIGINAL expect_exit:0
dependencies 1 imports · 0 importers
imports: nx_research_engine.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
| 9 | const K_MAGIC_131072: i64 = 131072 |
| 10 | const K_MAGIC_8388608: i64 = 8388608 |
| 11 | const K_MAGIC_8192: i64 = 8192 |
| 12 | const K_MAGIC_2200: i64 = 2200 |
functions
| 14 | func sr_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 21 | func main(argc: i64, argv: *i64) -> i64 |