Does a passing unit test rule out a regression?

No. A unit test checks that your code did the right thing mechanically, such as calling a tool with a schema-valid payload or handling an exception without crashing, and it can pass every time while the agent’s actual behavior gets worse. Change a tool’s response format and a well-written test confirms your code still parses it; it says nothing about whether the model, reading that new format, still draws the same conclusions from it. The two questions are different: did the code execute the right path, and did the model behave well once it got there. A dependency bump or a config edit can leave every unit test green while quietly shifting what the model does with the result, because none of those tests were ever asserting anything about model behavior to begin with. Catching that needs a check on the agent’s actual output, not on the code path that produced it.

keep reading

More on this.

Send us the traces you already emit.