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 orphan librarytopic 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)

structs

none

consts

19const K_MAGIC_65536: i64 = 65536

functions

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