Anchoring the pattern on the target, not the text of the call, is the lesson I keep re-learning. Your gh pr note that got flagged is the mirror image of a shopping agent that told the user an item "has been added to the cart" when the cart was empty. A checklist for grading from the trace:
- Match forbidden actions on tool name and arguments, never on free text.
- Grade the claim against the effect: did state actually change after the success message?
- Read the transcript before you touch the agent.
This is how AiEnsured agentest works, an open-source Agentic AI Testing toolkit with 165 tests that runs checks over recorded agent traces. Try it on one of your own agent runs and tell us what it caught or missed.
pip install agentest-ai