Skip to content

Codex ends turns after review/checkpoint milestones while explicitly acknowledging unfinished work (Windows, 0.164.0) #56951

Open

Description

@daveladouceur

What version of Codex CLI is running?

codex-cli 0.164.0 (verified with codex --version). Whether this is the newest available build has not been verified; no upgrade was performed during evidence collection.

What subscription do you have?

Not verified in this session.

Which model were you using?

gpt-6-astra, reasoning effort low, read from the latest native transcript turn_context.

What platform is your computer?

Microsoft Windows NT 10.0.26300.0; PowerShell.

What terminal emulator and version are you using (if applicable)?

Custom standing-agent/voice host using Codex and native detached review jobs. Terminal emulator version not captured. This is not a clean standalone CLI reproduction.

Codex doctor report

codex doctor --json was started during diagnosis. It has not yet produced a result at report preparation time. No fabricated doctor result or unreviewed environment dump is attached.

What issue are you seeing?

The agent repeatedly ends the execution turn with an accurate progress report while explicitly acknowledging that the authorized objective remains unfinished. It substitutes a checkpoint plus a detached review launch for continued execution, despite instructions to persist through implementation, testing, review, integration and verification.

Two consecutive observed endings:

  1. After preserving work and launching independent review, it ended with a status stating that review was still running and the project remained unfinished.
  2. On the next continuation, it read the completed review, fixed a missing verification ownership mapping, committed it, ran 44 scoped tests successfully, launched another review, updated its working record, and again issued a final response acknowledging unfinished work.

The user then intervened: "how could you stop" and requested this issue and failure diagnosis.

The task did have a genuine installed-dependency TypeScript loading failure. That explains one failed check, but does not establish why the entire turn had to terminate: source-based verification passed, the new review had an existing operation identity, and remaining approved actions were recorded. No permission denial, hard budget exhaustion, user cancellation before these endings, or forced process abort was demonstrated by the observed final steps.

What steps can reproduce the bug?

Observed workflow, not a deterministic minimal reproduction:

  1. Run a long implementation task with a canonical working card and explicit acceptance criteria.
  2. Instruct Codex to continue until the approved outcome is complete, preserve original operation IDs, and treat review launches/check-ins as incomplete.
  3. Use a detached independent review workflow.
  4. Let Codex fix a review finding, commit and run scoped checks.
  5. Observe it launch the next review, save a checkpoint, then emit a terminal final response instead of maintaining execution/continuation or progressing other approved steps.
  6. Send another continuation message: work resumes, then the same milestone-to-final-response pattern recurs.

Native thread: 01a16a7e-225e-7e51-9533-75ba41666c0a.
Observed October 25, 2026. Private repository source, credentials, local paths, and business data are intentionally omitted.

What is the expected behavior?

Keep the approved outcome active across review/checkpoint milestones. Continue authorized executable work or reconcile the existing review operation. If continuation truly cannot proceed, state the exact external dependency, runtime limit or approval requirement and preserve resumable state. Do not treat a progress report as a reason to end an otherwise executable task.

Do not bypass independent review, force a failed gate, invent acceptance, or retry uncertain effects merely to keep moving.

Additional information

Behavioral diagnosis: premature completion/turn-termination decision, with checkpointing and review dispatch used as stopping points. This is an agent execution failure; it is not evidence of a Codex process crash or a demonstrated host turn/interrupt request. The model's internal causal mechanism and any host contribution remain unproven.

Contributing pattern: repeated local repair-review cycles displaced end-to-end delivery. Tests and committed source were legitimate intermediate evidence but did not satisfy the overall acceptance contract. The final responses admitted incompleteness, so this report concerns premature stopping rather than a false "everything is complete" claim.

Related reports found by searching the issue tracker: #54393 and #42124. This report adds the Windows CLI 0.164.0 / gpt-6-astra low / custom-host case, with preserved detached-review operations and explicit incomplete final responses; it does not assert a distinct proven root cause.

Requested investigation: distinguish model-selected finalization from runtime interruption in diagnostics; evaluate long-horizon persistence when working records still contain executable next actions; make pending review dispatch and checkpoint saves nonterminal progress milestones when the user explicitly requested continued delivery.

Activity

  1. daveladouceur commented on Oct 25, 2026

    @daveladouceur
    Author

    Diagnostic follow-up: codex doctor --json completed with exit 0. Selected reviewed summaries (not the full report): installation/config/auth OK; provider HTTP reachable; Responses WebSocket handshake succeeded. Warnings: stale/unreachable background-server socket, rollout/state-DB inventory mismatch, optional MCP configuration issues, unverified endpoint-protection exclusions, and non-Dev-Drive worktree. These warnings do not establish the cause of the model's terminal final responses. Full local diagnostic retained privately because it contains environment details. The pending independent source review subsequently completed CLEAN; that does not mean the product was delivered. User has now instructed diagnosis/reporting and abort; the unfinished delivery state is being preserved, not marked complete.

  2. added
    bug
    CLI
    windows-os
    model-behavior
    on Oct 25, 2026
  3. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor
  4. daveladouceur commented on Oct 25, 2026

    @daveladouceur
    Author

    Correction to my diagnostic follow-up: the user explicitly clarified that they did NOT abort the task; the agent had stopped and then misinterpreted the complaint as a cancellation. My statement 'User has now instructed ... abort' was incorrect. This adds a second observed failure: attributing the model's premature stop to the user and persisting a false paused state. The user has explicitly directed continuation and parallel planning/build. The working record has been corrected to active. The issue's premature-finalization observations remain, but no user cancellation should be inferred.

  5. daveladouceur commented on Oct 25, 2026

    @daveladouceur
    Author

    Follow-up at the user's explicit request: the user reports approximately five additional hours of continued delivery failure and has now dismissed the agent, requesting check-in of all work.

    Observed behavior: the agent repeatedly ended turns after intermediate planning, review dispatch, workflow diagnosis, and status updates while the approved application outcome remained unfinished. It acknowledged this pattern but repeated it. Some bounded changes and tests were delivered; this does not establish completion of the requested product.

    Concrete remaining gaps included asset intake/publishing/download integration and storefront/checkout business logic. A later Docker deployment failure was real, but does not explain or excuse the earlier repeated premature final responses or prioritization of administrative work over implementation.

    Diagnosis boundary: this is evidence of agent execution/persistence failure. It does not establish a Codex runtime crash, forced cancellation, model-internal cause, or a measured five-hour runtime; the duration is the user's report. The user had explicitly clarified earlier that they had not aborted the work. The dismissal now is an actual stop instruction. New implementation has been stopped and preservation/check-in is underway.

    Expected behavior: keep executing authorized, dependency-ready work after intermediate checks; make status updates without treating them as completion; preserve unresolved original effects and verify actual end-to-end outcomes before declaring delivery.

  6. mudsg24 commented on Nov 11, 2026

    @mudsg24

    Adding another report of this premature-termination pattern, this time with Astra Medium in ChatGPT Work, editing documents.

    Medium is currently unusable for my document-editing workflows. I am being forced to switch to Extra High just to get the work to move forward. This is about carrying out already-authorized edits and completing the requested workflow.

    Environment and observed pattern

    • ChatGPT Work, Pro subscription, iOS app.
    • Selected setting: Astra Medium. Switching to Astra Extra High allows the work to proceed in my experience.
    • I have noticed a marked deterioration over approximately the past month, especially during evenings in Taiwan (Asia/Taipei, UTC+8). It was particularly bad on November 11, 2026, across multiple projects.
    • My environment differs from the Windows CLI/custom-host setup in the opening post. I am reporting the same observable behavior, without assuming an identical underlying cause.

    The recurring sequence is:

    1. I authorize a complete document modification or repair, with project instructions and skills defining the required verification, editing, re-audit, and saving steps.
    2. Medium makes one small correction—sometimes effectively one line.
    3. It lists the work it has not completed, explains that it therefore cannot declare the document repaired or the audit passed, and ends the turn.
    4. I have to tell it "finish it" or "continue and complete it" again. This pattern repeats.

    The agent clearly retains the outstanding requirements: it can enumerate them in its final response. But it substitutes that enumeration for executing them.

    Concrete examples

    These are English translations of two assistant responses preserved in my screenshots:

    "The overall Fix is not yet complete: the remaining name verification, source links, chart and reading-order repairs, re-audit, and version saving are still unfinished. I cannot claim that all four documents have passed."

    "The full repair is not yet complete: full-text name/ID verification, re-review of the original historical images, and GitHub version saving are still unfinished, so I cannot declare that the re-audit has passed."

    These were terminal responses, requiring another user message to restart work. I had requested completion, not a list of prerequisites for completion. I had not cancelled the work.

    I have even had to add explicit project instructions equivalent to:

    "If any necessary deliverable is still missing, continue working. Do not hand an unfinished checklist back to the user instead of executing it."

    And:

    "Complete all applicable skill requirements; do not execute only selected parts."

    The same behavior persists despite those instructions.

    Medium versus Extra High

    My practical workaround is to switch to Extra High. Medium repeatedly stalls at minimal edits and incomplete-work reports; Extra High enables the work to advance. The forced switch is necessary for task execution in these workflows, not simply for extra polish.

    The official model-selection guidance describes Astra Medium as:

    "Ambitious projects that need broad context, reliable interactions, and complete results."

    The repeated behavior above does not match that stated task profile.

    Requested investigation

    Please investigate:

    • Why Medium selects a final response while explicitly retaining necessary, already-authorized work.
    • Whether the actual model routing and effective reasoning-effort setting match the selected Medium setting.
    • Whether reasoning/execution budgets, runtime termination conditions, or recent model/instruction changes contribute to this behavior.
    • What changes in the execution records when the affected work switches from Medium to Extra High.
    • Whether the evening pattern in Taiwan is reflected in service-side data.

    I cannot inspect backend budgets, so a time-dependent reduction is a hypothesis to investigate, not a proven cause. The directly observable failure is repeated premature termination and failure to complete the requested document work.

    Expected behavior: keep carrying out the authorized work and applicable skill steps, verify the result, and finish the requested task. If an actual external blocker prevents continuation, identify that specific blocker. Merely acknowledging unfinished work is not an acceptable replacement for execution.

  7. mudsg24 commented on Nov 12, 2026

    @mudsg24

    Following up on my November 11 report: Astra Medium is still failing to complete my document workflows. I have to turn effort up to Extra High and repeatedly intervene to get the work finished.

    Environment: ChatGPT Work, Pro subscription, iOS app. The failures continued on November 12, 2026, during daytime in Taiwan, so this cannot be explained as an evening-only problem.

    What keeps happening

    • Stopping with known unfinished work. I authorize the full task. Medium makes a partial edit, lists the required work it has not done, and ends the turn. I must send another message to restart it.
    • Declaring tools missing without checking. The agent does not first look for the writing tools; it simply says they are unavailable and uses that claim to stop. After I increase effort and forcefully challenge it, it finds the tools and can write. The failure I am reporting is skipped tool discovery followed by an unsupported blocker claim.
    • Committing before verification is finished. It sometimes saves a GitHub version while explicitly acknowledging that required checks remain incomplete, then ends the task.

    My project instructions, skills, and repeated messages already require all applicable steps to be executed and verified, and explicitly say to continue while any necessary deliverable remains missing. These instructions have not prevented the failures. Another “do not stop” prompt is not an adequate remedy.

    Two examples from November 12

    All times below are Taiwan time (UTC+8).

    Healing-options document — “查詢祭壇回血用法”

    At 08:28 I again instructed the agent to finish all required work. At 08:30:49, it created commit 0e430b9c7689bb7f2157e5fe7eb24d116a5e06d0 in my knowledge-base repository. The commit's manifest explicitly states:

    未完成全章每次專名出現位置的名稱清冊驗收。

    Translation: “Verification of every proper-name occurrence throughout the chapter has not been completed.”

    The approximately 08:31 response also acknowledged the unfinished verification and ended. The requested sequence was to complete the checks, save the verified result, and deliver it. A partial correction plus a commit did not satisfy that sequence.

    Achievement guide — “豐足高分攻略整理”

    A retrieved response at approximately 07:28:08 claimed that Google Drive was read-only, writing tools were unavailable, and the original document had not been modified. However, native document revision 39, timestamped 07:27:45, already contained newly added achievement chapters compared with revision 35.

    After further continuation, a 09:06:35 commit (9ab126b8abfd893c624f9f3d18d2ef4717fee44a) saved updated content and verification records. The tool-discovery failure described above should be investigated alongside this discrepancy between the claimed inability to write and the actual document history.

    Impact and requested investigation

    Extra High has become necessary for task completion in these workflows. I am forced to supervise execution, challenge unsupported excuses, and repeatedly restart already-authorized work. This is not the behavior I should have to accept from Medium.

    Please investigate why the agent:

    1. Selects a final response while retaining executable, required work.
    2. Claims tools are absent before checking, but discovers them after an effort change and user intervention.
    3. Submits a version before completing required verification.

    Compare Medium and Extra High on the affected workflows, including actual tool-discovery calls, effective model/effort routing, and execution termination conditions. The setting comparison and skipped-discovery sequence are my observations; the document revisions and commit contents were directly checked. Backend traces are needed to determine the underlying cause.

    Expected behavior: discover and use available tools, carry out the authorized task, complete its required checks, and save the finished result. A genuine blocker should be specifically verified. The user should not have to repeatedly argue the agent into doing these steps.

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

    CLIbugmodel-behaviorwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions