Coordinated execution and goal management in a reactive cognitive architecture