Skip to content

Define incident-response Slack mechanism (referenced by P-07 / P-25) #900

Open

Description

@oleksandr-korin

Context

The SDLC Process Catalog (trinity-dev#1) references a Slack channel/webhook for incident notifications in two places:

  • P-07 Hotfix step 5 ("Notify team in Slack before opening the PR")
  • P-25 Incident Response step 5 ("Communicate — post status to the incident Slack channel")

The Catalog currently uses a placeholder INCIDENT_SLACK_WEBHOOK_URL env var. This is not defined anywhere today.

Until this is resolved, P-07 and P-25 cannot move from 🧪 (documented, untested) to ✅ (stable) in the Catalog.

Related to #870 (SDLC Catalog actualization).

Decision needed

Two viable shapes — team to pick:

Option A — dedicated webhook (recommended for parity with canary alerts)

  • Add INCIDENT_SLACK_WEBHOOK_URL to .env / .env.example / docker-compose.yml
  • Mirror the CANARY_SLACK_WEBHOOK_URL pattern already used by services/canary_service.py
  • /announce skill can pick it up and route incident-classified messages there
  • Pros: machine-postable from trinity agent; consistent with canary; clear opt-in
  • Cons: another env var to track

Option B — pick an existing channel by convention

  • Document a specific Slack channel name (e.g. #trinity-incidents) in the Catalog and CLAUDE.md
  • Humans post manually; no automation
  • Pros: zero plumbing
  • Cons: no machine-postable surface; relies on humans remembering the convention

Acceptance Criteria

  • Decision recorded in .claude/DEVELOPMENT_WORKFLOW.md (P-07 step 5, P-25 step 5, and the trailing "Slack incident channel" note in P-07)
  • If Option A: env var added to .env.example and referenced from the trinity remote agent config; /announce skill updated to route incident-classified messages
  • If Option B: channel name documented; remove the env-var reference from the Catalog
  • Test: post a sample incident notification (real or rehearsal) and confirm it lands

Activity

  1. vybe commented on Jun 8, 2026

    @vybe
    Contributor

    Cross-reference: #1100 (instance-level OPS notification Slack webhook, OPS_SLACK_WEBHOOK_URL) now establishes the reusable instance-level webhook primitive — Block Kit composer + best-effort fire-and-forget POST, mirroring the canary pattern. If this issue lands on Option A, INCIDENT_SLACK_WEBHOOK_URL can reuse that same plumbing rather than re-deriving it. The decision recorded here (incident comms in the SDLC / /announce flow) is still the open deliverable and is independent of #1100's product-runtime agent-notification path. (#224 — the broader per-agent SLACK-NOTIFY surface — was closed as superseded by #1100.)

  2. added
    complexity-low
    status-incubating
    on Jun 12, 2026
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-lowpriority-p2status-incubatingtheme-devextype-docs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions