Skip to content

Persist /goal commands in history#21860

Merged
etraut-openai merged 1 commit into
mainfrom
etraut/goal-command-history
May 11, 2026
Merged

Persist /goal commands in history#21860
etraut-openai merged 1 commit into
mainfrom
etraut/goal-command-history

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

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

Summary

A user reported that /goal was not saved to the TUI command history, which made it unavailable for later recall even though other accepted input paths persist history entries.

This updates the TUI goal slash-command dispatch so successful /goal invocations append the command text to message history. The change covers the bare /goal menu command, goal control commands such as /goal pause, and objective-setting commands such as /goal improve benchmark coverage.

Verification

  • cargo test -p codex-tui goal_slash_command -- --nocapture

@etraut-openai etraut-openai marked this pull request as ready for review May 9, 2026 01:08
@etraut-openai etraut-openai changed the title [codex] Persist /goal commands in history Persist /goal commands in history May 9, 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 would love if you did this for all slash commands, not sure if it's as simple as this.

Code looks good, and was able to replicate the behavior.

@etraut-openai etraut-openai merged commit 2229c8d into main May 11, 2026
26 checks passed
@etraut-openai etraut-openai deleted the etraut/goal-command-history branch May 11, 2026 15:43
@github-actions github-actions Bot locked and limited conversation to collaborators May 11, 2026
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