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
Add explicit no-prune retention mode for archived local sessions #37435
Add an explicit retention policy for local session rollouts, including a disabled/unlimited mode that guarantees Codex will not automatically delete or prune archived or old session files. The policy should keep lightweight history.jsonl retention separate from full rollout retention under $CODEX_HOME/sessions and $CODEX_HOME/archived_sessions. If cleanup is opt-in, document the scope clearly and make age/size-based cleanup explicit and reversible where possible.
Additional information
Observed on Codex CLI 0.147.0 on macOS. The documented history settings cover history.jsonl (history.persistence and history.max_bytes), but there is no documented setting for full archived rollout retention. codex doctor reports active and archived rollout stores separately. Affected thread ID: 019fdbfa-01d9-7811-ab79-14669e54f3a2. Related issues: #6015, #28187, and #37216.
Activity
github-actions commentedon Aug 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
PaulRBerg commentedon Aug 7, 2026
Yes, duplicate of