Before revision:  They key insight here is that an adversary in the environment can directly affect the optimization  function of a planner.
After revision:  The key insight here is that an adversary in the environment can directly affect the optimization function of a planner.