code wiki / _hdl_build / nx_vizsla_render_gate.nx

nx_vizsla_render_gate.nx

buildroot/runtime/_hdl_build/nx_vizsla_render_gate.nx

9354 B238 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic vizsla
docsdependenciesstructsconstsfunctions

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 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_render_gate.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main og_p sys_write og_slen sys_openat_rd sys_close og_runv sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 og_args sys_mmap ↻ sys_mmap ↻ og_cat og_catn sys_mmap ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono og_write sys_openat_wr ↻ sys_write ↻ og_slen ↻ sys_close ↻ og_join sys_mmap ↻ og_cat ↻ og_has sys_mmap ↻ og_readall sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ og_slen ↻

structs

none

consts

none

functions

23func og_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 3: og_pog_writeog_has
24func og_p(s: *u8) -> i64 { sys_write(1, s, og_slen(s)); return 0 }
called by 2: og_rowmain calls 2: sys_writeog_slen
26func og_cat(dst: *u8, off: i64, s: *u8) -> i64
called by 2: og_joinmain
32func og_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
45func og_write(path: *u8, content: *u8) -> i64
53func og_readall(path: *u8, szout: *i64) -> *u8
67func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
92func og_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapog_readallog_slen
109func og_fileeq(p1: *u8, p2: *u8) -> i64
called by 1: main calls 2: sys_mmapog_readall
121func og_row(name: *u8, pass: i64) -> i64
called by 1: main calls 1: og_p
127func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64
called by 1: main calls 1: sys_mmap
133func og_join(base: *u8, name: *u8) -> *u8
called by 1: main calls 2: sys_mmapog_cat
140func main(argc: i64, argv: *i64) -> i64