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 orphan librarytopic 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)

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
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
78func vx_iskind(b: *u8, koff: i64, kl: i64, pfx: *u8) -> i64
84func vx_field(rec: *u8, rl: i64, want: *u8, out: *u8, cap: i64) -> i64
108func vx_datedays(s: *u8) -> i64
137func vx_collect_edges(prefix: *u8, ef: *i64, et: *i64) -> i64
175func vx_intern(nid: *i64, nnp: *i64, s: *u8) -> i64
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