Skip to content

Proactive Auto-Compaction After Response Completion #20809

Closed as duplicate
Closed as duplicate

Description

@SandboChang

What variant of Codex are you using?

VSCode Extension

What feature would you like to see?

Just a small usability suggestion: it can be frustrating when, after entering a prompt or pressing Implement Plan, the system immediately enters auto-compaction before starting the requested work. This may not necessarily reduce the quality of the result, but it interrupts the workflow and makes the next action feel delayed.

It would be helpful if auto-compaction could happen more flexibly, ideally after a response has completed rather than at the start of the next prompt. For example, the system could proactively compact the conversation once the completed turn reaches a configurable threshold, such as 80% of the normal auto-compaction limit. This would allow the compacted context to be prepared and accepted before the next user action, so the following prompt or Implement Plan command can begin without immediately triggering compaction.

This would make auto-compaction feel less disruptive while preserving the intended context-management behavior.

Additional information

No response

Activity

  1. added
    extensionIssues related to the VS Code extension
    contextIssues related to context management (including compaction)
    on May 2, 2026
  2. github-actions commented on May 2, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. SandboChang commented on May 2, 2026

    @SandboChang
    Author

    Sufficiently addressed in an earlier request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contextIssues related to context management (including compaction)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions