switch-project
Change which scope memory operations target.
Default detection
By default projectId = the git repo directory name, userId = the OS user,
platformId = local. That's usually right.
Point at another project
Pass an explicit projectId on the call:
{ "name": "memory_search", "arguments": { "projectId": "other-repo", "limit": 20 } }
For the rest of the task, keep using that projectId on observe / save /
search so reads and writes stay consistent.
Widen the search
- User-level (personal preferences, cross-project): drop
projectId, passuserIdandscope: "user". - Everything under the platform: pass only
platformId(and optionallyscope). Use sparingly — it can be noisy.
Confirm the switch
Tell the user which scope you're now reading/writing, and switch back when the cross-project detour is done, so you don't accidentally write memories into the wrong project.