-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
227 lines (227 loc) · 6.83 KB
/
Copy pathopencode.json
File metadata and controls
227 lines (227 loc) · 6.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"__comment": "Put me in ~/.config/opencode/opencode.json",
"$schema": "https://opencode.ai/config.json",
"mcp": {
},
"plugin": [
"@plannotator/opencode@latest"
],
"permission": {
"*": "ask",
"bash": {
"*": "ask",
"buf lint *": "allow",
"bundle exec rspec *": "allow",
"bundle exec rubocop *": "allow",
"bundle info *": "allow",
"bundle list *": "allow",
"bundle show *": "allow",
"bundle update *": "allow",
"cat *": "allow",
"diff *": "allow",
"docker *": "deny",
"dbt *": "allow",
"echo *": "allow",
"echo $?": "allow",
"echo $*": "ask",
"env": "deny",
"fd *": "allow",
"find *": "allow",
"gcloud projects list": "allow",
"gcloud config set project *": "ask",
"gcloud *": "ask",
"gh api *": "allow",
"gh api repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/pulls *": "allow",
"gh pr checks *": "allow",
"gh pr diff *": "allow",
"gh pr view *": "allow",
"gh release list *": "allow",
"gh release view *": "allow",
"gh run view *": "allow",
"git commit*": "deny",
"git add*": "deny",
"git blame *": "allow",
"git branch --show-current": "allow",
"git branch -a": "allow",
"git check-ignore *": "allow",
"git diff *": "allow",
"git diff": "allow",
"git grep *": "allow",
"git log *": "allow",
"git log": "allow",
"git ls-remote *": "allow",
"git merge-base *": "allow",
"git rev-parse --abbrev-ref HEAD": "allow",
"git show *": "allow",
"git stash *": "deny",
"git status *": "allow",
"git status": "allow",
"git symbolic-ref refs/remotes/origin/HEAD": "allow",
"grep *": "allow",
"head *": "allow",
"head": "allow",
"ls *": "allow",
"mise exec -- bundle exec ruby": "allow",
"mise exec -- mix compile *": "allow",
"mise exec -- mix compile": "allow",
"mise exec -- mix credo *": "allow",
"mise exec -- mix deps.compile*": "allow",
"mise exec -- mix deps.get 2>&1": "allow",
"mise exec -- mix deps.get": "allow",
"mise exec -- mix dialyzer*": "allow",
"mise exec -- mix ecto.gen.migration *": "allow",
"mise exec -- mix ecto.migrations": "allow",
"mise exec -- mix format *": "allow",
"mise exec -- mix format": "allow",
"mise exec -- mix help *": "allow",
"mise exec -- mix sobelow --config": "allow",
"mise exec -- mix static_analysis *": "allow",
"mise exec -- mix test *": "allow",
"MIX_ENV=test mix compile ": "allow",
"MIX_ENV=test mix ecto.migrate": "allow",
"MIX_ENV=test mix ecto.migrations *": "allow",
"mix compile *": "allow",
"mix compile": "allow",
"mix credo *": "allow",
"mix deps.get": "allow",
"mix deps.get 2>&1": "allow",
"mix deps.compile*": "allow",
"mix dialyzer*": "allow",
"mix ecto.gen.migration *": "allow",
"mix ecto.migrations": "allow",
"mix format *": "allow",
"mix format": "allow",
"mix help *": "allow",
"mix static_analysis *": "allow",
"mix sobelow --config": "allow",
"mix test *": "allow",
"mkdir *": "allow",
"npm install *": "deny",
"npm run build": "allow",
"npx biome fmt *": "allow",
"npx biome fmt": "allow",
"npx biome lint *": "allow",
"npx biome lint": "allow",
"npx plannotator *": "allow",
"npx playwright *": "allow",
"npx tsx *": "allow",
"npx tsx": "allow",
"osascript -e 'display notification *": "allow",
"SNAPSHOT_UPDATE=true mix test *": "allow",
"pip show *": "allow",
"pip3 --version": "allow",
"podman compose logs *": "allow",
"podman logs *": "allow",
"podman ps *": "allow",
"podman volume inspect *": "allow",
"printenv": "deny",
"python --version": "allow",
"python -m pytest *": "allow",
"python3 --version": "allow",
"rg *": "allow",
"sed -n *": "allow",
"sleep *": "allow",
"sort *": "allow",
"tail *": "allow",
"terraform apply": "deny",
"terraform destroy": "deny",
"terraform fmt *": "allow",
"terraform validate *": "allow",
"tilt version *": "allow",
"touch *": "allow",
"tr *": "allow",
"uniq": "allow",
"uv run pytest *": "allow",
"wc *": "allow",
"xargs grep *": "allow",
"yq *": "allow"
},
"edit": {
"*": "allow",
"../": "ask",
"./": "allow",
".env": "ask",
".envrc": "ask",
"~": "ask",
"~/dev/": "ask",
"config/*": "ask",
"context.md": "allow",
"lib/*": "allow",
"priv/*": "allow",
"scripts/*": "ask",
"test/*": "allow",
"tests/*": "allow",
"TODO.md": "allow"
},
"external_directory": {
"~/.plannotator/plans/*": "allow"
},
"glob": {
"*": "allow",
".env": "ask",
".envrc": "ask",
".mise.toml": "ask",
"mise.toml": "ask"
},
"grep": {
"*": "allow",
".env": "ask",
".envrc": "ask",
".mise.toml": "ask",
"mise.toml": "ask"
},
"list": {
"*": "allow"
},
"plannotator-review": "allow",
"npx plannotator *": "allow",
"playwright-test_browser_navigate": "allow",
"playwright-test_generator_setup_page": "allow",
"playwright-test_browser_get_config": "allow",
"playwright-test*_browser_click": "allow",
"playwright-test*_browser_drag": "allow",
"playwright-test*_browser_handle_dialog": "allow",
"playwright-test*_browser_hover": "allow",
"playwright-test*_browser_navigate": "allow",
"playwright-test*_browser_press_key": "allow",
"playwright-test*_browser_select_option": "allow",
"playwright-test*_browser_snapshot": "allow",
"playwright-test*_browser_verify_element_visible": "allow",
"playwright-test*_browser_verify_list_visible": "allow",
"playwright-test*_browser_verify_text_visible": "allow",
"playwright-test*_browser_verify_value": "allow",
"playwright-test*_browser_wait_for": "allow",
"playwright-test*_read_log": "allow",
"playwright-test*_setup_page": "allow",
"read": {
"*": "allow",
"../*": "allow",
".env": "deny",
".envrc": "deny",
".mise.toml": "deny",
".plan/*": "allow",
"~/dev/*": "allow",
"mise.toml": "deny"
},
"read_old_kept_just_in_case": {
"*": "ask",
".env": "ask",
".envrc": "ask",
"./*": "allow",
"../*": "allow",
"coherentpath/*": "allow",
"config/*": "allow",
"lib/*": "allow",
"priv/*": "allow",
"test/*": "allow",
"tests/*": "allow",
"~/dev/*": "allow"
},
"task": {
"*": "allow",
"explore": "allow"
},
"todowrite": "allow",
"webfetch": "allow"
}
}