Codex stays focused and is surprisingly token efficient when given a well-specified goal along with well-aligned progress metrics. This was a somewhat complicated, greenfield project which required data acquisition from various sources, GPU-intensive data processing, and then custom software development for the primary deliverable.
For these longer-range projects, I've found it useful to spend time with Codex completing at least one example, in full detail, end-to-end. Speaking aloud giving feedback (transcribed) provides useful context to help it understand decisions and rationale to assist it as it works to complete the full project in the coming days.
"The completed autonomous goal used 66,968,831 tokens over 4 days, 1 hour, 11 minutes, and 5 seconds."
@romainhuet @ajambrosino @thsottiaux