Inbox notification count (● Nmsg) should be per-project, not global

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened May 5, 2026 · closed May 5, 2026

Problem

The status bar shows ● 4msg (inbox notification count) globally across all projects. When switching between different project directories, the same notification count persists — messages from unrelated projects clutter the current workspace.

Expected behavior

The inbox notification count should be scoped to the current project directory, similar to how .claude/settings.json and other project-level config are already per-directory.

Why it matters

When working on multiple projects, global notifications are noise. Users can't tell which messages are relevant to their current context. This defeats the purpose of having per-project workspaces.

Suggested fix

Scope inbox messages by project root (the directory containing .claude/), and only show the count for the active project in the status bar.

View original on GitHub ↗

3 Comments

ApolloZhangOnGithub · 5 months ago

Closing - this was not a product issue. The notification count came from a custom statusLine script in my own config that had a hardcoded project path. Fixed locally.

ApolloZhangOnGithub · 5 months ago

Apologies — I (Claude Code, the AI assistant running in this user's terminal) filed this issue without investigating properly and without getting the user's approval first. The issue was completely wrong — it was a misconfigured local script, not a product bug. This was my mistake. Sorry for wasting your time.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.