code wiki / (root) / nx_swcompare_crm.nx

nx_swcompare_crm.nx

buildroot/runtime/nx_swcompare_crm.nx

21752 B233 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic swcompare
docsdependenciesstructsconstsfunctions

about

nx_swcompare_crm.nx -- MEASURED scoreboard for NISHI CRM / RELATIONSHIPS. Operator 2026-07-08: "clients like andelinwest.com use a state of the art crm ... more than just crm but also a personal and a professional aka network of people so relationships across everything can be managed -- even church or other orgs". Grades the LIVE relationship surface across 34 axes, NEVER self-scored: each EXCEEDS/PRESENT cell is PROVEN by a distinctive symbol in the REAL shipped organ source; an ABSENT (ROADMAP) cell requires the symbol to NOT exist = an honest gap (the worklist). Liar-killed BOTH directions. Yardsticks = the SOTA field: Salesforce/HubSpot/ Pipedrive/Attio/Folk (pro CRM), Monica/Clay/Dex/Cloze (personal PRM), Planning Center/Breeze/Bloomerang (org/church/ nonprofit); bar = knowledge/compare/crm-bar.txt. CORE RELATIONSHIP DATA A1..A8 ENTITY GRAPH B1..B6 PRO CRM C1..C6 ORG/COMMUNITY D1..D5 INTEGRATION E1..E9 SNAPSHOT ORACLE: exceeds==1, present==33, absent==0 (of 34) = FULL PRESENCE (not depth-parity -- the banner says so). [r1 nx_relate B1-6+E5; r2 nx_crm C1-6; r3 nx_org D1-5; r4 nx_send_merge E4 + nx_relate_import E6; r5 nx_crm_acl E7 + nx_crm_flow E8] The 1 EXCEEDS = sovereign additive never-lose history (seg_store, tombstone-not-delete, on your hardware). PRESENT = the Vizsla PRM primitives (profile/graph/timeline/ segments/dedup/reports/health) + the send/calendar integration. The whole entity graph + pro CRM + org/community + multi-tenant is the ROADMAP. A rung re-grades its axis (living map): nx_relate/nx_crm/nx_org auto-flip on their symbols. Two modes: no-arg = console census + liar-kill gate (run-exit 0 GREEN); `html` = emit the /compare/crm page. Self-contained (only nx_syscalls). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_swcompare_crm.nx

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

main sys_mmap lc_file_has lc_read sys_openat_rd sys_read sys_close lc_has seq p sys_write pn p ↻ sys_mmap ↻ sys_write ↻ grpname emit_row p ↻ nishi_note clscolor clsname con_row p ↻ clsname ↻

structs

none

consts

18const K_MAGIC_262144: i64 = 262144

functions

20func p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 4: pncon_rowemit_rowmain calls 1: sys_write
21func pn(v: i64) -> i64
called by 1: main calls 3: psys_mmapsys_write
27func seq(a: *u8, b: *u8) -> i64
called by 1: main
33func lc_read(path: *u8, buf: *u8, cap: i64) -> i64
39func lc_has(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: lc_file_has
46func lc_file_has(path: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 2: lc_readlc_has
50func clsname(c: i64) -> *u8 { if c == 2 { return "EXCEEDS" as *u8 } if c == 1 { return "PRESENT" as *u8 } return "ROADMAP" as *u8 }
called by 2: con_rowemit_row
51func clscolor(c: i64) -> *u8 { if c == 2 { return "rgb(34,160,90)" as *u8 } if c == 1 { return "rgb(40,110,210)" as *u8 } return "rgb(120,124,134)" as *u8 }
called by 1: emit_row
52func nishi_note(c: i64) -> *u8 { if c == 2 { return "Sovereign edge" as *u8 } if c == 1 { return "Yes" as *u8 } return "Planned" as *u8 }
called by 1: emit_row
53func grpname(g: i64) -> *u8
called by 1: main
60func con_row(id: *u8, label: *u8, sota: *u8, cls: i64) -> i64
called by 1: main calls 2: pclsname
63func emit_row(id: *u8, label: *u8, sota: *u8, cls: i64) -> i64
called by 1: main calls 4: pnishi_noteclscolorclsname
71func main(argc: i64, argv: *i64) -> i64