code wiki / _hdl_build / nx_llm_gap_registry.nx
nx_llm_gap_registry.nx
buildroot/runtime/_hdl_build/nx_llm_gap_registry.nx
about
nx_llm_gap_registry.nx -- where the team needs an LLM to INTERCEDE, marked so a future CUSTOM LLM
can be TESTED on those exact measures (operator: till we have our own LLM there is always a gap; the
team must recognize where an LLM like Claude intercedes BEYOND building capabilities, and mark it
down, so our custom LLM can be tested for S-class-exceed on the measures we needed). The COUNCIL
flags a task as an LLM-intercession point ONLY when it is NOT mechanizable AND the team has no
capability for it -- otherwise the team handles it (the mechanizable-invention doctrine: most rungs
need no LLM). Each gap tracks: kind, status (LLM-DEPENDENT or RESOLVED-by-a-team-capability), and
the S-class measure a candidate LLM must hit to close it. The OPEN gaps ARE the test suite for our
own LLM. RACI: Council flags, Registry records, Builder tries to resolve by building a capability,
the custom LLM is later tested against the residue. license_tier: ORIGINAL.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_llm_gap_registry_test.nx
structs
| none |
consts
| 15 | const LG_FETCH: i64 = 1 // retrieve external/web data |
| 16 | const LG_EXTRACT: i64 = 2 // prose -> structured verified claims |
| 17 | const LG_PROSE: i64 = 3 // natural-language authoring (paper/caption prose) |
| 18 | const LG_NOVEL_REASON: i64 = 4 // open-ended reasoning / novel synthesis |
| 19 | const LG_NOVEL_MODULE: i64 = 5 // authoring a brand-new NishiLang module/algorithm |
| 21 | const LG_LLM_DEPENDENT: i64 = 0 // still needs the LLM |
| 22 | const LG_RESOLVED: i64 = 1 // a team capability now covers it -> gap closed |
functions
| 25 | func lg_council_flag(mechanizable: i64, has_team_capability: i64) -> i64 called by 1: main |
| 32 | func lg_status(has_team_capability: i64) -> i64 { if has_team_capability == 1 { return LG_RESOLVED } return LG_LLM_DEPENDENT } called by 1: main |
| 35 | func lg_open_count(n: i64, status: *i64) -> i64 called by 1: main |
| 42 | func lg_custom_passes(candidate_score: i64, required_measure: i64) -> i64 |
| 49 | func lg_custom_ready(n: i64, status: *i64, candidate: *i64, required: *i64) -> i64 |
| 59 | func lg_first_unmet(n: i64, status: *i64, candidate: *i64, required: *i64) -> i64 |