Skip to content

feat(bot): Improve Slack-native AI Assistant behavior#2842

Merged
RSO merged 7 commits intomainfrom
RSO/tame-lotus
Apr 28, 2026
Merged

feat(bot): Improve Slack-native AI Assistant behavior#2842
RSO merged 7 commits intomainfrom
RSO/tame-lotus

Conversation

@RSO
Copy link
Copy Markdown
Contributor

@RSO RSO commented Apr 28, 2026

Summary

  • Add Slack Assistant API handlers that seed Kilo-specific suggested prompts when assistant threads start or context changes.
  • Replace bot message reaction progress indicators with Slack typing/status behavior while bot and Cloud Agent work is in progress.
  • Request the Slack assistant:write scope required for assistant prompt/status APIs.

Visual Changes

slack-typing.mp4
CleanShot 2026-04-28 at 13 30 12@2x

Reviewer Notes

  • Slack app configuration must subscribe to assistant_thread_started and assistant_thread_context_changed events for the new handlers to fire.
  • Existing Slack installs may need reauthorization to grant the added assistant:write scope.

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot Bot commented Apr 28, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0

Fix these issues in Kilo Cloud

Issue Details (click to expand)

WARNING

File Line Issue
apps/web/src/app/api/internal/bot-session-callback/[botRequestId]/route.ts 549 Cosmetic typing update can throw before callback finalization, leaving bot requests pending when Slack token lookup/status fails.

Resolved

File Line Issue
apps/web/src/lib/bot/assistant-prompts.ts 45 The helper/test mismatch from an earlier review remains resolved; the stale helper and test are deleted.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
Files Reviewed (1 file)
  • apps/web/src/app/api/internal/bot-session-callback/[botRequestId]/route.ts - 0 new issues; 1 carried forward

Reviewed by gpt-5.5-20260423 · 468,629 tokens

@RSO RSO changed the title feat(bot): add Slack assistant prompts feat(bot): Improve Slack-native AI Assistant behavior Apr 28, 2026
Comment thread apps/web/src/lib/bot/assistant-prompts.ts Outdated
@RSO RSO force-pushed the RSO/tame-lotus branch from e983001 to 061db59 Compare April 28, 2026 11:05
Comment thread apps/web/src/app/api/internal/bot-session-callback/[botRequestId]/route.ts Outdated
@RSO RSO enabled auto-merge (squash) April 28, 2026 11:57
@RSO RSO merged commit c1aeb7b into main Apr 28, 2026
16 checks passed
@RSO RSO deleted the RSO/tame-lotus branch April 28, 2026 11:58
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.

2 participants