Skip to content

Slack: auto-approve channels the bot is added to (parity with Signal group reconcile) #68

Description

@juniperbevensee

Task for the gardener. Signal has _reconcile_groups — when an approved admin adds the bot to a group, it auto-approves it. Slack has no equivalent (gateway/platforms/slack.py has no reconcile/discover); channels must be listed in SLACK_ALLOWED_CHANNELS manually.

A Slack workspace is admin-managed, so being added to a channel is already an admin-gated action. Add a Slack channel discover/auto-approve on connect, mirroring the Signal reconcile:

  • On Socket-Mode connect, list the channels the bot is a member of (users.conversations) and auto-approve them into the runtime allowlist, respecting a * allow-all and/or an admin gate.
  • Persist like the Signal approved-groups file so it survives restarts.
  • Removes the manual SLACK_ALLOWED_CHANNELS step and gives Slack the "discover" parity the user expects.
  • Fork stays minimally divergent from upstream (NousResearch); additive + self-contained. RGTDD + independent audit.

Context: raised 2026-07-02 — admin added the bot to a channel and expected Signal-style auto-approve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions