Roo-Code/packages
Roo Code 7686d288a6 feat: add disableDefaultRules option to ModeConfig
Adds a new optional `disableDefaultRules` boolean field to the ModeConfig
schema. When set to true on a custom mode, only mode-specific rules
(.roo/rules-{mode}/) are loaded -- generic/default rules (.roo/rules/,
AGENTS.md, .roorules, .clinerules) are skipped.

This addresses the need for focused modes that should not inherit the
default rule set, reducing rule noise and improving model adherence.

Changes:
- packages/types/src/mode.ts: Add disableDefaultRules to modeConfigSchema
- src/core/prompts/sections/custom-instructions.ts: Respect the flag
- src/core/prompts/system.ts: Thread the flag from mode config
- webview-ui: Add UI toggle for custom modes
- Tests: Schema validation and addCustomInstructions behavior

Closes #11611
2026-02-19 20:54:50 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud chore: remove integration tests (#11598) 2026-02-19 01:16:40 -07:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Add back post-revert bug fixes and features (Step 2) (#11463) 2026-02-13 18:40:28 -05:00
evals Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
ipc feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types feat: add disableDefaultRules option to ModeConfig 2026-02-19 20:54:50 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00