code wiki / (root) / nx_research_loop.nx

nx_research_loop.nx

buildroot/runtime/nx_research_loop.nx

8058 B95 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic research
docsdependenciesstructsconstsfunctions

about

nx_research_loop.nx -- the AUTONOMOUS research-driving feedback loop (operator telos, 2026-06-17). The physics ladders (latency/FLOP/bandwidth) + energy are SENSORS; this is the loop that reads them and autonomously DRIVES research + monitoring: 1. PHYSICS-GAP loop: for each capability, gap-to-floor -> a prioritized RESEARCH TASK (the known lever). At/below the floor -> nothing to optimize in-software -> hand to the frontier scanner. 2. ENERGY loop: energy-per-op vs the floor -> research task (here: RAPL absent in WSL -> "instrument on bare metal" is itself the autonomously-emitted task -- the loop knows what it cannot yet measure). 3. FRONTIER scan (PROVABILITY-GATED): for capabilities ALREADY at the published physics limit, scan the frontier -- INCLUDING fringe/UAP-class claims -- for a higher optimum. The discipline is REPRODUCIBILITY, not belief: a claim is pursued (-> REPRODUCTION task) ONLY if it has a reproducible/testable component above a provability threshold. Unfalsifiable claims (e.g. over-unity, violates thermodynamics) are FILTERED to monitor-only. Borderline-but-testable (low-confidence UAP) -> monitored w/ provability-watch (re-evaluated if evidence strengthens). "We can try to reproduce" -- the gate is try-ability. KAT: physics gaps emit research tasks (compute highest); at-floor caps trigger the frontier scan; the provability gate pursues reproducibles + filters the unfalsifiable; an autonomous prioritized queue results. No hw writes (Rule 26). expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_research_loop.nx

imports: nx_syscalls.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 rl_puts sys_write sys_mmap rl_p rl_num nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_exit

structs

none

consts

19const K_MAGIC_23600: i64 = 23600

functions

21func rl_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 calls 1: sys_write
26func rl_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
27func rl_p(a: *i64, i: i64) -> *u8 { return (a[i]) as *u8 }
called by 1: main
29func main() -> i64