Recent activity empty on startup screen despite valid session data

Open 💬 9 comments Opened Jan 14, 2026 by kylemwagner

Bug Description

The "Recent activity" section on the Claude Code startup screen is always empty, even though session data exists and is accessible via claude -r <session-id>.

Environment

  • Claude Code version: 2.1.7
  • Platform: WSL2 (Ubuntu) on Windows 11
  • OS Version: Linux 6.6.87.2-microsoft-standard-WSL2

Steps to Reproduce

  1. Start Claude Code with claude command
  2. Observe the startup screen - "Recent activity" section is empty
  3. Exit and check session data exists in ~/.claude/projects/<project-path>/

Expected Behavior

The "Recent activity" section should display recent sessions that can be resumed.

Actual Behavior

The "Recent activity" section is always empty, showing no sessions.

Evidence That Sessions Exist

# Session files exist
$ ls ~/.claude/projects/-mnt-c-Users-KyleWagner/*.jsonl
160fc210-7ad7-42f7-9a52-7cae76d288d9.jsonl
35ef0ab3-9449-4089-87f5-eefd196a4625.jsonl
6ffb6826-c139-49d4-878c-7f91b274cd29.jsonl
# ... (7 total session files)

# history.jsonl has entries
$ wc -l ~/.claude/history.jsonl
79 /root/.claude/history.jsonl

# Sessions ARE resumable via CLI flag
$ claude -p -r 6ffb6826-c139-49d4-878c-7f91b274cd29 "What was this session about?"
# Successfully returns session context

Workaround

Sessions can be resumed directly using session IDs:

claude -r <session-id>

Additional Context

  • Sessions have valid data including message history and summaries
  • stats-cache.json correctly tracks session counts and message counts
  • The issue appears to be with the startup screen display logic, not session storage
  • May be WSL-specific or a general issue in v2.1.7

View original on GitHub ↗

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