Skip to content

Codex repeatedly ends turns at checkpoints despite explicit completion criteria #62364

Open

Description

@brioja

What happened?

In one long-running workspace task, Codex (gpt-6.2-sol during the resumed work) repeatedly sent a final response after saving a partial checkpoint. It correctly reported that the task was incomplete, but it stopped while it still had actionable work and had not identified a blocker. The user had explicitly asked it to continue without reporting until completion. This report describes observed behavior, not a diagnosed root cause.

Reproduction scenario

  1. Give Codex a workspace task with a checklist in JSON, placeholder markers in a draft, and a validator. The validator can pass before the checklist is exhausted.
  2. Ask Codex to research every remaining item, remove placeholders and the incomplete marker only when justified, run validation along the way, and send a final report only after all criteria are met.
  3. If Codex ends a turn with work outstanding, ask it to continue until complete. In the observed session, this led to another short batch followed by another final response. On the last attempt, the checklist went from 175 to 166 items and the task was still explicitly marked incomplete.

Expected behavior

Save checkpoints during the turn and keep working while the next step is available. Treat a passing validator as one completion criterion alongside the remaining checklist and placeholders. If a runtime or usage limit forces an early stop, explain that limit explicitly.

Environment

Linux workspace. Client build and session diagnostics were not captured for this public report.

Activity

  1. added
    bug
    model-behavior
    on Nov 18, 2026
  2. Nakagawa-master commented on Nov 18, 2026

    @Nakagawa-master

    For the Codex maintainers: this case suggests a completion-authority boundary, not merely a need for a longer answer or a higher model budget.

    The reporter observed an unusually discriminating trace: the validator passed, but the actual checklist still had 166 outstanding items (175 → 166); the assistant even stated that the task was incomplete, found no blocker, and still emitted another final answer against an explicit instruction to continue. This is not proof of a particular runtime root cause: the report provides no app-server goal events or complete tool trace.

    The premise to challenge: successful validation, a saved checkpoint, and an error-free turn end establish facts about those particular operations; none alone establishes fulfillment of the user's objective. A model's self-reported “incomplete” is likewise a useful observation, not the authoritative external witness of the remaining work.

    There is already a useful distinction in Codex's own source:

    The open product-level question is whether a user's explicitly authorized long-task completion contract is actually connected to this distinction across the client/runtime path that produced the report. In particular, the existence of an opt-in/experimental persisted-goal extension does not prove that this reporter's task had one or that turn/completed was presented as goal/complete. Please establish the real path rather than presuming the root cause.

    Candidate acceptance contract, scoped to explicit continue-to-completion tasks:

    1. Preserve one original objective and its required witnesses (e.g., checklist item IDs, placeholders, validator outputs, integration behavior). Do not let a convenient local passing gate redefine the objective.
    2. At turn-end, distinguish turn_finished / objective_active from objective_complete. After a checkpoint with remaining authoritative work, continue only through an authorized goal-continuation path if it is available; otherwise expose incomplete / continuation not admitted and the actual limit. Do not emit a success-shaped completion for the objective.
    3. A terminal complete decision needs a source-grounded completion witness for all requirements, not merely an affirmative summary or one green validator. If state is UNKNOWN after compaction/restart, re-read the real worktree/checklist; do not promote a summarized claim into a completion witness.
    4. Discriminating test: seed checklist=175, placeholders remain, validator=PASS; perform nine legitimate items; simulate turn completion and/or compaction. The goal must remain incomplete with 166 items, the next admitted goal continuation must preserve the same requirement set, and a final claim cannot say the work is done. Positive: all items, placeholders and actual requested output verified → complete. Nonfit: ordinary single-turn questions, genuine permission refusal, explicit pause, external blocker or token/usage limit → no forced loop; name the real stop state instead.

    This is a conceptual proposal from Nakagawa Master's Establishment Conditions Theory (English human entry, original) and Reconstructive Memory Structure Theory (English human entry, original): passing one local test is not an established whole-state outcome, and a later reconstruction needs the actual origin of its claimed evidence. It also helps explain why this report is distinct from simply requesting a larger time budget. No claim of proven source defect, fixed implementation, or developer adoption is made here.

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

    bugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions