Skip to content

Commit 3a71ae6

Browse files
authored
Debug mode and power steering (#58)
1 parent 754bc97 commit 3a71ae6

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed

docs/advanced-usage/custom-modes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Roo Code allows you to create **custom modes** to tailor Roo's behavior to speci
1111
## Why Use Custom Modes?
1212

1313
* **Specialization:** Create modes optimized for specific tasks, like "Documentation Writer," "Test Engineer," or "Refactoring Expert"
14-
* **Default Modes Tool Access Customization:** Modify which tools are allowed for the default modes (Code, Architect, Ask). Note that restricting tools for default modes may cause unintended outcomes in Roo Code's performance
1514
* **Safety:** Restrict a mode's access to sensitive files or commands. For example, a "Review Mode" could be limited to read-only operations
1615
* **Experimentation:** Safely experiment with different prompts and configurations without affecting other modes
1716
* **Team Collaboration:** Share custom modes with your team to standardize workflows

docs/advanced-usage/experimental-features.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Adds a new tool for searching and replacing text in a file.
3838

3939
Adds a new tool for inserting content at any position in a file.
4040

41+
### Power Steering
42+
43+
When enabled, Roo will remind the model about the details of its current mode definition more frequently. This will lead to stronger adherence to role definitions and custom instructions, but will use more tokens per message.
44+
4145
## Providing Feedback
4246

4347
If you encounter any issues with experimental features, or if you have suggestions for improvements, please report them on the [Roo Code GitHub Issues page](https://github.com/RooVetGit/Roo-Code/issues).

docs/advanced-usage/model-temperature.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Different tasks benefit from different temperature settings. For example:
1616
* **Code Mode (Low Temperature):** When writing code, you generally want precise and correct results. A lower temperature (e.g., 0.0 - 0.3) is usually best.
1717
* **Architect Mode (Medium Temperature):** When brainstorming architectural designs, you might want more creative suggestions. A medium temperature (e.g., 0.4 - 0.7) can be helpful.
1818
* **Ask Mode (Medium to High Temperature):** When asking open-ended questions or seeking explanations, a higher temperature (e.g., 0.7 - 1.0) can lead to more diverse and insightful responses. You might even go higher for creative writing tasks.
19+
* **Debug Mode (Low Temperature):** When tracking down bugs, you want precise and correct results. A lower temperature (e.g., 0.0 - 0.3) is usually best.
1920

2021
## How to Adjust Temperature in Roo Code
2122

@@ -32,7 +33,7 @@ Roo Code allows you to create multiple API configuration profiles. This is *ver
3233

3334
* **Create a "Code - Low Temp" profile:** Configure this profile with your preferred API provider, a code-focused model (like Claude 3.5 Sonnet), and a low temperature (e.g., 0.1).
3435
* **Create an "Ask - High Temp" profile:** Configure this profile with the same provider (or a different one), perhaps a model better suited for general knowledge, and a higher temperature (e.g., 0.8).
35-
* **Switch Profiles:** Use the "Configuration Profile" dropdown in the Roo Code settings to quickly switch between your saved configurations. You can also set a default configuration for each mode (Code, Architect, Ask), so Roo Code automatically uses the appropriate settings when you switch modes.
36+
* **Switch Profiles:** Use the "Configuration Profile" dropdown in the Roo Code settings to quickly switch between your saved configurations. You can also set a default configuration for each mode (Code, Architect, Ask, Debug), so Roo Code automatically uses the appropriate settings when you switch modes.
3637

3738
This lets you tailor the AI's behavior to the specific task at hand without constantly adjusting settings.
3839

docs/advanced-usage/prompt-engineering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ It's often helpful to guide Roo Code through a "think-then-do" process:
3333
You can provide custom instructions to further tailor Roo Code's behavior. There are two types of custom instructions:
3434

3535
* **Global Custom Instructions:** Apply to all modes.
36-
* **Mode-Specific Custom Instructions:** Apply only to a specific mode (e.g., Code, Architect, Ask, or a custom mode).
36+
* **Mode-Specific Custom Instructions:** Apply only to a specific mode (e.g., Code, Architect, Ask, Debug, or a custom mode).
3737

3838
Custom instructions are added to the system prompt, providing persistent guidance to the AI model. You can use these to:
3939

docs/basic-usage/modes.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ Roo Code offers different "modes" to tailor its behavior and capabilities to spe
44

55
## Built-in Modes
66

7-
Roo Code comes with three built-in modes:
7+
Roo Code comes with four built-in modes:
88

99
* **Code Mode (Default):** This is the general-purpose coding mode. Roo Code can read, write, and execute code in this mode. It's designed for tasks like creating new features, refactoring existing code, and fixing bugs.
1010

1111
* **Architect Mode:** This mode is for high-level planning and design discussions. Roo Code can read files in this mode, but it *cannot* write to files or execute commands. Use this mode to discuss system architecture, design patterns, or overall project structure.
1212

1313
* **Ask Mode:** This mode is for asking questions and getting explanations. Roo Code can read files, access external resources, but it *cannot* modify files or run commands. Use this mode to understand code, explore concepts, or get help with specific problems. You can use this mode to learn more about new or existing code.
1414

15+
* **Debug Mode:** This mode is specifically designed for systematic problem diagnosis. It uses a structured approach where Roo Code first analyzes potential causes, narrows down the most likely explanations, and validates them through strategic logging before implementing fixes. This methodical process helps ensure more accurate bug fixes.
16+
1517
## Why Use Modes?
1618

1719
Modes help to:
@@ -24,7 +26,7 @@ Modes help to:
2426

2527
You can switch between modes using the dropdown menu in the chat input area:
2628

27-
1. **Locate the Dropdown:** Find the dropdown menu to the left of the chat input box. It will usually display the name of the current mode (e.g., "Code", "Architect", "Ask").
29+
1. **Locate the Dropdown:** Find the dropdown menu to the left of the chat input box. It will usually display the name of the current mode (e.g., "Code", "Architect", "Ask", "Debug").
2830

2931
2. **Select a Mode:** Click the dropdown and choose the mode you want to use.
3032

@@ -41,5 +43,6 @@ Roo Code also allows you to create your own custom modes, with tailored instruct
4143
* Start in **Code Mode** for most coding tasks.
4244
* Switch to **Architect Mode** when planning or discussing high-level design.
4345
* Use **Ask Mode** when you need to understand code or concepts.
44-
* Experiment with different modes to find what works best for your workflow.
45-
* Create **Custom Modes** to have even finer control over what actions each mode has access to.
46+
* Switch to **Debug Mode** when tracking down bugs.
47+
* Create **Custom Modes** to optimize Roo Code for your own project and workflows.
48+
* Experiment with different modes to find what works best!

docs/faq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Open the Roo Code panel (<Codicon name="rocket" />) and type your task in the ch
9090
* **Code:** For general-purpose coding tasks.
9191
* **Architect:** For planning and technical leadership.
9292
* **Ask:** For answering questions and providing information.
93+
* **Debug:** For systematic problem diagnosis.
9394

9495
You can also create [Custom Modes](/advanced-usage/custom-modes).
9596

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Roo Code adapts to your needs with specialized [modes](basic-usage/modes):
2828
- **Code Mode:** For general-purpose coding tasks
2929
- **Architect Mode:** For planning and technical leadership
3030
- **Ask Mode:** For answering questions and providing information
31+
- **Debug Mode:** For systematic problem diagnosis
3132
- **[Custom Modes](advanced-usage/custom-modes):** Create unlimited specialized personas for security auditing, performance optimization, documentation, or any other task
3233

3334
### Smart Tools

0 commit comments

Comments
 (0)