-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
40 lines (40 loc) · 1.14 KB
/
Copy pathopencode.json
File metadata and controls
40 lines (40 loc) · 1.14 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"plan": {
"mode": "primary",
"description": "Architecture, constraints, sequencing. Writes plan to .opencode/plan.md",
"prompt": "After completing a plan, save it to `.opencode/plan.md`. Ask for permission before writing.",
"permission": {
"edit": {
"*": "deny",
".opencode/plan.md": "ask"
}
}
},
"execution": {
"mode": "primary",
"description": "Execute plans by orchestrating subagents"
},
"build": {
"mode": "primary",
"description": "Default development agent with full tool access"
},
"testing-strategy": {
"mode": "subagent",
"description": "Enforce testing philosophy, prevent low-value tests"
},
"test-runner": {
"mode": "subagent",
"description": "Execute tests efficiently and report results"
},
"review": {
"mode": "subagent",
"description": "Compare git diff against plan, identify risks and gaps"
},
"ask": {
"mode": "primary",
"description": "Answer questions about the project read-only"
}
}
}