-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathopencode.jsonc
More file actions
147 lines (147 loc) · 4.16 KB
/
opencode.jsonc
File metadata and controls
147 lines (147 loc) · 4.16 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
{
"$schema": "https://opencode.ai/config.json",
// MockServer opencode configuration
"compaction": {
"auto": true,
"prune": true
},
"share": "manual",
"default_agent": "plan",
"small_model": "tesco-anthropic/haiku-4.5",
"instructions": [
"AGENTS.md"
],
"watcher": {
"ignore": [
"vendor/**",
"**/node_modules/**",
".git/**",
".tmp/**",
"**/target/**",
".idea/**",
"*.class",
"*.jar",
"**/_site/**",
"**/.sass-cache/**",
"terraform/**/.terraform/**",
"terraform/**/*.tfstate",
"terraform/**/*.tfstate.backup",
"terraform/**/*.tfvars",
"build-*/**"
]
},
"permission": {
"bash": {
"*": "allow",
"git push --force*": "deny",
"git reset --hard*": "deny",
"git clean -fd*": "deny",
"rm -rf .": "deny",
"rm -rf ..": "deny",
"rm -rf ~": "deny",
"rm -rf /": "deny",
"rm -rf /*": "deny"
}
},
"agent": {
"test-runner": {
"description": "Runs Maven tests for changed modules and reports results",
"model": "tesco-anthropic/haiku-4.5",
"agent": ".opencode/agents/test-runner.md",
"tools": {
"write": false,
"edit": false,
"skill": false
}
},
"code-reviewer": {
"description": "Pre-commit code reviewer — checks for correctness, security, and conventions",
"model": "tesco-anthropic/sonnet-4.6",
"agent": ".opencode/agents/code-reviewer.md",
"tools": {
"write": false,
"edit": false,
"skill": false
}
},
"security-auditor": {
"description": "Security-focused code auditor for Java applications",
"model": "tesco-anthropic/sonnet-4.6",
"agent": ".opencode/agents/security-auditor.md",
"tools": {
"write": false,
"edit": false,
"skill": false
}
},
"docs-writer": {
"description": "Technical writer for architecture docs, ADRs, and READMEs",
"model": "tesco-anthropic/sonnet-4.6",
"agent": ".opencode/agents/docs-writer.md"
},
"simplifier": {
"description": "Code simplification specialist — reduces code to smallest correct form",
"model": "tesco-anthropic/opus-4.6",
"agent": ".opencode/agents/simplifier.md"
},
"implementer": {
"description": "Implementation specialist — writes production code and tests",
"model": "tesco-anthropic/opus-4.6",
"agent": ".opencode/agents/implementer.md"
},
"review-cheap": {
"description": "Intermediate deep reviewer on cheaper model — non-authoritative PASS",
"model": "tesco-other/kimi-k2.6",
"agent": ".opencode/agents/review-cheap.md",
"tools": {
"write": false,
"edit": false
}
},
"review-final": {
"description": "Authoritative final reviewer — binding PASS/BLOCK verdict",
"model": "tesco-other/gpt-5.5",
"agent": ".opencode/agents/review-final.md",
"tools": {
"write": false,
"edit": false
}
},
"debugger": {
"description": "Production debugger — investigates issues using logs, metrics, and CI data",
"model": "tesco-other/gpt-5.5",
"agent": ".opencode/agents/debugger.md",
"tools": {
"write": false,
"edit": false,
"skill": true
}
},
"pipeline-investigator": {
"description": "Buildkite pipeline failure investigator",
"model": "tesco-other/gpt-5.5",
"agent": ".opencode/agents/pipeline-investigator.md",
"tools": {
"write": false,
"edit": false,
"skill": true
}
},
"taskify-agent": {
"description": "Task decomposition specialist — breaks specs into structured task graphs",
"model": "tesco-anthropic/sonnet-4.6",
"agent": ".opencode/agents/taskify-agent.md"
},
"council-seat": {
"description": "Read-only design council seat for parallel fan-out debates",
"model": "tesco-anthropic/haiku-4.5",
"agent": ".opencode/agents/council-seat.md",
"tools": {
"write": false,
"edit": false,
"bash": false,
"skill": false
}
}
}
}