[epic] Build a member-facing helper bot
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 8/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- javascript
Research direction
This is a tracking epic, not a starting task; the work lives in its child issues (#68, #70, #71, #239, #240). Read the design spec at docs/superpowers/specs/2026-07-05-helper-bot-epic.md and the helper feature in discord-bot/src/helperService.js to understand the boundaries. Pick a single child issue with a clear scope, and treat this epic as done only when its listed children are closed.
Written by the indexing model from the issue text.
Description
Current delivery status
Helper threads, reply follow-ups, private DMs, per-user limits, LLM tool support and long-message handling are merged. The authorized executor (#71 / PR #290) and channel configuration (#239 / PR #298, with append in #303) are also merged. Cited staging channel answers and actual Discord delivery have passed, including the passage-length and editor-link fixes (#309/#312). #278 closed on October 28 after Ethan confirmed he had tested it and requested closure. #72 remains deferred. The other open native child, #382, tracks production policy-refusal handling and recovery of later harmless requests in the same thread. The separate indexing-to-retrieval gate #277 is complete.
Area
bot, service, docs-system
Outcome
Members need answers grounded in UTMIST documents in server threads and personal DMs. Channel answers use the configured teams' group access; DMs use the authenticated person's full document access. This epic owns the bot experience and guardrails; #77 supplies access configuration and #125 supplies retrieval.
Definition of done
- #66 provides @mention-triggered threads, personalized LLM responses, and follow-up context.
- #68 enforces per-user request/spending limits before additional paid calls.
- #70 exposes tool-use responses from the LLM service.
- #71 implements the bot client and executor for authorized, explicitly safe tools, tested with mocked retrieval and enforced round/cost limits.
- #239 lets admins configure channel access.
- #240 adds personal DM conversations.
- #71 implements and tests trusted destination context, authorization, history/cache invalidation and publication checks with mocked retrieval.
- #278 connects retrieval and configured channels to DM/thread answers. Closed on Ethan's testing confirmation on October 28; its acceptance note and original citation/follow-up/revocation/scope-change criteria remain in the issue.
- #72 provides confirmed, triage-gated bug intake if that deferred work is resumed; it remains deferred and is not part of the current delivery focus.
- #382 distinguishes policy refusals from outages and restores later valid requests in the affected thread.
Ownership
discord-bot owns helper threads, DMs, channel configuration commands, member context, consumer limits, tool execution, and bug intake. services/llm owns the reusable tool-use API (#70). Retrieval is owned by #125 and consumed here.
Parallel work
#70, #176, #210 and #238 are complete, and retrieval's shared contract/fixture is available. #71 and #239 are implemented and merged. #278's integrated DM/channel and access-change work is closed on operator acceptance after the shipped release. Basic DM transport (#240) is complete. #72 remains deferred.
Task breakdown
| Task | Area | Effort |
|---|---|---|
| #68 — Limit helper-bot requests and spending per user | bot | S |
| #70 — Add tool-use support to the LLM chat endpoint | service | L |
| #71 — Build the authorized bot tool executor | bot | M |
| #278 — Integrate document answers in DMs and configured channels | bot, docs-system, integration | TBD |
| #72 — File member bug reports into a triage inbox | bot, integration | M |
| #239 — Configure channel access through the bot | bot | M |
| #240 — Chat with Misty in DMs | bot | M |
Earlier decisions and completed history
Completed children: #66, #68, #70, #71, #235, #239, #240, #252, #276, #278 and #310. Additional shipped bot capabilities include authenticated command tools (#311) and public replies/batch confirmations (#314). Their existing issue states and discussions retain the completion, cancellation, or supersession details.
Scope and implementation notes
Design: docs/superpowers/specs/2026-07-05-helper-bot-epic.md.
Implementation boundary: This is an in-process feature of discord-bot/src/helperService.js, not a separate service. Reuse the Discord client, principal.js, directory/doc clients, and LLM service #33 over authenticated internal HTTP. The bot owns thread/context orchestration, shares the bot deployment, and needs the privileged Message Content intent.
Delivery tracking: Children: #66, #68, #70, #71, #72, #235, #239, #240, #278. #235 retains reply-triggered follow-ups inside helper threads. The mocked executor task #71 and the indexing-to-retrieval gate #277 are complete; #278's separate document-answer integration/acceptance is now closed on Ethan's testing confirmation. The current priority is RAG and related access work; retaining #72 here does not resume bug work.
Out of scope: Building the retrieval substrate (#125); this epic consumes it.
Working conventions
Filed tasks are direct sub-issues of this epic. GitHub Relationships record the existing hard prerequisites; the task table summarizes the work and existing project Size estimates. Keep each task independently reviewable and normally within one CODEOWNERS zone; explain deliberate cross-zone changes. Misty issues may carry several area labels; zones apply to PRs. Follow AGENTS.md and the affected service's CONTRIBUTING.md for implementation, tests, and documentation.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 31
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UTMIST/Misty
-
area/tooling automation/health
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Epic: Protect live meeting Q&A and deliver recording outputs to the intended audiencePossibly taken @kr1shap claimed this 1 day ago. Openarea/bot area/docs-system area/integration area/service epic on hold
UTMIST/Misty#489 · 1 assignee ·
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
area/bot on hold type/bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
Use a verified ingress boundary for gateway client IPsPossibly taken @qiuethan claimed this 2 days ago. Openarea/deployment area/observability area/service type/bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
[Doc]: Feedback for `/zh-cn/v0.30.0/tutorials/models/Qwen3.6-35B-A3B.html`A3社区配置和基线不一致,社区配置也达不到基线Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
vllm-project/vllm-ascend#24429 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nq-rdl/agent-extensions#623 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vortex-data/vortex#12633 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gke-labs/kube-agents#7955 ·
Maintainers usually reply within 1 day