Why coding agents delete, skip or weaken tests, and the kind your diff won’t show
Agents sometimes get to green by changing the test. Most of that shows up in the diff. Some of it only ever happens in the terminal.
Read the researchThruLine checks your agent’s claims against what actually ran, before you merge.
Not checked, version e71c5b0
Proof stops here.
Nothing on e71c5b0 has run with checkout/api.py in scope. The claim may be entirely true.
One sentence the agent wrote, and six plain questions asked of it. Each answer is a line from the record — the session log your agent already writes on your machine — with the step it came from.
Claude Code saidCheckout total fixed.
Tests pass.
step 52, example project
Said
Rests on
Ran on
Sinceneeds a re-check
Re-checkednot reachedchecking now
So
What counts as done, accepted
The re-check tests these three statements on e71c5b0. Each says what counts as done. None of them is a verdict.
Proof stops here
e71c5b0 has run with checkout/api.py in scope.Looked at: 2 finished runs (step 26 on 4b19a0c, step 46 on 9f2ad3e) and step 60, which has no result yet.
pytest -q tests/test_totals.py checkout/
Checking now
pytest -q tests/test_totals.py checkout/
The re-check, step 62
e71c5b0 with checkout/api.py in scope, and passed.Exit 0 is the code for success. Receipt, step 62, exit 0, 3 passed, 0 failed, version e71c5b0. A receipt is a signed record of exactly what ran.
This page replays the example project. Nothing runs in your browser.
The video shows v0.2.0. ThruLine 0.3.3 is the Mac app.
A diff shows which lines changed. The record shows what the agent actually ran, in what order, on which version — and so whether its “done” still holds.
A diff
checkout/api.py @@ apply_discount @@ - … + … + …
It can’t show whether the tests ran, on which version, or what changed after they did.
The record
step 46 4 passed, 0 failed on 9f2ad3e step 52 “Tests pass.” step 56 checkout/api.py changed → e71c5b0 step 60 check started, no result yet
So the run the agent cited no longer covers the version up for approval.
A Change is one feature, fix or refactor you are asked to accept. It can span several sessions. Each stage answers one plain question. Under each is the screen that answers it, rebuilt in the product’s own words.
Proposed, checkable statements, accept, edit or drop each
Suggestions start hollow. Nothing counts until you accept it.
What will be looked at
checkout-webe71c5b0There are no unsaved changes: this is exactly what is committed.
Only what was actually written down is shown here. Nothing about databases, ports, secrets or outside services is claimed.
It names the exact starting version, and claims nothing the record does not hold.
What changed in this version, version e71c5b0
checkout/api.pystep 56, 16:04Changed after the run at step 46, and after the agent said “Tests pass.”
The edit came after the run the agent cited, so that run no longer covers it.
pytest -q tests/test_totals.py checkout/Check it againon e71c5b0, asks once for this project
How a check can end
Passed, Failed, Ran, checked nothing (not a pass), Cancelled by you, Interrupted, Tool not found
Only a pass reads as a pass. It installs nothing and does not touch the network.
What review found
No review has been written down for this Change yet, so there is nothing here to read.
Asking for a review is not something this version of ThruLine can do yet.
An empty stage says it is empty, and says why.
e71c5b0Approve e71c5b0It does not merge, deploy or tell the agent anything.
Written to .thruline/decisions/e71c5b0.json in your project.
Approval names one version. If the code moves, approving is refused.
Each specimen is one claim, its six questions, and the exact point where the record stops backing it. Recorded on ThruLine’s checkout-web example project. No customer data.
proof stops at ② rests on
“Ran, checked nothing. This is not a pass.” A run that exits 0 — the code for success — having checked nothing.
proof stops at ③ ran on
The tests passed — on 9f2ad3e, one version (one commit) before the one you are approving.
proof stops at ④ since
checkout/api.py changed at step 56 (16:04), after the run and after the claim.
A check ThruLine runs can end in a receipt — a signed record of exactly what ran. Four things hold for all of it.
The same record gives the same answer, every time. No model decides a verdict.
Any change to the record shows. It is hash-chained: each entry carries a fingerprint of the one before, so a changed byte breaks the chain.
The record, the runs and the receipts stay on your disk. The core engine makes no network calls.
No meter: you are not charged per review or per run. Checks run on your machine, and no model call sits behind a verdict.
Check it yourself, offline
$ thruline verify-receipt receipt.json --key signing.pub --offline --jsonOutput of ThruLine’s qualification run on a synthetic Python test project, signed with a sample key that is not a production identity.
Seeing what your agent’s runs prove is always free: recording, every read, every check of your agent’s own runs, withdrawing an approval, exporting your own records.
Free
$05 free checks a month
Seeing what your agent’s runs prove is always free.
Download ThruLine for MacNo. The verdict path is deterministic — the same record always gives the same answer, from recorded runs you can re-run. No model decides. A local model can narrate findings in plain English after the verdict, and that is off by default.
How a verdict is reachedNever your code or sessions. ThruLine is local-first: the record, the runs and the receipts stay on your disk. The optional narrator talks only to a model on this machine. Once a day, ThruLine asks GitHub whether a new version exists; you can turn that off in Settings. Two more things can leave, and only when you start them: a licence request when you fetch one, and, if you run thruline reexec, Docker downloading the container image it needs.
They review the diff — the lines that changed. ThruLine reviews the agent’s claim against the record of what actually ran, on the version you are approving.
The full comparisonNo. It means nothing in the record establishes the claim on this version. The claim may be entirely true.
A specimen: a file changed after the runPro covers one developer. Write to us about licences for multiple developers.
PricingEvery email is answered by the person who built ThruLine, within one business day. (Not a bot, not a queue.)