Incident response
| Name | incident-response |
| Enabled by default | No |
| Steps | 1 |
| Runs at once | up to 2 |
| Catalog | v0.51.0 |
What it does
When a warning or critical Incident opens, the incident investigator looks across the whole system (infrared-docs-internal ADR 0074): the alert, what changed before it, the affected zones' health, the alert's metric over a day and similar past Incidents. It writes a plain summary, a technical account, the Products affected and proposals a person acts on, onto the Incident, and changes nothing. Infrared starts it once per Incident; a repeat firing starts no other. The workflow ships disabled with a weekly budget of its own: every run spends model tokens.
When it runs
- On the event
incident.opened. Starts when a warning or critical Incident opens.
Steps
Rounded steps are human gates, slanted steps are promotions, and double-edged steps run automatically.
| # | Step | Type | Runs | Required | On failure | Attempts |
|---|---|---|---|---|---|---|
| 1 | investigate | AgentRole | Incident investigator | No | Fail the run | 1 |
1. investigate
Investigates the Incident read-only and reports the summary, cause, impact and proposals, which Infrared writes to the Incident.
Skipped when its AgentRole is switched off.
When it hands off to a human
Work an agent cannot finish is dead-lettered to @platform/sre. The AgentWorkflowRun shows the step as DeadLettered until a human picks it up.