Unusually detailed post explains how OpenAI handles the Codex agent loop.