Providing the number of auto-compact in status line

Open
#33,939 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No files or tests are named. Start by locating the CLI status-line implementation and the auto-compact handling, then trace how compact events are represented. Done means the status line shows the number of auto-compactions and the result is covered by appropriate existing tests.

Written by the indexing model from the issue text.

Description

CLI context enhancement TUI
What variant of Codex are you using?

CLI

What feature would you like to see?

Since the auto compact could lose information and degrade the performance, I would like to see the number of auto-compact in statusline, as a reminder for me to save context and switch to a new session.

Additional information

It would be better to let user know what is left after the compact. Maybe the user would be able know something is missing and correct the context, rather than finding it too late after agent has done a lot wrong with a defective compacted context.

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.