How a run is triggered
An agent run starts as soon as a new incident is created, provided your project has a GitHub repository connected. If GitHub is not yet connected, you can start an investigation manually from the incident detail page by clicking Investigate.You can also trigger follow-up runs by replying in the incident’s Slack thread, leaving a comment on the agent’s PR, or submitting feedback on a completed run. Superlog tracks these as follow-up triggers (
slack_reply, pr_comment, feedback) rather than fresh investigations.What the agent does
The agent works through a structured investigation:1
Read telemetry samples
The agent reads the error events grouped into the incident — stacktraces, span attributes, log bodies, resource attributes, and any stored trace or log samples linked to each issue.
2
Query live telemetry
Using the trace IDs and service names from the samples, the agent queries live traces and logs to understand the error’s frequency, timeline, and blast radius.
3
Inspect source code
With a GitHub repository connected, the agent reads the files and functions implicated by the stacktrace. It checks the current code state to determine whether the bug is still present.
4
Identify root cause
The agent synthesizes its findings into a root cause explanation with a numeric confidence score (0–10), an estimated impact description, and an overall confidence level (
high, medium, or low).5
Open a fix PR or classify as noise
If the agent finds a code-level fix, it opens a pull request against your repository. If it determines the incident is noise or already resolved, it classifies it accordingly and auto-resolves the incident.
Agent run states
When the agent is in the
awaiting_human state, your reply in the Slack thread, a comment on the agent’s PR, or a feedback submission will resume the investigation in place — no new run is created.Result fields
When a run completes, its result contains the following fields:The numeric
confidence field uses a 0–10 scale where 10 means the agent found direct, verbatim evidence (a line of code, a matching stacktrace, a clear log message), and 0 means the finding is largely speculative. Treat scores below 4 as hypotheses to verify, not conclusions.Pull request outcomes
When the agent finds a fix, it opens a PR against the repository it identified as the most relevant. The PR record includes:
If the PR cannot be opened (for example, due to a GitHub permissions error), the run records a
pr_open_failed failure reason and you can retry delivery from the incident detail page.
Noise and resolution classifications
Sometimes the agent concludes that no PR is needed:noiseClassification— the agent determined the incident is not worth acting on. The incident status moves toautoresolved_noiseand the classification reason is stored (e.g.cosmetic_log_only,expected_third_party).resolutionClassification— the agent determined the issue is already fixed in the current code (e.g.fixed_in_current_code,transient_condition_cleared). The incident status moves toresolvedwith the reason codeagent_classification.
Resuming an investigation
Agent runs can be resumed when new signals arrive — for example, when a new error signature joins an already-investigated incident, or when a team member replies in the Slack thread with additional context. Each resume increments the run’sresumeCount counter.
The cumulativeRuntimeMinutes field tracks the total AI compute time accumulated across all segments of a run, including resumes. You can use this to understand the investigation cost for complex incidents.
Related pages
- Incidents — how incidents are created and resolved
- GitHub Integration — connect your repositories so the agent can open PRs
- Agent Memory — persistent context the agent carries across incidents
- Agent Settings — configure PR automation and automerge policies