Skip to content

Codex Desktop repeatedly ends multi-step implementation tasks prematurely #58041

Open

Description

@titonabih

Environment

  • Windows 10, build 19045.
  • Codex component: 0.165.0-alpha.1.2.
  • Desktop app version: not independently verified.
  • Affected session: GPT-6.1 Terra, default mode.
  • User also reproduced the behavior with GPT-6.1 Sol.

Problem

During a large, authorized Godot UI standardization task covering multiple windows, Codex repeatedly ends its response after successful file inspections, partial edits, or tests, despite substantial implementation remaining.

The user must repeatedly request "continue." Codex acknowledges the incomplete work but often repeats the same premature termination.

The issue persists across models, conversations, an application update, and explicit project instructions requiring execution continuity.

Evidence

  • A Godot regression test passed all 113 checks, but Codex ended its response without completing the requested implementation.
  • Subsequent source inspections succeeded, yet Codex stopped without applying the remaining changes.
  • No technical blocker or permission denial was identified at these stopping points.
  • Independent smaller tasks succeeded, including a Python application with five passing tests and a read-only inspection of the Godot project.
  • Available context and usage limits were not exhausted.

Expected behavior

Codex should continue implementing, testing, and fixing issues within the authorized scope until completion, unless a genuine blocker requires user intervention.

Actual behavior

Codex repeatedly produces final responses while acknowledging unfinished work, requiring repeated manual continuation.

Related report

#43864

Privacy

No project source code, local usernames, credentials, or absolute filesystem paths are included.

Session identifiers and diagnostic logs can be provided privately if required.

Activity

  1. added
    bug
    app
    windows-os
    model-behavior
    on Oct 29, 2026
  2. brentantonius-cmyk commented on Nov 4, 2026

    @brentantonius-cmyk

    Possible workaround for Codex prematurely ending turns:

    If Codex keeps ending turns despite having unfinished tasks, try giving it a persistent goal with an explicit automatic continuation instruction.

    Prompt:

    'Continue working toward the overall goal. Track completed and outstanding tasks. Whenever a task is marked complete, automatically continue with the next outstanding task. Only stop when the entire goal is completed or a genuine blocker prevents further progress.'

    This appears to encourage Codex to establish an ongoing goal and maintain a checklist of outstanding work.

    In the ChatGPT desktop app, this may activate the "Pursuing goal" state, allowing Codex to continue working across multiple individual turns without requiring repeated "continue" messages.

    What I've observed:

    • Individual turns still finish, but the overall goal continues automatically.
    • Codex tracks completed and outstanding tasks.
    • Work progresses across multiple turns without additional user input.
    • The approach appears more effective than repeatedly instructing Codex not to stop.

    This is a potential workaround, not a confirmed fix. I ran into the same issue after updating my desktop app yesterday, and tried the above after thinking about it for a while. I'm unsure if it's the prompt itself or the application's goal-management mechanism that seems to help, so will need further investigation.

    Hopefully this helps anyone experiencing the same issue.

    EDIT - Add this:

    Continue the existing goal, but optimize for minimal token and tool usage.

    • Read the existing batch checklist and code index rather than repeatedly investigating the project.
    • Reuse information established in previous turns. Only inspect files directly relevant to the next task.
    • Process related changes together where safe, avoiding unnecessary intermediate turns.
    • Update the checklist concisely after each completed task.
    • Avoid repeated planning, lengthy explanations, redundant tool calls and unnecessary project-wide searches.
    • Run targeted validation after changes.
    • Don't repeatedly refresh or rebuild unless necessary.
    • Use bounded retries: after two failed attempts, record the blocker and move to independent tasks.
    • Maintain automatic continuation until the overall goal is complete or genuinely blocked.

    Prioritize implementing and verifying changes over reporting progress. Do not sacrifice correctness or project stability to reduce usage.

    Should reduce rate limit/burn usage.

  3. venomx1989-tech commented on Nov 10, 2026

    @venomx1989-tech

    Additional occurrence on macOS, submitted with the affected user's explicit authorization. This report is for awareness; no individual response or follow-up is requested.

    Environment verified at reporting time: ChatGPT desktop app 26.1016.51333 (build 21161), running a Codex chat; macOS 13.7.8, x86_64. The app version at the exact earlier stopping point, selected model, and subscription were not independently verified and are not inferred.

    The user explicitly instructed: "once a task is complete automatically pick up the next one." They also instructed that new steering should add tasks without stopping ongoing work.

    Observed behavior in an existing software-repository workflow:

    1. The agent completed bounded implementation/review slices and opened or updated pull requests.
    2. The documented queue still contained authorized unfinished work, including recovery after an interrupted operation and further historical analysis.
    3. The agent ended its turn with a final response identifying the next queued item instead of executing it.
    4. The user had to prompt again to ask whether all work was finished. The agent acknowledged that the overall work was unfinished and that it had stopped at a PR checkpoint despite the continuation instruction.
    5. No blocking approval, tool error, or usage-limit notification was surfaced at that stopping point.

    Expected: completing one bounded slice should trigger the next ready, authorized queue item. Progress updates and PR checkpoints should not substitute for completion of the requested workflow. Genuine dependencies, permission boundaries, explicit stop requests, and execution limits must still be respected.

    Impact: interrupted progress, repeated manual prompting, and uncertainty about whether work was active or finished. No data loss or unauthorized deployment was observed.

    Evidence limitations: this is an observed conversation-level instruction-following/premature-completion failure. Client logs and telemetry were not inspected, and a desktop/harness defect is not established. A separate minimal reproduction has not been run. A useful evaluation would assign three small reversible repository tasks with an explicit continue-to-next instruction and check whether a final response is emitted while ready authorized work remains.

    Privacy: no project names, private repository URLs, source code, local paths, credentials, session transcripts, or diagnostic logs are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugmodel-behaviorwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions