fix(planning): make use of elastic for planning