Incident Commander
The Incident Commander coordinates the pipeline. It runs at the start of each incident, between stages, and at closure. What it does:- Assigns initial severity and stage based on incoming alerts
- Decides which specialist agent to run next
- Performs situational assessments when context is missing (e.g., if a stage was skipped)
- Infers missing context from available metadata when soft dependencies are absent
- Triggers the closure stage and generates the incident summary
- The Commander itself does not create approval gates. It routes to the HITL gate after the Diagnosis Specialist’s output.
- Stage routing decisions (which agent runs next)
- Triage classification (severity, affected services, impact summary) in the Triage stage
- Incident closure summary in the Closure stage
- Needs-input pauses when hard dependencies are missing (e.g., trying to skip to Resolution without Diagnosis results)
Diagnosis Specialist
The Diagnosis Specialist queries your observability tools to identify the root cause of the incident. This is typically the most time-consuming stage. What it does:- Queries metrics, logs, and traces via your connected MCP integrations
- Retrieves relevant runbooks from your knowledge base via vector search
- Builds a root cause hypothesis grounded in telemetry evidence
- Produces recommendations with risk classifications
- Stamps a confidence score per recommendation
- Telemetry tools (metrics, logs, traces) via MCP
- Runbooks from
.sureops/runbooks/ - Service topology from your
services.yamlcontract - Prior stage context from detection and triage
- In Supervised mode, always pauses after producing recommendations — the approval gate lets you review before any action executes.
- In Self-Driving mode with auto-approve enabled (or a recommendation within your configured risk ceiling), lower-risk recommendations can execute without a pause. Five things always force a human interrupt regardless of mode or auto-approve settings: P1/P2 severity incidents, any fix-PR recommendation, any recommendation whose risk is high (or wasn’t classified at all) — an unrecognized risk label fails safe into requiring approval rather than defaulting to auto-execute — any diagnosis rebuilt from incomplete evidence after an interrupted run, and any diagnosis started from the stage card while someone holds control. Only low- or medium-risk, non-fix-PR recommendations are eligible to auto-execute, and only if your organization has opted in.
- Passes the approved (or auto-approved) recommendations to the Resolution Specialist
- Root cause analysis with supporting evidence
- One or more recommendations, each with: action description, risk level, executor (agent runtime, fix PR, human, escalate, or monitor), and intent (execute-fix, reinvestigate, monitor, or escalate)
- Confidence score per recommendation
Re-investigation
If you approve areinvestigate recommendation, the Diagnosis Specialist runs again with a focus on the area you flagged. Prior rounds remain visible but inactive. The maximum number of re-investigation rounds is configurable (default: 2).
Resolution Specialist
The Resolution Specialist executes approved fixes. It runs only after a HITL-approved batch of recommendations. What it does:- Executes
agent_runtimerecommendations (Kubernetes operations, rollbacks, config changes) via your connected MCP integrations - Opens a pull request for
agent_fix_prrecommendations (code-level changes) — but only when the target service’s policy allows it (a source-revert fix needsallow_revert, a forward-diff/LLM-authored fix needsallow_forward_diff; see Post-Closure Agents for where these opt-ins live). The draft PR is opened right after diagnosis, before you approve, so you can review the diff; the Resolution Specialist merges it after approval. It’s merged only after approval — by sureops, if your org has delegated merge authority (during the private beta, every organization has by default; see Guided Onboarding Journey; if the merge fails, the PR stays open for you) — and closed if you reject. Except for a forward-diff fix, which always stays a draft for you to merge regardless of that setting - Records the result of each action (applied, failed, or skipped)
- Flags when no runtime action was possible (handing off to you if all recommendations require human execution)
- The approved recommendations from the HITL gate
- Service deployment metadata from your
services.yamlcontract (for rollback targets) - Execution context from your Kubernetes/ArgoCD MCP integrations
- The Resolution Specialist does not create additional approval gates. The approval gate is pre-resolution (at the Diagnosis Specialist stage).
- Exception: if a resolution action fails mid-execution or produces no applicable fix, the incident escalates to a human.
- Execution log with timestamps and action results
- A record of which recommendations were applied vs. handed off
resolution_no_opflag (triggers human takeover) when nothing could be executed
Executor types
Each recommendation carries an executor that determines how it is handled:Verification Specialist
The Verification Specialist validates that the fix worked. It runs after Resolution completes. What it does:- Waits a stabilization period before comparing metrics
- Re-runs the checks in the verification plan the Resolution Specialist produced against current telemetry
- Compares each check’s observed result against what was expected
- Determines whether recovery is confirmed
- Resolution results (what was changed, when)
- The verification plan produced by the Resolution Specialist
- Current telemetry via your connected MCP integrations
- Does not create approval gates in normal operation
- If recovery cannot be confirmed, the incident goes back to the Diagnosis Specialist for one re-investigation round. Only if that retry’s verification also fails does the pipeline stop and hand off to a human: the incident still closes, but with an escalated outcome and a stated reason, instead of a clean resolved close
- Per-check results (what was expected, what was observed, pass or fail, and supporting evidence) for every check in the verification plan
- An overall pass/fail verdict for the stage — any check that isn’t a clear pass (including one recorded as inconclusive) fails the whole stage; there’s no separate “partial credit” outcome
- Signals to the Commander that the incident is eligible for closure and Problem Record creation