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

  1. Start a Claude Code session in a project directory
  2. Name the session (e.g., freq-autoresearch)
  3. Set up cron jobs and background tasks within the session
  4. Restart macOS (system restart, not just terminal close)
  5. Open Claude Code again in the same directory
  6. 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

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗