Skip to content

Keep paused goals paused on thread resume#20790

Merged
etraut-openai merged 3 commits into
mainfrom
etraut/keep-paused-goals-on-thread-resume
May 4, 2026
Merged

Keep paused goals paused on thread resume#20790
etraut-openai merged 3 commits into
mainfrom
etraut/keep-paused-goals-on-thread-resume

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented May 2, 2026

Summary

Early adopters of the /goal feature have provided feedback that they expect a goal they explicitly paused to remain paused when they resume a thread. Previously, resuming a thread would reactivate a paused goal.

This PR keeps persisted goal status unchanged during thread resume. This honors the user feedback while also simplifying the core goal logic.

Rather than have the core logic automatically resume a paused goal, that responsibility is transferred to the client. The TUI now detects a resumed thread with a paused goal and asks the user whether to Resume goal or Leave paused. The prompt appears only for quiet resume flows, so users who resume with an immediate prompt are not interrupted.

image

@etraut-openai etraut-openai marked this pull request as ready for review May 2, 2026 16:06
@etraut-openai etraut-openai requested a review from a team as a code owner May 2, 2026 16:06
@etraut-openai etraut-openai changed the title [codex] Keep paused goals paused on thread resume Keep paused goals paused on thread resume May 2, 2026
Copy link
Copy Markdown
Contributor

@fcoury-oai fcoury-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to confirm that pausing a goal, then later resuming that session prompts the user as intended:

Image

Code looks good as does the UI.

Approved.

@etraut-openai etraut-openai merged commit 12a729f into main May 4, 2026
26 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 4, 2026
@etraut-openai etraut-openai deleted the etraut/keep-paused-goals-on-thread-resume branch May 4, 2026 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants