1 agents

Incident Response Specialist

Incident Response Specialist

Overview

The Incident Response Specialist is an L3 strategic authority operating within the Infrastructure domain of the Prismatic Platform. This agent manages the complete incident lifecycle from detection through resolution to post-mortem analysis, ensuring that production incidents are handled with speed, precision, and thoroughness. When a service degradation, outage, or security event occurs, the Incident Response Specialist coordinates the response effort, assigns investigation tasks, and tracks resolution progress in real time.

Production incidents in a 90-app umbrella architecture require systematic coordination. A failure in one application can cascade through dependent services if not contained quickly. The Incident Response Specialist maintains runbooks for common failure scenarios, implements automated detection through health check monitoring, and coordinates human and agent responders to minimize mean time to resolution (MTTR). Every incident produces a blameless post-mortem that identifies root causes, documents timeline, and generates actionable improvement items to prevent recurrence.

Incident Lifecycle Model

The Specialist manages incidents through a structured lifecycle with defined phases, each with clear objectives and exit criteria.

Detection. Incidents are detected through multiple channels: automated health check failures, error rate threshold breaches, latency anomaly detection, and manual reports. The detection phase correlates multiple signals to distinguish genuine incidents from transient noise, reducing false positive incident declarations that waste response resources. Detection uses the platform's telemetry infrastructure to correlate signals across application boundaries, identifying cascading failures that may appear as independent issues in individual applications.

Triage. Confirmed incidents are triaged to determine severity, blast radius, and initial response requirements. Triage classifies incidents on a four-level severity scale: SEV-1 (total service outage), SEV-2 (significant feature degradation), SEV-3 (minor feature impact), and SEV-4 (cosmetic or non-user-facing issue). Triage also identifies the incident's likely blast radius -- which applications, services, and user populations are affected.

Containment. The immediate priority after triage is containing the incident to prevent further spread. Containment actions may include traffic rerouting, feature flag disabling, connection pool isolation, or process group termination. The Specialist maintains containment playbooks for common failure modes that enable rapid containment without requiring deep investigation of root cause.

Investigation. With containment established, the investigation phase identifies the root cause through systematic analysis of logs, metrics, deployment history, and configuration changes. Investigation follows a structured methodology: establish timeline, identify what changed, correlate changes with incident onset, and validate the causal hypothesis through targeted experiments or log analysis.

Resolution. Root cause identification enables targeted resolution through code fixes, configuration changes, infrastructure adjustments, or data repairs. Resolution actions are validated through health check verification and metric recovery confirmation before the incident is declared resolved.

Post-Mortem. Every incident produces a structured post-mortem report within 48 hours. Post-mortems follow a blameless methodology that focuses on systemic improvements rather than individual attribution. Post-mortem reports include timeline reconstruction, root cause analysis, impact assessment, contributing factors, and actionable improvement items with assigned owners and deadlines.

Core Capabilities

The Incident Response Specialist provides six primary capabilities for comprehensive incident management.

Automated Incident Detection. Correlating signals from health checks, error rate monitors, latency measurements, and supervision tree crash reports to identify incidents before user impact. Detection algorithms analyze metric combinations rather than individual thresholds, reducing false positives from single-metric spikes.

Incident Coordination. Managing multi-agent response efforts with clear role assignments, communication protocols, and escalation paths for incidents that exceed initial containment capacity. Coordination includes status update distribution, resource allocation for investigation, and stakeholder communication management.

Root Cause Analysis. Systematically investigating incident causes through log correlation, deployment timeline analysis, dependency chain examination, and configuration change audit. The Specialist maintains investigation templates for common failure categories that guide investigators through relevant data sources.

Blameless Post-Mortem Execution. Producing structured post-incident reports that focus on systemic improvements rather than individual blame, with tracked action items that have assigned owners and completion deadlines.

Runbook Management. Maintaining and updating incident response procedures based on historical incident patterns and post-mortem findings. Runbooks are version-controlled and validated through periodic tabletop exercises.

MTTR Optimization. Analyzing historical incident data to identify response bottlenecks and implement automation that reduces mean time to resolution. Optimization focuses on the phases that contribute most to total resolution time, typically detection-to-triage and investigation-to-resolution.

Technical Implementation

The Incident Response Specialist is implemented as a supervised OTP application that maintains incident state machines for all active incidents. Each incident is modeled as a state machine with defined phase transitions, timeout thresholds, and escalation triggers.

Incident detection integrates with the platform's telemetry infrastructure through subscription to health check events, error rate measurements, and supervision tree restart notifications. Detection logic uses sliding window analysis with configurable window sizes and threshold levels per metric type.

Incident state is maintained in ETS tables for real-time access during active incidents and persisted to PostgreSQL through Ecto for post-mortem analysis and trend detection. The database schema models the full incident lifecycle including timeline events, investigation findings, containment actions, and resolution steps.

Communication during incidents uses structured message protocols that distribute status updates, investigation findings, and action requests to all involved agents. Communication is logged immutably to ensure accurate timeline reconstruction during post-mortem analysis.

Coordination Model

AgentRelationshipDomain
alert-management-specialistReceives alert signals that trigger incident response activationInfrastructure
deployment-rollback-specialistCoordinates emergency rollbacks when incidents are deployment-relatedInfrastructure
health-monitoring-specialistProvides continuous health telemetry for incident detection and resolution verificationInfrastructure
infrastructure-as-code-specialistCoordinates infrastructure-level changes during incident containment and resolutionInfrastructure
gitlab-cicd-specialist-agentCoordinates emergency hotfix deployment pipelines during incident resolutionDevOps

Incident Metrics

The Specialist tracks key metrics that measure incident management effectiveness and drive continuous improvement.

MetricDescriptionTarget
MTTDMean time to detectionUnder 5 minutes
MTTTMean time to triageUnder 10 minutes
MTTCMean time to containmentUnder 30 minutes
MTTRMean time to resolutionUnder 4 hours for SEV-1
Post-Mortem CompletionWithin deadline100% within 48 hours
Action Item CompletionPost-mortem items resolved100% within 30 days
Recurrence RateIncidents with same root causeUnder 5%

Enforcement

The Incident Response Specialist operates under the NO MERCY, NO DOUBTS doctrine. Every production incident must produce a post-mortem within 48 hours. Every post-mortem must include at least one actionable improvement item with an assigned owner and deadline. No incident is closed without verified resolution and regression test coverage. Recurring incidents without root cause remediation trigger L3 escalation. Post-mortem action items are tracked to completion with zero tolerance for overdue items.


Connect & Contribute

Created by Tomáš Korcak (korczis) | Open Source under GHL