Repository navigation
Open
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Description
Goal
With their own Slack app, a team gets one thread per pull request and can start work by mentioning the bot.
Behaviour
- Slack app: the README and the Connect step provide a Slack app manifest the administrator uses to create their own Slack app in a few clicks (bot scopes for posting and reading mentions; Events API request URL = the plugin's inbound webhook; signing secret). Connection stores the bot token and signing secret. ProPR does not ship shared client credentials.
- Threads: updates about one pull request are grouped in one thread, using
ctx.stateto remember the mapping. - Mention to task: mentioning the bot in a channel mapped to a repository with a request creates a GitHub issue in that repository (title from the first line, body with the message text and a link back to the Slack message, the configured trigger label) so ProPR starts a task through the normal label-triggered flow, and replies in the thread with the issue link; later events for that issue's pull request are posted in the same thread.
- Only members of an allow-list (Slack user ids or a user group) can start tasks; others get a polite refusal.
- Inbound verification uses the
slack-v0scheme; the URL verification challenge is answered. - Message text is untrusted content: it becomes the issue body and nothing else (it cannot choose the repository, labels or model).
Confirm Slack's current API details (Events API, scopes, signature scheme, limits) against Slack's official documentation while implementing; record the links in the README.
Acceptance criteria
- Signature and timestamp verification and the challenge response work (fixtures).
- A mention from an allowed user in a mapped channel creates one issue with the trigger label and replies in thread; retries of the same Slack event create no second issue.
- A mention from a non-allowed user, in an unmapped channel, or a bot's own message creates nothing.
- Message text cannot set labels, the repository or the model (injection test).
- Events for a pull request reuse the stored thread; the incoming-webhook mode from the previous issue keeps working.
- No message contains code, logs, prompt text, tool output or credentials (sentinel test).
- README with the Slack app manifest, required scopes and a manual smoke-test checklist;
docs/docs/plugins/slack.mdupdated.
Implementation
- Extend
packages/plugins/slack/with the app mode: webhook contribution, mention handler, thread mapping inctx.state, Slack Web API calls throughctx.http. - Tests with the plugin test kit and fixtures.
- Docs.
Notes
Depends on the chat notifications issue and the inbound webhooks issue. Creating a GitHub issue (rather than a task directly) keeps one intake path.
Metadata
Metadata
Assignees
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Activity
propr-dev commentedon Nov 16, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53555/claude-opus-5-5-official-plugin-slack-app-20261116-1521-orr3542-epic-plugin-system-xu8issue-3555-20261116-1521-claude-opus-5-5-orr🔍 Track Task Execution