Repository navigation
Description
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:
- Run a persistent, multi-turn implementation Goal through App Server with a concrete acceptance contract and no token budget.
- Make source changes and run tests, but leave required launcher/runtime integration unfinished.
- 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.
- Observe a final response that acknowledges the review and lists known remaining work, rather than completing that work.
- Automatic continuation starts. The user asks why the Goal stalled.
- 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
github-actions commentedon Oct 21, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
infoharksb-dotcom commentedon Oct 24, 2026
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
gpt-6-luna, reasoninghigh.0.163.0-alpha.11, about 824 seconds to its final response; maximum input 242,956 tokens.0.163.0-alpha.11.2.OpenAI.Codex 26.1021.3705.0, Windows10.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
exec_commandand 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.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.2completed 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=:26.1016.5133326.1016.6234226.1016.6234226.1016.62342The inspected research, video and peer-collection runs that performed work before the change used
26.1016.61520; the later early-exit runs used26.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.62342was 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.62342release. 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.