-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
119 lines (119 loc) · 4.12 KB
/
Copy pathopencode.json
File metadata and controls
119 lines (119 loc) · 4.12 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"orchestrator": {
"description": "Main interface with the human. Coordinates the spec-driven development workflow.",
"mode": "primary",
"prompt": "{file:.opencode/agents/orchestrator.md}",
"temperature": 0.1,
"permission": {
"task": {
"*": "deny",
"scout": "allow",
"spec-author": "allow",
"spec-critic": "allow",
"implementation-contract-author": "allow",
"implementation-contract-critic": "allow",
"code-implementer": "allow",
"code-reviewer": "allow",
"tester": "allow",
"adr-agent": "allow",
"wiki-agent": "allow",
"governance-reviewer": "allow"
}
}
},
"spec-author": {
"description": "Drafts functional specs from human intent and project context.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/spec-author.md}",
"temperature": 0.1
},
"spec-critic": {
"description": "Critiques and validates specs for ambiguity, testability, and scope.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/spec-critic.md}",
"temperature": 0.1
},
"implementation-contract-author": {
"description": "Converts accepted specs into precise implementation contracts.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/implementation-contract-author.md}",
"temperature": 0.1
},
"implementation-contract-critic": {
"description": "Critiques and validates implementation contracts before code generation.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/implementation-contract-critic.md}",
"temperature": 0.1
},
"scout": {
"description": "General scout. Searches code, wiki, ADRs, specs, and disk to synthesize context for the orchestrator.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/scout.md}",
"temperature": 0.1
},
"code-implementer": {
"description": "Implements only accepted implementation contracts.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/code-implementer.md}",
"temperature": 0.1
},
"code-reviewer": {
"description": "Reviews implementation against the accepted spec, contract, and tests.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/code-reviewer.md}",
"temperature": 0.1
},
"tester": {
"description": "Tests implementation against spec, fills coverage gaps, runs E2E/visual verification, checks regressions.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/tester.md}",
"temperature": 0.1
},
"adr-agent": {
"description": "Creates ADR proposals for meaningful architectural decisions.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/adr-agent.md}",
"temperature": 0.1
},
"wiki-agent": {
"description": "Maintains the operational project wiki after accepted changes.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/wiki-agent.md}",
"temperature": 0.1
},
"governance-reviewer": {
"description": "Performs final cross-document governance validation.",
"mode": "subagent",
"prompt": "{file:.opencode/agents/governance-reviewer.md}",
"temperature": 0.1
}
},
"mcp": {
"wiki": {
"type": "local",
"command": ["uv", "run", "--project", "../wiki-serve", "wiki-serve", "bridge"],
"workdir": ".",
"enabled": true,
"environment": {
"WIKI_INCLUDE": "docs/wiki;README.md",
"WIKI_DATA_DIR": ".wiki-index",
"WIKI_WATCH": "true",
"WIKI_REINDEX_ON_START": "true",
"WIKI_PORT": "8767",
"WIKI_EMBEDDING_ENABLED": "true"
}
},
"vision": {
"type": "local",
"command": ["uv", "run", "--directory", "../llm-openai-vision-mcp/tools/vision-mcp", "python", "-m", "vision_mcp.server"],
"enabled": true,
"timeout": 120000,
"environment": {
"OPENAI_API_KEY": "{file:.secrets/openapi.key}",
"VISION_MODEL": "gpt-4o"
}
}
}
}