I was building an AI agent that reads log files, calls APIs, and runs tools based on user instructions. Standard stuff for anyone working with LLM-based automation today.I wrote Playwright tests for it. The tests were green. The agent was lying.