code wiki / (root) / nx_writer_page.nx

nx_writer_page.nx

buildroot/runtime/nx_writer_page.nx

11611 B161 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind tooltopic writer
docsdependenciesstructsconstsfunctions

about

u26d4RETIRED 2026-08-05: superseded by nx_writer_serve (the LIVE /writer daemon: page+score+factcheck +swarm /write+/modes). This organ still reads the TOMBSTONED write_modes.tsv -- do not deploy it; if ever revived, repoint to the writemode- seg-store plane first (sts_load, see nx_write). nx_writer_page.nx -- EMIT the nishifamily.com/writer showcase page. The UI surface for the Nishi Writer (operator law feedback-every-capability- needs-iterating-ui: every capability gets a live UI we iterate on). This organ AUTHORS the page; no JS/HTML is hand-written. Same emit -> push -> verify loop every property reuses (publishing is the separate sovereign step nx_aw_push). DATA-DRIVEN (CLAUDE.md #11): the modes table is generated FROM the registry knowledge/registry/write_modes.tsv at render time -- add a mode row there and it appears here with zero edits. The seam (erotica -> local lane) is visible in the data itself, not asserted in prose. HONEST SCOPE: a READ-ONLY showcase, safe to be public -- it surfaces the modes, the measured/gate-proven capabilities, and how to drive the tool. It does NOT generate prose (the generation SEAT is the next rung) and exposes no control surface (generation/actuation will sit behind operator-only OPAQUE auth). license_tier: ORIGINAL module: nishi-core.write.page capability: WRITE_UI_PAGE

dependencies 3 imports · 0 importers

nx_syscalls_x86_64.nx nx_mode.nx nx_scenario.nx nx_writer_page.nx

imports: nx_syscalls_x86_64.nxnx_mode.nxnx_scenario.nx

imported by: nobody (leaf or entry point)

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

main wp_cat wp_modes_rows sc_next_line wp_cat ↻ md_col sys_openat_wr wp_putn

structs

none

consts

28const WP_OUT: *u8 = "web_assets/writer.html"
29const WP_BYTES: i64 = 131072

functions

31func wp_cat(dst: *u8, off: i64, s: *u8) -> i64
called by 2: wp_modes_rowsmain
37func wp_putn(v: i64) -> i64
called by 1: main
51func wp_modes_rows(h: *u8, off: i64, reg: *u8, rn: i64) -> i64
called by 1: main calls 3: sc_next_linewp_catmd_col
81func main() -> i64