code wiki / _hdl_build / nx_vizsla_recruiter.nx

nx_vizsla_recruiter.nx

buildroot/runtime/_hdl_build/nx_vizsla_recruiter.nx

27066 B751 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind tooltopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_recruiter.nx -- NISHI VIZSLA V2c: the recruiter-channel engine. Operator directive 2026-06-10: "having a recruiter is a big deal as AI has broken the standard process." Cold applications drown in AI-generated slush and AI screeners; the human channel (recruiter, referral, warm intro) is the high-yield path. That theory lives AS DATA in channels.txt -- channel weights, agents, thresholds are all file content (law 11/25), so refining it (new channel, new weight) is a data edit, never a recompile. Commands (argv[1]): route <channels> <postings> [log] every posting -> the strongest available relationship: best agent by (channel weight, term overlap, file order). An agent term "*" matches any posting (the cold portal). Cold/weak routes (weight < strong_permil) are state=WEAK -- the broken standard process NAMED per posting, not hidden. touch <touchfile> <prefix> [segid] TOUCH rows -> canonical records -> CID keys "tch:nxc1-..." on seg_store = additive relationship history, idempotent by construction (law 10). warm <prefix> <channels> <today> keep-warm cadence over STRONG-channel agents only (worth-tending = derived from the same data): LATEST touch date wins; <=stale_days FRESH/none, >stale_days STALE/reconnect, never touched COLD/introduce. `today` is an argv date = deterministic stdout. File formats (line records, # comments): channels: CONF stale_days <n> | CONF strong_permil <n> CHANNEL <name> <weight_permil> AGENT <channel> <id> <display> <terms...> ("*" = wildcard) postings: POST <id> <pay_cents> <term> <term> ... (same as V2a) touches: TOUCH <date> <agent-id> <member> <note> (date YYYY-MM-DD) Determinism: stdout has no clocks (warm takes today via argv; epoch headers go to logs only; track/warm log derived from store prefix). Loud-fail law: missing files, AGENT referencing unknown CHANNEL, malformed dates = exit 1. EXCEED: job boards and ATS pipelines do not model the relationship channel

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_canon_cid.nx nx_seg_store.nx nx_vizsla_recruiter.nx

imports: nx_syscalls.nxnx_canon_cid.nxnx_seg_store.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main vr_p sys_write vr_slen vr_eq vr_cmd_route vr_p ↻ vr_load_channels sys_mmap ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close vr_tok vr_isws vr_eq ↻ vr_atoi vr_digits vr_dup vr_slen ↻ sys_mmap ↻ vr_find vr_eq ↻ sys_mmap ↻ ss_readall ↻ vr_tok ↻ vr_eq ↻ vr_dup ↻ vr_overlap vr_eq ↻ vr_find ↻ vr_better vr_cat vr_catn sys_mmap ↻ sys_write ↻ vr_log sys_openat_append

structs

none

consts

48const K_MAGIC_1970: i64 = 1970
49const K_MAGIC_146097: i64 = 146097
50const K_MAGIC_719468: i64 = 719468
51const K_MAGIC_1024: i64 = 1024
52const K_MAGIC_131072: i64 = 131072
53const K_MAGIC_2048: i64 = 2048
54const K_MAGIC_4096: i64 = 4096
55const K_MAGIC_65536: i64 = 65536

functions

57func vr_slen(s: *u8) -> i64
called by 3: vr_pvr_dupvr_kmemeq
63func vr_p(s: *u8) -> i64
68func vr_eq(a: *u8, b: *u8) -> i64
79func vr_dup(s: *u8) -> *u8
87func vr_atoi(s: *u8) -> i64
98func vr_digits(s: *u8) -> i64
called by 1: vr_load_channels
110func vr_isws(c: i64) -> i64
called by 1: vr_tok
117func vr_tok(b: *u8, off: i64, lend: i64, dst: *u8, cap: i64) -> i64
139func vr_cat(dst: *u8, off: i64, s: *u8) -> i64
145func vr_catn(dst: *u8, off: i64, v: i64) -> i64
158func vr_find(list: *i64, n: i64, s: *u8) -> i64
167func vr_kmemeq(b: *u8, off: i64, n: i64, s: *u8) -> i64
called by 2: vr_fieldvr_istch calls 1: vr_slen
177func vr_field(rec: *u8, rl: i64, want: *u8, out: *u8, cap: i64) -> i64
called by 1: vr_cmd_warm calls 2: ss_r32vr_kmemeq
205func vr_better(w: i64, bw: i64, ov: i64, bo: i64) -> i64
called by 1: vr_cmd_route
212func vr_istch(b: *u8, koff: i64, kl: i64) -> i64
called by 1: vr_cmd_warm calls 1: vr_kmemeq
217func vr_log(lpath: *u8, tag: *u8, rep: *u8, o: i64) -> i64
233func vr_prefixlog(prefix: *u8, out: *u8) -> i64
called by 2: vr_cmd_touchvr_cmd_warm calls 1: vr_cat
243func vr_datedays(s: *u8) -> i64
called by 2: vr_cmd_touchvr_cmd_warm calls 1: sys_mmap
288func vr_load_channels(cpath: *u8) -> *i64
374func vr_overlap(cf: *i64, ai: i64, pterms: *i64, pn: i64) -> i64
called by 1: vr_cmd_route calls 2: vr_eqvr_find
394func vr_cmd_route(argc: i64, argv: *i64) -> i64
502func vr_cmd_touch(argc: i64, argv: *i64) -> i64
622func vr_cmd_warm(argc: i64, argv: *i64) -> i64
743func main(argc: i64, argv: *i64) -> i64