code wiki / (root) / nx_writehub_conductor.nx

nx_writehub_conductor.nx

buildroot/runtime/nx_writehub_conductor.nx

5087 B85 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind tooltopic writehub
docsdependenciesstructsconstsfunctions

about

nx_writehub_conductor.nx -- WRITING HUB rung R5: the SELF-IMPROVEMENT conductor -- the apex "grows on its own / autonomously improving" tick. PROPOSE candidates (today fixtures/staged; tomorrow the seat's variations) -> SCORE each with the shared immune scorer (nx_writehub_score.whl_eval) -> SELECT the best (AlphaEvolve-style keep-the-winner) -> RATCHET a MONOTONIC quality record (knowledge/status/writehub_best.txt) and log the tick (knowledge/status/writehub_quality.log). Across ticks the best-kept quality only rises = the ecosystem's writing improves on its own. Fully sovereign (proves the select+ratchet mechanics with no seat). Self-proves: it MUST select the highest-scoring candidate and the winner must be publishable (>= WHL_KEEP). Uses the SAME scorer as nx_writehub_loop (one scorer, no duplication). license_tier: ORIGINAL module: nishi-core.writehub.conductor

dependencies 1 imports · 0 importers

nx_writehub_score.nx nx_writehub_conductor.nx

imports: nx_writehub_score.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_append cw cd_score whl_eval sys_mmap wc_counts wc_is_alpha wc_lower wc_syllables wc_is_vowel wc_lower ↻ wc_lower ↻ wc_fk_grade ws_signals wc_is_alpha ↻ ws_eval_word ws_ends2 wc_lower ↻ ws_is_weak ws_streq_ci ws_is_beverb ws_streq_ci ↻ cd_strlen cw ↻ cnn cw ↻ whl_directive cd_read_int sys_read cd_write_int sys_openat_wr cnn ↻

structs

none

consts

none

functions

11func cw(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); if fd>0 { sys_write(fd,s,n) } return 0 }
called by 3: cnncd_scoremain
12func cnn(fd: i64, v: i64) -> i64
called by 2: cd_scoremain calls 1: cw
19func cd_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: cd_score
20func cd_read_int(path: *u8) -> i64
called by 1: main calls 1: sys_read
30func cd_write_int(path: *u8, v: i64) -> i64
called by 1: main calls 1: sys_openat_wr
40func cd_score(name: *u8, cand: *u8, fd: i64) -> i64
49func main() -> i64