Skip to content

Conversation

@adityathebe
Copy link
Member

@adityathebe adityathebe commented Jan 12, 2026

resolves: #461

Summary by CodeRabbit

  • New Features

    • Added Slack Bot integration to Mission Control with Playbook capability support.
  • Documentation

    • New comprehensive Slack Bot integration guide including setup instructions, token configuration, and deployment options for Kubernetes environments using Helm and Flux.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Jan 12, 2026

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview Jan 14, 2026 9:48am

@netlify
Copy link

netlify bot commented Jan 12, 2026

Deploy Preview for canarychecker canceled.

Name Link
🔨 Latest commit b4ebd50
🔍 Latest deploy log https://app.netlify.com/projects/canarychecker/deploys/696766123f54910008a06fbc

@coderabbitai
Copy link

coderabbitai bot commented Jan 12, 2026

Caution

Review failed

The head commit changed during the review from ecc1f5f to b4ebd50.

Walkthrough

This pull request adds documentation and configuration updates for a new Slack Bot integration in Mission Control. A new documentation file details setup procedures and Kubernetes deployment guidance using Helm and Flux, along with required Slack tokens and scopes. Integration metadata is updated in the index, and spell-check ignore lists are expanded to include relevant technical terms.

Changes

Cohort / File(s) Summary
Slack Bot Integration Documentation
mission-control/docs/integrations/index.mdx, mission-control/docs/integrations/slack-bot.mdx
Added Slack Bot entry to integrations table. New comprehensive documentation file covering Slack app setup with Socket Mode, required tokens (SLACK_BOT_TOKEN, SLACK_APP_TOKEN), scopes, App Home messaging, MCP URL/token retrieval, and deployment workflows for Kubernetes using Helm and Flux, including configuration examples and manifest samples.
Spell-Check Configuration
styles/ignore/words-with-suggestions.txt
Extended ignore suggestions list with 11 new entries including Flux, HelmRelease, HelmRepository, Anthropic, Docker, Helm, LLM, MCP, OpenAI, Slack, and WebSocket.
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: slack bot' directly corresponds to the main change—adding Slack Bot integration documentation and related configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/slack-bot

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (5)
mission-control/docs/integrations/slack-bot.mdx (5)

30-36: Use active voice.

Line 32 uses passive voice ("You'll be prompted"). Per coding guidelines, use active voice.

✏️ Suggested revision
-You'll be prompted to generate an app-level token with access to the `connections:write` scope.
+Slack prompts you to generate an app-level token with access to the `connections:write` scope.

64-68: Minor: Passive voice in event description.

Line 67 uses passive voice ("A message was posted"). If these descriptions are from Slack's API documentation, keeping them verbatim is acceptable for consistency. Otherwise, consider rephrasing.


92-94: Consider using H3 for section heading.

Line 92 uses H4 (####) but this appears to be a main subsection under "Deployment". Consider using H3 (###) for consistency with other section headings.

✏️ Suggested revision
-#### Create the Kubernetes Secrets (Helm and Flux)
+### Create the Kubernetes Secrets (Helm and Flux)

131-139: Redundant "Create Secrets" header.

The secrets are already defined above the tabs (lines 96-126), and the kubectl commands here just apply them. Consider renaming this header to "Apply Secrets" to better reflect the action.

✏️ Suggested revision
-### Create Secrets
+### Apply the Secrets

236-238: Capitalize "Flux" consistently.

"flux" should be capitalized as "Flux" to match the usage elsewhere in the document and the tab label.

✏️ Suggested revision
-#### Add a flux Kustomization
+#### Add a Flux Kustomization
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e371437 and 3781e6c.

⛔ Files ignored due to path filters (3)
  • mission-control/docs/integrations/api.slack.com_apps.png is excluded by !**/*.png
  • mission-control/docs/integrations/app-level-token.png is excluded by !**/*.png
  • mission-control/docs/integrations/token-mcp-slack.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • mission-control/docs/integrations/index.mdx
  • mission-control/docs/integrations/slack-bot.mdx
  • styles/ignore/words-with-suggestions.txt
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,markdown,txt}

📄 CodeRabbit inference engine (.cursor/rules/global.mdc)

**/*.{md,markdown,txt}: Use Google Style Guide (https://developers.google.com/style) for documentation and writing style
Use active voice; never use passive voice

Files:

  • styles/ignore/words-with-suggestions.txt
🧠 Learnings (2)
📚 Learning: 2025-12-05T13:02:17.776Z
Learnt from: CR
Repo: flanksource/docs PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-05T13:02:17.776Z
Learning: Add new tool names and acronyms to `styles/ignore/words-with-suggestions.txt` to prevent linting errors

Applied to files:

  • styles/ignore/words-with-suggestions.txt
📚 Learning: 2025-12-05T13:02:08.910Z
Learnt from: CR
Repo: flanksource/docs PR: 0
File: .cursor/rules/global.mdc:0-0
Timestamp: 2025-12-05T13:02:08.910Z
Learning: Applies to **/*.{js,ts,tsx,jsx,json} : Use only the following icons from the available icon library: access-denied.svg, activemq.svg, activity-feed-o.svg, activity-feed.svg, activity.svg, add-alarm-clock.svg, add-alarm.svg, add-alert.svg, add-certificate.svg, add-clock.svg, add-cloud.svg, add-cost.svg, add-database.svg, add-disk.svg, add-email.svg, add-firewall.svg, add-folder.svg, add-group.svg, add-heart.svg, add-inbox.svg, add-key.svg, add-list.svg, add-network-card.svg, add-node.svg, add-page.svg, add-properties.svg, add-receipt.svg, add-shield.svg, add-snapshot.svg, add-tag.svg, add-ticket.svg, add-user.svg, add.svg, and 500+ additional icons from the icon library

Applied to files:

  • mission-control/docs/integrations/index.mdx
🔇 Additional comments (6)
styles/ignore/words-with-suggestions.txt (1)

121-123: LGTM!

The new ignored words align with the Slack Bot documentation and are correctly placed in their respective sections. Based on learnings, adding tool names and acronyms to this file prevents linting errors.

Also applies to: 481-488

mission-control/docs/integrations/slack-bot.mdx (4)

1-10: LGTM!

Clear introduction that explains the bot's purpose and Socket Mode benefit using active voice.


38-46: LGTM!

Clear instructions with proper active voice usage.


69-74: LGTM!

Clear installation instructions.


153-153: The model name claude-haiku-4-5 is correct and is the official API identifier for Claude Haiku 4.5 (released October 2025). No changes needed.

mission-control/docs/integrations/index.mdx (1)

42-43: LGTM!

The Slack Bot row follows the existing table format and is correctly placed after the standard Slack integration. The Playbook-only capability aligns with the bot's purpose as an AI assistant for automated workflows.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (3)
mission-control/docs/integrations/slack-bot.mdx (3)

32-32: Use active voice.

Per coding guidelines, use active voice instead of passive voice.

📝 Suggested revision
-You'll be prompted to generate an app-level token with access to the `connections:write` scope.
+Slack prompts you to generate an app-level token with access to the `connections:write` scope.

67-67: Consider active voice for event description.

The description uses passive voice. If this is Slack's official wording, keeping it for accuracy is acceptable; otherwise, consider revising.

📝 Suggested revision (if not Slack's official text)
-| `message.im` | A message was posted in a direct message channel. | `im:history` |
+| `message.im` | Triggers when someone posts a message in a direct message channel. | `im:history` |

236-236: Capitalize "Flux" for consistency.

Product names should be capitalized consistently throughout the documentation.

📝 Suggested fix
-#### Add a flux Kustomization
+#### Add a Flux Kustomization
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e371437 and 3781e6c.

⛔ Files ignored due to path filters (3)
  • mission-control/docs/integrations/api.slack.com_apps.png is excluded by !**/*.png
  • mission-control/docs/integrations/app-level-token.png is excluded by !**/*.png
  • mission-control/docs/integrations/token-mcp-slack.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • mission-control/docs/integrations/index.mdx
  • mission-control/docs/integrations/slack-bot.mdx
  • styles/ignore/words-with-suggestions.txt
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,markdown,txt}

📄 CodeRabbit inference engine (.cursor/rules/global.mdc)

**/*.{md,markdown,txt}: Use Google Style Guide (https://developers.google.com/style) for documentation and writing style
Use active voice; never use passive voice

Files:

  • styles/ignore/words-with-suggestions.txt
🧠 Learnings (2)
📚 Learning: 2025-12-05T13:02:08.910Z
Learnt from: CR
Repo: flanksource/docs PR: 0
File: .cursor/rules/global.mdc:0-0
Timestamp: 2025-12-05T13:02:08.910Z
Learning: Applies to **/*.{js,ts,tsx,jsx,json} : Use only the following icons from the available icon library: access-denied.svg, activemq.svg, activity-feed-o.svg, activity-feed.svg, activity.svg, add-alarm-clock.svg, add-alarm.svg, add-alert.svg, add-certificate.svg, add-clock.svg, add-cloud.svg, add-cost.svg, add-database.svg, add-disk.svg, add-email.svg, add-firewall.svg, add-folder.svg, add-group.svg, add-heart.svg, add-inbox.svg, add-key.svg, add-list.svg, add-network-card.svg, add-node.svg, add-page.svg, add-properties.svg, add-receipt.svg, add-shield.svg, add-snapshot.svg, add-tag.svg, add-ticket.svg, add-user.svg, add.svg, and 500+ additional icons from the icon library

Applied to files:

  • mission-control/docs/integrations/index.mdx
📚 Learning: 2025-12-05T13:02:17.776Z
Learnt from: CR
Repo: flanksource/docs PR: 0
File: AGENTS.md:0-0
Timestamp: 2025-12-05T13:02:17.776Z
Learning: Add new tool names and acronyms to `styles/ignore/words-with-suggestions.txt` to prevent linting errors

Applied to files:

  • styles/ignore/words-with-suggestions.txt
🔇 Additional comments (4)
mission-control/docs/integrations/index.mdx (1)

43-43: LGTM!

The new Slack Bot integration entry follows the established table format, uses the correct icon, and is properly positioned alphabetically after the existing Slack entry.

styles/ignore/words-with-suggestions.txt (1)

121-123: LGTM!

The new ignore entries appropriately cover technical terms introduced by the Slack Bot documentation. Based on learnings, adding tool names and acronyms to this file prevents linting errors.

Also applies to: 481-488

mission-control/docs/integrations/slack-bot.mdx (2)

1-11: Well-structured documentation.

The introduction clearly explains what the Slack bot does and its technical approach (Socket Mode/WebSocket). The documentation provides comprehensive setup instructions with both Helm and Flux deployment options.


153-153: Replace the invalid model name with a valid Claude Haiku variant.

The model name claude-haiku-4-5 does not exist in the Anthropic API. Use claude-3-5-haiku-20241022 (latest Haiku) or claude-3-haiku-20240307 instead.

Also applies to: 231-231

@adityathebe adityathebe requested a review from moshloop January 13, 2026 07:32
@moshloop moshloop merged commit a310cc3 into main Jan 15, 2026
15 checks passed
@moshloop moshloop deleted the docs/slack-bot branch January 15, 2026 06:34
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.

Slack bot docs

3 participants