Skip to content

Add Slack bot support and improve CLAUDE.md#57

Merged
wolfdancer merged 2 commits into
mainfrom
feature/slack-bot-and-claude-md
Jun 17, 2026
Merged

Add Slack bot support and improve CLAUDE.md#57
wolfdancer merged 2 commits into
mainfrom
feature/slack-bot-and-claude-md

Conversation

@wolfdancer

Copy link
Copy Markdown
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

wolfdancer and others added 2 commits February 20, 2026 21:59
- 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>
Reconcile the Slack bot with the PydanticAI migration (#59):
- SlackBotConfig: replace openai_api_key with embeddings_api_key / llm_api_key
  / llm_model, matching DiscordBotConfig (read by Innie/Topic).
- slack_bot.py: Innie() now takes only outie_config (no api_key arg).
- Add slack-bolt to pyproject dependencies (was only in requirements).
- Update slack_config.example.yaml and Slack tests for the new fields.
- Reconcile CLAUDE.md to cover both platforms and the PydanticAI engine.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@wolfdancer wolfdancer merged commit e680822 into main Jun 17, 2026
1 check passed
@wolfdancer wolfdancer deleted the feature/slack-bot-and-claude-md branch June 17, 2026 03:10
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