code wiki / (root) / nx_lora_screen.nx

nx_lora_screen.nx

buildroot/runtime/nx_lora_screen.nx

1441 B24 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic lora
docsdependenciesstructsconstsfunctions

about

nx_lora_screen.nx -- G16: contamination/integrity screen on an acquired LoRA or checkpoint file, BEFORE it may enter elara_loras.txt or the served model path (/compare/gen watch G16, symbol lc_screen). THIN MAIN over nx_lora_screen_lib.nx -- all judgement lives in the lib so nx_lora_screen_gate proves it in-process against crafted fixtures (no stale-artifact gap between gate and organ). usage: nx_lora_screen <path> exit: 0 CLEAN | 1 FLAGGED (each flag named with its values) | 2 usage | 3 UNPROVEN (unreadable/unjudgeable format -- abstain, never acquit) | 4 REFUSED-pickle (CWE-502: pickled checkpoints execute code on load) SCOPE: this is the STATIC half of the screen (bytes on disk). The RENDER half -- one fixed-seed screening image per candidate, adjudicated before adoption (the elf-ears tell that found amateur_photography_zimage_v1) -- rides the gen worker and is declared in gen.plan G16; this organ is its admission precondition. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_lora_screen_lib.nx nx_lora_screen.nx

imports: nx_syscalls.nxnx_lora_screen_lib.nx

imported by: nobody (leaf or entry point)

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

main sys_write lc_screen lc_class lc_ends_ci lc_slen lc_lc lc_put sys_write ↻ sys_openat_rd sys_lseek sys_close lc_num lc_put ↻ sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_write ↻ sys_mmap ↻ sys_read lc_u64le lc_scan_offsets lc_slen ↻ lc_find lc_slen ↻ lc_parse_uint lc_metadata_print lc_find ↻

structs

none

consts

none

functions

15func main(argc: i64, argv: *i64) -> i64