From 4a48f9459ccf6f36efd585ab22f7d25813e88c68 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Tue, 23 Jun 2026 13:20:08 -0400 Subject: [PATCH] fix(ws2): register /new-task slash command + commands scope in Slack manifest The slack_listener handles {type:slash_commands, command:/new-task} but the app manifest declared no slash commands and no 'commands' scope, so Slack never offered /new-task (the command can't be invoked). Add the slash command + commands bot scope. Socket Mode delivers it over the socket (no request URL). APPLY: update the app A0BCC7TTU66 from this manifest + reinstall to pick up the new scope. --- agent-team/slack/agent-team-manifest.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/agent-team/slack/agent-team-manifest.json b/agent-team/slack/agent-team-manifest.json index 64c1e30..6345972 100644 --- a/agent-team/slack/agent-team-manifest.json +++ b/agent-team/slack/agent-team-manifest.json @@ -8,7 +8,15 @@ "bot_user": { "display_name": "agent-team", "always_online": true - } + }, + "slash_commands": [ + { + "command": "/new-task", + "description": "Start a new agent-team task (clarify -> plan -> review)", + "usage_hint": "", + "should_escape": false + } + ] }, "oauth_config": { "scopes": { @@ -17,7 +25,8 @@ "channels:history", "groups:history", "im:history", - "app_mentions:read" + "app_mentions:read", + "commands" ] } },