117 lines
3.2 KiB
Plaintext
117 lines
3.2 KiB
Plaintext
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"default_agent": "tier2-autonomous",
|
|
"model": "minimax-coding-plan/MiniMax-M3",
|
|
"permission": {
|
|
"edit": "deny",
|
|
"read": {
|
|
"*": "deny",
|
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
|
},
|
|
"write": {
|
|
"*": "deny",
|
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
|
},
|
|
"bash": {
|
|
"*": "deny",
|
|
"git status*": "allow",
|
|
"git diff*": "allow",
|
|
"git log*": "allow",
|
|
"git add*": "allow",
|
|
"git commit*": "allow",
|
|
"git switch*": "allow",
|
|
"git branch*": "allow",
|
|
"git fetch*": "allow",
|
|
"git remote*": "allow",
|
|
"git rev-parse*": "allow",
|
|
"git show*": "allow",
|
|
"git config --get*": "allow",
|
|
"ls*": "allow",
|
|
"cat*": "allow",
|
|
"head*": "allow",
|
|
"tail*": "allow",
|
|
"find*": "allow",
|
|
"echo*": "allow",
|
|
"mkdir*": "allow",
|
|
"cp*": "allow",
|
|
"mv*": "allow",
|
|
"rm*": "allow",
|
|
"uv run python scripts/run_tests_batched.py*": "allow",
|
|
"uv run python scripts/tier2/*": "allow",
|
|
"pwsh -File scripts/tier2/*": "allow",
|
|
"*AppData\\*": "deny",
|
|
"*AppData\\Local\\Temp\\*": "deny",
|
|
"*$env:TEMP*": "deny",
|
|
"*$env:TMP*": "deny",
|
|
"*%TEMP%*": "deny",
|
|
"*%TMP%*": "deny",
|
|
"*GetTempPath*": "deny",
|
|
"*gettempdir*": "deny",
|
|
"*mkstemp*": "deny",
|
|
"*C:/tmp*": "deny",
|
|
"*C:\\tmp*": "deny",
|
|
"*c:/tmp*": "deny",
|
|
"*c:\\tmp*": "deny",
|
|
"*/c/tmp*": "deny",
|
|
"git push*": "deny",
|
|
"git checkout*": "deny",
|
|
"git restore*": "deny",
|
|
"git reset*": "deny",
|
|
"git revert*": "deny",
|
|
"git stash*": "deny",
|
|
"git stash pop*": "deny",
|
|
"git stash apply*": "deny",
|
|
"git stash drop*": "deny",
|
|
"git stash clear*": "deny",
|
|
"git clean -fd*": "deny",
|
|
"git clean -fdx*": "deny"
|
|
}
|
|
},
|
|
"agent": {
|
|
"tier2-autonomous": {
|
|
"model": "minimax-coding-plan/MiniMax-M3",
|
|
"temperature": 0.4,
|
|
"permission": {
|
|
"edit": "allow",
|
|
"read": {
|
|
"*": "deny",
|
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
|
},
|
|
"write": {
|
|
"*": "deny",
|
|
"C:\\projects\\manual_slop_tier2\\**": "allow"
|
|
},
|
|
"bash": {
|
|
"*": "allow",
|
|
"*AppData\\*": "deny",
|
|
"*AppData\\Local\\Temp\\*": "deny",
|
|
"*$env:TEMP*": "deny",
|
|
"*$env:TMP*": "deny",
|
|
"*%TEMP%*": "deny",
|
|
"*%TMP%*": "deny",
|
|
"*GetTempPath*": "deny",
|
|
"*gettempdir*": "deny",
|
|
"*mkstemp*": "deny",
|
|
"*C:/tmp*": "deny",
|
|
"*C:\\tmp*": "deny",
|
|
"*c:/tmp*": "deny",
|
|
"*c:\\tmp*": "deny",
|
|
"*/c/tmp*": "deny",
|
|
"git push*": "deny",
|
|
"git checkout*": "deny",
|
|
"git restore*": "deny",
|
|
"git reset*": "deny",
|
|
"git revert*": "deny",
|
|
"git stash*": "deny",
|
|
"git stash pop*": "deny",
|
|
"git stash apply*": "deny",
|
|
"git stash drop*": "deny",
|
|
"git stash clear*": "deny",
|
|
"git clean -fd*": "deny",
|
|
"git clean -fdx*": "deny"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|