Update
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
- Prefer concise, readable code over clever one-liners
|
||||
- No unnecessary comments — code should be self-documenting
|
||||
- Docker-friendly: no hardcoded paths, use env vars for config
|
||||
- Use the git subagent to handle git operations and generating commit messages.
|
||||
|
||||
@@ -13,8 +13,9 @@ 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.
|
||||
Your role is to handle commit.
|
||||
All changes are already staged. You must generate a commit message using staged changes.
|
||||
You must not compile, build or attempt to make changes as everything has already been tested and confirmed as working as intended.
|
||||
When writing commit messages, follow the specification below.
|
||||
|
||||
# Commit messages
|
||||
|
||||
@@ -2,11 +2,29 @@
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"agent": {
|
||||
"build": {
|
||||
"model": "kimi-for-coding/kimi-for-coding",
|
||||
"Thinking": "ON",
|
||||
"permission":{
|
||||
"task": {
|
||||
"git": "allow"
|
||||
}
|
||||
}
|
||||
},
|
||||
"plan": {
|
||||
"model": "kimi-for-coding/k3-256k",
|
||||
"reasoning_effort": "max"
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"gitea-mcp": {
|
||||
"enabled": true,
|
||||
"type": "local",
|
||||
"command": [
|
||||
"gitea-mcp",
|
||||
"-t", "stdio",
|
||||
"-H", "https://gitea.itspm.cc",
|
||||
"-T", "82e8aeb9bcf9b26d1bad9167549f6532f968bcb0"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user