Proposal: Slack-style composer slash commands on mobile
Proposal
Add Slack-style composer slash commands to the mobile app. People who move from Slack type /away, /invite @sam, or /remind me … in 20 minutes by habit. Today Buzz sends that text as a message.
Each command is a typed entry point to an action the app already has. It uses the same code path, permission checks, and relay events as the normal UI. The one exception is /remind, which adds standalone (note-only) reminders and a time parser.
Design points to agree on
- Agents keep their commands. A draft that starts with a mention, or whose first token is not a Buzz command, sends unchanged. buzz-acp still passes
/reviewand other agent commands to the agent (extract_slash_command). - Command set.
/away,/active,/status,/invite,/remove,/join,/leave,/who,/rename,/archive,/mute,/dm,/huddle,/shrug,/remind. Slack names that differ (/kick,/part,/members,/msg) are hidden aliases. - Left out. Commands with no Buzz equivalent (
/dnd,/search,/me, and others), plus/topicand/gif, because mobile has no surface for them. - Failures keep the draft. A usage error, a permission denial, or an offline send shows the reason and keeps the text.
/remindwire format. A kind 30300 event with onlydandnot_beforetags, and NIP-44 content{"note":…,"status":"pending"}with no target.
The full contract is docs/slash-commands.md in #8803.
Status
The work is a stack of draft PRs: #8803 (spec), then #8808, #8812, #8814, #8815, #8816 and #8813. Each PR has local-relay validation evidence in its description.
The maintainers are focused on bug fixes before launch, so this is parked until after launch. The PRs stay drafts, and nobody needs to review them now. Comments on the design are welcome at any time.
The desktop PRs were closed, because desktop/ is the deprecated Buzz 0.X app (#8840). The desktop version is a separate draft stack in block/buzz-app, starting at block/buzz-app#2069 (host command contract and /shrug), with #2072, #2075, #2076, #2077 and #2078 on top. It is parked on the same terms.