diff --git a/.config/opencode/agents/git.md b/.config/opencode/agents/git.md index 0bc9a4e..a3f4499 100644 --- a/.config/opencode/agents/git.md +++ b/.config/opencode/agents/git.md @@ -13,6 +13,10 @@ permission: list: allow --- +Your role is to handle git operations like commit and push. +You must not compile, build or attempt to fix code because everything has already been tested and confirmed as working as intended. +When writing commit messages, follow the specification below. + # Commit messages ## Specification diff --git a/.config/opencode/opencode.json b/.config/opencode/opencode.json index ed89b3f..8b73149 100644 --- a/.config/opencode/opencode.json +++ b/.config/opencode/opencode.json @@ -2,15 +2,10 @@ "$schema": "https://opencode.ai/config.json", "agent": { "build": { - "permission": - { - "git": "allow" - } - }, - "plan": { - "permission": - { - "git": "allow" + "permission":{ + "task": { + "git": "allow" + } } } }