Public Slack search still depends on Slack's short-lived interactive action_token on the bot path. Resumed turns and scheduled runs cannot search the workspace without a fresh mention or DM.
Current behavior
slackPublicSearch calls assistant.search.context with the bot token plus an interactive action_token
- Slack requires that
action_token for bot-token RTS calls
- Without it, the tool stays registered and returns an honest interactive-turn limit
- Slice 1 of #1385 shipped the rest of the teammate-context path in #1388
Gap
Always-on workspace search is still blocked for resumes, scheduled tasks, and any turn without a fresh interactive token. That is the remaining product gap from #1385.
Proposal
Prefer a shared Slack service-account user token (xoxp-) for always-on public search later, rather than per-user Slack OAuth:
- Call
assistant.search.context with a user token, which does not require action_token (Slack RTS docs)
- Keep the bot token for normal Slack actions
- Accept that every search inherits the service account's access
- Defer per-user Slack user OAuth unless product later needs search-as-requesting-user
Related: #1385, #1388.
Requested by David Cramer.
--
View Junior Session [Sentry]
Public Slack search still depends on Slack's short-lived interactive
action_tokenon the bot path. Resumed turns and scheduled runs cannot search the workspace without a fresh mention or DM.Current behavior
slackPublicSearchcallsassistant.search.contextwith the bot token plus an interactiveaction_tokenaction_tokenfor bot-token RTS callsGap
Always-on workspace search is still blocked for resumes, scheduled tasks, and any turn without a fresh interactive token. That is the remaining product gap from #1385.
Proposal
Prefer a shared Slack service-account user token (
xoxp-) for always-on public search later, rather than per-user Slack OAuth:assistant.search.contextwith a user token, which does not requireaction_token(Slack RTS docs)Related: #1385, #1388.
Requested by David Cramer.
--
View Junior Session [Sentry]