Named session lost after system restart — not visible in /resume
Resolved 💬 5 comments Opened Mar 28, 2026 by kamil6x Closed May 6, 2026
Bug Description
A named Claude Code session (named freq-autoresearch) with active cron jobs and 22 background tasks disappeared from the /resume session list after a macOS system restart. The session had significant context including cron jobs, background bash tasks, and conversation history.
Steps to Reproduce
- Start a Claude Code session in a project directory
- Name the session (e.g., freq-autoresearch)
- Set up cron jobs and background tasks within the session
- Restart macOS (system restart, not just terminal close)
- Open Claude Code again in the same directory
- Run /resume and search for the session name
Expected Behavior
The named session should appear in the /resume list and be resumable after a system restart.
Actual Behavior
The session does not appear in the /resume search results. Searching for auto returns no matches, despite the session being named freq-autoresearch and having significant history.
Environment
- Claude Code version: v2.1.76
- Model: Opus 4.6 with max effort (Claude Max)
- OS: macOS (Darwin 24.6.0)
- Shell: bash
- Working directory: ~/Documents/GitHub/freqtrade-server
Additional Context
- The session had active CronCreate tasks (e.g., scheduled every 15 minutes)
- 22 background tasks were running at the time of restart
- The session was using bypass permissions on mode
- The terminal shows Restored Mar 28, 2026 at 02:09:45 indicating macOS Terminal attempted to restore the session, but Claude Code own session persistence did not survive
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗