[BUG] Welcome screen "Recent activity" never shows sessions after release notes are read
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bug Description
The welcome screen always shows "No recent activity" even when many previous sessions exist.
## Root Cause (confirmed via binary analysis of v2.1.104)
Qk7() — the function that preloads recent sessions into B4_ — is only called when hasReleaseNotes === true:
```js
if (hasReleaseNotes) await Qk7()
Once the user has seen all release notes (lastReleaseNotesSeen === current version), hasReleaseNotes is always false,
so Qk7() never runs. The module-level variable B4_ stays undefined, and lk7() (which the welcome screen reads
synchronously) returns undefined → "No recent activity".
What Should Happen?
Expected Behavior
Qk7() should run unconditionally at startup (or the welcome screen should trigger it directly), not be gated on
hasReleaseNotes.
Workaround
None currently (resetting lastReleaseNotesSeen to an older version causes the release notes dialog to reappear on
every restart).
Error Messages/Logs
Environment
- Claude Code version: 2.1.104
- Platform: macOS darwin arm64
- Auth: claude.ai OAuth
- Sessions present: 18 .jsonl files in project directory, all valid
Steps to Reproduce
Steps to Reproduce
- Use Claude Code for a while (build up session history)
- Read/dismiss release notes (or have lastReleaseNotesSeen set to the current version)
- Start Claude Code → welcome screen shows "No recent activity" regardless of existing sessions
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code version: 2.1.104
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗