Skip to content

Comments

Add Slack bot support and improve CLAUDE.md#57

Open
wolfdancer wants to merge 1 commit intomainfrom
feature/slack-bot-and-claude-md
Open

Add Slack bot support and improve CLAUDE.md#57
wolfdancer wants to merge 1 commit intomainfrom
feature/slack-bot-and-claude-md

Conversation

@wolfdancer
Copy link
Owner

Summary

  • Slack bot: Full SlackBot implementation using slack-bolt with Socket Mode — handles app_mention events, thread replies, slash commands (/approve, /quit, /hello), and outie admin commands
  • SlackBotConfig: Pydantic-validated config with string-based Slack IDs (U... users, C... channels), mirrors the existing Discord config structure with back-references
  • Unified CLI: New innieme discord|slack [-c config] entry point plus dedicated innieme_slack_bot script; both added to pyproject.toml
  • Example config: slack_config.example.yaml with Slack app setup instructions
  • Dependencies: Added slack-bolt to requirements.in / requirements.txt
  • CLAUDE.md: Rewrote to cover data flow, Pydantic back-reference wiring, thread tracking, embedding/vector store selection, and implementation caveats (placeholder summary, in-memory Chroma, etc.)

Test plan

  • pytest tests/test_slack_bot.py and pytest tests/test_slack_bot_config.py pass
  • pytest (full suite) passes
  • Slack bot starts with a valid slack_config.yaml and responds to @mentions in configured channels
  • Discord bot still starts and works with existing config.yaml
  • innieme discord and innieme slack CLI commands resolve correctly

🤖 Generated with Claude Code

- Add SlackBot with Socket Mode, slash commands (/approve, /quit, /hello), and threading
- Add SlackBotConfig with Pydantic validation (string-based Slack IDs)
- Add unified CLI entry point (innieme discord|slack) and innieme_slack_bot script
- Add slack_config.example.yaml with setup instructions
- Add slack-bolt dependency to requirements
- Improve CLAUDE.md with data flow, back-reference wiring, and implementation caveats

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant