forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Description
App Version
3.19.0
API Provider
Not Applicable / Other
Model Used
N/A
π Steps to Reproduce
- Create symlinks to a few text files from other folder in
.roo/rules
- Open Roo's Modes, select any mode.
- Click "Preview System Prompt"
- Observe that the inclusion order is not alphabetical (despite the documentation).
π₯ Outcome Summary
Judging by the comments
# Rules from ...
in the system prompt preview, I don't see any obvious order.
Moreover, the order is different each time.
Paths to the target files, not symlinks, are listed.
I believe that the correct way to handle this is to sort symlinks in the same way that normal files are sorted. The symlink name (not the name it points to) should be used for sorting.
Symlinking files from elsewhere and naming symlinks is a standard pattern for e.g. scripts to ensure execution order, while keeping particular files in sync between multiple folders they're referred in.
This might be a Windows-specific problem.
π Relevant Logs or Errors (Optional)
Sample excerpt from the System Prompt preview (repo path stripped):
# Rules from <skipped>\.roo\_rules\lang.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\shell.yaml:
<skipped>
# Rules from <skipped>\.flow\config\project-brief.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\repo-guide.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\markdown.yaml:
<skipped>
After closing and opening Settings again, the order is different:
# Rules from <skipped>\.roo\_rules\markdown.yaml:
<skipped>
# Rules from <skipped>\.flow\config\project-brief.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\shell.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\lang.yaml:
<skipped>
# Rules from <skipped>\.roo\_rules\repo-guide.yaml:
dosubot
Metadata
Metadata
Assignees
Labels
Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.Valid, but needs effort estimate or design input before work can start.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done