Recent activity empty on startup screen despite valid session data

Status Fixed / completed
Reported on v2.1.7
Maintainer reply None cached
Activity 10 comments · opened Jan 14, 2026 · closed Aug 20, 2026

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 ↗

9 Comments

mo-bro · 7 months ago

I have the same issue for all my claude code projects

imaxisXD · 7 months ago

did anyone solve this ?

zachliu · 6 months ago

i was on a pretty old v1.0.x (forgot the x probably 37) and didn't have this issue
now that i'm on v2.1.37, i have the same issue 😿

pEtienn · 6 months ago

I have the same issue.

alessandro9110 · 5 months ago

I have the same

zyfkid · 5 months ago

I have the same issue,did anyone solve this ?

ernes128 · 4 months ago

Got the same issue

bgvit · 4 months ago

me too

JiajuHong · 4 months ago

I have the same issue,my claude code version is 2.1.112.

Showing cached comments. Read the full discussion on GitHub ↗