# Triage issues

An issue groups the runs that share one problem, with a severity and a state. Read what the runs share, then resolve or ignore it.

An issue is one problem together with every run that shows it. Its page says what the runs share and how to stop them. A run can be part of several issues.

## Runs with one problem share an issue [#runs-with-one-problem-share-an-issue]

Your payments agent gives three customers a phone number to call about a refund. None of them said that number, and no tool result contained it. Amiril's **grounding check** catches a value like this, one the agent stated with no source in the run. The first run it flags starts an issue on the payments agent, and the other two join it:

| Issue | Kind | Severity | Runs |
| --- | --- | --- | --- |
| Stated a phone number the user did not give | Grounding check | Critical | 3 |

A fourth run with the same problem joins the same issue.

## What starts an issue [#what-starts-an-issue]

The **Kind** column on the Issues page says what grouped an issue's runs:

| Kind | Runs that join |
| --- | --- |
| Grounding check | The agent stated a time, a date, a phone number or another number that no tool result or earlier message contains |
| Concept match | A check found **Frustration or anger**, **Says they already said it**, **Did not understand** or **Leaves without a resolution** in the conversation |
| Topic | The run is in a topic labelled **Bad**, or in a topic the [investigator suggests](#issues-the-investigator-suggests) |
| Outcome | The run did not succeed, in a run topic where runs usually do |
| Rarity | The run is an [anomaly](/monitor/signals#set-your-review-budget), and its strongest rarity factor matches the other runs'. For example, the same tool argument was unusual in each |

Grounding check and Concept match are both [checks](/monitor/signals#the-four-kinds-of-signal).

A check or a topic starts an issue from a single run. Outcome and rarity issues need three runs that share the problem, or one run you confirm. Until then, those runs wait for review on the Anomalies page. [Find a run](/monitor/runs#find-a-run) shows how to open that page.

## Read an issue [#read-an-issue]

Open **Issues** in the sidebar. The list shows the open issues, most severe first. Select one to open its page.

Amiril's **investigator** reads a sample of the issue's runs with an AI model. Its write-up of what they share is under **What is happening**. **Fix** shows the rule it would add to stop these runs. When no rule can, it suggests another change, such as new instructions or taking a tool away. See [rule suggestions](/rules/suggestions).

The page also has a **Runs per day** chart and a **History** of each change to the issue, with who made it. Select a run in the **Runs** table to open its [run page](/monitor/runs).

## Set the severity [#set-the-severity]

Each issue is Critical, High, Medium or Low. Amiril sets it from what started the issue.

| Severity | Issues |
| --- | --- |
| Critical | Grounding check |
| High | A topic labelled **Bad**, or the concept **Leaves without a resolution** |
| Medium | The other concept matches, and issues the investigator suggests |
| Low | Outcome and rarity |

To change it, pick a severity from the menu at the top of the issue's page. The option that starts with **As detected** hands the choice back to Amiril.

## Resolve or ignore an issue [#resolve-or-ignore-an-issue]

The Issues page has a tab for each state: **Open**, **Resolved** and **Ignored**. You move an issue with the buttons at the top of its page.

| State | How it gets there | What happens next |
| --- | --- | --- |
| Open | Amiril forms it, or you select **Reopen** | It takes new runs |
| Resolved | You select **Mark resolved**, or Amiril resolves it once its fix is in force | It returns to Open if it happens again |
| Ignored | You select **Ignore** | It keeps counting its runs and returns to Open if they reach about three times their old daily rate |

Ignoring a rarity issue quiets the rarity factor its runs share for this agent. Marking runs as normal does the same. [What your reviews teach Amiril](/monitor/signals#what-your-reviews-teach-amiril) explains the effect. Ignoring a topic's issue gives the topic the **Ignore** label.

To keep an issue out of the Slack digest without closing it, use the **Alerts** menu. See [Send alerts to Slack](/monitor/alerts#acknowledge-or-snooze-an-issue).

## When Amiril resolves an issue [#when-amiril-resolves-an-issue]

A fix is a rule made from the issue, or a tool taken away from the agent. A rule counts once it is in [Enforce](/rules#drafts-and-modes) in this environment and your agent's SDK has fetched it. A tool counts at once when you select **Revoke** on the [access suggestion](/rules/suggestions) shown on the issue's page.

After that, Amiril waits for a quiet period with no new runs in the issue, 2 days by default. You change the period on the **Resolving fixed issues** page in **Settings**.

## When an issue returns [#when-an-issue-returns]

A resolved issue that happens again returns to Open with a **Back again** badge. An ignored issue that grows returns with **Grew since ignored**. Its page says when you closed it and how many runs have had it since.

## Issues the investigator suggests [#issues-the-investigator-suggests]

When Amiril names a new run topic or turn topic, the investigator reads a sample of it. It asks its AI model whether the sample shows the agent getting something wrong or the user left unhappy. If so, it opens a Topic issue with a **Suggested by the investigator** badge. When the model is unsure, it opens nothing. Select **Confirm** to label the topic **Bad**, or **Reject** to label it **Benign**.

## Next steps

- [Find a run and see why it was flagged](https://docs.amiril.ai/monitor/runs.md): Open a run from an issue, the Anomalies page or the Traces page and see why Amiril flagged it. Then review it to teach Amiril which rarity factors are noise.
- [Send alerts to Slack](https://docs.amiril.ai/monitor/alerts.md): Connect Slack once, then choose the channels each environment's alerts go to. Get a daily digest and a message when an issue forms at High or above.
- [Read and label topics](https://docs.amiril.ai/monitor/topics.md): Amiril groups each agent's runs and turns into topics. Structural, run and turn topics show what an agent does. Label one Bad to flag every run in it.
- [Review rule suggestions](https://docs.amiril.ai/rules/suggestions.md): Amiril drafts a rule for an issue and tests it on your past runs. Read the evidence it shows, then dismiss the suggestion or create the rule as a draft.

## More detail

- [Signals, issues, topics and suggestions](https://docs.amiril.ai/assistant/detection/signals.md): What Amiril says about a run and what each field means: checks, topics, rarity factors, outcome, issues, issue alerts, verdicts and suggestions, as the MCP tools and API return them.
- [HTTP API: issues](https://docs.amiril.ai/assistant/api/issues.md): The issues routes of Amiril's HTTP API: 19 operations, each with its parameters, request body, responses and token access.
