Skip to content

Roo does not identify .roo folder in multiroot workspaceΒ #6720

@kfuglsang

Description

@kfuglsang

App Version

3.25.6

API Provider

Anthropic

Model Used

N/A

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

When working in a multi root workspace, Roo Code incorrectly identifies the .roo folder.
It simply places it in the top-most folder of the workspace.

Can easily be reproduced by using a workspace file like this:
{ "folders": [ { "name": ".docs", "path": ".docs" }, { "name": ".roo", "path": ".roo" }, { "name": "src", "path": "src" } ] }

If you create a new slash command (i.e. commit), it will create .docs\.roo\commands\commit.dk). Same thing happens if you modify the MCP servers in the project, which becomes .docs\.roo\mcp.json.

Supersedes issues #6700

πŸ’₯ Outcome Summary

Expected slash commands to be stored in .roo\commands. Instead, it created .roo\commands as a subdirectory of the first folder in the workspace.

Expected mcp.json to be stored in .roo\mcp.json but was placed in .docs\.roo\mcp.json

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions