Automatic session cleanup
Resolved 💬 3 comments Opened Nov 11, 2025 by miliog Closed Nov 12, 2025
What feature would you like to see?
One feature I'm missing after switching to codex is the ability to automatically delete sessions and logs after N days. In Claude Code it's called cleanupPeriodDays. Right now you'd have to write a cronjob to achieve that obviously, but I'd prefer it to be integrated.
Similarly, an incognito command-line argument and config option would be neat as well, so that all session data remains in memory.
Organizations with strict retention policies would welcome those features, as well as people who value privacy.
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗