code wiki / _hdl_build / nx_research_cycle.nx

nx_research_cycle.nx

buildroot/runtime/_hdl_build/nx_research_cycle.nx

4871 B85 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic research
docsdependenciesstructsconstsfunctions

about

nx_research_cycle.nx -- THE AUTONOMOUS SELF-IMPROVING CYCLE. One invocation runs the whole researcher loop in order, each step a separate process via the sovereign runner: (1) nx_research_grow (index the next delta, content-dedup, cross-topic flag), (2) nx_search_register (refresh the search-sources manifest = integration), (3) nx_research_miner (re-rank rich veins), (4) nx_research_freshness (moving/static/constant review). This is the schedulable unit: cron/pulse it on a cadence (e.g. monthly for freshness, or per-fetch for growth) and the researcher compounds + integrates + prioritizes + self-refreshes with no human in the loop. Steps stay loosely coupled (each is its own organ/process talking only through durable artifacts); this orchestrator just sequences them. Records a cycle ledger. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_search_inverted_persist.nx nx_itoa_lib.nx nx_research_cycle.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 rc_puts rc_step rc_puts ↻ rc_run sys_fork sys_openat_wr sys_dup3 sys_execve sys_wait4 rc_num nxi_out nxi_fd sys_mmap ccz_cat_num sys_write sys_munmap sys_openat_append rc_cat rc_num ↻

structs

none

consts

none

functions

12func rc_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 2: rc_stepmain
17func rc_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 2: rc_stepmain calls 1: nxi_out
18func rc_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){dst[off+i]=s[i];i=i+1} return off+i }
called by 1: main
22func rc_run(organ: *u8) -> i64
43func rc_step(name: *u8) -> i64
called by 1: main calls 3: rc_putsrc_runrc_num
51func main() -> i64