Context indicator is not being updated in status line in review mode

Open
#36,487 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

Start by reproducing the issue in Codex CLI with /statusline, enabling context-used, and opening a new thread in review mode. Trace the status-line context indicator's review-mode update path and verify that the displayed percentage matches actual context usage rather than remaining fixed at 0%.

Written by the indexing model from the issue text.

Description

bug CLI code-review context TUI
What version of Codex CLI is running?

codex-cli 0.146.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.6-terra

What platform is your computer?

Linux 7.1.5-101.fc43.x86_64 x86_64 unknown

What terminal emulator and version are you using (if applicable)?

No response

Codex doctor report

What issue are you seeing?

The context indicator in the status line is not being updated when in review mode. It's looks like fixed in 0%.

Image
What steps can reproduce the bug?
  1. Open Codex CLI;
  2. Run /statusline;
  3. Active the context-used option (context percentage used indicator should being shown in the statusline "footer" after actived);
  4. Start a new thread in review mode;
  5. Watch the context used percentage in status line.
What is the expected behavior?

The context percentage used should render the actual context used.

Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

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.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.