Skip to content

feat: add Slack thread mention-only routing - #723

Closed
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-56890
Closed

feat: add Slack thread mention-only routing#723
hashbender wants to merge 1 commit into
mainfrom
mirror/pr-56890

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Summary

  • add Slack thread-local mention-only flags controlled by natural-language on/off phrases
  • block active-session, mentioned-thread, bot-reply, free-response, and mention-pattern wakeups while the flag is active
  • prune flags by session idle TTL/default 24h and cap stored entries

Verification

  • uv run --extra dev python -m pytest tests/gateway/test_slack_thread_mention_only.py tests/gateway/test_slack_mention.py -q -o 'addopts=' → 72 passed
  • uv run --extra dev python -m pytest tests/gateway/test_slack.py tests/gateway/test_slack_thread_mention_only.py tests/gateway/test_slack_mention.py -q -o 'addopts=' → 288 passed
  • uv run --extra dev ruff check plugins/platforms/slack/adapter.py tests/gateway/test_slack_thread_mention_only.py → All checks passed
  • git diff --check -- plugins/platforms/slack/adapter.py tests/gateway/test_slack_thread_mention_only.py → clean

Mirror-of: NousResearch#56890
NousResearch#56890

@hashbender hashbender closed this Jul 2, 2026
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.

1 participant