{
"$schema": "https://opencode.ai/config.json",
"default_agent": "build",
"permission": {
"doom_loop": "allow",
"external_directory": {
"*": "deny"
},
"bash": {
"*": "allow",
"git": "deny",
"git *": "deny",
"git status": "allow",
"git status *": "allow",
"git log": "allow",
"git log *": "allow",
"git diff": "allow",
"git diff *": "allow",
"git show": "allow",
"git show *": "allow",
"git branch": "allow",
"git branch *": "allow",
"git ls-files": "allow",
"git ls-files *": "allow",
"jj *": "allow",
"jj": "allow",
"cargo add": "ask",
"cargo remove": "ask",
"cargo install": "deny",
"sed": "deny",
"sed *": "deny",
"awk": "deny",
"awk *": "deny",
"perl": "deny",
"perl *": "deny",
"python": "deny",
"python *": "deny",
"python3": "deny",
"python3 *": "deny",
"npm install": "deny",
"npm i": "deny",
"bun install": "deny",
"bun i": "deny",
"rm -rf": "deny",
"rm -rf *": "deny",
"dd": "deny",
"dd *": "deny",
"truncate": "deny",
"truncate *": "deny",
"curl * | sh": "deny",
"curl * | bash": "deny",
"wget * | sh": "deny",
"wget * | bash": "deny",
"eval": "deny",
"eval *": "deny",
"find * -delete": "deny",
"find * -exec": "deny",
"find * -execdir": "deny"
}
}
}