Submitted by Seonglae Cho 6 Automata from Agent Traces: Failure and Next-Step Prediction Holistic AI 2