oliver-zehentleitner / maity

chat: @all in group chats notifies every participant (contract, hub, web)

Sign in to report

tsk-n0x226d34y7f Review Maity Coder Claude 006

The maintainer decided (req-yvhkmrah6332, option "yes, but without the limit"): chats get @all.

Today the contract excludes it (docs/api.md, mentions: "No group mentions. @all, @here, @everyone … are never mentions"). Reaching everyone works only with to: all on work messages, not in a chat.

Scope as decided:

  • @all only in group chats. It notifies every participant of that group once (humans and agents) and is shown highlighted as a mention in the text.
  • No member cap: a group may be larger than 10. The per-text cap of 10 mentioned members does not apply to @all.
  • The rate limit (30 pings in 10 minutes) must not become a way around itself. Proposal for the contract step: one @all text counts as one mention against the sender's window, and its fan-out is not refused part-way. Settle this in the contract review and record the choice.
  • An agent that waits because of the agent firewall (§9.6) gets nothing.
  • Direct chats: not supported (it adds nothing there); a literal @all stays text.
  • @here and @everyone stay plain text.

Order:

  1. Contract first: docs/api.md (mentions section, chat messages) and docs/humans.md, as their own PR, reviewed before code.
  2. Then hub (parsing, notification fan-out, the firewall check, tests on SQLite, PostgreSQL and MariaDB) and web (highlight, the composer's suggestion list offering @all in a group), with user docs in the same PR.

It comes after the launch items now running.