code wiki / (root) / nx_diora_live_reach.nx

nx_diora_live_reach.nx

buildroot/runtime/nx_diora_live_reach.nx

7059 B136 linesdepth 21pulls 134 transitivereach 0 importersview sourcekind tooltopic diora
docsdependenciesstructsconstsfunctions

about

nx_diora_live_reach.nx -- R1 of the SREACH ladder: prove the search engine's REACH from OUR OWN crawl + OUR OWN index, not a handed corpus. For a seed set of REAL Diora-Baird primary/long-tail sources, fetch each over the fully sovereign validated HTTPS stack (our DNS + TCP + TLS1.3 + X.509 chain validation + HTTP), extract text (our html->text), index it (our inverted index), then query "diora" + "baird" across the index and report how many distinct real sources OUR engine reached and made retrievable -- with a fetch ledger (URL -> status -> bytes) as the evidence. Bot-walled hosts (IMDb / Getty / Instagram) are recorded faithfully as blocked, never faked. module: nishi-core.search.diora_live_reach capability: APP_RUNNABLE + GATE build: nx_cc_sovereign -> nxasm_x86_main (no gcc/sh). Run, redirect stdout to capture the ledger; exit 0 iff reach >= NX_DLR_GATE_MIN distinct docs.

dependencies 9 imports · 0 importers

nx_str.nx nx_syscalls.nx nx_csprng.nx nx_x509_trust_store.nx nx_pem_loader.nx nx_https_get.nx nx_html_to_text.nx nx_bm25.nx nx_search_inverted.nx nx_diora_live_reach.nx

imports: nx_str.nxnx_syscalls.nxnx_csprng.nxnx_x509_trust_store.nxnx_pem_loader.nxnx_https_get.nxnx_html_to_text.nxnx_bm25.nxnx_search_inverted.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_puts sys_write nx_str_len trust_store_alloc sys_mmap nx_pem_trust_load_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_pem_trust_load nx_str_len ↻ _pem_find nx_str_len ↻ sys_mmap ↻ b64_decode b64_grab b64_dec_char x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_tag asn1_read_length asn1_read_length ↻ x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add nx_pi nx_putc

structs

none

consts

24const NX_MAGIC_262144: i64 = 262144
30const NX_DLR_GATE_MIN: i64 = 2
31const NX_DLR_SEEDS: i64 = 4

functions

33func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 }
called by 2: nx_pimain calls 2: sys_mmapsys_write
34func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
called by 1: main calls 2: sys_writenx_str_len
35func nx_pi(n: i64) -> i64
called by 1: main calls 3: nx_putcsys_mmapsys_write
43func nx_body_off(resp: *u8, n: i64) -> i64
called by 1: main
52func nx_dlr_seed(e: i64) -> *u8
called by 1: main
59func nx_dlr_facet(e: i64) -> *u8
67func main() -> i64