Configuring Claude Code and Codex to Persist History Logs
HanchungLee · x · 2026-07-31
To address Claude Cowork's lack of sandbox settings and reliable hooks, a developer shared configuration tweaks to persist history logs:
- Codex: Modify /.codex/config.toml and set persistence = "save-all" under [history].
- Claude Code: Modify /.claude/settings.json and set cleanupPeriodDays = 9999.
Related event: Configuration Tips to Persist History in Codex and Claude Code(2 posts)→
More from coding & agent
- NVIDIA Launches Jetson Agent Skills to Optimize LLM Memory on Edge Devices — CodeByPoonam · 2026-07-31
- NVIDIA Launches Jetson Agent Skills: AI Automatically Optimizes Edge Device Memory — CodeByPoonam · 2026-07-31
- Vercel CEO: Software Development Will Fully Transition to 'Agentic Software Factories' — lgrammel · 2026-07-31
- TS Creator Matt Pocock on Agent Skills, Death of Tactical Programming & Personal Software — mattpocockuk · 2026-07-31
- Open-Sourcing runcost: A Comprehensive Tool for Tracking LLM API Costs — pawofdoom · 2026-07-31
- Open-Sourcing AWS Guardrails to Prevent AI Agents from Deleting Cloud Resources — OmniAIBuilder · 2026-07-31