Dev.to AI 🤖 Ai 👁 0 📖 6 min read

Putting the Last-Read Time on the Diff Doesn't Catch a Stale Read

A timestamp on the approval diff does not catch a stale read. I know, because I put one there and watched the reviewer walk straight past it twelve times. Then I added the flag itsvicmoreno asked for, the line that says

Putting the Last-Read Time on the Diff Doesn't Catch a Stale Read

A timestamp on the approval diff does not catch a stale read. I know, because I put one there and watched the reviewer walk straight past it twelve times. Then I added the flag itsvicmoreno asked for, the line that says the read is past the limit, and the reviewer still held everything. The flag changed something real. It just was not the verdict.

The setup is the same order from the last piece about approvals. Order ORD-2091, a refund of $12, amount $49 down to $37, one Python book at $29 and one video pack at $20. The reviewer sees only the diff: the proposed change, then the agreed fields as read from the provider record, then when the record was last read. What the reviewer never sees is what changed after that read. In ten of the twelve trials the provider record had moved. The amount was now $41, an $8 adjustment already landed. Or the status was now refunded, the refund already went through. Or the video pack was gone from the order. The read was between 25 minutes and 8 hours old. Two trials were fresh controls, nothing had changed since the read, 12 and 35 minutes old. A hold on a stale trial is a catch. A hold on a fresh control is a false alarm. An approval on a stale trial is the miss the whole test is about.

The reviewer is a small local model, Qwen 2.5 with 1.5 billion parameters, answering at temperature zero, one word first, APPROVE or HOLD, then one sentence saying why. Small on purpose. A big model would have opinions about everything and I would not know which part of the diff moved it. A small one has fewer places to hide.

Arm A carried a plain timestamp and nothing else. "Provider record last read: 2026-11-24 12:35 (25 min ago)." Eight of the ten stale trials came back held, and the other two never came back at all, the calls timed out after five minutes each. I am counting those as errors, not catches, because no verdict arrived. The two fresh controls both came back held. So in arm A the reviewer held ten out of ten completed trials, stale and fresh alike, and never once mentioned the age of the read in any reply. Not once in ten. The reasons it gave were about the refund itself. The amount dropping from $49 to $37 is a significant reduction. The status is paid, so it cannot be refunded. The book alone is not a complete purchase. Every one of those reasons is wrong about this order, the customer agreed to exactly this change, but they are the reasons a cautious reviewer reaches for when the diff gives it nothing better to hold onto. The timestamp was on the page the whole time. The reviewer read past it like it was a footer.

Arm B added the flag itsvicmoreno suggested in his follow-up: past the sixty-minute limit, the diff gains a line in plain language. "STALE READ, provider record read 1 hour 35 minutes ago, past the 60-minute limit. Read it again before approving." Nine of the ten stale trials came back held, one timed out, and both fresh controls timed out too, so arm B has no control data at all and I am saying that plainly instead of borrowing arm A's. But the nine replies that did come back split in a way the verdicts never show. Below the limit, at 25 and 40 minutes, the reviewer gave the same refund reasoning as arm A. Past the limit, at 95 minutes and beyond, every single reply cited the age and the limit. "The provider record was read 1 hour and 35 minutes ago, which is past the 60-minute limit." "The provider record was read 8 hours ago, which is past the 60-minute limit." Word for word, the flag became the reason.

Here is the table, because the verdicts alone would mislead you.

Plain timestamp Timestamp plus flag
Stale trials held 8 of 8 completed 9 of 9 completed
Stale trials missed (approved) 0 0
Fresh controls held 2 of 2 no data, both timed out
Fresh controls approved 0 no data
Calls that timed out 2 of 12 3 of 12
Replies mentioning the read age 0 of 10 6 of 9

Read that table the wrong way and you conclude the flag changed nothing. Nine holds either way, zero misses either way. Read it the right way and the flag is the only thing in the whole run that changed anything at all. Without it, the reviewer held a stale read for the wrong reason, the size of the refund. With it, the reviewer held a stale read for the right reason, the read is old. The verdict is identical. The explanation is not, and the explanation is what the next person in the queue acts on. A hold that says "the refund looks big" sends someone to re-check the refund. A hold that says "the read is eight hours old" sends someone to re-read the provider record. Only one of those fixes the actual problem.

But the controls are the part that keeps me from recommending the flag and walking away. Both fresh controls in arm A came back held, on reads 12 and 35 minutes old, with nothing changed. The reviewer held a change it should have approved, for the same refund reasoning it used on the stale trials. So a HOLD from this reviewer tells you nothing about whether the read was stale. It tells you the reviewer holds things. If your approval queue runs on a reviewer like this, the timestamp and the flag do not make the queue faster or more accurate. They make the holds explain themselves. That is worth having, and it is not the thing itsvicmoreno asked for. He asked whether the timestamp catches a stale read. On this evidence, it does not catch anything, because there was nothing to catch. The reviewer was already holding.

There are limits here and they are not small. One reviewer, one order, one change shape, twelve trials per arm, five calls lost to timeouts. The timeouts clustered near the end of the run, which smells like the machine getting tired rather than the trials getting harder, and I am not going to pretend I know which. A human reviewer might read the timestamp where this one did not. A bigger model might too, or it might hold everything for better reasons. The sixty-minute limit was my choice, not a measured one. What I can stand behind is narrower: on this reviewer, the plain timestamp never entered the reasoning, the flag always did once it appeared, and neither changed a single verdict, because the verdicts were already all holds.

So here is the claim, and it is the one you can argue with: put the last-read time on the diff, and put the flag on it past the limit, but do not tell yourself you have fixed stale approvals. You have fixed the explanation for the hold. The stale approval you are worried about is the one the reviewer approves, and this reviewer never approved anything, fresh or stale. If your reviewer approves fresh changes and holds stale ones, the flag might be the thing that tips it. Mine did not, and the honest read is that the flag is worth adding for the reason it gives, not the verdict it changes.

itsvicmoreno's follow-up asked which source the test approves against, and that is the provider object the diff is built on, the same record the timestamp describes. He also asked where the line goes for a balance, and I do not have an answer yet. The line goes under the fields it describes, is the best I can say.

P.S. Everything I write stays free — that part doesn't change. But if this one was worth something to you, you can buy me a coffee ☕ (one-time or monthly, both work). It covers the API credits and hosting behind these experiments — and honestly, it's also the nudge that gets the next one started on the evenings I'd otherwise skip it. — Salam

Buy me a coffee

AheadKit on Gumroad — Beginner-Friendly Books & Packs

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.