Automated incident triage and remediation, without chaos.
AI incident response with Cordum means agents triage alerts and propose or apply bounded fixes while the Safety Kernel evaluates policy, routes risky changes to approvers and records redacted evidence.
What is automated triage and remediation?
Automated triage and remediation is an incident response pattern where AI agents investigate an alert, gather evidence, and score its risk, then execute a bounded fix. Triage classifies and prioritizes the incident; remediation applies the corrective action under policy checks, approval gates, and a full audit trail.
Respond faster, stay accountable.
Policy decisions and audit trail for every incident workflow.
How AI incident triage works with policy in front
Collect evidence, request approval, and remediate with enforced constraints.
The agent never talks to production directly. Every action it wants to take, from reading logs to restarting a service, is submitted as a job. Before a worker receives that job, the Safety Kernel evaluates it against the policy bundle and returns one of four decisions: ALLOW, DENY, REQUIRE_APPROVAL or ALLOW_WITH_CONSTRAINTS. The decision is made on the action's properties (topic, capability, risk tags, environment), not on what the model says about itself.
Triage is mostly read-only, so it runs at machine speed. The agent pulls the alert payload, the relevant logs, recent deploys and metrics, then proposes a cause and a fix. The moment the proposed fix carries a production write tag, the policy returns REQUIRE_APPROVAL and the run pauses. The on-call engineer sees the evidence the agent gathered, the exact change it wants to make and the constraints that will apply, and approves or rejects it in one step.
If the fix is approved, the worker executes inside the constraints the policy attached: a runtime cap, a change-size cap, a single target. The result, the decision and the approval are written to the audit trail as one timeline, so the postmortem starts with evidence instead of a Slack scroll.
name: incident-response
steps:
- id: ingest
uses: worker.alert.ingest
- id: triage
uses: worker.incident.triage
- id: approval
type: approval
reason: "Prod write detected"
- id: remediate
uses: worker.incident.remediate
requires: ["prod", "write"]
constraints:
max_runtime_sec: 900
max_lines_changed: 200rules:
- match:
risk_tags: ["prod", "write"]
decision: REQUIRE_APPROVAL
- match:
capability: "incident.remediate"
decision: ALLOW_WITH_CONSTRAINTS
constraints:
max_runtime_sec: 900Safety Kernel Active: Pair incident packs with policy bundles to keep remediation safe, explainable, and auditable.
Risk tiers for remediation actions
Most incident actions are safe to automate. The policy only slows down the ones that can make an outage worse.
| Tier | Typical actions | Policy decision | Gate |
|---|---|---|---|
| Read-only diagnostics | Fetch logs, query metrics, describe a pod, read a config map | ALLOW | None. Triage should never wait on a human. |
| Bounded, reversible fixes | Restart one service, scale a deployment within a range, clear a cache | ALLOW_WITH_CONSTRAINTS | Constraints bound scope: one service, one region, a runtime limit. |
| Production changes | Config change, rollback, feature-flag flip, database migration | REQUIRE_APPROVAL | A named on-call engineer or service owner approves before dispatch. |
| Destructive or privileged | Delete data, rotate credentials, change IAM policy | DENY | Blocked for agents by default. A human runs these from a runbook. |
Tiers are expressed as policy rules that match on risk tags and capabilities, so the same bundle governs every agent that submits incident work. When a team wants to promote an action from "needs approval" to "bounded and automatic", it changes one rule, simulates it against recent runs and publishes a new snapshot. The agent code does not change.
Approval gates and constraints
Two different tools for two different risks: a gate decides whether an action runs, a constraint decides how far it can reach.
An approval gate is a REQUIRE_APPROVAL decision bound to the exact job it was raised for. The approval record carries the job hash and the policy snapshot, so an approval cannot be replayed against a different payload or a different rule set. If the agent revises its proposed fix, the gate is raised again. Approvers see a short decision summary (what, why, next effect) instead of a raw log dump, which is what keeps median time-to-decision low during an incident.
Constraints come from ALLOW_WITH_CONSTRAINTS and travel with the job to the worker. Examples of constraints a policy can express are a maximum runtime, a size limit on the result, a single target service or region, and an allowlist of endpoints the worker may call. Constraints are attached by the policy, not chosen by the agent, so a bounded fix stays bounded even when the agent reasons badly.
- Gate production writes, rollbacks and flag flips. Do not gate reads.
- Bound restarts and scaling to one service and one region per job.
- Give every gated action a timeout: escalate on expiry, never auto-approve.
- Route by ownership: the service owner approves changes to their service.
Evidence for post-incident review
A postmortem needs to answer who decided what, under which policy, with what result. The run timeline answers all three.
Every job the agent submits leaves a record whether it ran or not. Denied actions are as useful in a review as executed ones: they show what the agent wanted to do and why the policy stopped it. Because decisions are recorded by the Safety Kernel and the scheduler, not by the agent, the trail does not depend on the model remembering to log.
Results pass through output safety before they are stored. Secrets and PII found in command output or API responses are redacted, and anything that matches a quarantine rule is held for a human instead of being written into the incident record. The review gets the evidence it needs without a second incident about the postmortem document.
What the record contains
- The alert payload and the evidence the agent collected during triage.
- The policy decision (ALLOW, DENY, REQUIRE_APPROVAL, ALLOW_WITH_CONSTRAINTS), the matched rule and the policy snapshot that produced it.
- Who approved or rejected a gated action, when, and with what comment.
- The constraints that bounded the remediation and whether the worker stayed inside them.
- The result of the action with secrets and PII redacted before it is stored.
Runbooks and further reading
Start with one alert class, one bounded fix and one approval rule. Expand once the evidence shows the agent gets it right.
- How to add approval gates to AI agents
- What is AI agent governance?
- Safety Kernel decisions (docs)
- Audit trail reference (docs)
Related reading
- Guide
Automated AI Incident Triage & Remediation Guide
Build automated incident triage and remediation with AI agents using risk tiers, approval gates, rollback rules, and runbook-ready workflows.
13 min readMar 30, 2026 - Guide
AI Agent Rollback and Compensation: Production Saga Patterns
How to design rollback and compensation for autonomous AI agents with policy gates, idempotency, and audit-ready execution evidence.
11 min readMar 1, 2026 - Guide
AI Agent Blameless Postmortem Template: What to Capture After Incidents
A practical blameless postmortem template for autonomous AI systems with policy-path evidence, replay checks, and corrective action tracking.
11 min readApr 8, 2026 - Guide
AI Agent Circuit Breaker Pattern: Stop Cascading Tool Failures
How to implement circuit breaker controls for AI agents with policy fail modes, retry boundaries, and production observability.
10 min readMar 10, 2026
Frequently Asked Questions
What is automated triage and remediation?
What is triage in automation?
Can AI agents auto-remediate incidents safely?
More governed workflows.
Explore other high-stakes automation patterns.