code wiki / (root) / nx_capability_triage.nx

nx_capability_triage.nx

buildroot/runtime/nx_capability_triage.nx

4323 B90 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic capability
docsdependenciesstructsconstsfunctions

about

nx_capability_triage.nx -- CLI of the intelligent catch / gap-analysis loop (07-15). `scan <registry>` reads the capability registry and emits, per row, the triage verdict + a tally = the team's SOTA-climb work-list (how many capabilities ROUTE at/above SOTA, how many need WIRE / BUILD / MEASURE / USE+IMPROVE). This is the analysis Claude runs ONCE to seed the loop; the SOTA target is a census auto-populating the registry so the team self-hosts it. usage: nx_capability_triage scan [registry] (default knowledge/capability_triage.reg) Always exits 0 (analysis, not a gate); appends a summary to knowledge/status/capability_triage.log. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_capability_triage_core.nx nx_capability_triage.nx

imports: nx_syscalls.nxnx_capability_triage_core.nx

imported by: nobody (leaf or entry point)

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

main t_streq sys_mmap ccz_read sys_openat_rd sys_read sys_close t_puts sys_write tr_parse_row sys_mmap ↻ ccz_num_at tr_sota_match sys_mmap ↻ tr_trim_copy tr_streq tr_bench_match sys_mmap ↻ tr_trim_copy ↻ tr_streq ↻ tr_weight_match sys_mmap ↻ tr_trim_copy ↻ tr_streq ↻ tr_decide tr_proposal tr_is_gap t_print_field0 sys_write ↻ tr_verdict_name tr_routes_to_nishi ccz_cat_str ccz_cat_num sys_write ↻ sys_openat_append sys_close ↻

structs

none

consts

11const K_MAGIC_65536: i64 = 65536
12const K_MAGIC_65535: i64 = 65535
13const K_MAGIC_1024: i64 = 1024

functions

15func t_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
16func t_putn(v: i64) -> i64 { nxi_out(v); return 0 }
calls 1: nxi_out
17func t_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 }
called by 1: main
20func t_print_field0(buf: *u8, ls: i64, le: i64) -> i64
called by 1: main calls 1: sys_write
26func main(argc: i64, argv: *i64) -> i64