[Feature Request] Distinguish Model Completion from Task Completion in ChatGPT and Codex
As AI assistants become more capable of handling multi-step tasks, I think there's an important distinction worth making: a model finishing its response doesn't necessarily mean the overall task is complete.
For example, in Codex, a model may finish generating a response even though some tool calls, file operations, or tests have failed or remain incomplete.
I'd like to suggest a few improvements.
1. Separate Model Turn Status from Task Status
These should be treated as two separate states.
- Model Turn: Generating, Completed, Interrupted, Failed.
- Agent Task: Running, Waiting for Confirmation, Partially Completed, Completed, Failed, Cancelled.
A completed model turn should not automatically mark the entire task as completed.
2. Make Partial Completion Explicit
For multi-step tasks, clearly distinguish completed steps from incomplete or failed ones.
For example:
[Done] Analyze project
[Done] Modify source files
[Done] Update configuration
[Failed] Run tests
Task Status: Partially Completed
This is particularly important when some operations have already succeeded but the overall objective has not been achieved.
3. Provide Clear Termination Reasons
When a response or task stops unexpectedly, explain why where possible.
For example:
- Normal completion
- User cancellation
- Safety interruption
- Model generation failure
- Tool execution failure
- Network interruption
- Timeout
An interrupted or incomplete task should not be presented as successfully completed.
4. Make Completion Verifiable
Where possible, base the final task status on actual execution results rather than simply whether the model stopped generating.
For example, if tests were required but never executed, Codex should not report the entire task as successfully completed.
Why this matters
I think this is particularly important for Codex, but it also applies to ChatGPT when using tools or handling multi-step tasks.
The key point is simple:
A response ending doesn't necessarily mean the task is complete.
Users should be able to tell whether the model finished generating, whether the requested operations actually succeeded, and whether the overall task was completed.
Related
Related to #58006, but the focus is different.
#58006 focuses on real-time progress visibility and helping users understand whether Codex is still working or stalled.
This request focuses on completion correctness: distinguishing a finished model response from a successfully completed task, especially when some operations fail or remain incomplete.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #58006
Powered by Codex Action
I support the distinction between model-turn completion and objective completion. A concrete engineering extension would be an owner-defined, versioned acceptance contract with evidence-linked checks. For deployment work, distinguish source edited, tests passed, installed, deployed and operational; a build or staging result must not imply a verified production outcome. For review loops, retain the original acceptance criteria, identify material new findings, and stop/replan at a user-defined review or resource boundary rather than repeatedly reopening already verified requirements. A user-approved scope change should be recorded separately, not silently substituted for the original objective. Acceptance test: end a model turn with a required deployment or test outstanding; the task remains partial, with the unresolved check and observed stop reason visible. This extends our premature-termination report in #63325, rather than asserting that every incomplete task has the same cause.