code wiki / _hdl_build / nx_vizsla_graph.nx

nx_vizsla_graph.nx

buildroot/runtime/_hdl_build/nx_vizsla_graph.nx

14027 B357 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind tooltopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_graph.nx -- NISHI VIZSLA: INTRO-GRAPH / WHO-KNOWS-WHOM (PRM/CRM depth, the marquee feature Clay / Affinity sell as "warm intro paths"). Operator 2026-06-23: real-system depth. Models the relationship NETWORK as undirected edges between people ("a knows b") on the sovereign seg_store plane (additive "edge:" CID records) and answers the killer question: to reach someone you don't know directly, WHO in your network can introduce you? = BFS shortest path. Computed locally; the social graph never leaves the machine (no cloud graph-mining / no contact-scraping for ad targeting -- the privacy exceed). link <prefix> <a> <b> <date> record an undirected edge a--b (additive, idempotent) neighbors <prefix> <id> everyone directly connected to <id> path <prefix> <from> <to> shortest intro path from <from> to <to>; the intermediates = introducers Integer-only, deterministic. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_canon_cid.nx nx_seg_store.nx nx_vizsla_graph.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 vx_p sys_write vx_slen vx_eq vx_cmd_link vx_p ↻ vx_datedays sys_mmap vx_eq ↻ vx_lex_gt sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap cid_of sys_mmap ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word sha256_final blk_set_byte ↻ sha256_compress ↻ cid_from_digest sys_munmap ↻ vx_cat ss_get_idx sys_mmap ↻ ss_manifest_dyn

structs

none

consts

14const K_MAGIC_1970: i64 = 1970
15const K_MAGIC_4096: i64 = 4096
16const K_MAGIC_2048: i64 = 2048
17const K_MAGIC_1024: i64 = 1024
18const K_MAGIC_65536: i64 = 65536

functions

20func vx_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
21func vx_p(s: *u8) -> i64 { sys_write(1, s, vx_slen(s)); return 0 }
23func vx_eq(a: *u8, b: *u8) -> i64
30func vx_dup(s: *u8) -> *u8
39func vx_lex_gt(a: *u8, b: *u8) -> i64
called by 1: vx_cmd_link
52func vx_cat(dst: *u8, off: i64, s: *u8) -> i64
58func vx_catn(dst: *u8, off: i64, v: i64) -> i64
71func vx_kmemeq(b: *u8, off: i64, n: i64, s: *u8) -> i64
called by 2: vx_iskindvx_field calls 1: vx_slen
78func vx_iskind(b: *u8, koff: i64, kl: i64, pfx: *u8) -> i64
called by 1: vx_collect_edges calls 2: vx_slenvx_kmemeq
84func vx_field(rec: *u8, rl: i64, want: *u8, out: *u8, cap: i64) -> i64
called by 1: vx_collect_edges calls 2: ss_r32vx_kmemeq
108func vx_datedays(s: *u8) -> i64
called by 1: vx_cmd_link calls 1: sys_mmap
137func vx_collect_edges(prefix: *u8, ef: *i64, et: *i64) -> i64
175func vx_intern(nid: *i64, nnp: *i64, s: *u8) -> i64
called by 1: vx_cmd_path calls 2: vx_eqvx_dup
235func vx_cmd_neighbors(argc: i64, argv: *i64) -> i64
268func vx_cmd_path(argc: i64, argv: *i64) -> i64
349func main(argc: i64, argv: *i64) -> i64