code wiki / _hdl_build / nx_prospector.nx

nx_prospector.nx

buildroot/runtime/_hdl_build/nx_prospector.nx

6149 B75 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_prospector.nx -- the CONTENT/BACKLOG MINER ("Prospector"), owned by the LIBRARIAN (operator: "do we have a content miner... to make sure we are getting our backlog autonomously built until we truly have plans for ALL our digital and physical projects with clear targets to s-class or s-class-exceed"). Distinct from the Researcher (which mines EXTERNAL knowledge): the Prospector mines the PROJECT SPACE -- it surveys every project (digital + physical) against COVERAGE criteria (has a PLAN? a SPEC? an S-CLASS TARGET?), and any project missing one is a GAP it files to the backlog. Runs in the autonomous loop -> the backlog self-builds until 100% coverage. Feeds the Researcher (spec the gap) + the PM (prioritize). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_pm_review_log.nx nx_syscalls.nx nx_prospector.nx

imports: nx_pm_review_log.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap pm_open sys_openat_append pm_w sys_write pm_cstr_len pr_puts sys_write ↻ pr_n sys_mmap ↻ sys_write ↻ sys_close sys_exit

structs

none

consts

14const DOM_DIGITAL: i64 = 0
15const DOM_PHYSICAL: i64 = 1
16const NPj: i64 = 20

functions

11func pr_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
12func pr_n(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1}; sys_write(1,b,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
18func main() -> i64