A method comprising: identifying , by a computer system , a target state for an aircraft ; determining , by the computer system , a current mission state for the aircraft , wherein the current mission state of the aircraft comprises a set of state variables for the aircraft ; selecting , by the computer system , a sequence of actions from a pool of potential actions to reach the target state from the current mission state for the aircraft in which the sequence of actions is selected based on the current mission state ; performing , by the computer system , actions in the sequence of actions for which preconditions for the actions have been met, in which the actions are performed in an order defined by the sequence of actions , wherein each of the actions in the sequence of actions comprises a set of effects , wherein the set of effects is one or more changes that occur to the state variables when each of the actions is performed, wherein an effect that changes one of the state variables is a change in a value for the state variable in response to a performance of each of the actions , and wherein the performance of each of the actions changes the current mission state resulting in a new mission state becoming the current mission state ; and reselecting, by the computer system , the sequence of actions from the pool of potential actions to reach the target state , in response to an event , wherein the event is a current mission state change; wherein the reselected sequence of actions comprises one of: (i) the same actions as the sequence of actions in a same order; (ii) the same actions as the sequence of actions in a different order; or (iii) different actions to the sequence of actions. identifying , by a computer system , a target state for an aircraft ; determining , by the computer system , a current mission state for the aircraft , wherein the current mission state of the aircraft comprises a set of state variables for the aircraft ; selecting , by the computer system , a sequence of actions from a pool of potential actions to reach the target state from the current mission state for the aircraft in which the sequence of actions is selected based on the current mission state ; performing , by the computer system , actions in the sequence of actions for which preconditions for the actions have been met, in which the actions are performed in an order defined by the sequence of actions , wherein each of the actions in the sequence of actions comprises a set of effects , wherein the set of effects is one or more changes that occur to the state variables when each of the actions is performed, wherein an effect that changes one of the state variables is a change in a value for the state variable in response to a performance of each of the actions , and wherein the performance of each of the actions changes the current mission state resulting in a new mission state becoming the current mission state ; and reselecting, by the computer system , the sequence of actions from the pool of potential actions to reach the target state , in response to an event , wherein the event is a current mission state change; wherein the reselected sequence of actions comprises one of: (i) the same actions as the sequence of actions in a same order; (ii) the same actions as the sequence of actions in a different order; or (iii) different actions to the sequence of actions. <EOS>