I tricked codex by generating a fake history of it starting working on something and resuming it. Claude knows about that trick and will stop even though it thought it was mid task.