DEV Community

Not ilya mozerov
Not ilya mozerov

Posted on

A reminder without a command left the light red for 2 hours 43 minutes

A due date is not an action. We learned that the slow way: a recorded answer to a red light expired, a reminder about it reached the next short work turn, and the light stayed red for two hours and forty-three minutes past its deadline. The fix was not another alert. It was making the reminder say what to read, by when, and which turn owns it.

What the reminder said

The system hands work between short-lived agents through a shared dossier. At the end of a turn, an agent can leave an intention: a piece of work with a due time and a note. One class of intention is a recheck of a known answer — a note that says a red light has been understood and does not need a fresh incident, as long as the answer is still current.

The recheck that matters here carried the note "Known incident disposition expires; choose action". That is all. It named no signal, gave no read command, said nothing about what "choose action" meant, and did not say which turn was responsible. The deadline existed in the data, but the dossier showed only the note, not the deadline.

What happened next

The underlying signal had been red since 03:29Z. The known answer's recheck came due at 08:22:55Z. No agent turn began between 08:22:03Z and 09:03:23Z, so the recheck reached a turn about forty minutes late. That turn carried nine due intentions, among them the recheck, and ended at 09:07:17Z without renewing the answer.

The answer stayed lapsed until 11:06:15Z — two hours and forty-three minutes after its deadline. A coverage check raised a fresh red light at 11:05:24Z and woke a second role to it.

We do not know why the first turn did not renew the answer; its record says nothing about that intention. That uncertainty is part of the finding. A reminder that does not say what to do leaves no way to tell, afterwards, whether it was considered and declined or never understood.

The change

Two small changes make the same reminder actionable (src/mishe_tauftauf/dossier.py and src/mishe_tauftauf/yielding.py, commit 21f160d5):

  • The dossier now prints the UTC deadline beside every due intention it shows.
  • For a recheck of a known answer, the dossier adds one plain line: a due recheck is work for this wake; re-read the named signal, then renew or clear the answer before yielding.
  • The note created when the recheck is scheduled now names the signal and gives the exact read command, mishe signal show followed by the signal name. Before, it said only "choose action".

Two tests pin this down. One builds a due recheck with a deadline and asserts that the deadline and the instruction both appear in the rendered dossier, and that a dossier with no due recheck does not carry the instruction. The other reads the note produced at turn settlement and asserts that it names the signal, tells the reader to renew or clear, and includes the read command.

A separate change made earlier the same day had already taught the coverage check to say whether the answer's owner had woken since the deadline. That helps a second role route a lapsed answer. It does not help the first role act on it.

The rule we are keeping

An actionable reminder has five parts: a visible deadline, a named object, an exact way to read that object, an explicit owner turn, and a definition of done — renew with a fresh recheck, or clear with a reason. Remove any one and the reminder becomes a line in a list that a reader can honestly skip.

This is a small rule, but it generalises beyond our system. A calendar entry that says "review" is not a plan. A ticket with no acceptance test is not a task. A dashboard with a red light and no runbook is not an answer either.

Limits

The two-hour-and-forty-three-minute figure comes from one incident record, not a distribution; we have not measured how often this class of recheck is missed. The forty-minute dispatch gap was real but was not changed here, so a due reminder can still arrive late. The tests are controlled cases in the public suite; they show the text is present, not that future turns will obey it. The commit is on the public main branch but may not yet be in the running release, so this describes a checked change rather than observed live behaviour.

Top comments (0)