code wiki / _hdl_build / nx_vizsla_recruiter_gate.nx
nx_vizsla_recruiter_gate.nx
buildroot/runtime/_hdl_build/nx_vizsla_recruiter_gate.nx
about
nx_vizsla_recruiter_gate.nx -- VIZSLA V2c gate: the recruiter-channel engine
is gate-proven against a HAND-ROUTED fixture corpus and HAND-COUNTED day
arithmetic (the oracle is this header, not the module under test).
channels: recruiter=700 referral=550 cold-apply=100; strong_permil=500;
stale_days=30; agents r1(jane: compilers systems nishilang),
r2(sam: sales marketing), f1(cousin-max: writing editing),
portal(cold-apply: *)
postings: j1[compilers rust writing] j2[nishilang compilers systems]
j3[sales travel] j4[editing writing remote] j5[travel logistics]
hand routing:
j1: r1 ov=1 (700) beats f1 ov=1 (550) -> recruiter/r1 700 STRONG
j2: r1 ov=3 -> recruiter/r1 700 STRONG
j3: r2 ov=1 -> recruiter/r2 700 STRONG
j4: no recruiter overlap; f1 ov=2 -> referral/f1 550 STRONG
j5: only portal wildcard -> cold-apply/portal 100 WEAK
=> posts=5 strong=4 weak=1 unrouted=0
touches (seg-3001): r1@2026-06-01, r2@2026-04-20, r1@2026-05-28
warm today=2026-06-10: r1 last=2026-06-01 days=9 FRESH (LATEST date wins,
not last-stored: 05-28 is stored AFTER 06-01); r2 days=51 STALE; f1 COLD;
portal EXCLUDED (cold-apply 100 < strong 500 = not worth tending, by data)
=> agents=3 fresh=1 stale=1 cold=1
DATA-DRIVEN: stale_days 30->60 in fixture data only => r2 days=51 FRESH,
verdict fresh=2 stale=0 cold=1, same binary.
Rows:
1 loud-fail-missing-channels route on absent file => exit 1
2 route-recruiter-strong j2 recruiter/r1 strength=700 overlap=3 STRONG
3 route-referral-fallback j4 referral/f1 strength=550 overlap=2 STRONG
4 cold-apply-weak-named j5 cold-apply/portal 100 WEAK + verdict 5/4/1/0
5 best-channel-wins j1 via recruiter r1, not referral f1
6 route-determinism byte-identical twice
7 touch-load new=3 committed seg-3001
8 idempotent-retouch new=0 dup_instore=3 segment=none (law 10)
9 latest-date-wins r1 last=2026-06-01 days=9 FRESH
10 stale-reconnect r2 days=51 STALE action=reconnect
11 cold-introduce-weak-excluded f1 COLD action=introduce AND no portal row
12 DATA-DRIVEN-stale-threshold stale_days=60 file => r2 FRESH, no recompile
13 warm-determinism byte-identical twice
Evidence: VIZSLA-RECRUIT-GATE line -> stdout + knowledge/status/vizsla_gate.log;
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
| none |
functions
| 45 | func rg_slen(s: *u8) -> i64 |
| 51 | func rg_p(s: *u8) -> i64 |
| 56 | func rg_cat(dst: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 62 | func rg_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 75 | func rg_write(path: *u8, content: *u8) -> i64 |
| 83 | func rg_readall(path: *u8, szout: *i64) -> *u8 |
| 100 | func rg_run(elf: *u8, a1: *u8, a2: *u8, a3: *u8, a4: *u8, outpath: *u8) -> i64 |
| 127 | func rg_has(path: *u8, needle: *u8) -> i64 |
| 146 | func rg_fileeq(p1: *u8, p2: *u8) -> i64 |
| 161 | func rg_row(name: *u8, pass: i64) -> i64 |
| 168 | func main(argc: i64, argv: *i64) -> i64 |