From a645f9c745f7cedd55d3c2207c9dcd932568ed57 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Thu, 18 Jun 2026 14:57:07 -0400 Subject: [PATCH] fix(agent-team): read SLACK_CHANNEL_ID, aligning code with deploy doc + systemd run-team.py read os.environ['SLACK_CHANNEL'] while DEPLOY-R720.md and the coordinator systemd unit both document SLACK_CHANNEL_ID; the mismatch would silently default the live Slack transport channel to empty. Standardize on SLACK_CHANNEL_ID (decision locked 2026-06-18). --- agent-team/run-team.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agent-team/run-team.py b/agent-team/run-team.py index c301fce..8d40c7e 100644 --- a/agent-team/run-team.py +++ b/agent-team/run-team.py @@ -522,7 +522,7 @@ def _build_transport(args: argparse.Namespace) -> Any: ``--help``, and ledger commands never need a token): * ``slack`` -> :func:`build_live_slack_transport` over ``SLACK_BOT_TOKEN`` / - ``SLACK_CHANNEL``. + ``SLACK_CHANNEL_ID``. * ``github`` -> :func:`build_live_github_transport` over ``GITHUB_TOKEN`` and the issue thread ``GITHUB_OWNER`` / ``GITHUB_REPO`` / ``GITHUB_ISSUE_NUMBER``. This is the ยง3.3.1 human-gate I/O only (post an @@ -540,7 +540,7 @@ def _build_transport(args: argparse.Namespace) -> Any: if args.transport == "slack": from agent_team.transport.slack_live import build_live_slack_transport - channel = os.environ.get("SLACK_CHANNEL", "") + channel = os.environ.get("SLACK_CHANNEL_ID", "") return build_live_slack_transport(channel) if args.transport == "github": from agent_team.transport.github_live import build_live_github_transport