Skip to content

docs: say one Slack app reaches one bot in one project - #356

Open
leoisadev1 wants to merge 1 commit into
mainfrom
agent/slack-docs-scope
Open

leoisadev1 wants to merge 1 commit into
mainfrom
agent/slack-docs-scope

Conversation

@leoisadev1

@leoisadev1 leoisadev1 commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Summary

The Slack section of the channels guide never said that one Slack connection answers as one bot in one project. A reader could expect to mention the app in different Slack channels and reach different bots or projects, which Akeru does not do. The section now states the limit, explains how to use several bots (one Slack app and one connection per bot), says a bot holds one Slack connection at a time, and adds the project to the final setup step.

Evidence

The claims are checked against the server and Settings code:

  • Each connection attaches to one bot and one project (attachChannelConnection in apps/server/src/channels/ChannelConnections.ts), and every inbound message goes to that bot and project whatever Slack channel it came from (startChannel dispatch in ChannelConnectionLifecycle.ts).
  • A bot has one binding per service, and runtimes are keyed by bot and service (runtimeKey(bot.id, provider)), so a bot cannot hold two Slack connections.
  • Akeru rejects a Slack bot token that another bot already uses (channelSecretIdentity returns slack:<botToken>, checked in assertChannelIdentityAvailable).
  • Settings refuses to assign a connection to a bot that already has one for that service ("Unassign the channel already connected to this bot first", BotChannelsSettings.tsx).

vp fmt --check docs/user/channels.md passes. Not tested in a running app; this is a docs-only change.

Merge Danger

Door: two-way. Docs only, with an empty changeset.

Blast radius: the Slack section of docs/user/channels.md.

Created with Claude Opus 5.5 in Claude Code.


Devin Review

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
akeru-bot-landing Building Building Preview Oct 6, 2026 1:38am UTC

Request Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions github-actions Bot added size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Oct 6, 2026
@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

[Low risk] Clarifies Slack app and bot connection constraints in docs.

The PR appears safe to merge, though the project-move wording should be clarified.

Fix All in Claude CodeFindings

  1. P2 Existing messages do not move ▶

Summary

The PR clarifies that a Slack connection routes to one bot and project, describes using separate apps for multiple bots, and updates the setup step to include project selection. The project-move wording should distinguish future routing from existing conversation history.

Reviews (1) · Last reviewed commit: "docs: say one Slack app reaches one bot ..."

Comment thread docs/user/channels.md

To reach several bots from Slack, create a separate Slack app for each bot, add a Slack connection in Akeru for each app, and assign each connection to its bot. Each app shows up in Slack under its own name, so people pick a bot by mentioning that bot's app. Akeru rejects a bot token that another bot already uses. A bot holds one Slack connection at a time. To switch a bot to another Slack app, unassign its current connection first.

To send one bot's Slack work to a different project, move the connection to that project. All of that app's messages move with it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Existing messages do not move When a Slack connection moves to another project, its existing conversation history stays in the old project. An inbound message that reaches the new project starts a separate thread there. “All of that app’s messages move with it” could lead readers to expect their history to move too. Clarify that the project change affects subsequent routing, not existing history. Confidence in this issue: 5/5.

Suggested change
To send one bot's Slack work to a different project, move the connection to that project. All of that app's messages move with it.
To send one bot's Slack work to a different project, move the connection to that project. Messages routed after the move use the new project; existing conversation history stays in the original project.

Fix in Claude Code

This branch was successfully deployed

1 active deployment
Preview — f56c63cc Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant