-
Notifications
You must be signed in to change notification settings - Fork 11.8k
in goal last steer is re-included after each compaction #21291
Copy link
Copy link
Open
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingcontextIssues related to context management (including compaction)Issues related to context management (including compaction)sessionIssues involving session (thread) management, resuming, forking, naming, archivingIssues involving session (thread) management, resuming, forking, naming, archiving
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLIbugSomething isn't workingSomething isn't workingcontextIssues related to context management (including compaction)Issues related to context management (including compaction)sessionIssues involving session (thread) management, resuming, forking, naming, archivingIssues involving session (thread) management, resuming, forking, naming, archiving
Type
Fields
Give feedbackNo fields configured for issues without a type.
What version of Codex CLI is running?
v0.129.0-alpha.8
What subscription do you have?
pro
Which model were you using?
No response
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
No response
What issue are you seeing?
After each compaction event agent is re-reacting to last sent steer message that is no longer relevant.
What steps can reproduce the bug?
What is the expected behavior?
Steer should not be re-included after compaction or, next goal cycle should displace user messages in history
Additional information
Here is codex analysis of the issue:
turn/steerbecomes pending input, then gets recorded as a normal user message once consumed.only a temporary steer.
/goalcontinuation prompts are injected asdevelopermessages, not user messages, so they do notdisplace that old steer as the latest “real user” message.
real user message, plus a fresh summary. The model can then treat it as newly salient and react to it
again.