code wiki / (root) / nx_writer_run.nx

nx_writer_run.nx

buildroot/runtime/nx_writer_run.nx

9288 B197 linesdepth 3pulls 9 transitivereach 0 importersview sourcekind orphan librarytopic writer
docsdependenciesstructsconstsfunctions

about

nx_writer_run.nx -- WRITING arc, rung W-RUN-2: the UNIFYING file-driven runner. One tool, every mode. Reads the chosen mode + the mode registry, ENFORCES the seam (refuses if the registry routes an explicit mode off the local lane), resolves register/lane/structure, and dispatches to the right organ -- emitting the structured artifact the generation SEAT then expands (SFW=tutor seat, explicit=operator local-LLM seat; this tool authors no prose, per the seam). Does NOT touch the existing nx_write_run (its scene-ingestion path is unchanged). Staging: knowledge/staging/writer/{mode,scenario,manga,voice,draft}.txt ; registry SSOT: knowledge/registry/write_modes.tsv . Build+run: ./_offc/nx_sov_build_run.elf nx_writer_run license_tier: ORIGINAL module: nishi-core.write.writerrun depends: nishi-core.write.mode/scenario/manga/tone capability: WRITE_RUN_UNIFIED

dependencies 5 imports · 0 importers

nx_syscalls_x86_64.nx nx_mode.nx nx_scenario.nx nx_manga.nx nx_tone.nx nx_writer_run.nx

imports: nx_syscalls_x86_64.nxnx_mode.nxnx_scenario.nxnx_manga.nxnx_tone.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

23func wstr(outfd: i64, s: *u8) -> i64
30func wnum(outfd: i64, v: i64) -> i64
45func wr_firstline(buf: *u8, n: i64) -> i64
60func wr_do_scenario(outfd: i64, lanb: *u8) -> i64
74func wr_do_convo(outfd: i64, lanb: *u8) -> i64
88func wr_do_manga(outfd: i64, lanb: *u8) -> i64
103func wr_do_tone(outfd: i64, lanb: *u8) -> i64
139func main() -> i64