code wiki / (root) / nx_writehub_census.nx

nx_writehub_census.nx

buildroot/runtime/nx_writehub_census.nx

16320 B125 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic writehub
docsdependenciesstructsconstsfunctions

about

nx_writehub_census.nx -- the MEASURED, HONEST census for the WRITING HUB (operator 2026-06-30: a sovereign text spine for ALL systems -- erotica->novel->fiction->non-fiction, companion (Elara), D&D, image-gen sync, system-data growth -- "growing on its own and autonomously improving", matching Google's Alpha series and going s-class-exceed). Grounded in the sovereign researcher (knowledge/fetched/write_*.raw, 37 sources banked over TLS-1.3 this session) + 4 verified recon sweeps. It does NOT wave: a capability is HAVE only when a real GREEN gate log OR a real organ/service file on disk proves it (liar-kill: no evidence -> GAP, never claimed); it LEADS WITH THE GAPS = the roadmap. The verdict is an honest permil "where are we" + an explicit "where to go". Yardsticks (never dependencies): autonovel (full pipeline), Agents-Room (multi-agent narrative, DeepMind), our own orch-story (the non-sovereign 5-agent prose->image hub). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_writehub_census.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main c_puts sys_write c_have c_puts ↻ c_contains_green sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close c_exists sys_openat_rd ↻ sys_close ↻ c_gap c_puts ↻ c_num sys_mmap ↻ sys_write ↻ sys_openat_append c_w sys_write ↻ c_lognum sys_mmap ↻ sys_write ↻ sys_close ↻ sys_exit

structs

none

consts

none

functions

12func c_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: c_havec_gapmain calls 1: sys_write
13func c_num(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
19func c_lognum(fd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
24func c_w(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 }
called by 1: main calls 1: sys_write
27func c_contains_green(path: *u8) -> i64
called by 1: main calls 2: sys_mmapsys_read_file
38func c_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
40func c_have(ok: i64, dim: *u8, why: *u8) -> i64
called by 1: main calls 1: c_puts
45func c_gap(dim: *u8, why: *u8) -> i64 { c_puts(" [GAP!] " as *u8); c_puts(dim); c_puts(" <- " as *u8); c_puts(why); c_puts("\n" as *u8); return 0 }
called by 1: main calls 1: c_puts
47func main() -> i64