-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
112 lines (112 loc) · 2.72 KB
/
Copy pathopencode.jsonc
File metadata and controls
112 lines (112 loc) · 2.72 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
{
"$schema": "https://opencode.ai/config.json",
// Canonical project configuration. Keep exactly one root OpenCode config.
// Change this policy only with an effective-config regression test.
"default_agent": "delivery",
"share": "disabled",
"snapshot": true,
"autoupdate": "notify",
"instructions": [
"AGENTS.md",
".ui-redesign/adapter/REPOSITORY_ADAPTER.md",
".ui-redesign/decisions/DECISION_LEDGER.md",
],
"watcher": {
"ignore": [
".git/**",
"node_modules/**",
"dist/**",
".turbo/**",
"coverage/**",
".next/**",
".ui-redesign/evidence/raw/**",
],
},
"tool_output": {
"max_lines": 500,
"max_bytes": 40000,
},
"compaction": {
"auto": true,
"prune": true,
"tail_turns": 3,
"reserved": 12000,
},
"permission": {
"read": {
"*": "allow",
"*.env": "deny",
"**/.env": "deny",
"*.env.*": "deny",
"**/.env.*": "deny",
"*.env.example": "allow",
"**/.env.example": "allow",
"*.pem": "deny",
"**/*.pem": "deny",
"*.key": "deny",
"**/*.key": "deny",
"*credentials*": "deny",
"**/*credentials*": "deny",
".git/**": "deny",
"**/.git/**": "deny",
},
"glob": "allow",
"grep": "allow",
"list": "allow",
"lsp": "allow",
"todowrite": "allow",
"question": "allow",
"edit": {
"*": "ask",
"*.env": "deny",
"**/.env": "deny",
"*.env.*": "deny",
"**/.env.*": "deny",
"*.pem": "deny",
"**/*.pem": "deny",
"*.key": "deny",
"**/*.key": "deny",
"*credentials*": "deny",
"**/*credentials*": "deny",
".git/**": "deny",
"**/.git/**": "deny",
},
"external_directory": "deny",
"webfetch": "ask",
"websearch": "ask",
"task": "deny",
"skill": "deny",
"bash": {
"*": "ask",
"pwd": "allow",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git show*": "allow",
"git branch --show-current*": "allow",
"git rev-parse*": "allow",
"git ls-files*": "allow",
"git push*": "ask",
"git reset*": "deny",
"git clean*": "deny",
"git restore*": "deny",
"git checkout*": "deny",
"git switch*": "deny",
"git rebase*": "deny",
"git merge*": "deny",
"git cherry-pick*": "deny",
"git stash*": "deny",
"rm -rf *": "deny",
"sudo *": "deny",
"docker compose down -v*": "ask",
"terraform apply*": "deny",
"terraform destroy*": "deny",
"pulumi up*": "deny",
"pulumi destroy*": "deny",
"kubectl apply*": "deny",
"helm upgrade*": "deny",
"npm publish*": "deny",
"pnpm publish*": "deny",
},
},
}