You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
recent activity shows first-note onboarding for projects that already have notes #1986
bm_project(command="recent") shows the first-note onboarding prompt ("If the user is just getting started and has no notes yet…") for any project that has had no changes in the window, even one full of notes. Models often act on it and offer to create a "first note" in an established project.
What happens
Found in a 1.0 live MCP test (post-1.0), on v1.0.0 (c9bd187).
bm_project(command="recent", project="<a project with notes, none changed in 7 days>") returned:
No recent activity in '<project>' within 7d.
If the user is just getting started and has no notes yet, briefly explain that Basic Memory keeps notes ... then offer to save something useful from this conversation as their first note — wait for them to agree before writing:
Why
_format_project_output in src/basic_memory/mcp/tools/recent_activity.py:137-177 shows the prompt whenever the first, unfiltered page is empty. It never checks whether the project has any notes. The comment at lines 157-159 says one message is meant to cover both a brand-new project and a quiet one. The "Otherwise, widen the window" hint is there, but the onboarding text comes first and reads as an instruction.
Expected
Project with zero notes → onboarding prompt.
Project with notes but none in the window → only "No recent activity … widen the window with since="30d" or search".
Proposed fix
On an empty first page, run one cheap count of the project's notes and show the onboarding text only when it is 0.
Component: MCP tools (recent_activity). No Cloud label, since this isn't Cloud-specific.
Priority: Medium. Nothing breaks, but the misleading onboarding text can lead models to offer a "first note" in an established project.
Complexity: Simple. The change is localized: on an empty first page, run one note count and show the onboarding text only when the count is 0. It needs a regression test for both cases (zero notes and notes outside the window). The repo requires 100% coverage.
Duplicates: I searched open and closed issues and found none.
The report already has the location (_format_project_output in src/basic_memory/mcp/tools/recent_activity.py), the cause, and the expected behavior. I need no further reproduction steps.
Activity
claude commentedon Oct 30, 2026
Claude finished @groksrc's task in 12s —— View job
Triage
bugapplied)recent_activity). No Cloud label, since this isn't Cloud-specific.The report already has the location (
_format_project_outputinsrc/basic_memory/mcp/tools/recent_activity.py), the cause, and the expected behavior. I need no further reproduction steps.I stopped at triage and made no code changes.
fix(mcp): offer first-note onboarding in recent only for empty projec…