Why my agent refuses to repeat a fix that only helped briefly
At 2 a.m. the payments API ran out of database connections for the fourth time, and the first thing the on-call engineer did was restart it. It worked. For about eleven minutes.
Every incident tool I had used would have recorded that restart as "the fix". I wanted an agent that remembers the restart as what it really was: a lie that bought us time. That one requirement ended up shaping most of the system I built.
What the system does
Aftermath is an incident response agent for on-call engineers. An alert comes in, the agent recalls similar past incidents (the root cause, the fix that worked, and the fixes that did not), and it proposes a diagnosis and a plan.…