Active project and path don't change when instructed · Issue #37 · basicmachines-co/basic-memory · GitHub
Skip to content

Active project and path don't change when instructed #37

Description

@ryanstraight

Bug Description

When changing projects, memory.db changes but path and project do not. This causes Claude Desktop to write files to the wrong location.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install version '0.10.0'
  2. Run command (multiple; see below)
  3. Use tool/feature (multiple; see below)

Expected Behavior

Expect project and path to change.

Actual Behavior

What actually happened, including error messages and output.

PS C:\Users\ryan\zeta> basic-memory project default zeta
Project 'zeta' set as default
PS C:\Users\ryan\zeta> basic-memory project current
Current project: main
Path: ~\basic-memory
Database: ~\Zeta\.basic-memory\memory.db
PS C:\Users\ryan\zeta> basic-memory project default main
Project 'main' set as default
PS C:\Users\ryan\zeta> basic-memory project current
Current project: main
Path: ~\basic-memory
Database: ~\basic-memory\.basic-memory\memory.db
PS C:\Users\ryan\zeta> basic-memory project default zeta
Project 'zeta' set as default
PS C:\Users\ryan\zeta> basic-memory project current
Current project: main
Path: ~\basic-memory
Database: ~\Zeta\.basic-memory\memory.db
PS C:\Users\ryan\zeta> basic-memory -p zeta
PS C:\Users\ryan\zeta> basic-memory project current
Current project: main
Path: ~\basic-memory
Database: ~\Zeta\.basic-memory\memory.db
PS C:\Users\ryan\zeta> basic-memory project list
           Basic Memory Projects
┏━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━┓
┃ Name ┃ Path           ┃ Default ┃ Active ┃
┡━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━┩
│ main │ ~\basic-memory │         │        │
│ zeta │ ~\Zeta         │ ✓       │ ✓      │
└──────┴────────────────┴─────────┴────────┘
PS C:\Users\ryan\zeta>

Environment

  • OS: Windows 11 23H2
  • Python version: 3.13.1
  • Basic Memory version: 0.10.0
  • Installation method: uv 0.6.8 (c1ef48276 2025-03-18)
  • Claude Desktop version (if applicable): Version 0.8.1

Possible Solution

No idea, sadly. Tried to follow documentation, but not much on this.

Activity

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 working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions