For me, Codex regularly forgets to complete its last task when compaction occurs, especially when the last message I sent was right before compaction.
I’ve noticed it having weird message dropping and replay in general, but the compaction boundary has been pretty solid.
It seems odd to me that Codex doesn't carry the plan file through context compaction? Claude does this, it re-reads it in full from disk