// ── The engagement subsystem — one door ──────────────────────────────────── // // ENGAGEMENT.md Phase 1. Today this is the mail transport registry and core's // own transports; the trigger registry, the rules engine and the delivery // channels arrive in later phases and hang here too. // // **Core's transports register through the same door a module's would**, and // they register HERE rather than at the bottom of the registry file. That keeps // the registry free of any knowledge of its registrants — the same reason // `registerCore()` is called from app.js rather than from inside // `modules/registries.js` (MODULE_API.md §7.6) — and it means requiring the // registry never has the side effect of populating it. // // Requiring this module is what makes `smtp` available. Everything that resolves // a transport goes through here, so there is exactly one place a transport can // come into existence. require('./transports/smtp') const transports = require('./transports') module.exports = { transports }