Close the loop around a coding agent with a check outside the agent, a route back for what it found, and a limit. Use a command, a reviewer agent, or a person.