Skip to content

Unknown-project error lists only cloud projects and omits local ones #1809

Open

Description

@phernandez

Found during live testing of main at 0276799 (2026-10-22).

Problem

With cloud credentials present, an unknown project name on write_note or recent_activity reports only cloud projects:

Project 'no-such-project' was not found in indexed cloud workspaces. Available projects:
basic-memory-7020de4e.../test-visibility, ..., demo/main, my-team-2/main.

None of the 9 local projects (main, basic-memory-testing-*) appear. A local-only user gets a list they cannot use. The call also takes 0.7-1.2s because it goes through cloud discovery.

delete_project handles the same case correctly: Project 'bm-live-does-not-exist' not found. Available projects: main, basic-memory-testing-20261008-1228, ...

Repro

  1. Local mode with an OAuth token or BASIC_MEMORY_API_KEY set.
  2. recent_activity(project="no-such-project") or write_note(project="no-such-project", directory="x", title="x", content="x").

Source

  • src/basic_memory/mcp/workspace_project_index.py:408

Expected

The error lists local projects, plus cloud projects when cloud is in use. It does not say "indexed cloud workspaces" for a lookup that started from local config.

Activity

  1. claude commented on Oct 23, 2026

    @claude
    Contributor

    Claude finished @phernandez's task in 17s —— View job


    Triage

    I have not made any code changes, as this was triage only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcloudBasic Memory Cloud

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions