You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex CLI is not rereading agents.md after auto /compact #5772
If codex auto compacts at 10% context window it doesn't reread the agents.md file which leads to the fact that it doesn't know the project and what to do at all most of times and just creates a mess.
I added clear instructions in the agents.md file what to do what to read etc. etc. so this is imho a must have after /compact.
honestly they should have it exclude the first message + agents.md from the summarization input, then just reappend the summary after the original message/agents.md to maintain the system prompt and agents.md etc so that accuracy can be maintained per chat
Activity
github-actions commentedon Oct 26, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
cchance27 commentedon Oct 26, 2025
honestly they should have it exclude the first message + agents.md from the summarization input, then just reappend the summary after the original message/agents.md to maintain the system prompt and agents.md etc so that accuracy can be maintained per chat
etraut-openai commentedon Jan 10, 2026
Closing old issue.
escape0707 commentedon Mar 6, 2026
Are we just vibe-closing open issues now? No explanation about whether OP's problem got addressed at all?