Skip to content
NewWhy coding agents delete, skip or weaken tests, and the kind your diff won’t show
Index⌘K Download for Mac
  1. Home
  2. Specimens
  3. A file changed after the run

A file changed after the run.

The tests passed, and the agent said so. Then checkout/api.py changed at step 56 (16:04) — after the run, and after the claim.

Recorded on ThruLine’s checkout-web example project. No customer data.

The chain

Six questions, asked in order. Each answer is a line from the record of what the agent said and what actually ran, numbered step by step. A version is one exact commit of the code, like e71c5b0. Proof holds through ③ and stops at ④.

Claude Code saidCheckout total fixed.Tests pass.step 52, example projectBefore the re-run

  1. Said

    What did the agent claim?

    “Tests pass.”Claude Code, 16:03step 52
  2. Rests on

    What is that claim based on?

    4 passed, 0 failedstep 46cited by the agent
  3. Ran on

    Which version did that actually run on?

    version 9f2ad3e1 version older
  4. Sinceneeds a re-check, proof stops here

    Did anything it depends on change after it?

    checkout/api.pychanged, step 56after the run
  5. Re-checkednot reached

    Has anything checked it since?

    nothing on e71c5b0with checkout/api.pyin scope
  6. So

    So what do we actually know?

    ○ Not checkedversion e71c5b0the claim may be entirely true.

④ Since, where proof stops

Did anything it depends on change after it?

Yes. checkout/api.py changed at step 56 (16:04), after the run and after the claim. The code is now e71c5b0.

  1. 4b19a0crun 26
  2. 9f2ad3erun 46, needs a re-check
  3. edit, step 56
  4. e71c5b0now

Read it left to right, oldest first. Run 46 sits left of the edit at step 56, so what it proved belongs to 9f2ad3e — not to e71c5b0, the code you are about to approve.

Proof stops here

Nothing on e71c5b0 has run with checkout/api.py in scope.

Check it again pytest -q tests/test_totals.py checkout/

on e71c5b0, asks once for this project

What was looked at, 2 finished runs, 1 step with no result

StepRan onResultWhy it doesn’t count here
step 264b19a0c1 failed, 3 passedAn older version, and it failed.
step 469f2ad3e4 passed, 0 failedIt ran before the edit at step 56.
step 60⋯No result yetA step with no result never counts. Specimen 05 shows why.

The re-run

One press of Check it again runs the check again, on the version you are about to approve. It asks once per project, installs nothing and does not touch the network. Check it again runs your project’s own tests: cargo test, pytest, or npm test (pnpm and yarn too). Here it ran as step 62 and ended with exit 0, the code a command returns when it succeeds.

thruline ui, Change, Fix double-applied discount on checkout total

After the re-run

  1. 1, You press

    Check it again

    pytest -q tests/test_totals.py checkout/

    on e71c5b0, asks once for this project

  2. 2, It runs

    Passed

    step 62, exit 0, on e71c5b0

    3 passed, 0 failed

  3. 3, ⑥ So

    Proven

    version e71c5b0, tests/test_totals.py, checkout/

    “Tests pass.” now rests on a run on this version.

  1. Said

  2. Rests on

  3. Ran on

  4. Since

  5. Re-checked

    re-run, step 62exit 0
  6. So

    ● Provenversion e71c5b0

What to notice: the proof is a new record — step 62, on e71c5b0 — not step 46 carried forward.

The receipt

A receipt is the record of exactly what ran: the command, the version it ran on, the exit code and the counts. A sha256 fingerprint covers the whole, so one changed byte no longer matches. “Proven” always points at a receipt: a recorded run, not a re-read.

This is the checkout-web example project, so its hash stays a placeholder. A receipt from a recorded run is on the home page: ThruLine’s qualification run on a synthetic Python test project, signed with a sample key that is not a production identity.

Receiptstep 62, exit 0, 3 passed, 0 failed, version e71c5b0
command
pytest -q tests/test_totals.py checkout/
scope
tests/test_totals.py, checkout/
outcome
Passed
record
checkout-web, example project
sha256
[receipt sha256]

Check the next “done” before you approve it.

Every email is answered by the person who built ThruLine, within one business day. (Not a bot, not a queue.)