-
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.49 KB
/
Copy pathopencode.json.example
File metadata and controls
35 lines (35 loc) · 1.49 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": {
"pr-babysitter": {
"name": "pr-babysitter",
"description": "PR-focused triage loop. Reads pr-babysitter-state.md, watches open PRs, and reports blockers without editing code.",
"mode": "primary",
"prompt": "Read AGENTS.md, LOOP.md, pr-babysitter-state.md, and skills/pr-review-triage/SKILL.md. Watch open PRs, check CI status, review staleness, and surface blockers. Do not edit source code unless L2 is explicitly enabled.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"implementer": {
"name": "implementer",
"description": "L2 implementer for minimal PR fixes inside an isolated worktree.",
"mode": "subagent",
"prompt": "Implement only the requested minimal fix inside the supplied worktree. Respect AGENTS.md and LOOP.md. Run documented tests. Run npx @cobusgreyling/loop-gate check --action commit --paths <changed_files> before committing. Never force-push. Draft PR by default.",
"permission": {
"bash": "ask",
"edit": "ask"
}
},
"verifier": {
"name": "verifier",
"description": "Checker agent for PR fix diffs. APPROVE or REJECT only.",
"mode": "subagent",
"prompt": "Review the supplied diff against project rules, tests, and docs/safety.md. Do not edit files. Respond with APPROVE or REJECT and concise evidence.",
"permission": {
"bash": "ask",
"edit": "deny"
}
}
}
}