code wiki / _hdl_build / nx_gap_scan.nx
nx_gap_scan.nx
buildroot/runtime/_hdl_build/nx_gap_scan.nx
about
nx_gap_scan.nx -- the team scans its OWN capability set for gaps (operator: "see if there are any
other gaps"). Each capability area is one of: STRONG (proven/triangulated -> no gap), WEAK (owned but
below S-class -- a parity/proxy improvement gap), LLM (needs the LLM rung -- a sovereignty gap backed
by the provider), MISSING (not built -- a build gap). The scanner tallies and names the MOST URGENT
gap (MISSING > LLM > WEAK), so "what to build next" is deterministic, not ad-hoc. Composes the
LLM-gap registry + the Teacher's rungs. license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_gap_scan_test.nx
structs
| none |
consts
| 10 | const GAP_STRONG: i64 = 0 // proven + triangulated -> no gap |
| 11 | const GAP_WEAK: i64 = 1 // owned but below S-class (parity / weak proxy) -> improve |
| 12 | const GAP_LLM: i64 = 2 // needs the LLM rung (provider-backed, not sovereign) -> sovereignty gap |
| 13 | const GAP_MISSING: i64 = 3 // not built at all -> build gap (most urgent) |
functions
| 15 | func gap_is_gap(status: i64) -> i64 { if status == GAP_STRONG { return 0 } return 1 } |
| 18 | func gap_count(statuses: *i64, n: i64, kind: i64) -> i64 called by 1: main |
| 24 | func gap_total(statuses: *i64, n: i64) -> i64 |
| 31 | func gap_most_urgent(statuses: *i64, n: i64) -> i64 called by 1: main |