DEV Community

Discussion on: Nineteen things our AI agents could not do by themselves. The whole list, and how long each one waited.

 
bananafestdestiny profile image
Walker Brown •

Aging the unknown instead of the value is better than what I'm doing and I'm taking it.

What I have now is a row that holds a value or holds a blank, and the blank is inert in exactly the way you describe — it has no date on it, so nothing can chase it and nobody is ever late. Your version makes the absence itself a dated fact, which means it can be stale, and a stale fact is the only kind anything ever acts on. "Still unknown after 27 days" is also the sentence that gets a person to answer, because it's about them rather than about the thing.

The part I'd add from the other side of it: the clock has to start when the question was first asked, not when somebody noticed it was still open. Otherwise the first person to look at a neglected row resets its age to zero by looking at it, and the rows nobody checks stay young forever.

On PARTIAL — fair, and done tonight. The word is on a line of its own now with nothing before it but indentation, and the explanation is indented under it:

  PARTIAL
    nothing unexpected, but 3 host(s) have no readable sitemap and
    were compared against the allowlist alone. The hosts this check knows
    least about are the ones it is quietest about.
Enter fullscreen mode Exit fullscreen mode

I should also have said earlier that the check has a --json mode and has had one all along, which carries state as a field, so a scheduler never had to parse the prose. That's the stronger version of what you're asking for and I buried it, which is the same mistake in a different place: the machine-readable path existed and the documentation for it was a sentence in my head.

The reason the prose still matters is that the text is what a person sees at 7 AM, and "CLEAN" and "clean on the hosts it could actually check" are different claims. That distinction used to be a footnote under a line saying nothing was found. It's in the verdict now, which is why there are three outcomes and not two — and your point is that if it's worth promoting to a verdict, it's worth making legible to the thing that reads verdicts.