Skip to content

fix(slack): honor standing post approvals in bot routines - #1000

Merged
nixuuu merged 1 commit into
devfrom
feat/allow-routines-slack-posting
Nov 19, 2026
Merged

nixuuu merged 1 commit into
devfrom
feat/allow-routines-slack-posting

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 19, 2026

Copy link
Copy Markdown
Member

The gateway omitted the native Slack posting tool when building the catalog for a bot routine. A scheduled run could read its destination but could never reach the approval check, even when the owner had already allowed that bot to post in the channel.

Expose the posting tool to routines and use the existing approval check for the bot, Slack account and conversation. The integration test runs a scheduled routine with a rule granted in private chat, verifies delivery, revokes the rule, and verifies that the next run waits for approval.

Fixes: #974

Verification

The targeted integration test passed locally with bun run check:tmp ./tests/integration/slack-post-approval.test.ts. Lint passed on the edited TypeScript files, and git diff --check passed. Repository-wide checks run in CI.

@nixuuu
nixuuu enabled auto-merge (squash) November 19, 2026 05:55
@nixuuu
nixuuu merged commit 02dfc7e into dev Nov 19, 2026
27 of 29 checks passed
@nixuuu
nixuuu deleted the feat/allow-routines-slack-posting branch November 19, 2026 06:08
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