nx_writer_run.nx
buildroot/runtime/nx_writer_run.nx
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
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
| 23 | func wstr(outfd: i64, s: *u8) -> i64 |
| 30 | func wnum(outfd: i64, v: i64) -> i64 |
| 45 | func wr_firstline(buf: *u8, n: i64) -> i64 |
| 60 | func wr_do_scenario(outfd: i64, lanb: *u8) -> i64 |
| 74 | func wr_do_convo(outfd: i64, lanb: *u8) -> i64 |
| 88 | func wr_do_manga(outfd: i64, lanb: *u8) -> i64 |
| 103 | func wr_do_tone(outfd: i64, lanb: *u8) -> i64 |
| 139 | func main() -> i64 |