Skip to content

feat(slack): Add public channel search - #935

Merged
dcramer merged 8 commits into
mainfrom
feat/slack-public-search
Jul 16, 2026
Merged

dcramer merged 8 commits into
mainfrom
feat/slack-public-search

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Add interactive workspace-wide search over public Slack messages so Junior can answer company-context questions with direct evidence and permalinks.

Public-only search

The new slackPublicSearch tool calls assistant.search.context with channel types fixed to public_channel and content types fixed to messages. It supports focused queries, time bounds, sorting, and pagination while returning source channel, author, timestamp, message content, and permalink.

Provider-owned authorization

The Slack reply boundary consumes the ephemeral action_token and closes over it when constructing the search tool. Core agent routing and tool-runtime context receive only a generic per-slice tool definition, so Slack credentials and provider details do not leak into core agent contracts. Resumed or non-interactive work gets no search tool.

The Slack manifest now requests search:read.public; existing installations will need the updated scope before the tool can search.

Fixes #267

Requested by David Cramer via Junior.

--

View Junior Session

@vercel

vercel Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Jul 16, 2026 8:13pm

Request Review

@dcramer
dcramer marked this pull request as ready for review July 16, 2026 18:33
@github-actions github-actions Bot added the risk: high PR risk score: high label Jul 16, 2026

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2631237. Configure here.

@dcramer
dcramer merged commit f0e35b8 into main Jul 16, 2026
33 checks passed
@dcramer
dcramer deleted the feat/slack-public-search branch July 16, 2026 21:15
@sentry-junior sentry-junior Bot mentioned this pull request Aug 10, 2026
11 tasks done

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 3f1ee4a0 Deployed Jul 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search public Slack channels for company context

1 participant