nx_sovereign_page_emit.nx
buildroot/runtime/nx_sovereign_page_emit.nx
about
nx_sovereign_page_emit.nx -- sovereign emitter: content/sovereign.rows -> dist/sovereign/index.html.
THE apertvs.ai-analog: a PUBLISHED, sovereign page that surfaces the nx_openpub_census verdict matrix
(Nishi vs apertvs.ai / Apertus) so the capability is SEEN, not just proven on disk ([[feedback-tools-must-surface-in-ui]]).
Data-driven: the verdict rows live in the pipe-delimited manifest content/sovereign.rows (the SSOT);
editing it + re-running this organ regenerates the page. Mirrors the proven nx_hub_emit pattern EXACTLY
(same he_* helpers, same read->line-parse->split->emit->write spine, same /assets/style.css chrome, HTML-escaped
text fields, no dead links). File-I/O only -> imports the leaf x86_64 syscall layer ONLY (builds clean around
the syscall-dup gotcha, [[nishi-serving-syscall-dup-gotcha]]). Run from the nishi-pages checkout (content/ + dist/
resolve); dist/sovereign must exist.
Build: nx_sov_build_run nx_sovereign_page_emit --install (sovereign nx_cc->nxasm, no gcc; installs to _offc)
Run: cd nishi-pages && mkdir -p dist/sovereign && _offc/nx_sovereign_page_emit.elf
nx_capability_claims:
needs: [x86_64_syscalls, pipe_delimited_parse]
provides: [sovereign_page_emit, census_matrix_publish, data_driven_verdicts]
safety: [html_escape_text_fields, no_floating_point, fixed_output_path, no_dead_links]
verdict: [exit_0_ok]
license: ORIGINAL
kind: nishi_pages_specialist
raci: [R=nishi_pages_builder, A=elder_west, C=openpub_census_owner, I=conductor]
dependencies 1 imports · 0 importers
imports: nx_syscalls_x86_64.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 23 | const K_MAGIC_262144: i64 = 262144 |
functions
| 26 | func he_puts(buf: *u8, off: i64, s: *u8) -> i64 |
| 33 | func he_putb(buf: *u8, off: i64, src: *u8, n: i64) -> i64 called by 1: main |
| 40 | func he_put_esc(buf: *u8, off: i64, src: *u8, n: i64) -> i64 |
| 54 | func he_eq(buf: *u8, off: i64, n: i64, lit: *u8) -> i64 called by 1: main |
| 65 | func he_split(buf: *u8, ls: i64, le: i64, foff: *i64, flen: *i64) -> i64 called by 1: main |
| 80 | func main() -> i64 |