Repository navigation
Add isolated Slack report delivery and persistent incident threads - #122
Open
JeffPengCoder wants to merge 7 commits into
Open
JeffPengCoder wants to merge 7 commits into
JeffPengCoder wants to merge 7 commits into
Conversation
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
JeffPengCoder
requested review from
RohanAdwankar and
kgengedullay
as code owners
November 19, 2026 08:20
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
This branch has not been deployed
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.
Description
Adds an optional standalone Slack DM bridge for delivering a completed incident report and continuing the investigation in that report's thread. For example, a GPU incident report opens one allowlisted user's DM thread; a later request to collect logs and consult the Research Agent is routed to a dedicated, permanently View-mode MOSAIC headless session with that complete report. Restarting the bridge preserves the binding and event deduplication.
The component keeps Slack Bot/App credentials outside the agent runtime, supports bridge-only mounted credentials or an on-demand Unix-socket credential broker, and includes a minimal DM App manifest and Kubernetes deployment recipe. Its durable inbox/outbox records receipts and stops ambiguous sends rather than blindly duplicating them. No new npm dependency is introduced, and the existing native Slack channel is unchanged.
This PR is based directly on
main. Alert intake and investigation remain separate: #89 owns those capabilities, while this bridge accepts complete reports through an authenticatedPOST /incidentscontract. A direct #89 publisher adapter is not included; setting its native delivery channel to Slack does not select this bridge. There is no dependency on #115.Closes #121.
Optional channel mentions
Set
allowedChannelsto reviewed channel IDs and the users authorized in each channel. The same bridge receives explicitapp_mentionevents, verifies the App's membership in a workspace-local channel, and posts a fixed acknowledgment in the original thread. The investigation response and follow-up go to a private View-only thread. Standalone DM and incident delivery permissions use the existingallowedUserIdssetting. The DM manifest stays minimal. The guide shows the optional channel metadata scopes and event subscription.Validation
Linux CI and documentation CI both passed for commit
c6e876ce4c055328be5a01bf9e6c58fabd9a3c28.helm lint,helm template, the agent-documentation freshness check, andgit diff --checkpassed. Pinned chart dependencies were reused from an existing local cache after the private registry download required authentication.sphinx-build -E -W --keep-going; deployment YAML parsing and process/volume isolation checks passed.PermissionError. That complete suite subsequently passed in Linux CI.The follow-up commits add same-organization Enterprise Grid DM verification and channel mention handling. Commit
86c21efpassed the Node 24 repository suite with 282 passed, 2 skipped, and 0 failed. Tests cover sender/channel allowlists, membership and sharing checks, durable deduplication, recovery, channel acknowledgments, and private answers with thread continuity.Slack transport smoke tests confirmed a real DM thread with a fixed test response and receipt of a real
app_mention. A separate run used synthetic Slack fixtures and the deployed MOSAIC API to verify the channel acknowledgment and private answer destinations. Full live Agent deployment remains pending.Checklist