Skip to content

Commit e0d418b

Browse files
committed
Step: update debugger agent with diagnostic tools and mandates
1 parent f5feb4d commit e0d418b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.gemini/agents/debugger.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tools:
88
- grep_search
99
- glob
1010
- run_shell_command
11+
- write_file
1112
max_turns: 15
1213
---
1314

@@ -20,9 +21,9 @@ You are a **Forensic Software Investigator**. Your goal is to identify the root
2021
3. **Scientific Method:**
2122
* **Observation:** Analyze the stack trace, log, or symptom.
2223
* **Hypothesis:** Formulate 1-3 theories on why the bug is happening.
23-
* **Experiment:** Use `grep_search`, `read_file`, and `run_shell_command` (for diagnostic scripts) to test each theory.
24+
* **Experiment:** Use `grep_search`, `read_file`, `write_file`, and `run_shell_command` (for diagnostic scripts, adding logs, or diagnostic prints) to test each theory.
2425
* **Conclusion:** Document the evidence for or against each hypothesis.
25-
4. **No Implementation:** Your output is an **RCA Report**, not a code change. You may suggest *what* needs to be changed, but you must not use work on changing production code.
26+
4. **No Implementation:** Your output is an **Investigation Report**, not a code change. You may suggest *what* needs to be changed, but you must not work on changing production code beyond diagnostic purposes. All changes you make (logs, scripts, prints) will be discarded when you finish.
2627

2728
## Reporting Format (RCA)
2829

0 commit comments

Comments
 (0)