code wiki / _hdl_build / nx_vizsla_profile.nx

nx_vizsla_profile.nx

buildroot/runtime/_hdl_build/nx_vizsla_profile.nx

15859 B455 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_profile.nx -- NISHI VIZSLA V0: the archetype gap profiler. The operator's three-archetype theory (architect/author/editor; a household usually covers two; the missing one is THE structural gap) as a measured, re-runnable instrument. The MODEL IS DATA: archetypes, trait weights, domains and fill capabilities all come from knowledge/vizsla/archetype_matrix.txt (the engine reads N archetypes from the file -- "three" is matrix content, never a constant here). Household answers come from knowledge/vizsla/household.txt. Output rows (stdout deterministic; epoch header -> log only): VIZSLA-MEMBER name=<m> primary=<arch> <arch>=<permil>... VIZSLA-COVERAGE archetypes=<n> covered=<k> gaps=<g> threshold=<thr> VIZSLA-GAP archetype=<a> nearest=<member> nearest_permil=<p> VIZSLA-FILL domain=<d> gap=<a> capability=<cap> partner=<member> VIZSLA-VERDICT coverage=FULL | coverage=GAPPED gaps=<g> argv overrides (gate fixture isolation, site-gate pattern): argv[1]=matrix path argv[2]=household path argv[3]=log path Loud-fail law: missing/empty inputs, unknown archetype/member references = exit 1. spec: knowledge/specs/2026-06-10-nishi-vizsla-ladder.md license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_vizsla_profile.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 sys_mmap vz_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close vz_p sys_write vz_slen vz_tok vz_isws vz_eq vz_atoi vz_dup vz_slen ↻ sys_mmap ↻ vz_find vz_eq ↻ vz_ans vz_eq ↻ vz_cat vz_catn sys_mmap ↻ sys_write ↻ sys_openat_append sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_close ↻

structs

none

consts

19const K_MAGIC_65536: i64 = 65536

functions

21func vz_slen(s: *u8) -> i64
called by 2: vz_pvz_dup
27func vz_p(s: *u8) -> i64
called by 1: main calls 2: sys_writevz_slen
32func vz_eq(a: *u8, b: *u8) -> i64
called by 3: vz_findvz_ansmain
43func vz_dup(s: *u8) -> *u8
called by 1: main calls 2: vz_slensys_mmap
51func vz_atoi(s: *u8) -> i64
called by 1: main
62func vz_isws(c: i64) -> i64
called by 1: vz_tok
71func vz_tok(b: *u8, off: i64, lend: i64, dst: *u8, cap: i64) -> i64
called by 1: main calls 1: vz_isws
93func vz_readall(path: *u8, szout: *i64) -> *u8
110func vz_find(list: *i64, n: i64, s: *u8) -> i64
called by 1: main calls 1: vz_eq
119func vz_cat(dst: *u8, off: i64, s: *u8) -> i64
called by 1: main
125func vz_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
139func vz_ans(a_mem: *i64, a_key: *i64, a_val: *i64, nans: i64, mi: i64, key: *u8) -> i64
called by 1: main calls 1: vz_eq
151func main(argc: i64, argv: *i64) -> i64