Skip to content

feat(conversation): enforce Slack MPIM participant limit (max 7 + bot)#61

Closed
xergioalex wants to merge 1 commit into
mainfrom
feat/conversation-participant-limit
Closed

feat(conversation): enforce Slack MPIM participant limit (max 7 + bot)#61
xergioalex wants to merge 1 commit into
mainfrom
feat/conversation-participant-limit

Conversation

@xergioalex

Copy link
Copy Markdown
Member

Summary

  • Slack group DMs (MPIMs) have a hard limit of 8 total members. The Dailybot bot always occupies one slot, so callers can pass at most 7 user participants.
  • Adds client-side pre-check in conversation open that rejects >7 participants immediately (both before and after dedup/resolution).
  • Handles the new conversation_too_many_participants API error code with a user-friendly message.
  • Documents the limit in the vendored agent skill (conversation/SKILL.md).

Test plan

  • dailybot conversation open -u u1 -u u2 ... -u u8 (8 users) → rejected client-side with clear error
  • dailybot conversation open -u u1 ... -u u7 (7 users) → allowed through
  • API returns 400 conversation_too_many_participants → CLI shows friendly message
  • dailybot conversation open --help renders cleanly
  • pytest passes (565/566 — 1 pre-existing unrelated failure)

Made with Cursor

Slack group DMs (MPIMs) support at most 8 total members. Since the
Dailybot bot always occupies one slot, `conversation open` now rejects
more than 7 user participants client-side before hitting the API.

- Add MAX_CONVERSATION_PARTICIPANTS constant (7)
- Pre-check identifier count and post-dedup UUID count
- Handle `conversation_too_many_participants` API error code
- Document the limit in the vendored agent skill

Co-authored-by: Cursor <cursoragent@cursor.com>
@xergioalex

Copy link
Copy Markdown
Member Author

Merged into PR #60 — all changes consolidated into a single PR.

@xergioalex xergioalex closed this Jul 12, 2026
@xergioalex xergioalex deleted the feat/conversation-participant-limit branch July 12, 2026 02:42
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