-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
109 lines (88 loc) · 3.85 KB
/
opencode.json
File metadata and controls
109 lines (88 loc) · 3.85 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
{
"$schema": "https://opencode.ai/config.json",
"model": "github-copilot/gemini-3-flash-preview",
"default_agent": "orchestrator",
"permission": {
"read": "allow",
"write": "allow",
"execute": "allow",
"bash": "allow"
},
"agent": {
/* -----------------------------
Core coordination
----------------------------- */
"orchestrator": {
"model": "github-copilot/gemini-3-pro-preview",
"description": "Owns system-level planning, task decomposition, and cross-language coordination (Rust core ↔ TypeScript shell). Enforces architecture and sequencing."
},
"oracle-sisyphus": {
"model": "github-copilot/gemini-3-pro-preview",
"description": "Adversarial reviewer. Challenges assumptions, hunts for protocol gaps, determinism leaks, and hidden nondeterminism."
},
/* -----------------------------
Rust core agents (authoritative)
----------------------------- */
"rust-core-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Implements Rust simulation kernel, EVSE FSMs, ChargingProfile executor, site projection, and invariants. No UI or CLI concerns."
},
"ocpp-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Implements strict OCPP 2.1 message models, validation, and protocol semantics. Guards against spec drift and shortcuts."
},
"fsm-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Designs and audits EVSE finite state machines. Ensures exhaustive transitions and illegal-state prevention."
},
"invariants-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Defines and enforces protocol and simulation invariants. Produces assertion logic and violation reports."
},
/* -----------------------------
Scenario & load modeling
----------------------------- */
"scenario-agent": {
"model": "github-copilot/gemini-3-flash-preview",
"description": "Designs declarative scenario schemas (YAML/JSON). Focuses on site topology, arrivals, power requests, and fault injection."
},
"load-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Models MCS load patterns, ramp rates, contention, and site-level constraints. No protocol logic."
},
/* -----------------------------
TypeScript shell agents
----------------------------- */
"cli-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Implements the GridHammer CLI (run, replay, sweep, validate). Strictly orchestration, no simulation semantics."
},
"registry-agent": {
"model": "github-copilot/grok-code-fast-1",
"description": "Manages experiment registry, run metadata, scenario hashes, and artifact indexing."
},
"ui-agent": {
"model": "github-copilot/gemini-3-flash-preview",
"description": "Builds read-only web UI for visualization and diffing of runs. Consumes artifacts only."
},
/* -----------------------------
Quality & safety
----------------------------- */
"review": {
"model": "github-copilot/grok-code-fast-1",
"description": "Performs code and design reviews against ARCHITECTURE.md and DECISIONS.md. Flags violations."
},
"test": {
"model": "github-copilot/grok-code-fast-1",
"description": "Writes unit, property, and replay tests. Focus on determinism and invariant coverage."
},
"terminal": {
"model": "github-copilot/grok-code-fast-1",
"description": "Executes commands, runs simulations, manages builds and tests. No design decisions."
},
"steward-agent": {
"model": "github-copilot/gemini-3-pro-preview",
"description": "Governance agent. Ensures scope discipline, prevents feature creep, and enforces non-goals."
}
}
}