Skip to content

Slash commands stored in wrong folder #6700

@kfuglsang

Description

@kfuglsang

App Version

v3.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 folder in which slash commands should be stored. It simply creates .roo\commands within the first folder in the multi-root 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).

💥 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.

📄 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