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 orphan librarytopic 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)

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 }
12func cnn(fd: i64, v: i64) -> i64
19func cd_strlen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
20func cd_read_int(path: *u8) -> i64
30func cd_write_int(path: *u8, v: i64) -> i64
40func cd_score(name: *u8, cand: *u8, fd: i64) -> i64
49func main() -> i64