Repository navigation
feat: add the team agent to the Claude Agent SDK app - #6
Merged
Merged
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…ssages Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…s and prompts Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…TS.md Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…s with the Slack MCP Server Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…rch with the Slack MCP Server Disallowed tools stay visible to the model, so the bot-token runbook tools were offered and denied on the Slack MCP Server path. The model also picks slack_search_public, which was denied. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
marked this pull request as ready for review
October 29, 2026 05:53
zimeg
enabled auto-merge (squash)
October 29, 2026 05:54
zimeg
disabled auto-merge
October 29, 2026 05:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request brings the
claude-agent-sdkapp to parity with the OpenAI Agents SDK team agent from #5: the agent writes what channel messages settle into runbooks, then answers from those runbooks next time.Runbook: <topic>.list_runbooks(files.list),read_runbook(canvases.getContent), andcreate_runbook(canvases.createwithchannel_id) are served in-process withcreate_sdk_mcp_server(), next to the emoji reaction tool.permission_mode="dontAsk"and anallowed_toolslist for each path, replacingbypassPermissions. The Claude Agent SDK has no tool filter, so the model still sees the other Slack MCP tools, but calls to them are denied.disallowed_toolswould deny them but leave them visible, and the model kept calling them.slack_search_publicis allowed next toslack_search_public_and_private. The model picks public search to find runbooks, and it reaches no further than the private search already allowed.run_agent()also returns the names of the tools it called, which is how the learn pass knows a runbook was written. The reply is the result message's final text.bolt-python-coding-agent, the model is pinned toclaude-sonnet-5-5, and the agent gets none of Claude Code's built-in tools, settings, or local MCP servers (tools=[],setting_sources=[],strict_mcp_config=True,verbatim_prompts=True).canvases:read,canvases:write,files:read. Both scope lists are sorted.Known risks (same as #5):
Testing
slack runand invite the agent to a channel. Post "Fixed it: rotate the signing secret, then redeploy." Confirm aRunbook: <topic>tab appears in the channel and only you see an ephemeral note with the link.app_oauth.py), connect the Slack MCP Server from the Home tab. Post a correction ("Actually, redeploy before rotating") and confirm the existing runbook is updated.🤖 Generated with Claude Code