code wiki / _hdl_build / nx_vizsla_contact_gate.nx
nx_vizsla_contact_gate.nx
buildroot/runtime/_hdl_build/nx_vizsla_contact_gate.nx
about
nx_vizsla_contact_gate.nx -- VIZSLA rich-contact gate: arbitrary key->value fields per contact, latest-per-key
wins, profile view + search-by-field, all on the sovereign CID/seg_store plane. Construction-known oracle.
fields: mom company Acme-Retired@06-01 then Self-Employed@06-10 (LATEST wins) + city Dallas ; alex company
Globex + role CTO + city Dallas. profile mom => company=Self-Employed,city=Dallas (fields=2).
find city Dallas => mom AND alex (matches=2). find company Self-Employed => mom (1). find company X => 0.
Rows:
1 load 6 FIELD -> new=6 seg-9901
2 idempotent new=0 dup_instore=6 (law 10)
3 profile-latest profile mom: company=Self-Employed (NOT Acme-Retired) + fields=2
4 profile-multikey profile alex: role=CTO + fields=3
5 find-single find company Self-Employed -> contact=mom + matches=1
6 find-multi find city Dallas -> mom AND alex + matches=2 (search/segment foundation)
7 find-nomatch find company Nope -> matches=0
8 neg-no-file load missing file -> exit 1
Evidence: VIZSLA-CONTACT-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 8/8.
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
| none |
functions
| 21 | func og_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 22 | func og_p(s: *u8) -> i64 { sys_write(1, s, og_slen(s)); return 0 } |
| 24 | func og_cat(dst: *u8, off: i64, s: *u8) -> i64 called by 1: main |
| 30 | func og_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 43 | func og_write(path: *u8, content: *u8) -> i64 |
| 51 | func og_readall(path: *u8, szout: *i64) -> *u8 |
| 65 | func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64 |
| 90 | func og_has(path: *u8, needle: *u8) -> i64 |
| 107 | func og_row(name: *u8, pass: i64) -> i64 |
| 113 | func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64 |
| 119 | func main(argc: i64, argv: *i64) -> i64 |