-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathopencode.json.example
More file actions
35 lines (35 loc) · 1.43 KB
/
Copy pathopencode.json.example
File metadata and controls
35 lines (35 loc) · 1.43 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": {
"ci-triage": {
"name": "ci-triage",
"description": "CI-focused triage and fix loop. Reads ci-sweeper-state.md, classifies CI failures, and applies minimal fixes in worktrees with verifier.",
"mode": "primary",
"prompt": "Read AGENTS.md, LOOP.md, ci-sweeper-state.md, and skills/ci-triage/SKILL.md. Classify each failing check. For clear regressions: worktree + implementer + verifier. Escalate infra and security failures.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"implementer": {
"name": "implementer",
"description": "L2 implementer for CI-fix patches inside an isolated worktree.",
"mode": "subagent",
"prompt": "Implement the minimal fix for the identified CI failure inside the supplied worktree. Run tests. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Output the diff path. Max 3 attempts per item.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"verifier": {
"name": "verifier",
"description": "Checker agent for CI fix diffs. APPROVE or REJECT only.",
"mode": "subagent",
"prompt": "Review the supplied CI-fix diff. Verify tests pass. Do not edit files. APPROVE or REJECT with evidence.",
"permission": {
"bash": "ask",
"edit": "deny"
}
}
}
}