Repository navigation
Description
What version of Codex CLI is running?
0.166.0
What subscription do you have?
ChatGPT Pro.
Which model were you using?
- Plan mode:
gpt-6.1-terra high - Default mode after accepting the plan:
gpt-6.1-terra xhigh
Both transcripts explicitly show these mode/model transitions.
What platform is your computer?
Windows with WSL, running the Codex CLI in a Linux checkout. Exact WSL distribution, kernel and terminal version are not included in the supplied transcripts.
What issue are you seeing?
After using Plan mode to agree on a feature, choosing implementation and submitting "Implement the plan.", Terra repeatedly ends the turn after a short period of source inspection, leaving the approved implementation unfinished. It reports what remains instead of continuing.
This happened in two separate feature conversations on November 1, 2026. I did not experience this behavior when using Sol with the planning workflow. The Plan → Default handoff with Terra is the suspected trigger; the underlying cause has not been isolated.
The CLI already displays Default mode when implementation starts. This is not a request to edit while still visibly in Plan mode.
What steps can reproduce the bug?
Observed workflow in both conversations:
- Use Plan mode with Terra high to discuss a feature in an existing repository.
- Answer the clarification questions and receive the proposed plan.
- Switch/accept implementation; the CLI displays:
Model changed to gpt-6.1-terra xhigh for Default mode. - Submit
Implement the plan. - Codex announces implementation, creates a feature worktree and inspects source.
- After approximately 23–26 seconds, it sends a final response stating that implementation is unfinished, with no application changes or PR.
- Ask it to continue. It may apologize, inspect more files and stop again, or make only partial changes before ending another turn.
These are observations from two real tasks, not a minimal isolated reproduction.
Transcript evidence
Project/customer names and local paths are omitted.
| Conversation | Turn | Observed result |
|---|---|---|
| A: product-list editor and Excel export | "Implement the plan." — 23 seconds | Feature worktree created; source inspected; no application changes or PR. |
| A | Asked why it could not complete — 16 seconds | Said there was no technical blocker, promised to resume, inspected more files, then ended again without application changes. |
| A | Explicitly instructed to start working — 1 minute 4 seconds | Added partial data/mapping/SQL work, then ended with the interface, access wiring and export unfinished. |
| B: TSV-based fee checker | "Implement the plan." — 26 seconds | Clean feature worktree created; source inspected; no changes or PR. |
| B | Asked why this keeps happening after planning | Acknowledged stopping without a valid reason. Implementation began only after another explicit instruction to finish. |
Representative exact excerpts:
I couldn’t complete the implementation in this turn.
I stopped prematurely. I hadn’t encountered a technical blocker or an approval rejection; I had only finished the initial investigation.
I resumed inspecting the data and access patterns after your question, but I still have not made application changes.
The fee-checker conversation also says:
In this case, the plan was approved, the feature worktree was ready, and I had not encountered a blocker.
These statements describe the behavior; they are not a verified diagnosis of the cause.
What is the expected behavior?
After an approved plan and "Implement the plan.", continue through implementation and appropriate verification until the requested work is complete or an actual blocker requires user input. Progress reports should not terminate implementation while authorized next steps remain.
Repeatedly saying "continue" or "finish the entire task" should not be necessary.
Additional information
- The repository instructions at both starting commits already explicitly require continuing authorized work until the requirements are met or there is an explicit blocker.
- No timeout, approval rejection or hard usage-limit error is visible at the initial stops.
- A missing
node_modulesdirectory appears during a later follow-up in conversation A, after the first premature stop; it does not explain the first stop or the same behavior in conversation B. - The important comparison is that I observed this with Terra after planning and did not observe it with Sol. An equivalent Sol transcript and raw rollout/doctor diagnostics are not attached.
- Related symptom reports: Codex stops working without actually doing anything #39300 and Codex refuses to complete the task and stops every time #42124. This report adds the explicit native Plan → Default transition, Terra 6.1 high → xhigh, CLI 0.166.0, and two concrete examples.
Activity
github-actions commentedon Nov 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
lazcool commentedon Nov 6, 2026
Additional reproduction on 6 November 2026 at approximately 13:00 UTC in Codex Desktop on an Apple-silicon Mac, with Terra selected.
This happened on a direct implementation request, not a Plan → Default transition.
Prompt: An unambiguous request to implement a tracked feature issue in a private repository.
Observed: Terra worked for 3 minutes 51 seconds, inspected the existing service, successfully ran a relevant read-only diagnostics command, but made no source changes and opened no PR. Its final response explicitly said:
It identified two related-but-separate features that were still open, then explicitly conceded:
It stated that it restored the issue to a ready state and deleted the empty feature worktree.
Why this seems relevant: The work was broad enough to warrant multiple PRs, but there were self-contained implementation slices available. The model identified one of them as unblocked and nevertheless ended the turn with zero implementation. Its final response gave no technical blocker, permission/approval issue, quota exhaustion, or failed verification that would explain stopping. The internal cause is unknown.
Instruction-control observation: This repository had merged two agent-policy updates earlier the same day, before this session: a Codex-wide requirement to continue feasible implementation instead of treating checkpoints as completion, and a Terra-specific overlay explicitly saying not to invent blockers or substitute a handoff for feasible work. The premature stop still occurred.
Expected: Continue implementing a feasible bounded slice and verify/submit it for review, or provide evidence of an actual blocker. Repeated user prompts to resume should not be required.
I can share a redacted session transcript or app diagnostics if maintainers indicate which identifiers/logs would be most useful.
lazcool commentedon Nov 6, 2026
Follow-up: same-task A/B comparison, Terra 6.1 versus Terra 5.6 (6 November 2026)
I repeated the exact same direct implementation instruction with Terra 5.6 after the Terra 6.1 premature stop reported above. This was an implementation request for a broad but splittable tracked feature in a private repository, not a Plan → Default transition. Both runs had access to the same repository and its already-merged agent instructions. Project and customer identifiers are omitted.
The 5.6 PR has been verified to exist and be open/non-draft. It is not yet merged or independently reviewed, so this is evidence of implementation and continued execution, not final code-quality acceptance.
Why the agent instructions were added: Those instructions were a targeted response to earlier recurring Terra sessions that began implementation, made partial changes or opened Draft PRs, and then ended while ordinary, feasible acceptance work remained. The problem was therefore not confined to failing to start an implementation. The 6.1 zero-change stop reported here happened after two attempts to address that established mid-assignment abandonment pattern through explicit agent instructions.
Why this matters: the 6.1 run did not merely fail to solve a difficult problem; it identified feasible, unblocked work and voluntarily ended without doing any of it. On the identical request, 5.6 made the expected bounded-slice decision and carried it through to a reviewable implementation. This suggests a potential regression in agent continuation/termination behaviour that is not limited to the Plan → Default handoff. It is one paired observation, not a controlled benchmark or proof of the underlying cause.
Please investigate the difference in termination/continuation behaviour between the two Terra versions. I can provide redacted diagnostics or session identifiers privately if maintainers specify a suitable route.