code wiki / _hdl_build / nx_vizsla_profile.nx
nx_vizsla_profile.nx
buildroot/runtime/_hdl_build/nx_vizsla_profile.nx
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
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
structs
| none |
consts
| 19 | const K_MAGIC_65536: i64 = 65536 |
functions
| 21 | func vz_slen(s: *u8) -> i64 |
| 27 | func vz_p(s: *u8) -> i64 |
| 32 | func vz_eq(a: *u8, b: *u8) -> i64 |
| 43 | func vz_dup(s: *u8) -> *u8 |
| 51 | func vz_atoi(s: *u8) -> i64 called by 1: main |
| 62 | func vz_isws(c: i64) -> i64 called by 1: vz_tok |
| 71 | func vz_tok(b: *u8, off: i64, lend: i64, dst: *u8, cap: i64) -> i64 |
| 93 | func vz_readall(path: *u8, szout: *i64) -> *u8 |
| 110 | func vz_find(list: *i64, n: i64, s: *u8) -> i64 |
| 119 | func vz_cat(dst: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 125 | func vz_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 139 | func vz_ans(a_mem: *i64, a_key: *i64, a_val: *i64, nans: i64, mi: i64, key: *u8) -> i64 |
| 151 | func main(argc: i64, argv: *i64) -> i64 |