Skip to content

Commit 8bd99e4

Browse files
committed
auto-sync: [Sat Mar 21 06:38:24 PM -03 2026]
1 parent f442006 commit 8bd99e4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

opencode/.config/opencode/AGENTS.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,9 @@
3434
## 6. Agent Behavioral Guardrails
3535
- **SYSTEMATIC DEBUGGING (ANTI-LOOP):** Never "guess and check". If a test or command fails, you must explicitly state a hypothesis for *why* it failed before changing code. If you fail 3 times on the same issue, STOP and ask the user for guidance. Do not brute-force solutions.
3636
- **EXPLICIT AMBIGUITY RESOLUTION:** If a requirement is missing or ambiguous, STOP and ask the user. Never invent or hallucinate business logic, schema requirements, or architectural constraints.
37-
- **CLEAN COMMITS:** Final code must be production-ready. Always remove exploratory debugging statements (e.g., `console.log`, `print`, `dbg!`), unused imports, and mock data before declaring a task complete.
37+
- **CLEAN COMMITS:** Final code must be production-ready. Always remove exploratory debugging statements (e.g., `console.log`, `print`, `dbg!`), unused imports, and mock data before declaring a task complete.
38+
39+
## 7. Tool Preference Rules
40+
- **PREFER MODERN TOOLS:** Always use `rg` (ripgrep) instead of `grep` and `eza --icons --git` instead of `ls` when available.
41+
- **VERBOSE LISTING:** When using `eza`, prefer `-la` for a comprehensive view of the directory state.
42+
- **SMART SEARCH:** Use `rg` with its default smart filtering (respecting `.gitignore`) unless explicitly asked to search ignored files.

opencode/.config/opencode/opencode.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
}
2323
},
2424
"mentor": {
25-
"hidden": true,
26-
"mode": "primary",
25+
"hidden": false,
26+
"mode": "subagent",
2727
"instructions": [
2828
"~/.config/opencode/rules/cs-mentor.md"
2929
],
@@ -52,6 +52,7 @@
5252
"find*": "allow",
5353
"cd*": "allow",
5454
"rg*": "allow",
55+
"eza*": "allow",
5556
"tree*": "allow",
5657
"fd*": "allow",
5758
"echo*": "allow",

0 commit comments

Comments
 (0)