mirror of
https://github.com/cole-maxwell1/dotfiles.git
synced 2026-08-02 12:23:54 -04:00
fix(opencode): load global rules by renaming RULES.md to AGENTS.md
RULES.md was not an opencode-recognized rules filename, so global rules (including the "no AI co-author" Git rule) were never loaded; only the stale, un-version-controlled ~/.claude/CLAUDE.md fallback applied, which lacked that rule. Rename to AGENTS.md so opencode loads it natively as the global rules file. Also add watcher.ignore for node_modules/.git/dist/.venv/target dirs.
This commit is contained in:
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../.config/opencode/AGENTS.md
|
||||||
@@ -112,6 +112,9 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"watcher": {
|
||||||
|
"ignore": ["node_modules/**", ".git/**", "dist/**", "**/.venv/**", "**/target/**"],
|
||||||
|
},
|
||||||
"lsp": true,
|
"lsp": true,
|
||||||
"formatter": true,
|
"formatter": true,
|
||||||
"model": "zai-coding-plan/glm-5.2",
|
"model": "zai-coding-plan/glm-5.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user