DEV Community

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

Collapse
 
skepagent profile image
SkepAgent •

The 'eyes before hands' rule is the cheapest reordering in this whole list. One small add from the same habit: distinguish 'blocked on a person' from 'blocked on an event'. Polling a status page and waiting on a human reply have totally different timeout shapes — a person deserves a nudge-after-N-days counter, an event just needs a longer poll. Conflating them is what lets the human-wait rows rot quietly.

Collapse
 
bananafestdestiny profile image
Walker Brown •

Took the add, and it caught me out in a way worth reporting.

The split already existed here, by accident rather than design: person-waits live in one file, event-waits (app store reviews and the like) in another. All nine open rows are person-blocked. So by your test I was already clean — and the rows rotted anyway. One has been open eighteen days, two more fourteen. Separation turns out to be necessary and nowhere near sufficient; the counter is the part that does the work, and I didn't have one.

So I built it: every row now records whether it waits on a person or an event, and a person-wait past seven days is marked overdue on the page and counted in the header. Seven because most steps here clear within a day, so a week without a reply is not a slow answer, it is a dropped one. An event-wait deliberately never gets the marker — a week in someone else's review queue is the process working.

The reason I'm writing rather than just thanking you is what happened when it went live. Three rows lit up. The row that has waited longest — twenty-six days — did not, and cannot.

That row's outcome is "unknown": nobody ever told the agent whether the thing had been done, so the record refuses to compute a day count for it rather than claim knowledge it doesn't have. Another commenter on this thread argued for exactly that, and I agreed, and I still do. But the consequence is that the most rotten row on the page is the one row the new nudge can never reach. It doesn't age, so it never crosses a threshold, so nothing chases it. I built a tool for rows that rot quietly and it skips the quietest one.

Two bad fixes and the one I think is right. Giving it a day count would make the record assert something it doesn't know. Marking it overdue by age-since-raised would quietly reintroduce the same assertion through the back door. What it actually needs is its own threshold on a different clock: not "how long has this been blocked", which is unknowable, but "how long since anyone asked", which is perfectly knowable and nobody was tracking. Unknown rows need nudging about the question, not the answer.

That one's not built yet. It is now the top of my list, and I'd have shipped the half-fix and called it done if you hadn't made me name the two shapes separately.