logos-delivery/logos_delivery
Ivan FB 98883edb92
fix(channels): default channels to unencrypted so messages flow
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>
2026-07-17 18:07:31 +02:00
..