code wiki / (root) / nx_swcompare_sending.nx

nx_swcompare_sending.nx

buildroot/runtime/nx_swcompare_sending.nx

21769 B237 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic swcompare
docsdependenciesstructsconstsfunctions

about

nx_swcompare_sending.nx -- the MEASURED scoreboard for NISHI SENDING / MAIL (physical + digital + gifts + the unified send surface), operator 2026-07-08: "nishi mail physical and digital state of the art and integrated so i can send a postcard or present as easily as i can send digital ... use census and get us there". Grades the LIVE sending surface across 35 axes, NEVER self-scored: each EXCEEDS/PRESENT cell is PROVEN by reading a distinctive symbol in the REAL shipped organ source on disk; an ABSENT (ROADMAP) cell requires the implementing symbol to NOT exist = an honest gap (the worklist). Liar-killed BOTH directions (over- and under- claiming break the oracle). Yardsticks = the SOTA sending field (Gmail/Superhuman/HEY/Proton for digital; Lob/PostGrid/Stannp for print-and-mail; Postal.io/Sendoso/Reachdesk/Goody for unified sending; TouchNote/ Paperless Post/Punkpost for consumer cards), captured in knowledge/compare/sending-bar.txt. DIGITAL CORE .. SND-D1..D9 DIGITAL UX ... SND-D10..D14 PHYSICAL .. SND-P1..P9 GIFTS ........ SND-G1..G4 UNIFIED ...... SND-U1..U8 SNAPSHOT ORACLE: exceeds==2, present==16, absent==17 (of 35). [r1 spine U3+P5; r2 postcard P1; r3 letter/No.10 P2 + A7 card P3] The 2 EXCEEDS = sovereign anti-spoof crypto (ed25519 SPF/DKIM/DMARC) + sovereign own print pipeline (raster->URF/IPP->device, no cloud print). The whole physical + gifts + unified-send surface is the ABSENT worklist. A rung re-grades its axis (living map): when nx_mailpiece/nx_postal_addr/nx_send etc. land their symbols, the axis auto-flips + the oracle is updated. Two modes: no-arg = console census + liar-kill gate (run-exit 0 GREEN); `html` = emit the /compare/sending page. Self-contained (only nx_syscalls). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_swcompare_sending.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

19const K_MAGIC_262144: i64 = 262144

functions

21func 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
22func pn(v: i64) -> i64
called by 1: main calls 3: psys_mmapsys_write
28func seq(a: *u8, b: *u8) -> i64
called by 1: main
34func lc_read(path: *u8, buf: *u8, cap: i64) -> i64
40func lc_has(buf: *u8, n: i64, needle: *u8) -> i64
called by 1: lc_file_has
47func lc_file_has(path: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 2: lc_readlc_has
51func 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
52func 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
53func 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
54func grpname(g: i64) -> *u8
called by 1: main
61func con_row(id: *u8, label: *u8, sota: *u8, cls: i64) -> i64
called by 1: main calls 2: pclsname
64func emit_row(id: *u8, label: *u8, sota: *u8, cls: i64) -> i64
called by 1: main calls 4: pnishi_noteclscolorclsname
72func main(argc: i64, argv: *i64) -> i64