From 154cf99f9568f1ad4cbd738c0f5a91b521d95abc Mon Sep 17 00:00:00 2001 From: sumeyaaaa Date: Sat, 21 Feb 2026 13:52:40 +0300 Subject: [PATCH] chore: commit .roo/rules-mode-writer/8_global_modes.xml --- .roo/rules-mode-writer/8_global_modes.xml | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .roo/rules-mode-writer/8_global_modes.xml diff --git a/.roo/rules-mode-writer/8_global_modes.xml b/.roo/rules-mode-writer/8_global_modes.xml new file mode 100644 index 0000000000..7d5f984ea6 --- /dev/null +++ b/.roo/rules-mode-writer/8_global_modes.xml @@ -0,0 +1,51 @@ + + + This reference documents how global (system-wide) modes work, where they live, and how they interact + with workspace-scoped modes. + + + + + .roomodes + Per-workspace (project) modes + + + + Global custom modes settings file (stored in VS Code globalStorage; exact path is environment-specific) + System-wide modes for Roo Code + + This file is created automatically on Roo Code startup if it does not exist. + + + + + + + When a mode with the same slug exists in both locations, the workspace (.roomodes) version takes precedence. + + + + Editing the global mode may have no visible effect inside a workspace that overrides the same slug. + + + To change behavior in one repo only, prefer editing .roomodes. + + + + + + + Default to editing .roomodes unless the user explicitly requests global scope. + + If the user asks for global scope, first check whether a workspace override exists for the same slug. + If it does, explain the precedence and offer to edit both. + + + + + + Prefer minimal, targeted changes and preserve YAML formatting. + + + +