so typically for long running task you’d want codex to have a to-do md or plan md and have it update it as it continues chugging along and then ask it to respond with a phrase of your choice “__CODEX_DONE__” for example and then you can add an if-else to your hook to exit when