[Bug]: clear command does not reset context for codex
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Open a thread with Codex as a provider
- Write some prompts
- Try to reset via /clear command in chat
- Codex says that context is cleared
- Ask Codex about what's in context
When command is invoked, context is not cleared even though Codex says so. When you ask about what's in context, it will tell you the remaining context before the reset.
Expected behavior
- /clear command should be suggested when typing into the chat
- context should actually be reset when command is invoked
Actual behavior
- /clear command does not show up in suggestions
- context is not cleared when command is invoked
Impact
Major degradation or frequent failure
Version or commit
0.0.33
Environment
macOS
Logs or stack traces
Screenshots, recordings, or supporting files
Screenshot 2026-08-18 at 15.41.50.jpeg
Workaround
Open a new thread instead of clearing current conversation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/web and trace the /clear command from chat suggestions through its Codex handling. Reproduce the issue with a Codex thread, then verify that /clear appears while typing and that asking about prior prompts no longer reveals the old context. Confirm the existing new-thread workaround is no longer needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 67/100