code wiki / (root) / nx_erotica_loop.nx

nx_erotica_loop.nx

buildroot/runtime/nx_erotica_loop.nx

4788 B60 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic erotica
docsdependenciesstructsconstsfunctions

about

nx_erotica_loop.nx -- R5: the AUTONOMOUS erotica keep/discard loop. Scores candidate prose via nx_erotica_craft_lib.ec_eval (7 sovereign-store axes) -> KEEP (>= threshold) or REVISE with a TARGETED DIRECTIVE (the weakest axis's craft advice). This is the immune loop that lets the erotica lane improve on its own: wrap the LOCAL generation seat's drafts with this and it self-selects toward gorgeous. Gates weak->REVISE, strong->KEEP on fixtures (the seat is down this session; the loop LOGIC is proven + ready to wrap real drafts). The directive thresholds/advice are DATA-derived from the same rubric; NO 3rd-party, no loose files, no seat. expect_exit: 0 license_tier: ORIGINAL module: nishi-core.erotica.loop

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_seg_store.nx nx_erotica_craft_lib.nx nx_erotica_loop.nx

imports: nx_syscalls.nxnx_seg_store.nxnx_erotica_craft_lib.nx

imported by: nobody (leaf or entry point)

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

main el_puts sys_write ss_open ss_open2 sys_mmap ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd ↻ sys_lseek ↻ sys_close ↻ ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ↻ ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ss_r32 ↻ ssl_key_eq ss_r32 ↻ ss_r32 ↻

structs

none

consts

none

functions

12func el_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 3: el_directiveel_judgemain calls 1: sys_write
13func el_num(v: i64) -> i64
called by 1: el_judge calls 2: sys_writesys_mmap
21func el_directive(out: *i64) -> i64
called by 1: el_judge calls 1: el_puts
37func el_judge(text: *u8, label: *u8, h: *i64) -> i64
45func main() -> i64