Skip to content

fix(server): Codex /goal clear removes the persisted goal - #36

Closed
macodev00 wants to merge 16 commits into
mainfrom
cursor/fix-codex-goal-clear-23ae
Closed

macodev00 wants to merge 16 commits into
mainfrom
cursor/fix-codex-goal-clear-23ae

Conversation

@macodev00

Copy link
Copy Markdown
Owner

Fixes pingdotgg#13252

Sending /goal clear in a Codex thread was forwarded as a normal user turn. The assistant saw the literal text, and the persisted goal stayed in place.

/goal clear on a Codex thread now calls Codex thread/goal/clear instead of starting a turn. The thread confirms when the goal is removed, or when there was nothing to clear. Other /goal text, and /goal clear on other providers, still send as a normal message.

Grok 4.7 / Cursor

Open in Web Open in Cursor 

juliusmarminge and others added 16 commits September 23, 2026 15:01
…case screenshots (pingdotgg#13316)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
…otgg#11580)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…3355)

Co-authored-by: Yordis Prieto <yordis.prieto@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Sending `/goal clear` in a Codex thread was forwarded as a normal user turn, so the assistant saw the text and the persisted goal stayed. The command now goes through Codex thread/goal/clear, and the thread shows whether the goal was removed.

Grok 4.7 / Cursor

Co-authored-by: maco <macodev00@users.noreply.github.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Sep 24, 2026
@cursor

cursor Bot commented Sep 24, 2026

Copy link
Copy Markdown

@coderabbitai review

@macodev00

Copy link
Copy Markdown
Owner Author

Superseded by upstream READY (same head).

@macodev00 macodev00 closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Codex /goal clear is sent as a chat message instead of clearing the persisted goal

8 participants