Migrate to Million Slack bot (Pookie)#1
Open
rayhanadev wants to merge 2 commits into
Open
Conversation
…ookie) Reworks Wack Hacker (Purdue Hackers' Discord bot) into Pookie, Million's Slack-native bot, keeping the orchestrator + skill-gated delegate subagent architecture. Slack platform - Add Chat SDK transport (`chat` + `@chat-adapter/slack` + Redis state): webhook/OAuth routes, app manifest generator, event handlers (mentions, DMs, subscribed threads, assistant threads), and Block Kit tool approvals. - Stream turns natively to Slack and persist per-thread history. - Port Pookie's personality + pet-mode into the Slack system prompt. Remove Discord entirely - Delete the gateway/interactions/packet protocol, Discord tools, the non-Slack bot tree, and Discord-coupled tasks/approvals/streaming. - Slack-only scheduled-task delivery and dedup via Redis (no ConversationStore). Vendored Million integrations (native tools, no MCP) - Add Stripe, PostHog, Mercury, Axiom, Cloudflare, PlanetScale, and Exa delegate domains plus flat Repogrep tools, each with skill-gated tools. - Per-domain env is optional; a domain's subagent fails fast before launching when its required env vars are missing. Remove Purdue-specific surface - Drop the organizer roster (`resolve_organizer`), knowledge-base `documentation` tool, unwired `web_search`, and sales/CRM + Resend webhook. - Source the Vercel team from env (`VERCEL_TEAM_ID`/`VERCEL_TEAM_SLUG`) and the code-search org from `GITHUB_ORG` instead of hardcoded `purduehackers`. - Rename the `Organizer` access tier to `Member`; rebrand package/README/env and all skill/tool copy to Million; delete the stale `docs/` tree. Co-authored-by: Cursor <cursoragent@cursor.com>
Member
Author
|
bugbot run |
|
Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings. |
Member
Author
|
bruh |
- Commit to single-workspace bot-token mode: remove the half-built multi-workspace OAuth route + state and SLACK_CLIENT_ID/SECRET. - Clear knip: drop unused deps, the orphaned audio + workflow-types islands, and dead exports/types; fix the stale knip entry. - Rename leftover wack-hacker identifiers (tracer, evlog service, sandbox branch prefix) to pookie. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reworks Wack Hacker (Purdue Hackers' Discord bot) into Pookie, Million's Slack-native bot, while keeping the orchestrator + skill-gated delegate subagent architecture. Three big strokes:
chat+@chat-adapter/slack+ Redis state): webhook/OAuth routes, app manifest generator, event handlers (mentions, DMs, subscribed threads, assistant threads), native streaming, per-thread history, and Block Kit tool approvals. Ports Pookie's personality + pet-mode into the Slack system prompt.Also removes the Purdue-specific surface: the organizer roster (
resolve_organizer), thedocumentationknowledge-base tool, unwiredweb_search, and sales/CRM + Resend webhook. The Vercel team now comes from env (VERCEL_TEAM_ID/VERCEL_TEAM_SLUG) and code search fromGITHUB_ORGinstead of hardcodedpurduehackers. TheOrganizeraccess tier is renamed toMember, package/README/env + all skill/tool copy are rebranded to Million, and the staledocs/tree is deleted.Net: 529 files changed (+4.7k / −26.6k).
Reviewer notes
GITHUB_ORG(Million's org slug),VERCEL_TEAM_ID,VERCEL_TEAM_SLUG. Slack transport:SLACK_*,REDIS_URL,BASE_URL. See.env.example.@discordjs/*,discord.js,discord-api-types,discord-interactions,@purduehackers/discord-markdown-utils,@figma/rest-api-spec,@payloadcms/sdk,resend,svix,@vercel/edge-config.Test plan
bun run typecheck— cleanbun run lint— 0 errors (3 pre-existing warnings)bun run test— 469 passingbun scripts/compile-skills.ts— 14 domains + 91 sub-skillsMade with Cursor