feat(config)!: default allow_user_messages to multibot-mentions#1126
Merged
Conversation
BREAKING CHANGE: The default value of allow_user_messages is now "multibot-mentions" instead of "involved". Existing deployments that do not explicitly set this config will now require @mention in multi-bot threads. To restore the previous behavior, explicitly set: allow_user_messages = "involved" in your config.toml or Helm values.
- Move #[default] in gateway Feishu AllowUsers enum - Update FEISHU_ALLOW_USER_MESSAGES env var fallback - Fix remaining 'involved (default)' references in messaging.md, discord.md, and feishu.md
- F1: fix outdated comment in messaging.md example block - F2: remove duplicate multibot-mentions row in feishu.md table - F3: fix FeishuConfig::default() hardcoded to Involved
thepagent
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Caution
BREAKING CHANGE — Changes the default value of
allow_user_messagesfrom"involved"to"multibot-mentions".Motivation
In multi-bot deployments (which is the common setup for OpenAB),
"involved"causes all bots to respond to every message in a shared thread. This is noisy and confusing."multibot-mentions"is already the recommended mode in our docs for multi-bot setups, so making it the default aligns with best practice.In single-bot threads,
"multibot-mentions"behaves identically to"involved"— no user-facing change for single-bot deployments.Migration
Existing deployments that rely on the old default and want all bots to respond in multi-bot threads without @mention should explicitly set:
or in Helm:
Changes
src/config.rs— move#[default]fromInvolvedtoMultibotMentionsdocs/discord.md,docs/messaging.md,docs/config-reference.md— update default referencesconfig.toml.example— update commentscharts/openab/values.yaml+templates/configmap.yaml— update Helm defaults and commentsTesting
src/discord.rsfor multibot-mentions logic still pass (no default assertion existed).configmap_test.yaml) test explicit values, not defaults — still pass.