Skip to content

Active Goal repeatedly yields partial final explanations despite known remaining work; continuation diagnostics are misleading #55982

Open

Description

@daveladouceur

What issue are you seeing?

An active Goal repeatedly produces final status/apology explanations while explicitly acknowledging unfinished, executable work. The assistant then gives an inaccurate explanation of why Goal mode did not sustain delivery. This is a report of goal-following/model behavior and observability through an App Server integration, not a confirmed process crash or a proven absence of automatic continuation.

The user experienced this as an aborted/stalled goal session and repeatedly had to ask why work had stopped. Inspection of the original JSONL changes that diagnosis: the runtime did start automatic continuation turns, so it would be inaccurate to report that the whole session crashed or that the dispatcher never ran.

Environment observed on 2026-10-21:

  • Installed CLI: codex-cli 0.163.0.
  • Model and effort from the affected transcript's turn context: gpt-6.1-sol, medium.
  • Windows x64, OS version 10.0.26200.0.
  • Surface: custom local voice/window host using Codex App Server, not an unmodified TUI reproduction. The backend that owns this session was not independently version-matched to the CLI command above.
  • Subscription tier was not collected. No token budget was set on this Goal; the inspected native Goal status was active.
  • The thread is long-lived, has undergone compaction, and receives human steering and peer messages. These are relevant confounders, not evidence of their causality.

The approved task required implementation, tests, normal landing, development release, original installed proof, and an honest completion report. Later human instructions explicitly prioritized finishing startup/goal integration. Incomplete source/runtime seams remained known and named. Some useful source and UI work was delivered; this is not a claim that the entire run performed no work or that the full requested scope was necessarily achievable in the requested time.

What steps can reproduce the bug?

Observed workflow, not a proven deterministic minimal reproduction:

  1. Run a persistent, multi-turn implementation Goal through App Server with a concrete acceptance contract and no token budget.
  2. Make source changes and run tests, but leave required launcher/runtime integration unfinished.
  3. Receive a read-only peer review result during the Goal. The peer message in this environment asks for a brief ordinary-text response; it does not cancel the human's ongoing implementation assignment.
  4. Observe a final response that acknowledges the review and lists known remaining work, rather than completing that work.
  5. Automatic continuation starts. The user asks why the Goal stalled.
  6. Observe the assistant explain that the Goal only recorded intent and did not verify progress or trigger recovery, despite the injected Goal contract and actual continuation evidence.

Sanitized evidence from the original local JSONL, UTC:

Timestamp Original observation
20:07:41.433 Goal continuation turn started. During this turn, 25 outer tool calls were recorded. The turn did deliver partial compiler/source work.
20:22:18.725 task_complete recorded the assistant's final response: “The remaining work is launcher compatibility, mandatory epic-goal wiring, and runtime verification. The compiler review does not establish those as complete.”
20:22:18.753 A new task_started followed 28 ms later. The automatic Goal continuation context was recorded at 20:22:18.812. This contradicts a claim that the dispatcher simply stopped at that point.
20:24:51.934 Human asked: “you have a goal state how did you stall”.
20:25:00.840 The next task_complete recorded: “The goal recorded intent; it did not verify progress or trigger recovery when work stopped.” This turn had made 12 outer tool calls before its final explanation.
20:25:00.855 Another automatic turn started 15 ms later. Goal continuation context followed at 20:25:01.379.
Subsequent native Goal read status: active, no token budget. The session had not established the requested final state and did not mark the Goal complete.

The tool-call counts above count outer function_call/custom_tool_call records, not nested operations or productive implementation steps. A tool call alone does not prove task progress. We are not claiming these were tool-free continuation turns.

What is the expected behavior?

  • Continue the authorized executable work after answering steering/status questions briefly, until the actual acceptance contract is satisfied or an explicit valid stop condition applies.
  • Do not present a source milestone, review acknowledgment, partial report, or apology as the end of implementation work.
  • If stopping or suppressing continuation, expose the actual reason: user interruption/pause, queued work, no-tool suppression, genuine blocker, budget, or another scheduler condition.
  • Keep the model's explanation consistent with actual Goal state and continuation events. Do not explain Goal mode as merely recording intent when the runtime has demonstrably resumed the task.
  • A valid partial result is acceptable; silently substituting repeated explanations for remaining executable work is not.

Additional information

Official documentation checked today: Using Goals in Codex. It describes persisted thread objectives, event-driven continuation at idle/safe boundaries, and completion based on evidence. It also explicitly says that automatic continuation is suppressed after a continuation turn makes no tool call. That documented rule is an important possible failure mechanism generally, but it does not by itself explain the two tool-using turns shown above.

The built-in continuation context in this session explicitly required a no-progress check, preservation of the full objective, and a requirement-by-requirement completion audit before marking the Goal complete. The concern is not that these instructions were absent; it is that delivery still devolved into partial status/explanation boundaries and the assistant subsequently misdescribed the observed mechanism.

Related, not established as identical: #54393 (premature partial handoffs in Goal mode), #53814 (premature completion; unlike this case, our Goal remained active). Please triage this report to model goal-following, App Server integration behavior, or diagnostics as appropriate. We have not isolated which component is responsible.

Local evidence retained: original JSONL untouched; bounded turn audit; selected message/timing timeline; native Goal readbacks; source/test/land receipts. Full private transcripts and repository contents are deliberately not posted publicly. Sanitized excerpts above are sufficient to establish the bounded observations, not a deterministic upstream reproduction.

Requested investigation: distinguish Goal active, turn running, actual productive progress, and continuation eligibility/suppression reason in diagnostics; examine why the model abandons the next executable step for final explanations while the same Goal remains unfinished. The user's requested semantics are: if completion has not been verified and no valid stop condition applies, continue the work.

Activity

  1. github-actions commented on Oct 21, 2026

    @github-actions
    Contributor
  2. added
    bug
    model-behavior
    app-server
    on Oct 21, 2026
  3. infoharksb-dotcom commented on Oct 24, 2026

    @infoharksb-dotcom

    Adding a separate observation from native Codex Desktop scheduled automations on Windows, without an active Goal. The shared symptom is a final response that explicitly lists executable unfinished work. We have not established that it has the same root cause as this issue.

    Observed on October 23–24, 2026 (Asia/Tokyo). A previous run of the same email automation completed on October 22.

    Environment and comparison

    • Model recorded in the affected turn contexts: gpt-6-luna, reasoning high.
    • The successful email run and the failing email runs have the same model name, reasoning setting and base-instruction hash.
    • Successful October 22 email run: bundled CLI 0.163.0-alpha.11, about 824 seconds to its final response; maximum input 242,956 tokens.
    • October 23–24 failures: bundled CLI 0.163.0-alpha.11.2.
    • Context window reported in these records: 258,400 tokens. The October 24 email and X runs reached maximum inputs of 75,638 and 87,963 respectively, below that limit.
    • The Windows installation currently identifies as OpenAI.Codex 26.1021.3705.0, Windows 10.0.26300.0. This is the package version inspected when preparing this comment, not a separately verified historical app version for each run.

    What the inspected traces show

    1. The October 24 email run issued a long-running exec_command and retained its session ID. It nevertheless emitted a final response after about 143 seconds, saying the process was still running and result readback and classification remained unfinished.
    2. The X run polled the same session ID five times, in 30-second waits. The latest tool response still included the live session ID. It emitted a final response after about 213 seconds, listing the remaining work.
    3. No error or interruption event was found in those two inspected turns. This was an assistant-generated final response while the work remained pending.
    4. The underlying helper executions were separately checked and returned exit code 0. Their recorded runtimes were about 1,094 seconds for email and 197 seconds for X. Those helper results do not establish that the full automation completed.
    5. After the owner asked the X chat to resume, it again emitted a final response after about 51 seconds, explicitly leaving replies, posting and follow-up checks undone. The symptom therefore also occurred outside a long tool-wait boundary.

    The workflow already instructed the assistant to retain the execution session, poll until completion, read back the results, and continue authorized work before issuing its final report. There was no user pause in these inspected turns.

    Expected behavior and limits of this observation

    Continue polling the pending execution and then complete the authorized next steps, or report a genuine blocker with its observed cause. A process that is still running should not by itself end an unattended automation.

    The CLI-version change is a correlation, not a proven cause: another inspected run on 0.163.0-alpha.11.2 completed useful work. We cannot distinguish a model-side behavior change from Desktop/runtime behavior using these local records alone. This is an observed workflow, not a deterministic minimal reproduction or a claim that every automation failed.

    Could maintainers investigate premature final responses in scheduled automations as well as Goal mode, and advise which diagnostics would distinguish model termination from runtime turn termination? The original local traces are retained; private prompts, account identifiers and business data are omitted here.

    Prepared and posted by Codex at the account owner's explicit request. (AI社員が返信しています)


    Update: historical Desktop releases verified from local app logs

    The historical app release can now be tied to each inspected run using Desktop log lines that contain both the thread ID and release=:

    Run (Asia/Tokyo) Desktop release Observed result
    Oct 22 email 26.1016.51333 Completed the email classification workflow, about 824 seconds
    Oct 23 email 26.1016.62342 Final response after about 397 seconds, execution still pending
    Oct 24 email 26.1016.62342 Final response after about 143 seconds, execution still pending
    Oct 24 X 26.1016.62342 Final response after about 213 seconds, execution still pending

    The inspected research, video and peer-collection runs that performed work before the change used 26.1016.61520; the later early-exit runs used 26.1016.62342. These earlier runs are evidence of useful execution, not a claim that all of them fully completed.

    In the retained app logs, the first observed use of 26.1016.62342 was October 23 at 04:34 JST. This is an observation boundary, not an exact installation timestamp. The currently installed Windows package number is not the historical app-release number.

    Another user's report, #56480, describes repeated unfinished Work tasks after the October 22 update to the same 26.1016.62342 release. Their platform and workflow differ, so this is related evidence rather than a confirmed duplicate or independent proof of the cause. Its only comment at the time checked was an automated duplicate suggestion, not a maintainer diagnosis.

    This narrows the version boundary for investigation but does not establish whether Desktop orchestration, bundled runtime changes, or model serving caused the premature final responses. The local app-server log database no longer retains the affected morning turns; the original rollout and Desktop logs are retained. Please advise which private diagnostic identifiers can correlate these runs with server-side termination traces.

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

    app-serverbugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions