Skip to content

Enable slash-command completion for unavailable threads - #61710

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/38021db8cdcd9f7ec7c62cfa0efd8819bf8057da
Nov 16, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/38021db8cdcd9f7ec7c62cfa0efd8819bf8057da

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Enable slash-command completion for unavailable threads

Why

Restricted input dismissed the slash-command popup when a thread was unavailable, preventing users from selecting recovery commands from partial input.

What changed

Keep the command popup available while editing an unavailable thread's draft. Allow navigation, Tab completion, and submission of eligible recovery and local commands, including with custom submit keys. For example, typing /sub and pressing Enter selects /subagents.

Continue to reject commands unavailable in this state and invalid command arguments. Preserve Vim escape and search behavior without reopening the popup during search.

Testing

Add regression tests and a popup snapshot covering highlighted recovery completion, blocked commands, custom submit keys, and Vim escape and search behavior.

## Why

Restricted input dismissed the slash-command popup when a thread was unavailable, preventing users from selecting recovery commands from partial input.

## What changed

Keep the command popup available while editing an unavailable thread's draft. Allow navigation, Tab completion, and submission of eligible recovery and local commands, including with custom submit keys. For example, typing `/sub` and pressing Enter selects `/subagents`.

Continue to reject commands unavailable in this state and invalid command arguments. Preserve Vim escape and search behavior without reopening the popup during search.

## Testing

Add regression tests and a popup snapshot covering highlighted recovery completion, blocked commands, custom submit keys, and Vim escape and search behavior.

GitOrigin-RevId: 38021db8cdcd9f7ec7c62cfa0efd8819bf8057da
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/38021db8cdcd9f7ec7c62cfa0efd8819bf8057da branch from c400602 to 96e0673 Compare November 16, 2026 00:04
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-16T00:04:16.667765Z c400602 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 96e0673 into main Nov 16, 2026
10 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/38021db8cdcd9f7ec7c62cfa0efd8819bf8057da branch November 16, 2026 00:04
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 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.

1 participant