code wiki / _hdl_build / nx_vizsla_notify_gate.nx

nx_vizsla_notify_gate.nx

buildroot/runtime/_hdl_build/nx_vizsla_notify_gate.nx

13084 B310 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_notify_gate.nx -- VIZSLA OUTWARD-DELIVERY gate: reminders REACH you. COMPOSITION: the calendar store is loaded through the blessed calendar organ; notify forks the blessed remind engine for the due computation; the notification store is the once-only delivery ledger. fixture: calendar mtg 2026-07-08 10:00, gala 2026-08-20 18:00; contacts mom 07-14, dad 07-08. deliver today=2026-07-08 leads=6,0 -> mtg(event in0) + dad(bday in0) + mom(bday in6) = 3 delivered re-deliver same -> 0 delivered / 3 skipped (own store is the ledger) deliver today=2026-08-14 leads=6,0 -> gala(event in6, NEW occurrence) = 1 delivered feed -> 4 notifications; feed birthday -> 2 (mom, dad) email today=2026-07-08 -> RFC5322 digest, 3 reminders, Date: Wed, 08 Jul 2026 09:00:00 +0000 Rows: 1 fixture-loads 2 deliver-onsite 3 feed-lists 4 deliver-idempotent 5 deliver-new-occurrence 6 feed-after 7 feed-kind-filter 8 email-compose 9 email-date-header 10 email-body-bullet 11 feed-determinism 12 loud-fail-bad-today[neg] 13 loud-fail-bad-leads[neg] Evidence: VIZSLA-NOTIFY-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 13/13. spec: knowledge/research/2026-06-22-vizsla-sclass-roadmap.md license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_notify_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 ng_p sys_write ng_slen ng_ensure sys_openat_rd sys_close ng_p ↻ ng_runv sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 ng_args sys_mmap ↻ sys_openat_rd ↻ sys_close ↻ ng_runv ↻ ng_args ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono sys_mmap ↻ ng_cat ng_catn sys_mmap ↻ ng_write sys_openat_wr ↻ sys_write ↻ ng_slen ↻ sys_close ↻ ng_has sys_mmap ↻ ng_readall sys_openat_rd ↻ sys_lseek sys_mmap ↻

structs

none

consts

none

functions

19func ng_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 3: ng_png_writeng_has
20func ng_p(s: *u8) -> i64 { sys_write(1, s, ng_slen(s)); return 0 }
22func ng_cat(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main
28func ng_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
41func ng_write(path: *u8, content: *u8) -> i64
49func ng_readall(path: *u8, szout: *i64) -> *u8
66func ng_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
96func ng_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapng_readallng_slen
115func ng_fileeq(p1: *u8, p2: *u8) -> i64
called by 1: main calls 2: sys_mmapng_readall
130func ng_row(name: *u8, pass: i64) -> i64
called by 1: main calls 1: ng_p
137func ng_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8, a6: *u8, a7: *u8, a8: *u8) -> *i64
called by 2: ng_ensuremain calls 1: sys_mmap
151func ng_ensure(elf: *u8, organ: *u8) -> i64
159func main(argc: i64, argv: *i64) -> i64