code wiki / _hdl_build / nx_vizsla_realm.nx

nx_vizsla_realm.nx

buildroot/runtime/_hdl_build/nx_vizsla_realm.nx

6952 B132 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_realm.nx -- NISHI VIZSLA: three INTEGRATED relationship managers with SEPARATE FOCUSES. Operator 2026-06-23: "an option to add to our personal / professional / business relationship manager like a prm crm and crm for business all integrated but with seperate focuses." One person, one engine, three focused books: personal (PRM) -- family / close / friend ; staying-in-touch, birthdays, thank-yous professional (RM) -- mentor / colleague / network / recruiter ; keep-warm, the career channel business (CRM) -- lead / prospect / customer / partner ; tighter follow-up (soon_days 7) A realm maps to the tenant-id "<person>_<realm>" (underscore is a valid tid char) so it REUSES the proven, fully-isolated tenant engine (nx_vizsla_tenant) -- integration via the shared <person> prefix, separation via the per-realm book + per-realm TIER focus. Sovereign: composes _offc/nx_vizsla_tenant.elf, re-implements nothing. The tiers are DATA written at provision (refine = edit, law 11). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_realm.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 vz_p sys_write vz_slen vz_tiers vz_eq vz_eq ↻ vz_cmd_provision vz_tiers ↻ vz_p ↻ sys_mmap vz_tid vz_cat vz_cat ↻ vz_exists sys_openat_rd sys_close vz_writefile sys_openat_wr sys_write ↻ vz_slen ↻ sys_close ↻ sys_mmap ↻ vz_tid ↻ vz_run_tenant sys_fork sys_mmap ↻ sys_execve sys_exit sys_wait4

structs

none

consts

12const K_MAGIC_1024: i64 = 1024

functions

14func vz_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: vz_pvz_writefile
15func vz_p(s: *u8) -> i64 { sys_write(1, s, vz_slen(s)); return 0 }
17func vz_eq(a: *u8, b: *u8) -> i64
called by 2: vz_tiersmain
24func vz_cat(dst: *u8, off: i64, s: *u8) -> i64
30func vz_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
32func vz_writefile(path: *u8, content: *u8) -> i64
41func vz_tiers(realm: *u8) -> *u8
called by 2: vz_cmd_provisionmain calls 1: vz_eq
49func vz_tid(person: *u8, realm: *u8, out: *u8) -> i64
called by 2: vz_cmd_provisionmain calls 1: vz_cat
57func vz_run_tenant(cmd: *u8, base: *u8, tid: *u8, a1: *u8, a2: *u8, a3: *u8, a4: *u8) -> i64
81func vz_cmd_provision(base: *u8, person: *u8, realm: *u8) -> i64
95func main(argc: i64, argv: *i64) -> i64