How do you regression test an agent when the same prompt gives different tool-call sequences?
An engineer wrestles with flaky agent tests: identical inputs produce different tool-call orderings, so strict sequence assertions fail for no real reason. Their proposed approach is to compare multisets of tool calls instead of sequences and only assert order where a genuine dependency exists. The discussion converges on asserting final state rather than call traces.