codex - 💡(How to fix) Fix CLI `/goal` does not stop after explicit user instruction to wrap up and stop [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#22516Fetched 2026-05-14 03:34:52
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
closed ×1commented ×1labeled ×1
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.130.0

What subscription do you have?

GPT Pro

Which model were you using?

gpt-5.5-codex

What platform is your computer?

Linux

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

CLI

What issue are you seeing?

When using the Codex CLI /goal feature, the agent appears unable to stop cleanly even after I explicitly instruct it to wrap up the current progress and stop.

Instead of terminating the goal/task loop, the CLI repeatedly prints:

• Stopped.

What steps can reproduce the bug?

Start with an objective using /goal, and wait enough time (before codex thinks itself achieved the goal), send queued message and ask it to wrap up and stop.

What is the expected behavior?

When the user explicitly asks the agent to stop, for example:

Please wrap up the current progress and stop.

the Codex CLI should:

summarize the current progress, stop the active goal loop cleanly, return control to the user, not repeatedly emit Stopped., not require an external interruption.

Additional information

<img width="2047" height="1189" alt="Image" src="https://github.com/user-attachments/assets/7704ebf2-ca06-4321-9458-ec8c1a56eb87" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix CLI `/goal` does not stop after explicit user instruction to wrap up and stop [1 comments, 2 participants]