code wiki / _hdl_build / nx_vizsla_venue_gate.nx
nx_vizsla_venue_gate.nx
buildroot/runtime/_hdl_build/nx_vizsla_venue_gate.nx
about
nx_vizsla_venue_gate.nx -- VIZSLA VENUE gate: the find/hire-buildings pipeline proven against
hand-computed fixtures, INCLUDING the booked->calendar bridge composed through the REAL
nx_vizsla_calendar organ (the emitted CAL-LINE is loaded and must appear on the day view).
fixture: REQ party cap=40 budget=50000c 2026-08-15 18:00 +180
hall-a cap60 45000c -> 50+30+(5000*20)/50000=82 stage found->contacted->quoted
loft-b cap35 30000c -> 0+30+8=38 too_small stage found
barn-c cap80 90000c -> 50+0=50 over_budget stage found
initial: booked=none best=hall-a score=82 stages=5
then STAGE 2026-07-05 hall-a booked -> booked=hall-a + BOOKED line + CAL-LINE
"EVENT venue-party 2026-08-15 1080 180 grange-hall" -> loads into the calendar ->
day 2026-08-15 shows 18:00-21:00 venue-party.
Rows: 1 venue-load 2 idempotent-reload 3 cand-top-scored 4 cand-over-budget 5 cand-too-small
6 board-verdict 7 stage-latest-wins 8 booked-line 9 cal-bridge-line 10 cal-bridge-composes
11 board-determinism 12 loud-fail-no-req[neg] 13 loud-fail-bad-stage[neg]
Evidence: VIZSLA-VEN-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 13/13.
spec: knowledge/research/2026-06-22-vizsla-sclass-roadmap.md license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 22 | func eg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 23 | func eg_p(s: *u8) -> i64 { sys_write(1, s, eg_slen(s)); return 0 } |
| 25 | func eg_cat(dst: *u8, off: i64, s: *u8) -> i64 |
| 31 | func eg_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 44 | func eg_write(path: *u8, content: *u8) -> i64 |
| 52 | func eg_readall(path: *u8, szout: *i64) -> *u8 |
| 69 | func eg_runv(elf: *u8, args: *i64, outpath: *u8) -> i64 |
| 99 | func eg_has(path: *u8, needle: *u8) -> i64 |
| 118 | func eg_fileeq(p1: *u8, p2: *u8) -> i64 |
| 133 | func eg_row(name: *u8, pass: i64) -> i64 |
| 140 | func eg_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64 |
| 151 | func eg_ensure(elf: *u8, organ: *u8) -> i64 |
| 159 | func main(argc: i64, argv: *i64) -> i64 |