# How each agent handles a finding

How LeoPrevent's advice reaches each agent, which agents hold the turn for the fix, and where you see the result.

The review is the same on every agent, see [The review loop](https://help.leotrace.io/how-leoprevent-works/). This page covers what differs between agents.

## When there is a flaw

| Agent | What happens |
|---|---|
| Claude Code, Codex, GitHub Copilot, Devin CLI, Hermes Agent | The turn is held and the agent gets the advice. It fixes the flaws before it stops. |
| Cursor | The turn ends and the advice arrives as one automatic follow up message, which the agent acts on. |

The advice covers new flaws in what the agent wrote, existing flaws in the code it is working on, and open findings your security tools have in those files. New flaws are always fixed. Existing flaws are fixed when that is safe, and the agent says why it left any. On every agent except Cursor this happens before the turn ends. In Cursor it happens in the follow up message.

The agent is sent back once per turn. When it stops again, LeoPrevent checks the fix. If the flaw is still there, LeoPrevent does not send the agent back again. It shows a warning where your agent shows notices (see the table below). See [Checking the fix](https://help.leotrace.io/checking-the-fix/).

## When the review finds nothing

The turn ends normally. In Claude Code and Codex, the first clean review on a machine shows one line to say so. After that, you hear nothing until there is an issue.

## When a review cannot run

The turn ends normally. Where your agent shows notices (see the table below), you get one line saying why. See [Terminal messages](https://help.leotrace.io/terminal-messages/).

## Where you see the result

| Agent | Review and advice | Notices, such as a skipped review or a fix that is still vulnerable |
|---|---|---|
| Claude Code in the terminal, Codex | In the session | In the session |
| Claude desktop app, Claude Code in VS Code, Claude Code on the web | In the agent's reply | Not shown. See [Notices missing in the Claude app](https://help.leotrace.io/notices-missing-in-claude-app/) |
| GitHub Copilot, Cursor, Devin CLI | In the agent's reply | Not shown |

Every finding, on every agent, is in the dashboard under **Findings**.

Source: https://help.leotrace.io/how-agents-handle-findings/ (updated 2026-11-19)
