Repository navigation
Conversation
Send an exact Codex /goal clear through thread/goal/clear instead of a normal turn. Keep other /goal text, and /goal clear on other providers, as ordinary messages.
Owner
Author
|
Opened upstream. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On Codex,
/goal clearis sent as a normal turn, so the persisted goal stays. An exact/goal clearshould call Codexthread/goal/clear, confirm whether a goal was removed, and leave the thread and project files in place. Other/goaltext, and/goal clearon any other provider, stays a normal message.Fixes pingdotgg#13252
Supersedes pingdotgg#13370
Change
An exact
/goal clear(trimmed, collapsed whitespace, case-insensitive, no attachments) on Codex is a provider command:thread/goal/clearis bounded to 30 seconds, so it does not stall the shared command worker./goal clear. A trailing space still dismisses the menu./modelarguments stay on the model path.Codex advertises the
goal clearslash command. A successful clear appends "Goal cleared" or "No goal to clear" and drops the pending turn. Goal clear is unavailable while a turn is starting or running.Scope and approval
Accepted bug pingdotgg#13252. This replaces the closed attempt in pingdotgg#13370.
Verification
Linux x64, Node v24.13.1.
Result: Test Files 6 passed (6). Tests 385 passed (385). Duration 9.33s.
vp run --filter t3 typecheck,vp run --filter @t3tools/web typecheck, andvp run --filter @t3tools/shared typecheckcompleted with no errors.Limitations
thread/goal/clearwas exercised through the Codex adapter and reactor fakes, not a live Codex app-server. Composer detection is covered by the web and shared unit tests, not a running web or mobile client.