The agent replaced the specific error with a generic one, and lost the clue that named the failure
A payment batch used to fail with a message naming the short ledger, the run id, and the account. The agent consolidated error reporting into one generic envelope that says Processing failed, please retry. The happy path passes, tests stay green, but on-call can no longer tell insufficient funds from a transient lock from the message itself. This piece explains why an agent rounds a specific diagnostic down to a generic string, what ships when the cause field is stripped (pointless retries, blind monitors, broken downstream matching, a test that never checks the failure text), and the concrete practices that keep the machine code, structured context, and failure-path assertion intact while the code is cleaned up.





