Answer · trust and control
How should coding agents prove a fix works before merge?
Updated 30 November 2026
A coding agent should prove a fix with evidence it did not write for itself. Ask for four things. A new test that fails without the change and passes with it. The full test suite passing on a clean checkout. A review of the diff by a model that did not write the code. Green required CI checks. A passing test run on its own is weak proof. The agent that wrote the fix often wrote the test too.
Keelen runs these checks on its own repo. From 16 October to 30 November 2026, the second reviewer gave a clear first verdict on 254 pull requests there. It blocked 93 of them, about 37 in 100. That is one repo, and it is ours. It is not a promise for yours.
What to do, in order
Make the new test fail first
Run the new test without the fix. It must fail. Then run it with the fix. It must pass. A test that passes before the fix proves nothing about the fix.
Run the suite on a clean checkout
Use a fresh copy of the repo, not the folder the agent worked in. This catches files that were never committed. It also catches state left behind on the machine that wrote the code.
Get a second reviewer
Ask a model or a person that did not see the chat that wrote the code. Give it the diff and the request. It should try to find what is wrong, not agree.
Require green CI
Set required checks on the repo and never merge over a red one. CI runs outside the machine that wrote the change.
Watch for weakened checks
Look for removed assertions, skipped tests and loosened limits in the diff. A change that makes a test easier to pass is not proof.
Keep a person on risky changes
Review changes to money, customer data and access yourself. Checks catch some kinds of failure. They do not prove the software is right.
What Keelen's own repo shows
Keelen builds its own repo with the same checks. From 1 September to 30 November 2026 it made 1,392 coding runs there. A gate stopped 214 of them, about 15 in 100. Another 27 stopped at a provider usage limit. The test suite passed on 853 of the 870 runs that got a pass or fail verdict.
The second reviewer blocked more than the tests did
From 16 October to 30 November 2026, the second reviewer gave a clear first verdict on 254 pull requests. It blocked 93. Of those 93, 71 passed a later review after more work. So tests passed far more often than the reviewer did. We read that as a reason to ask for both. These numbers come from one repo, Keelen's own.
How Keelen checks a change
A separate adversarial reviewer reads the diff. It does not see the conversation that wrote the code. The review model comes from your project settings. Red first proof and clean checkout tests need a verified project test command. Gated auto-merge needs the repository checks and a review window you set up. Plan review, manual merge, and branch-only mode each pick where a person must decide. Check the real evidence before you accept the result.
When a person still decides
Proof does not replace a decision. Choose manual merge and every pull request waits for you. Choose gated auto merge and it needs the repo checks and a review window you set up. Plan review puts a person before any code is written.
When Keelen is not the answer
- Your repo has no tests and you will not add any. None of this proof exists without checks. Start there.
- You want proof that the software is correct. These checks catch classes of failure. They do not guarantee correct software.
- You need an audit or a certification. Keelen does not provide one.
Hand the work to a loop
Connect a repository and write what you want in plain language. Review the tested pull requests that come back.
FAQ
Is a passing test suite enough proof?
No. The agent that wrote the fix often wrote the test too. Ask for a test that failed first and a review by a model that did not write the code.
What is a red first test?
It is a new test that runs without the fix and fails. Then it runs with the fix and passes. That shows the test checks the thing that was broken.
Why run tests on a clean checkout?
A clean checkout is a fresh copy of the repo. It shows whether the change works without files or state left on the machine that wrote it.
Does Keelen always run all of these checks?
No. Red first proof and clean checkout tests need a verified project test command. Your project's setup decides which checks run. Read the evidence on each pull request.