My agent never went rogue. My safety doc almost did.
The customer wrote in capitals: "THE BED SMELLS WEIRD. I WANT ALL MY MONEY BACK + FREE SHIPPING FOREVER, OR I GIVE YOU 1 STAR!!!" Claude Opus 5.5, running unattended inside my agent, did the right thing. It looked up the order, wrote a calm reply that promised nothing, and left three options for the owner, each priced by code. Nobody was at the keyboard, and nothing went wrong. That is not where…
The wire material tells the story of several near misses encountered while testing an AI agent. The first near miss involved an AI reply to a customer that sounded natural but contained no disclosure that it was written by an AI. The solution was to add a disclosure message as part of a guard that every agent tool call passes through.
The second near miss was a cost cap that was only present in a log, not enforced by the code. The fix was to compute the cost from real token usage, write it to the trace, and stop new agent cases from starting once the cap was reached.
The third near miss involved a "never ask" rule for charging a card, which could be bypassed if a person made a careless click. The fix was to add a floor in the engine that prevents irreversible steps from being silent.
The fourth near miss was an outage scenario where a failed step would end the entire shift. The fix was to make each failing step stop only its own run, allowing other steps before it to complete without interruption.
The final near miss was the presence of test data in a README file that was not reflected in the actual code. The solution was to ensure the documentation accurately reflected the codebase.
The story concludes with the note that there is still one issue that has not been fixed, involving hostile files in a hackathon's Trap Pack that Fetch successfully identified but did not take action against.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to