From 4d470b3dbb881f31792e5f66b3f5d841bb6d469f Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 16 Jun 2026 06:20:01 -0700 Subject: [PATCH] fix(slack): route /debug via /hermes to restore Telegram-parity (#47248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Slack caps apps at 50 slash commands and the registry is at that ceiling, so adding /debug clamped it out of the native list and broke the telegram-parity test (debug on Telegram, absent from Slack native slashes, in neither exclusion set). Add 'debug' to _SLACK_VIA_HERMES_ONLY — same treatment credits already gets. /debug stays native on CLI/TUI/Telegram/Discord and reachable via /hermes debug on Slack. --- hermes_cli/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hermes_cli/commands.py b/hermes_cli/commands.py index 576eefbf0bd..a1e20dabc08 100644 --- a/hermes_cli/commands.py +++ b/hermes_cli/commands.py @@ -1053,7 +1053,8 @@ _SLACK_PRIORITY_ALIASES = ("btw", "bg") # the telegram-parity test reads it so an entry here is a deliberate # "Slack-via-/hermes" decision, not a silent clamp. # - credits: the billing/top-up surface; reached via /hermes credits on Slack. -_SLACK_VIA_HERMES_ONLY = frozenset({"credits"}) +# - debug: the log/report upload surface; reached via /hermes debug on Slack. +_SLACK_VIA_HERMES_ONLY = frozenset({"credits", "debug"}) def _sanitize_slack_name(raw: str) -> str: