mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-20 03:30:22 +00:00
Channels encrypt on egress and decrypt on ingress through the Encrypt/ Decrypt request brokers. Nothing in the production/FFI path registered a provider, so every send failed at encryption before reaching the wire and every receive failed at decryption before reassembly. The net effect was that channel_send put nothing on the network and channel_message_received never fired. Install the pass-through noop provider in ReliableChannelManager.start(), the symmetric spot to MessagingClient.start() wiring MessagingSend, on the same FFI worker thread the channel handlers run on (the brokers are thread-local). setProvider refuses to overwrite, so an application that installs its own encryption before start keeps it; otherwise channels default to unencrypted payloads. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>