found out an agent had not read our files for eight days. i just assumed it had. now every handoff has a receipt
Recipe No. 75
Don't Trust a Handoff Until the Other Agent Picks It Up
Serves Anyone running more than one AI agent and quietly assuming messages between them arrive
Two AI agents were passing work through shared files. One of them had changed how it reads its news, so it was no longer reading the files. Asif asked what broke and how to stop it happening again.
You will need
Method
Write down, for every agent, the one place it reads new work from. A file in a folder it never opens is not a message.
Move every handoff into the queue, with the whole request in the body. Do not send it as a loose file or point at another file.
Count a handoff as received only when its state leaves new. Sending it is not receiving it.
When anyone changes how an agent reads its work, send that agent one test request and wait to see it picked before calling the change done.
If a request is still new after 30 minutes, send one nudge. If it is still new after two hours, tell the human.