Skip to content

fix: disable search_workspace tool on team leader#18

Merged
ashpreetbedi merged 1 commit intomainfrom
feat/slack-channel-tools
Apr 7, 2026
Merged

fix: disable search_workspace tool on team leader#18
ashpreetbedi merged 1 commit intomainfrom
feat/slack-channel-tools

Conversation

@Mustafa-Esoofally
Copy link
Copy Markdown
Contributor

Summary

  • Removed enable_search_workspace=True from the leader's SlackTools config
  • The search_workspace tool (Slack's assistant.search.context API) was causing the leader to search Slack for answers to code questions instead of delegating to the right specialist (Explorer, Coder, etc.)
  • Retains search_messages for basic thread/channel context lookups

Context

Reported by @ashpreetsingh — the workspace search tools were confusing Coda's routing, causing it to search Slack messages instead of delegating code questions to Explorer.

Testing

Tested locally via ngrok + Agno Test Bot Prod in #slack-apps-testing:

  • Greeting → leader responds directly (no delegation needed)
  • Code exploration ("RunContext class fields?") → properly delegates to Explorer
  • Deep architecture trace ("team coordination flow?") → properly delegates to Explorer, traces multiple files
  • No search_workspace calls observed in any test

Type of change

  • Bug fix (non-breaking change which fixes an issue)

The search_workspace tool (Slack's assistant.search.context API) was
causing the leader to search Slack for answers to code questions
instead of delegating to the right specialist. Removing it keeps
the leader focused on code coordination via its member agents.

Retains search_messages for basic thread/channel context lookups.
@ashpreetbedi ashpreetbedi merged commit da93f65 into main Apr 7, 2026
1 check passed
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.

2 participants