You need to have multiple specialised agents, all with the ask to check probability and impact, the latest versions of frontier models do a good job to find out. The most important is harness engineering, what we do at dromeas.ai to verify the code that goes to prod is a)have the code mapped before hand for the right agentic context, b)specialised agents c)an LLM council as 2 frontier models are hard to miss d)deduplication step . All before assessing a PR, a commit, a release. It is not easy, harness engineering is tough