> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sureops.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# The 6-stage incident lifecycle

> Detection → triage → diagnosis → resolution → verification → closure — what happens at each stage

Every incident in sureops moves through six stages. Each stage has a dedicated AI specialist agent, a defined set of outputs, and clear handoff criteria to the next stage.

Two independent things shape how hands-on you are. Your org's **control mode** (Supervised or Self-driving) decides whether a batch of recommendations needs your explicit approval before it executes. Separately, clicking **Take Control** on this specific incident is what makes it pause and wait for you between stages — that's available regardless of which control mode the org is in, and a Supervised-mode incident does not pause between stages on its own until someone takes control of it. See [Control modes](https://docs.sureops.ai/getting-started/core-concepts-control-modes.md) for the full breakdown.

***

## The six stages

**1. Detection**

**What it is:** The moment sureops receives an alert.

**What sureops does:** Ingests the alert, deduplicates against any open incidents, and opens a new incident record. The incident commander agent runs an initial context read — pulling relevant alerts, service metadata, and dependency context from your landscape — to prepare for triage.

**What you see:** A new incident appears in the Command Center with its triggering alerts listed.

**2. Triage**

**What it is:** Rapid severity assessment and impact scoping before deep investigation begins.

**What sureops does:** Assigns a P1–P4 severity based on alert priority and business impact signals — customer-facing impact, revenue impact, data-loss risk, and how broadly the degradation reaches across your services. Identifies which services and dependencies are in scope.

**What you see:** Severity badge, affected service list, and estimated user impact. On-call schedule–aware routing is on our roadmap but not yet available; the incident isn't auto-assigned an owner at this stage.

**3. Diagnosis**

**What it is:** Root cause analysis — the deepest and most tool-intensive stage.

**What sureops does:** The diagnosis specialist agent runs a ReAct investigation loop, pulling metrics, logs, traces, and Kubernetes state through your connected integrations. It correlates signals across services, follows the dependency graph to identify blast radius, and produces a set of ranked recommendations with confidence scores and supporting evidence.

**A brief wait for low-severity alerts:** While the AI is driving an incident, for a P3/P4 incident raised by a firing alert, sureops may first hold diagnosis until about two minutes after the incident was raised, to see whether the alert clears on its own. While overall sureops usage is high (across all customers, so this applies to every organization, BYOK included), the wait can be about four minutes instead. The timeline records why — for the longer wait, the entry is titled "Watching longer before deep investigation: platform usage is high" — and the stage rail shows Diagnosis in progress during the wait. If the alert resolves, no diagnosis runs and the incident takes the normal recovery path; otherwise diagnosis starts automatically when the wait ends. P1/P2 incidents, alerts that re-fired soon after a recent self-heal, and incidents with an elevated user-facing error rate are investigated immediately, and an incident a person has taken control of is never delayed.

**What you see:** A structured root cause analysis, per-recommendation confidence, and (if applicable) proposed change tickets. This is where the control-mode approval gate lives: in Supervised mode, the recommendations always pause here for your approval before any action proceeds.

**4. Resolution**

**What it is:** Executing the fix.

**What sureops does:** The resolution specialist executes the recommendations approved at the diagnosis gate above. Depending on the recommendation type, this may mean restarting a deployment, scaling a resource, or rolling back to a previous image via ArgoCD. A fix PR is different: its draft is opened before the diagnosis gate so you can review the diff, and it's merged only after approval — a PR containing newly written code always stays a draft for you to merge. If every approved fix is a hand-off a person has to carry out (a draft fix PR to merge, or a manual step), an incident the AI is driving (nobody has taken control) waits at this stage instead of re-diagnosing. Monitor (watch-only) recommendations neither start that wait nor count toward it. The wait shows on the Resolution card and in the timeline. Merging the fix PR resumes the incident at verification. If nobody acts within your approval timeout, it is handed to a person, who merges the fix PR if one is open and then marks the hand-offs applied. If someone holds control, the incident parks for them to mark the fixes applied. Whoever is driving, an escalation or a fix PR that fails to merge goes to a person straight away. Several carve-outs always require explicit human approval before this stage runs, regardless of mode or auto-approve settings — including P1/P2 severity incidents, any recommendation that opens a fix PR, and any high-risk action. See [Control modes](https://docs.sureops.ai/getting-started/core-concepts-control-modes.md) for how auto-approve and the risk ceiling work together, or [HITL Gates](https://docs.sureops.ai/operating-modes/hitl-gates.md) for the complete list.

**What you see:** A real-time execution log with each action's status (applied / failed / skipped). If a fix PR is opened, a link appears directly in the incident timeline.

**5. Verification**

**What it is:** Confirming the fix actually worked before declaring the incident resolved.

**What sureops does:** Re-runs the checks in the verification plan the Resolution Specialist produced, against current telemetry, to confirm the service has recovered. If recovery isn't confirmed, sureops routes back to diagnosis for one bounded re-investigation with the verification findings as context; if that retry also fails to confirm recovery, it escalates to a human rather than retrying indefinitely. It never marks an incident resolved when it can't verify.

**What you see:** The same AI Analysis card you see at every other stage — an agent badge ("Analyzed by Verification Specialist"), a confidence dial, a "Why this confidence?" reasoning panel, and the agent's stage summary stating whether recovery was confirmed. If verification finds no recovery twice, the incident closes as **escalated** — not as resolved — with the reason recorded, and you are notified. If it has a war-room channel, that channel is kept, so your team can pick up from there. (A *partial* recovery past the retry cap is handled differently: that one hands off to a human with the incident still open.)

**6. Closure**

**What it is:** Wrapping up the incident with a durable record.

**What sureops does:** Every closure gets an AI-authored stage summary — what triggered the incident, the root cause, what fixed it, and how long it took — unconditionally, preserved in the timeline alongside all agent findings and any human overrides. Separately, depending on your org's incident policy for this severity **and how the incident closed** (Settings → Incident Policy) and whether an open Problem Record already covers this pattern, sureops may open a new **Problem Record** for longer-lived tracking. The executive-ready root cause analysis (RCA) document and the knowledge-base embedding that improves future diagnosis are both properties of that Problem Record, not of the incident itself — they're only generated when a Problem Record is actually created. An incident whose policy doesn't create one (or whose pattern already has an open Problem Record covering it) gets its stage summary, but no RCA document and nothing added to the knowledge base.

**What you see:** A completed incident with its AI stage summary always present, and — only when a Problem Record was opened for this severity — a shareable RCA document and a new entry in the Problems view. Links to any opened change tickets or fix PRs appear either way.

***

## Stage flow at a glance

| Stage | Agent | Key output | Human approval required? |
| - | - | - | - |
| Detection | Incident Commander | Incident record, triggering alerts | No |
| Triage | Incident Commander | Severity, affected services | No |
| Diagnosis | Diagnosis Specialist | Root cause analysis, ranked recommendations | Always in Supervised. In Self-driving, still paused by default until you enable auto-approve or auto-execute — and **P1/P2 always pauses regardless of either setting**; this severity gate is not configurable. |
| Resolution | Resolution Specialist | Execution log, fix PRs | No separate gate — runs on what was approved at the Diagnosis gate above. Fix-PR recommendations, P1/P2 incidents, and high-risk actions always require approval there before this stage executes |
| Verification | Verification Specialist | Recovery confirmation — retries once via diagnosis before escalating to a human | No dedicated approval gate |
| Closure | Incident Commander | Stage summary always; RCA document + Problem Record only when your incident policy creates one | No dedicated approval gate |

> [!NOTE]
>
> The "Human approval required?" column above is entirely about the **control-mode approval gate** — whether a recommendation batch needs your sign-off before it executes. It's a separate thing from the stage card where you move the incident on yourself (**Continue to**, **Re-run**, **Back to**): that only appears once you click **Take Control** on this specific incident, independent of whether the org is set to Supervised or Self-driving. A Supervised-mode incident doesn't automatically park between stages by itself — it only does once someone takes control of it; a Self-driving incident, if someone takes control, parks between stages exactly the same way. See [Control modes](https://docs.sureops.ai/getting-started/core-concepts-control-modes.md) for how the two fit together.

> [!NOTE]
>
> Whether closure opens a **Problem Record** — a longer-lived investigation object that links related incidents and tracks whether the underlying root cause has been permanently addressed — depends on your org's incident policy for that severity and for how the incident closed — resolved by a fix, recovered on its own, or monitor-only (Settings → Incident Policy). Recurrence itself never changes whether that policy gate applies — but if an **open** (not resolved) Problem Record already covers the same pattern, the incident links to that existing record instead of minting a new one, so a repeat of an already-tracked pattern may not add a new row to the Problems view even when the policy would otherwise create one. See [Problem records](https://docs.sureops.ai/using-sureops/problems.md) for details.

***

Next: [Control modes — Supervised and Self-driving](https://docs.sureops.ai/getting-started/core-concepts-control-modes.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.