The nudge that never fired: our email agent looked busy and did nothing for two days
A Near Miss write-up from Agentware 2026, Hackathon Raptors' 72-hour hackathon on agents you can walk away from. The Near Miss awards are backed by FileClerk.
We built Copyhold, an agent you CC on an email so it can get people in different time zones into one meeting. It offers times in each reader's zone and reads the replies. It re-offers when nothing overlaps, books the slot on your calendar and reads it back. When someone goes quiet, it nudges them.
The nudge sounds like the least interesting feature. It turns out to be the one that matters most. In Microsoft Research's Calendar.help study (CHI 2017), 26% of the requests that needed a human were cases where the system had timed out waiting for somebody to answer. Chasing people is the job.
Here is how we shipped an agent that silently stopped chasing people, and why none of our signals noticed.
What we saw
We test in a sandbox. GreenMail, Mailpit and Radicale stand in for mail and calendar. Simulated people have their own zones, calendars and habits, and a clock runs 1,200× faster than real time. One scenario has a participant who never answers until he's nudged.
The run looked healthy:
- the agent process was up and its API answered;
- the live monitor showed the case in "collecting replies";
- no error, no crash, no retry storm, no budget alarm.
The case sat in "collecting replies" for two sandbox days and never moved. The audit trail ended like this:
28 12-08 14:25 timer.fired Timer nudge:1:tomas.ferreira@…:1 fired 29 12-08 14:25 timer.fired Timer nudge:1:helen.marchetti@…:1 fired …and then nothing. The timer fired. The nudge was never written and the case never woke up.
The cause, in two lines
Timers live in SQLite. The table has a case_id column; the TypeScript row type says caseId.
this.db.prepare("SELECT * FROM timers WHERE fired = 0 AND at <= ?").all(now) as unknown as TimerRow[]; as unknown as TimerRow[] is a promise the database never made. Every timer came back with caseId: undefined. The engine routed the "Timer" event to case undefined, and then a line we had written to be safe finished the job:
const before = this.cases.get(caseId); if (!before) return; A defensive early return, a guard against a case that no longer exists, quietly swallowed every nudge we ever scheduled. The timer was also marked fired before the event was processed, so nothing would ever retry it.
Why nothing caught it
- The unit tests were green. The reducer's tests fed it Timer events directly, and they passed. Nothing tested reading a due timer back out of the store. The seam between the two was exactly where the bug lived.
- Our own metric lied too. Our evaluation counted nudges from the agent's state,
participant.nudges. The reducer resets that counter at the start of every round, by design. So even after the fix, our grader reported "0 nudges" on runs where nudges had plainly gone out. We had two bugs, and the second one hid the first. - The agent looked busy. An unattended agent that does the wrong thing produces evidence: an email, a booking, a denial in the trace. An agent that silently does nothing produces silence, and silence looks exactly like waiting.
What we changed
- Column aliases instead of
SELECT *(case_id AS caseId), plus a regression test that reads a due timer back and checks the field, not the count. - No silent drops. An event for an unknown case now writes a
decisionentry to the hash-chained audit trail: "Dropped a Timer event for unknown case …". The guard still stops the crash; it no longer hides the bug. - A stall watchdog. The main loop records which stage it is in. If any stage runs for 90 s, the trace says so, once, with the in-flight calls and the queue length.
- Grade the world, not the agent's diary. The evaluation oracle now counts nudges from the mail that actually left, read from Mailpit, the sandbox's SMTP front door, which keeps a copy of everything. It judges bookings from the calendar as read back from CalDAV. It never uses what the agent says it did. The agent's own account is only read to check it against those.
After the fix, the silent participant gets one nudge, answers, and the meeting is booked inside everyone's real free time.
The takeaway
For an agent you're meant to walk away from, the scary failure isn't the dramatic one. Prompt injections, rogue sends and runaway loops all leave traces, and you build gateways and kill switches for them. The scary failure is the quiet non-action, while everyone, including the agent's own dashboard, believes the job is in hand. Two rules came out of it for us:
- Every "can't happen" branch writes to the audit trail. A guard that returns silently is a bug-hider with good intentions.
- Measure outcomes outside the agent. If the evidence for "the agent nudged" comes from the agent, you have measured its intentions.
Code, traces and the evaluation harness: github.com/RaYYeR220/copyhold. Demo video: youtu.be/F8TYMG6YCqo. Built for Agentware 2026 by Hackathon Raptors (@raptors_hack). Thanks to FileClerk for backing the Near Miss awards.