code wiki / _hdl_build / nx_vizsla_realm_gate.nx

nx_vizsla_realm_gate.nx

buildroot/runtime/_hdl_build/nx_vizsla_realm_gate.nx

9135 B215 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_realm_gate.nx -- VIZSLA realm gate: ONE person, THREE integrated relationship books with SEPARATE focuses (personal PRM / professional / business CRM). Proves each realm provisions its OWN focus tiers, adds contacts independently, and is fully ISOLATED from the others -- while sharing the person + the engine. 100% sovereign: runs nx_vizsla_realm (which composes the tenant engine), greps the realm books + briefs. Rows: 1 personal-focus rp_personal.contacts has "TIER family 7" 2 professional-focus rp_professional.contacts has "TIER recruiter 30" 3 business-focus rp_business.contacts has "TIER lead 7" AND "CONF soon_days 7" (CRM = tighter follow-up) 4 add-personal add-contact personal mom -> CONTACT mom Mom family 06-30 5 add-business add-contact business acme -> CONTACT acme Acme-Corp customer - 6 brief-personal-iso brief personal shows mom, shows NOTHING of business (no "acme") 7 brief-business-iso brief business shows acme, shows NOTHING of personal (no "mom") 8 neg-bad-realm provision realm=frobnicate -> exit 1 Evidence: VIZSLA-REALM-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_realm_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_join sys_mmap ↻ og_cat ↻ og_has sys_mmap ↻ og_readall sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ og_slen ↻ og_row og_p ↻ og_args8 sys_mmap ↻ sys_openat_append

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 2: og_pog_has
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 2: og_joinmain
28func og_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
41func og_readall(path: *u8, szout: *i64) -> *u8
55func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
80func og_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapog_readallog_slen
97func og_row(name: *u8, pass: i64) -> i64
called by 1: main calls 1: og_p
103func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64
called by 1: main calls 1: sys_mmap
109func og_args8(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8, a6: *u8, a7: *u8, a8: *u8) -> *i64
called by 1: main calls 1: sys_mmap
116func og_join(base: *u8, name: *u8) -> *u8
called by 1: main calls 2: sys_mmapog_cat
123func main(argc: i64, argv: *i64) -> i64