nx_send_merge.nx
buildroot/runtime/nx_send_merge.nx
about
nx_send_merge.nx -- BULK-MERGE: personalized sending to a whole SEGMENT across channels (CRM census E4; the
graph-to-send wire). A template with {name} / {occasion} placeholders + a recipient list -> one PERSONALIZED,
channel-validated send intent per person: recruiters get personalized outreach, the church segment gets cards,
family gets postcards -- email in all incumbents, +physical is the Nishi edge. Composes the nx_send pure core
(channel routing + postal/email validation via cmd_intent). Recipient record (tilde-separated because physical
destinations carry pipes): name~channel~dest~occasion. STRICT: an unknown {placeholder} is a LOUD template error;
a recipient whose dest does not match the channel is REJECTED and tallied, never silently sent.
Argless = selftest gate. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_send.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
| 10 | const K_MAGIC_4096: i64 = 4096 |
| 11 | const K_MAGIC_1024: i64 = 1024 |
functions
| 14 | func bm_personalize(tpl: *u8, name: *u8, occ: *u8, out: *u8, cap: i64) -> i64 |
| 46 | func bm_field(s: *u8, idx: i64, out: *u8, cap: i64) -> i64 called by 1: bm_one |
| 67 | func bm_one(tpl: *u8, rec: *u8) -> i64 |
| 85 | func bm_selftest() -> i64 |
| 126 | func main(argc: i64, argv: *i64) -> i64 calls 1: bm_selftest |