Repository navigation
Description
What happens
On a hosted session with access to several workspaces, ls, cat and find only show and match the projects in the session's own workspace. A project in another workspace is reachable, but nothing tells the caller how to reach it.
Found during the 2026-10-18 MCP regression run on development. The session's workspace is "My Team"; the project agent-release-test is in another workspace, slug zesty-tapir-stone.
| Call | Result |
|---|---|
ls / |
Lists comark-qa/, dev-test-20261012/, getting-started/, main/ only. No sign the other workspaces' projects exist. |
cat agent-release-test/regression/Regression Alpha.md |
no project 'agent-release-test' — active projects: comark-qa/, dev-test-20261012/, getting-started/, main/ |
ls agent-release-test/regression, find agent-release-test/regression --meta ... |
Same refusal. |
cat "My Workspace/agent-release-test/agents/Cleanup.md" |
no project 'My Workspace' — ... (workspace names are not accepted, and two workspaces share that name). |
ls zesty-tapir-stone/agent-release-test/agents |
Works. |
Any of them with project_id=9b33303f-… |
Works. |
So routing is correct (Rule 4 in _project_path_route, _detect_workspace_qualified_route). The gap is discovery: an agent that reads the refusal and retries from it can never find the working spelling. It has to already know about the <workspace-slug>/<project>/ form or project_id.
Expected
The refusal teaches the spelling that works. Two options:
- When the first segment matches a project in another accessible workspace, name it in the error:
project 'agent-release-test' is in workspace 'zesty-tapir-stone' — use 'zesty-tapir-stone/agent-release-test/<path>' or project_id='9b33303f-…'. This must not route there automatically; feat(mcp): route project-qualified paths in the POSIX tools #1421 is why unqualified first segments no longer search other workspaces. - Otherwise, say that other workspaces' projects need the
<workspace-slug>/<project>/prefix orproject_id, and point tolist_memory_projects.
Also consider having ls / say that other workspaces exist (for example, one line or entry naming them by slug), so the root listing isn't the whole world when it isn't.
Notes
list_memory_projectsalready shows every workspace's projects with theirproject_id, so the information is available to the session.- The man pages for
ls(1),cat(1)andfind(1)should mention the workspace-qualified form.
🤖 Generated with Claude Code
Activity
claude commentedon Oct 18, 2026
Claude finished @phernandez's task in 15s —— View job
Triage
bug)src/basic_memory/mcp/tools/posix_tools.py), involving cloud workspaces (labeledcloud)ls /output and the refusal message both need to cover the other workspaces.The issue has a title but no body. To help whoever picks this up, could you add:
ls /or a path in another workspace.I didn't change any code. This was triage only.
fix(mcp): name other-workspace projects in POSIX refusals and ls / (#…