forked from cobusgreyling/loop-engineering
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json.example
More file actions
35 lines (35 loc) · 1.4 KB
/
Copy pathopencode.json.example
File metadata and controls
35 lines (35 loc) · 1.4 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"dependency-triage": {
"name": "dependency-triage",
"description": "Dependency-focused triage loop. Reads dependency-sweeper-state.md, scans manifests, and applies patch-only upgrades with verifier.",
"mode": "primary",
"prompt": "Read AGENTS.md, LOOP.md, dependency-sweeper-state.md, and skills/dependency-triage/SKILL.md. Scan manifests for outdated and vulnerable deps. Patch-only auto-fix in worktree. Escalate majors and denylisted packages.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"implementer": {
"name": "implementer",
"description": "L2 implementer for patch-only dependency upgrades in a worktree.",
"mode": "subagent",
"prompt": "Apply the identified patch-only upgrade inside the supplied worktree. Run npm ci && npm test. Never touch denylisted packages. Output the diff.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"verifier": {
"name": "verifier",
"description": "Checker agent for dependency upgrade diffs. APPROVE or REJECT only.",
"mode": "subagent",
"prompt": "Verify the dependency patch passes tests and touches no denylisted packages. Do not edit files. APPROVE or REJECT with evidence.",
"permission": {
"bash": "ask",
"edit": "deny"
}
}
}
}