Skip to content

feat(slack): post through standalone slack bot accounts - #1495

Merged
nixuuu merged 2 commits into
devfrom
fix/bot-message-sending-limits
Nov 29, 2026
Merged

nixuuu merged 2 commits into
devfrom
fix/bot-message-sending-limits

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026

Copy link
Copy Markdown
Member

Change

  • Let a bot post text and reply in subscribed Slack threads on request from its private Canopy chat. The gateway uses the Slack Bot account configured in Messages, including subscriptions set to notify. This works without Slack User or Slack MCP.
  • Check the active subscription before creating the approval and again at dispatch. Always allow applies to one bot, account and Slack channel. Return a Slack link after delivery is confirmed.

Verification

  • Passed gateway typecheck, lint and formatting on the edited files, and git diff --check.
  • Passed 12 tests in slack-post-approval.test.ts and bot-messenger-setup.test.ts through check:tmp. The standalone account test covers the reply destination, bot token, delivery link, channel-specific approval and removal of the subscription while approval is pending.
  • The tests use a Slack fixture. The broader checks run in GitHub CI.

Copy audit

  • Standalone posts use the existing Posting as Canopy and Always allow wording. The approval shows the account, channel, message and reply target when supplied. The saved rule includes the channel.
  • The delivery result confirms success with a Slack link or tells the bot how to check an uncertain result before resending. The existing approval layout and controls handle these requests.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 22:36
@nixuuu
nixuuu merged commit 313e70f into dev Nov 29, 2026
24 checks passed
@nixuuu
nixuuu deleted the fix/bot-message-sending-limits branch November 29, 2026 22:46
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