Skip to content

feat(chat): /agentric helper commands — work the Tasks board from chat, no agent run (v0.432.0) - #805

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/agentric-commands
Sep 10, 2026
Merged

feat(chat): /agentric helper commands — work the Tasks board from chat, no agent run (v0.432.0)#805
vikasprogrammer merged 1 commit into
mainfrom
feat/agentric-commands

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

Adds /agentric helper commands, requested by an InstaWP operator. The server answers them directly, so they start no agent and use no quota.

Command Slack · Discord · Telegram ClickUp comment
help
tasks [open|done|all] ✅ your tasks (assigned to you, filed by you, or run as you) points you to chat
task new <title> [@agent] ✅ naming an agent assigns and starts it points you to chat
task <id> <text> ✅ adds to the task's discussion points you to chat
status · done · reopen ✅ with <id> ✅ the id is optional; defaults to the ticket's task
  • Strict grammar. A status verb only counts if it's the whole message, so /agentric done testing, looks good on a ticket stays a comment. Anything that doesn't parse is routed as before, so /agentric <agent> … still reaches the agent.
  • Checked before automations. A *-scoped Slack automation no longer starts an agent run on /agentric tasks. Channel-watch messages are not intercepted.
  • Identity. Every verb except help needs the sender resolved to a team member. An unmapped sender is told how to get linked rather than editing the shared board anonymously.
  • Slack slash command. /agentric now hands the text over with the prefix kept, so Slack parses exactly what a Discord user would type.
  • Name clash. Verbs take priority over agent names. An agent named help, task, tasks, done, reopen or status stays reachable as /<name> ….
  • Audit. Each command writes a chat.command event.

Verification

  • New scripts/agentric-commands-test.cjs (40 checks) covers:
    • the grammar and where it stays strict;
    • every verb end to end on Discord, Slack, Telegram and ClickUp;
    • that commands beat a * automation;
    • the unmapped sender;
    • that /agentric <agent> still routes.
  • The test is added to test:governance, which passes along with typecheck and the web tsc + build.

Docs: new section in docs/connectors/README.md, a new row in docs/connectors/clickup.md, and updated console help text.

⚠ This touches server and edge code, so it needs a server restart.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HA3jrB7rENd2zadgxP56Lu

…t, no agent run (v0.432.0)

A closed verb set answered by the server on Slack/Discord/Telegram/ClickUp: help, tasks [open|done|all],
task new <title> [@agent], task <id> <text>, status|done|reopen <id>. On a ClickUp ticket the ticket's
task is the default target. Strict grammar (a status verb must be the whole message) so ordinary text
and `/agentric <agent> …` route as before. Answered ahead of automations; every verb but help needs the
sender mapped to a member. Audited `chat.command`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA3jrB7rENd2zadgxP56Lu
@vikasprogrammer
vikasprogrammer merged commit 3c4a096 into main Sep 10, 2026
1 check passed
@vikasprogrammer
vikasprogrammer deleted the feat/agentric-commands branch September 10, 2026 08:53
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