feat(slack): add Slack integration with @mention-based task submission#42
Open
isadeks wants to merge 1 commit intoaws-samples:mainfrom
Open
feat(slack): add Slack integration with @mention-based task submission#42isadeks wants to merge 1 commit intoaws-samples:mainfrom
isadeks wants to merge 1 commit intoaws-samples:mainfrom
Conversation
aef74c1 to
833c770
Compare
Adds full Slack integration enabling users to submit coding tasks by mentioning @shoof in any channel or DM, with real-time emoji reactions and threaded notifications showing task progress. Key features: - @mention task submission with natural language repo extraction - Emoji reaction progression: 👀 → ⌛ → ✅ - Threaded notifications (created, started, completed/failed) - Cancel button with instant feedback - DM support for private task submissions - OAuth multi-workspace install flow - `bgagent slack setup` CLI wizard for zero-friction onboarding - Account linking via /bgagent link New files: - CDK constructs: SlackIntegration, SlackInstallationTable, SlackUserMappingTable - Lambda handlers: events, commands, command-processor, interactions, oauth-callback, link, notify - Shared utilities: slack-verify, slack-blocks - CLI: slack.ts (setup, link commands) - Docs: SLACK_SETUP_GUIDE.md with screenshots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@Shoofmentions or DMs, receive threaded notifications with emoji reaction progressbgagent slack setupCLI wizard for zero-friction onboarding/bgagent linkslash commandWhat's included
CDK Constructs: SlackIntegration, SlackInstallationTable, SlackUserMappingTable
Lambda Handlers: slack-events, slack-commands, slack-command-processor, slack-interactions, slack-oauth-callback, slack-link, slack-notify
Shared Utilities: slack-verify (HMAC signature verification), slack-blocks (Block Kit renderer)
CLI:
bgagent slack setup(interactive wizard),bgagent slack link <code>(account linking)Docs: SLACK_SETUP_GUIDE.md with screenshots, Developer Guide updated
UX Flow
@Shoof fix the bug in org/repo#42Other changes (non-Slack)
cdk deploy -c blueprintRepo=org/repoorBLUEPRINT_REPO=org/repo— no longer requires editingagent.tsdirectly. Developer Guide updated with the new method.UpdateTraceSegmentDestinationsetup that blocks first-time deploys. Disabled to unblock new users; re-enable once the prerequisite is documented more clearly.Test plan
bgagent slack setup— full flow from scratch (deploy, create app, credentials, install, link)@Shoofmention in channel — happy path with reactions and threaded notifications/bgagent helpand/bgagent link-c blueprintRepo=org/repodeploys with custom repo onboarded