Skip to content

feat: Agent notifications to Slack with Ops integration (SLACK-NOTIFY) #224

Closed as not planned

Description

@pavshulin

Summary

Route agent notifications and operational events to Slack channels. This expands beyond scheduled task results to cover all notification types: task completions/failures, operator queue items, agent alerts, and custom agent notifications.

Motivation

Currently agent notifications only surface in the Trinity UI. Operators and stakeholders need to see critical agent events in Slack where they already work — especially Ops queue items (approvals, questions) that require timely human response.

Scope

Notification Types Routed to Slack

  1. Scheduled task results — completion, failure, with summary (original feat: Agent notifications to Slack with Ops integration (SLACK-NOTIFY) #224 scope)
  2. Operator queue items — approvals, questions, alerts from agents needing human input
  3. Business task validation results — pass/fail from validation sessions (see related issue)
  4. Agent alerts — cost thresholds, health issues, autonomy state changes
  5. Custom agent notifications — via send_notification MCP tool

Configuration

  • Per-agent Slack channel binding (already exists via SLACK-002)
  • Notification type filtering — choose which types route to Slack per agent or globally
  • Ops queue items include action buttons (approve/reject) where Slack supports it, or a link to the Trinity Ops UI

Message Format

  • Use Slack Block Kit for rich, structured notifications
  • Include agent name, timestamp, status badge, and relevant details
  • Link back to Trinity UI for full context

Integration with Ops

  • When an agent posts to the operator queue, the notification is also sent to the configured Slack channel
  • Operator can respond via Slack thread (if supported) or click through to Trinity
  • Acknowledgment syncs back to operator queue status

Acceptance Criteria

  • Scheduled task completions/failures post to agent's Slack channel
  • Operator queue items (approvals, questions) post to Slack
  • Notification type filtering is configurable per agent
  • Messages use Block Kit formatting with status badges
  • Links back to Trinity UI are included
  • Agent name displays correctly in Slack notifications

Activity

  1. added
    priority-p2
    type-feature
    on Mar 30, 2026
  2. changed the title [-]feat: Post scheduled task results to Slack channel (SLACK-CRON)[/-] [+]feat: Agent notifications to Slack with Ops integration (SLACK-NOTIFY)[/+] on Apr 10, 2026
  3. added
    complexity-medium
    theme-channels
    on Jun 3, 2026
  4. vybe commented on Jun 8, 2026

    @vybe
    Contributor

    Closing as outdated/superseded. The instance-level, easy-integration slice of this — agent OPS notifications routed to a single configured Slack channel via an OPS_SLACK_WEBHOOK_URL webhook (mirroring the canary pattern) — is now tracked in #1100. The broader per-agent SLACK-002 channel binding + inbound ack-sync scope here is deferred; if it's revived later it should be reopened as a focused phase-2 issue rather than this catch-all. See also #900 (incident-webhook decision).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-mediumpriority-p2theme-channelstype-feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions