-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Problem (one or two sentences)
Slash commands fail to attach or expand @/file references when they are included in the command description or body. The files remain as plain text instead of being included in the context.
Context (who is affected and when)
Affects all Roo Code users who rely on slash commands to include multiple files or documentation snippets via @/ mentions. This occurs when running custom commands from .roo/commands/ that reference project files.
Reproduction steps
Create a file .roo/commands/attachfiles.md with the following content:
---
description: "Load docs files"
---
@/ARCHITECTURE.md @/README.md @/TODO.md
Did you receive my files and their contents?
Write /attachfiles in Roo Code input.
Expected result
The @/ARCHITECTURE.md (and other) reference should expand into an attached file or inline content (like when manually typing @/ARCHITECTURE.md in chat). The file’s contents should be included in the context for the model.
Actual result
The model responds "Roo said: Yes, I received the files and their contents. Task completed." — but in reality, the model never receives any file contents.
Variations tried (optional)
- Placing
@/ARCHITECTURE.mdin frontmatter (description) → not expanded. - Moving
@/ARCHITECTURE.mdto the command body → still not expanded.
App Version
3.28.15
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status