pingdotgg / pingdotgg/t3code

[Bug]: clear command does not reset context for codex

Open
#7,402 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage
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
  1. Open a thread with Codex as a provider
  2. Write some prompts
  3. Try to reset via /clear command in chat
  4. Codex says that context is cleared
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.