# Checking the fix

How LeoPrevent checks the agent's fix again when it stops, and what the warning means when a flaw is still there.

When the agent has acted on the advice and stops again, LeoPrevent reviews the change again. The check looks at the code as it now stands, so moving a flaw somewhere else does not count as a fix.

## If the fix holds

The flaw is recorded as **Fixed** on the dashboard, and the turn ends normally.

## If the flaw is still there

If a new flaw is still there, you get a warning. The turn still ends, because the agent gets advice once per turn rather than in a loop.

```output
⚠️ LeoPrevent · your fix is still vulnerable. The re-check after your change still flags N findings:
```

The warning lists each flaw and where it is. Review that code before you ship it: ask the agent to look again, or fix it yourself. On the dashboard the flaw shows as **Unresolved** if the agent tried to fix it, or **Warned** if it left the code as it was.

## Code the agent wrote while fixing

The code the agent writes while fixing is reviewed too. Flaws there are reported to you as a warning, rather than going back to the agent:

```output
⚠️ LeoPrevent · code written after the review has N new findings:
```

## Fixed in a later turn

If the agent fixes the flaw in a later turn instead, LeoPrevent checks it again when that file changes and records the flaw as **Fixed**.

## If the check could not run

The flaw shows as **Unchecked** on the dashboard. The fix has not been checked yet; it has not failed.

These warnings show in the Claude Code terminal and in Codex. On other surfaces, check **Findings**. See [Notices missing in the Claude app](https://help.leotrace.io/notices-missing-in-claude-app/).

Source: https://help.leotrace.io/checking-the-fix/ (updated 2026-11-19)
