Write the status from the ledger, not from memory
Why do status reports from an agent fleet turn out wrong? Because someone, human or model, wrote them from memory. The fix is to stop writing them: generate the report from the recorded events that prove each stage, and print every claim the record cannot back.
I audited a few hundred of my own requests against what had happened. Several reports had called work done that was only merged, called a task finished that had never been tested live, or listed an item as shipped that had shipped in a different form. None of it was dishonest. It was written from a long working memory, in a hurry, from the last thing someone had said. That is the failure mode of every summary written by hand.
Done is a set of events
I had already written about defining done before agents report it. The follow-up is that the definition has to be applied by a program, not a person, at the moment a report is built. In my lab, a task is done when three events exist for it: merged, deployed, and tested live with a passing result. Anything less gets a status that says exactly how far it got.
checkout-fix DONE (live and tested)
email-digest NOT DONE: reached merged, missing ['deployed', 'tested_live']
report-export NOT DONE: reached in progress, missing ['merged', 'deployed', 'tested_live']
search-filter NOT DONE: reached deployed, missing ['tested_live']
The ledger behind that is a plain file with one event per line. The report has no opinion. It cannot say a task is done because it feels done.
Check the hand-written version against it
The more useful half of the tool compares a hand-written report with the ledger. I fed it a report that says every task is done:
UNBACKED email-digest: NOT DONE: reached merged, missing ['deployed', 'tested_live']
UNBACKED report-export: NOT DONE: reached in progress, missing ['merged', 'deployed', 'tested_live']
UNBACKED search-filter: NOT DONE: reached deployed, missing ['tested_live']
Three of four claims fail. A claim about a task the ledger has never heard of also fails, which matters when a report mentions work nobody recorded.
Rules I kept
- A failing live test is not done, and the last live test decides: a pass followed by a fail is not done. The report names what is missing, including "a passing tested_live (the last one failed)".
- A merged change is not done. This is the commonest unbacked claim.
- The report names what is missing, not just that something is. "Missing tested_live" tells the next person what to do.
- The program prints status in the same words every time, so a changed word means a changed fact.
Where it breaks
A ledger is only as good as what writes to it. If an agent can append "tested live" without running a test, the report inherits the lie. The events need to come from the tools that did the work, such as the deploy command and the test runner, and an event should carry something checkable like a commit id or a result. My lab does not enforce that; it trusts the file. A real version also needs to handle a task that was deployed, then reverted, which a simple set of events cannot express.
It also does not tell you whether the right thing was built. It tells you whether the stages you named happened. That is a narrower claim, and a more honest one. For the related problem of recording what was asked in the first place, see a request ledger has to survive its own extractor.
Try it
Pick five items you currently report as done. Write down, for each, the events that would prove it. If you cannot name an event, the report cannot be generated, and that is the finding.
How this was verified
I ran the status generator and its unit tests in a scratch directory; the listings above are its output on a seven-line sample ledger. The six tests cover merged-only, a failed live test, a pass followed by a fail, a failed test that names what is missing, a fully proven task and an unknown task. The tool only checks "done" claims against the ledger, not claims like "deployed". The sample data is invented. I did not connect the tool to a real tracker.