Skip to content

refactor(channels): remove the old Slack, Discord and Telegram bots (foreman-7aak) - #58

Merged
hamchowderr merged 2 commits into
mainfrom
claude/channels-cleanup
Oct 24, 2026
Merged

hamchowderr merged 2 commits into
mainfrom
claude/channels-cleanup

Conversation

@hamchowderr

@hamchowderr hamchowderr commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Requested by Chowderr · project thread

Part 3 of 3 of the channels split that replaces #54. This PR is stacked on #57.

Before: after #57, the old direct-generate() bots for Slack, Discord and Telegram are still in the tree but unused. That covers their webhook handlers, the Telegram polling script and the FOREMAN_NATIVE_CHANNELS scaffolding for Slack. The docs still describe the old setup.

After: that code and its tests are gone. The repo and site docs now cover:

  • the new webhook URLs;
  • the Slack Interactivity setting that the approval buttons need;
  • the Discord Gateway reconnecting on its own;
  • what the :4112 webhook server still serves.

How: delete the files, the env flag and the channels: option in foreman.ts. Narrow cross-channel-memory.test.ts to the six bots that remain. Update the docs in CLAUDE.md, README.md, docs/channels/* and packages/web/content/docs/*. The diff is mostly deletion: about 100 lines added and 1,200 removed.

With all three PRs merged, the code is identical to #54's last green commit.

Beads: foreman-7aak


🤖 Generated with Claude Code

https://claude.ai/code/session_01T3R2sPwBzA2bpj3HT2BDv2

…foreman-7aak)

Slack, Discord and Telegram now run on the AgentController's channels, so the
direct agent.generate() bots, their webhook handlers, the Telegram polling
script and the FOREMAN_NATIVE_CHANNELS Agent.channels scaffolding for Slack
are unused. Removes them and their tests, and updates the repo and site docs:
the new webhook URLs, Slack Interactivity for approval buttons, Discord's
self-reconnecting Gateway, and what the :4112 webhook server still serves.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T3R2sPwBzA2bpj3HT2BDv2
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
foreman Ready Ready Preview Oct 22, 2026 5:42pm UTC

Request Review

@hamchowderr
hamchowderr force-pushed the claude/channels-controller branch from d440f0e to c121273 Compare October 20, 2026 14:07
@hamchowderr
hamchowderr force-pushed the claude/channels-cleanup branch from 1988bd9 to e331b62 Compare October 20, 2026 14:07
@hamchowderr hamchowderr changed the title refactor(channels): remove the old Slack, Discord and Telegram bots refactor(channels): remove the old Slack, Discord and Telegram bots (foreman-7aak) Oct 20, 2026
@hamchowderr
hamchowderr changed the base branch from claude/channels-controller to main October 22, 2026 17:39
@hamchowderr
hamchowderr marked this pull request as ready for review October 22, 2026 17:39
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-22T17:39:56.252823Z
We couldn’t complete this review. Comment @codex review to try again.
e331b62 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hamchowderr
hamchowderr merged commit 48652cd into main Oct 24, 2026
8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1f650eca Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants