nx_capability_triage.nx
buildroot/runtime/nx_capability_triage.nx
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
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
structs
| none |
consts
| 11 | const K_MAGIC_65536: i64 = 65536 |
| 12 | const K_MAGIC_65535: i64 = 65535 |
| 13 | const K_MAGIC_1024: i64 = 1024 |
functions
| 15 | func 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 } |
| 16 | func t_putn(v: i64) -> i64 { nxi_out(v); return 0 } calls 1: nxi_out |
| 17 | func 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 |
| 20 | func t_print_field0(buf: *u8, ls: i64, le: i64) -> i64 |
| 26 | func main(argc: i64, argv: *i64) -> i64 |