Planning in the Light of Eternity