Skip to content

tui: Allow extra o's in /goal command - #27814

Merged
btraut-openai merged 1 commit into
mainfrom
btraut/flexible-goal-parsing
Jun 12, 2026
Merged

tui: Allow extra o's in /goal command#27814
btraut-openai merged 1 commit into
mainfrom
btraut/flexible-goal-parsing

Conversation

@btraut-openai

Copy link
Copy Markdown
Contributor

Why

The TUI rejected playful /goal spellings such as /goooooooooooal, even though Codex Apps accepts them for the World Cup promotion. This keeps the TUI behavior consistent without changing how the canonical command is presented.

How it works

Built-in command lookup recognizes lowercase go+al as the existing goal command after normal exact-name parsing fails. The command catalog remains unchanged, so autocomplete continues to advertise /goal normally.

Verification

Added lookup-level and end-to-end TUI coverage for the flexible spelling. The focused tests, scoped Clippy checks, and formatting pass. The full codex-tui suite passed 2,833 of 2,835 tests; the two failing guardian feature-flag tests reproduce unchanged on fresh origin/main.

@btraut-openai
btraut-openai marked this pull request as ready for review June 12, 2026 07:46
@btraut-openai btraut-openai changed the title tui: allow flexible /goal parsing tui: Allow extra o's in /goal command Jun 12, 2026

@etraut-openai etraut-openai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK, that's kinda cute. :)

@etraut-openai

Copy link
Copy Markdown
Contributor

Make sure to investigate the CI failures.

@btraut-openai
btraut-openai merged commit d735ef1 into main Jun 12, 2026
45 of 47 checks passed
@btraut-openai
btraut-openai deleted the btraut/flexible-goal-parsing branch June 12, 2026 16:30
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 12, 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