code wiki / _hdl_build / nx_vizsla_log_gate.nx

nx_vizsla_log_gate.nx

buildroot/runtime/_hdl_build/nx_vizsla_log_gate.nx

8632 B212 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_log_gate.nx -- VIZSLA typed-interaction/timeline gate. Construction-known oracle. log: mom call@06-10 "talked about her trip to Italy" ; mom meeting@05-01 "lunch downtown" ; mom email@03-01 "sent vacation photos" ; alex coffee@06-05 "discussed the new role". timeline mom => 3 interactions newest-first (06-10 call, 05-01 meeting, 03-01 email); first=2026-03-01 last=2026-06-10 ; alex's coffee NOT in mom's timeline. Rows: 1 load 4 INT -> new=4 seg-A101 2 idempotent new=0 dup_instore=4 (law 10) 3 newest-first mom timeline: 06-10 line appears BEFORE 03-01 line (chronological desc sort) 4 typed type=call + type=email present (typed, not generic touch) 5 multiword-note note=lunch downtown preserved (rest-of-line content) 6 verdict interactions=3 first=2026-03-01 last=2026-06-10 7 isolation mom timeline has NONE of alex (no "discussed the new role") 8 neg-no-file load missing -> exit 1 Evidence: VIZSLA-LOG-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 8/8. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_log_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_has sys_mmap ↻ og_readall sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ og_idx og_slen ↻ og_row og_p ↻

structs

none

consts

none

functions

19func 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_idx
20func og_p(s: *u8) -> i64 { sys_write(1, s, og_slen(s)); return 0 }
called by 2: og_rowmain calls 2: sys_writeog_slen
22func og_cat(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main
28func og_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
41func og_write(path: *u8, content: *u8) -> i64
49func og_readall(path: *u8, szout: *i64) -> *u8
63func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
89func og_idx(buf: *u8, sz: i64, needle: *u8) -> i64
called by 2: og_hasog_before calls 1: og_slen
103func og_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapog_readallog_idx
111func og_before(path: *u8, a: *u8, b: *u8) -> i64
called by 1: main calls 3: sys_mmapog_readallog_idx
123func og_row(name: *u8, pass: i64) -> i64
called by 1: main calls 1: og_p
129func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64
called by 1: main calls 1: sys_mmap
135func main(argc: i64, argv: *i64) -> i64