code wiki / _hdl_build / nx_vizsla_render.nx

nx_vizsla_render.nx

buildroot/runtime/_hdl_build/nx_vizsla_render.nx

22857 B397 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_render.nx -- NISHI VIZSLA: the FIRST-PARTY, privacy-first UI for your relationships. Operator 2026-06-22: "the ui for all our work is 3rd party and our first party nishi browser ... using all these capabilities as s class exceed because it will manage and keep and use the data in a privacy first respectful way where the users data is treated as valuable and not something to be stolen." Third-party browsers + cloud PRMs OWN and monetize your relationship graph; the Nishi browser is first-party + sovereign, so it renders + uses this data while it NEVER leaves your hardware. This organ emits the relationship brief as a static HTML page -- ZERO JavaScript, ZERO third-party loads (no external CSS/font/img/script) -- the same fail-closed-sovereignty pattern the reader uses. It COMPOSES the gated relate engine (rule 22) over a tenant. page <base> <tid> <today> <outfile> render that tenant's brief to a sovereign first-party HTML page coord <digest.conf> <today> <outfile> render the ENGAGEMENT-PARTNER digest (2026-07-08) -- today's calendar, reminders due (birthdays + events), plan board, venue hunt -- by forking the blessed nx_vizsla_digest over the conf. SOVEREIGNTY IS PROVEN, not promised: after building the page the organ SCANS its own bytes for <script / http / <link / @import and REFUSES (exit 1) if any appear. The privacy statement is in the page itself. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_render.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 vr_p sys_write vr_slen vr_eq_cmd vr_cmd_page vr_p ↻ sys_mmap vr_cat vr_catn sys_mmap ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono vr_run_brief sys_fork sys_openat_wr sys_dup3 sys_mmap ↻ sys_execve sys_exit sys_wait4 vr_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close vr_starts vr_slen ↻ vr_item vr_cat ↻ vr_find vr_slen ↻ vr_echar vr_cat ↻ vr_emit_section vr_cat ↻ vr_has vr_slen ↻

structs

none

consts

16const K_MAGIC_65536: i64 = 65536
17const K_MAGIC_1024: i64 = 1024
18const K_MAGIC_524288: i64 = 524288
19const K_MAGIC_8192: i64 = 8192

functions

21func vr_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
22func vr_p(s: *u8) -> i64 { sys_write(1, s, vr_slen(s)); return 0 }
24func vr_eq_cmd(a: *u8, b: *u8) -> i64
called by 1: main
31func vr_cat(dst: *u8, off: i64, s: *u8) -> i64
37func vr_catn(dst: *u8, off: i64, v: i64) -> i64
called by 2: vr_cmd_pagevr_cmd_coord calls 1: sys_mmap
51func vr_echar(out: *u8, o: i64, c: i64) -> i64
59func vr_readall(path: *u8, szp: *i64) -> *u8
74func vr_has(buf: *u8, n: i64, needle: *u8) -> i64
called by 2: vr_cmd_pagevr_cmd_coord calls 1: vr_slen
89func vr_find(line: *u8, llen: i64, needle: *u8) -> i64
called by 1: vr_item calls 1: vr_slen
104func vr_starts(line: *u8, llen: i64, off: i64, kw: *u8) -> i64
called by 2: vr_cmd_pagevr_cmd_coord calls 1: vr_slen
113func vr_item(line: *u8, llen: i64, kwlen: i64, out: *u8, off: i64) -> i64
called by 1: vr_cmd_page calls 3: vr_catvr_findvr_echar
136func vr_run_brief(prefix: *u8, contacts: *u8, today: *u8, outpath: *u8) -> i64
160func vr_item_raw(line: *u8, llen: i64, kwlen: i64, out: *u8, off: i64) -> i64
called by 1: vr_cmd_coord calls 2: vr_catvr_echar
170func vr_run_digest(conf: *u8, today: *u8, outpath: *u8) -> i64
191func vr_emit_section(page: *u8, o0: i64, title: *u8, items: *u8, nitems: i64, empty: *u8) -> i64
called by 2: vr_cmd_pagevr_cmd_coord calls 1: vr_cat
209func vr_cmd_page(argc: i64, argv: *i64) -> i64
302func vr_cmd_coord(argc: i64, argv: *i64) -> i64
390func main(argc: i64, argv: *i64) -> i64