add opencode rules
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"watcher": {
|
||||
"ignore": [
|
||||
"venv/**",
|
||||
".git/**",
|
||||
".idea/**",
|
||||
"__pycache__/**",
|
||||
"pojo/__pycache__/**",
|
||||
"dist/**",
|
||||
"build/**",
|
||||
"out/**",
|
||||
"lib/**",
|
||||
"*.log",
|
||||
"appointment_*.log",
|
||||
"utils/*.log",
|
||||
".DS_Store",
|
||||
".~contact.xlsx",
|
||||
"docs/**"
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"read": "allow",
|
||||
"edit": "ask",
|
||||
"bash": "ask"
|
||||
},
|
||||
"instructions": [
|
||||
"AGENTS.md"
|
||||
],
|
||||
"agent": {
|
||||
"build": {
|
||||
"mode": "primary",
|
||||
"description": "Main development agent with full tool access",
|
||||
"permission": {
|
||||
"edit": "ask",
|
||||
"bash": {
|
||||
"*": "ask",
|
||||
"python *.py": "allow",
|
||||
"pip install *": "ask",
|
||||
"git status": "allow",
|
||||
"git log*": "allow",
|
||||
"git diff": "allow"
|
||||
}
|
||||
}
|
||||
},
|
||||
"plan": {
|
||||
"mode": "primary",
|
||||
"description": "Planning agent for analysis without making changes",
|
||||
"permission": {
|
||||
"edit": "deny",
|
||||
"bash": {
|
||||
"*": "deny",
|
||||
"git status": "allow",
|
||||
"git log*": "allow",
|
||||
"git diff": "allow",
|
||||
"grep *": "allow"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user