Skip to content

fix: crypto provider, silent failure debug, Discord free_response_channels#1024

Merged
jaberjaber23 merged 5 commits intoRightNow-AI:mainfrom
Hypn0sis:fix/crypto-discord-free-response
Apr 10, 2026
Merged

fix: crypto provider, silent failure debug, Discord free_response_channels#1024
jaberjaber23 merged 5 commits intoRightNow-AI:mainfrom
Hypn0sis:fix/crypto-discord-free-response

Conversation

@Hypn0sis
Copy link
Copy Markdown

@Hypn0sis Hypn0sis commented Apr 9, 2026

Summary

Three independent fixes from local development:

  • fix: add explicit crypto provider — installs rustls::crypto::ring as default provider on kernel startup; prevents TLS init failures in certain deployment environments
  • chore: don't fail silently — graceful debug log instead of silent ignore when rustls crypto provider is already installed (avoids confusing startup behavior)
  • feat: add free_response_channels support for Discord — allows certain Discord channel IDs to respond without requiring @mention, similar to Hermes gateway behavior. Adds free_response_channels field to DiscordConfig, threads through ChannelBridgeHandle trait, KernelBridgeAdapter, and dispatch_message. Includes deserialization test.

Credits

The crypto provider and silent-failure fixes were authored by @hello-world-bfree and surfaced via a local merge. This PR brings them upstream alongside the Discord feature.

Test plan

  • Build passes (cargo build --workspace --lib)
  • All tests pass (cargo test --workspace)
  • No clippy warnings (cargo clippy --workspace --all-targets -- -D warnings)
  • Discord bot responds in free channels without @mention
  • Discord bot still requires @mention in non-free channels

hello-world-bfree and others added 5 commits April 9, 2026 17:10
Allow certain Discord channel IDs to respond without requiring @mention,
similar to Hermes gateway's free_response_channels.

- Add free_response_channels field to DiscordConfig
- Add free_response_channels method to ChannelBridgeHandle trait
- Implement free_response_channels in KernelBridgeAdapter
- Modify dispatch_message to bypass mention_only policy for free channels
- Add test for free_response_channels deserialization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants