code wiki / _hdl_build / nx_vizsla_render_gate.nx
nx_vizsla_render_gate.nx
buildroot/runtime/_hdl_build/nx_vizsla_render_gate.nx
about
nx_vizsla_render_gate.nx -- VIZSLA render gate: the first-party Nishi-browser UI page is gate-proven to carry
the relationship brief AND to be SOVEREIGN (0 JS, 0 third-party loads) -- the operator's privacy-first exceed.
100% sovereign: writes a tenant fixture, loads it via the blessed relate engine, renders via nx_vizsla_render,
greps the emitted HTML.
tenant "rt" @2026-06-22: rmom inner last 06-15=FRESH bday 06-30=in 8d + THANKS gift; rdave close never=NEW
followup + OBLIGATION OWE loan => brief reach=1 bday=1 thanks=1 owed=1.
Rows:
1 render-verdict VIZSLA-RENDER tenant=rt reach=1 bday=1 thanks=1 owed=1 ... sovereign=1
2 page-has-contact emitted HTML contains <b>rdave</b> (a real relationship card)
3 page-headers "Reach out today" + "Birthdays coming up" section headers
4 page-privacy the privacy statement ("never uploaded") is in the page
5 SOVEREIGN-no-script page contains ZERO "<script"
6 SOVEREIGN-no-http page contains ZERO "http" (no external CSS/font/img/script)
7 SOVEREIGN-no-link page contains ZERO "<link"
8 determinism render byte-identical twice
9 loud-fail-args render with a missing outfile arg => exit 1
Evidence: VIZSLA-RENDER-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 9/9.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 24 | func og_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 25 | func og_p(s: *u8) -> i64 { sys_write(1, s, og_slen(s)); return 0 } |
| 27 | func og_cat(dst: *u8, off: i64, s: *u8) -> i64 |
| 33 | func og_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 46 | func og_write(path: *u8, content: *u8) -> i64 |
| 54 | func og_readall(path: *u8, szout: *i64) -> *u8 |
| 68 | func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64 |
| 93 | func og_has(path: *u8, needle: *u8) -> i64 |
| 110 | func og_fileeq(p1: *u8, p2: *u8) -> i64 |
| 122 | func og_row(name: *u8, pass: i64) -> i64 |
| 128 | func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64 |
| 134 | func og_join(base: *u8, name: *u8) -> *u8 |
| 141 | func main(argc: i64, argv: *i64) -> i64 |