Skip to content

[ENHANCEMENT] Add mode argument that allows it to ignore default rules, only specific mode rules are loaded #11611

@anderrom

Description

@anderrom

Problem (one or two sentences)

While most rules applies to almost all modes, some specifics modes do not need these default set of rules. It is important to remove the rules in that case, because models are more likely to stick to the rules if there are less rules for it to follow.
Because of this, almost all rules needs to be duplicated in almost all modes.
Adding an argument would allow to have most of the rules in the default folder, and an specific model to ignore this default folder entirely.

Context (who is affected and when)

Users are affected when models don't properly follow the rules because there are too many

or

With increased maintenance, because a lot of rules are duplicated in the modes folders, when it could easily be kept only in the main rules folder, and the very specific modes ignoring it entirely.

Desired behavior (conceptual, not technical)

Add an argument to custom_modes.yaml that defines the mode to only use the rules assigned direct for it, and not include the default rules folder.

Constraints / preferences (optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions