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 sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close rgp_line_end rgp_scan rgp_eq sys_openat_wr rgp_num nxi_out nxi_fd sys_mmap ↻ ccz_cat_num 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