code wiki / _hdl_build / nx_research_gaps.nx

nx_research_gaps.nx

buildroot/runtime/_hdl_build/nx_research_gaps.nx

4830 B96 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic research
docsdependenciesstructsconstsfunctions

about

nx_research_gaps.nx -- THE CLEAN OPEN-GAPS DIGEST (the actionable feedback signal to operator + Claude). The raw research_gaps.txt is append-only history (cluttered with resolved + duplicate flags); the research_queue is the SOURCE OF TRUTH (live statuses). This reads the queue, collects the DISTINCT topics whose status is still INADEQUATE, and writes knowledge/index/research_open_gaps.txt -- the precise, deduped list of what the researcher still cannot serve = where to improve / fetch deeper to unblock the auto-builder. Loose coupling: consumes the queue artifact, writes a digest artifact. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_search_inverted_persist.nx nx_itoa_lib.nx nx_research_gaps.nx

imports: nx_search_inverted_persist.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main rgp_puts rgp_line_end rgp_scan rgp_eq rgp_num nxi_out nxi_fd sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable nxa_dump_sizes ccz_cat_num nxi_buf sys_write ↻ sys_munmap

structs

none

consts

10const RGP_CAP: i64 = 8192

functions

12func rgp_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main
17func rgp_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
18func rgp_line_end(buf: *u8, i: i64, end: i64) -> i64
called by 1: main
23func rgp_scan(buf: *u8, i: i64, end: i64) -> i64
called by 1: main
29func rgp_eq(buf: *u8, a_off: i64, a_len: i64, b_off: i64, b_len: i64) -> i64
called by 1: main
36func main() -> i64