The mistake is thinking that a planner needs to use gradient descent.
My suggestion is to read up on the pre-AI winter AI research but it already sounds like a waste of effort to even bring it up.