Research 17 / Track 02 / Training and post-training AI models

The code verification flywheel: how verified findings become better software

Every verified finding is evidence. Kept well, evidence compounds.

Swallowtail Systems™  /  Published November 30, 2026  /  3 min read

Key points
  • Frontier labs now build agents that find, fix and check vulnerabilities, and they validate fixes before proposing them.
  • Most organizations throw away the evidence from each review once the ticket closes.
  • A simple internal loop of finding, reproduction, fix, regression test and rule turns one review into lasting protection.

The loop the labs are building

Google DeepMind's CodeMender is described as an agent that finds and fixes vulnerabilities and validates its patches before they reach a human reviewer 1. Anthropic's Claude Ship pairs review findings with an agent that fixes failing checks and documents how to roll back each change 2. OpenAI has described using its models to remove classes of privilege escalation paths from its own systems 3. The common design is a loop: detect, reproduce, fix, verify, and only then propose.

That loop matters because, as we discuss in Verified remediation, a finding is a claim and a reproduced finding with a tested fix is evidence. Training and evaluation work increasingly favors signals that can be checked 4.

What the loop looks like inside an enterprise

An enterprise does not need to train a model to benefit from the same idea. It needs to stop discarding evidence. After a typical review, the findings live in a report and the tickets close. The knowledge of why the flaw happened, and how to catch it next time, leaves with the reviewer.

  • Finding. The file, the risk in plain words, a severity.
  • Reproduction. The exact request or test that shows the problem.
  • Fix. The change, reviewed by a person.
  • Regression test. The reproduction, kept in the test suite so the flaw cannot quietly return.
  • Rule. A static analysis rule, a template change or a line in the prompt and policy that AI tools use, so the next generated app starts safer.

Our read

This is the part of Code Verification we think is most underrated. The first review finds problems. The loop makes the second review smaller. Over time, the organization's own rules, tests and prompts carry the lessons into every new AI-built tool, whichever model writes it. We recommend that the reproductions, tests and rules stay with the client team, and we set out what stays where in each statement of work.

For teams shipping AI-built software

What this means for your team

  1. Require a reproduction for every serious finding, and keep it as a test.
  2. Turn repeat findings into static analysis rules or template changes.
  3. Feed approved secure patterns into the instructions your AI coding tools use.
  4. Track how many findings recur after a fix. That number should fall.

This is Swallowtail Systems™ analysis of public sources. Figures belong to the organizations cited, and we link every one. Nothing here describes a client engagement.

Sources

  1. Google DeepMind, "Introducing CodeMender: an AI agent for code security" (Oct 6, 2025)
  2. TechCrunch, "Anthropic launches Claude Ship" (Nov 23, 2026)
  3. OpenAI, "A thousand fewer paths to root" (Nov 4, 2026)
  4. "RLVR Datasets and Where to Find Them: Tracing Data Lineage for Better Training Data" (arXiv, 2026)
  5. Google Cloud Blog, "Find and fix software vulnerabilities with CodeMender" (July 21, 2026)

/ Next step

Want this read against your own systems?

In a 30-minute briefing we walk through what we would look for in your environment and what a written scope would include.

Request a briefing