The Reminder That Should Have Stopped
A payment reminder sounded perfectly reasonable. That was the problem. An invoice said Net 30. A draft was prepared. An owner reviewed it. Then a correction arrived: Net 45. Nothing about the old email made it look broken. It still had a greeting, a plausible due date, and an approval. It was simply no longer the message the owner should send. This was a synthetic invoice, not a customer…
The reminder email appeared normal, but it contained an outdated due date. The invoice had switched from "Net 30" to "Net 45," yet the message remained unchanged. This synthetic invoice highlighted a design issue in agent systems: remembering a previous approval is not the same as knowing if it's still valid. Despite having two reviewers, one system could retrieve the correct old fact but still apply it incorrectly.
Two different trails were used for the prototype—one representing a document or ledger record, and the other a journal or dispatch queue. Comparing two checks showed the summary favored one source over the other, missing 13 out of 22 serious defects. Separate trails missed six defects, but a combined summary missed five. The arrangement of reviewers didn't matter as much as the summary allowed.
However, one valid case had conflicting timing and attachment hints, making it unclear what to hold onto. The cost of asking one more question was revealed when a targeted version missed two serious defects while holding three valid actions unnecessarily. Even a clean result only moved the action to the next step. On a separate test of 30 cases, the targeted version missed two defects, while the baseline missed six.
Both versions made 18 direct reads instead of eight. The targeted policy held many valid actions because it couldn't establish freshness. The limitation was demonstrated with Xero's edited partially paid transactions, where a due-date change didn't generate a journal, potentially leading to an unchanged timestamp in modification queries.
This could cause reminder lists and audit extracts to agree incorrectly. A stable idempotency key addressed a different issue, but it couldn't make the initial stale request safe. The prototype aimed to inform operators about disputes, present conflicting versions, and hold actions while allowing unrelated tasks to proceed.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to
More from Dev.to on urgent.news
Report a problem with this story
Get the day's news by email. Daily, weekly or monthly. Sign up