debugging deliberative plans