Skip to content

Removing a cloud project leaves an undeletable local stub that list-projects still returns #1340

Description

@nellins

Summary

Removing a cloud-routed project can leave behind a local entry that list-projects still returns but bm project remove reports as not found. The name stays permanently occupied — bm project add rejects it as taken, and nothing can delete it.

Reproduce

bm project add openclaw-demo --cloud --workspace "Team Drew"
# → Project 'openclaw-demo' added successfully

bm project remove openclaw-demo
# → Project 'openclaw-demo' deletion queued

The cloud project goes away. A local stub remains:

bm tool list-projects
# → {"name": "openclaw-demo", "source": "local", "cloud_path": null, "local_path": "/"}

Note source has flipped from cloud to local and local_path is /, which is not a path anyone configured.

Now it can't be removed:

bm project remove openclaw-demo
# → Error removing project: Project not found: 'openclaw-demo'

Still in this state hours later, so it isn't the queued deletion catching up.

Impact

The name is burned. This surfaced while preparing a docs video: the project name had to be created on camera, so a stuck entry meant picking a different name and re-recording the setup.

Two things look wrong independently:

  1. list-projects and project remove disagree about whether the project exists.
  2. Removing a cloud project leaves a local entry pointing at /. Deletion looks like it's converting the record rather than removing it.

Environment

basic-memory 0.23.2, macOS, cloud-routed project in an organization workspace.

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