-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopencode.json
More file actions
23 lines (23 loc) · 1.02 KB
/
opencode.json
File metadata and controls
23 lines (23 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["AGENTS.md"],
"agent": {
"reviewer": {
"description": "Read-only code reviewer for FF1-CLI. Use after implementation for a fresh-context review of the diff and verification output.",
"mode": "subagent",
"prompt": "{file:./prompts/code-review.md}",
"tools": {
"write": false,
"edit": false
}
}
},
"command": {
"review": {
"description": "Run a fresh-context FF1-CLI code review using the shared review contract",
"template": "Review the current changes using the contract in prompts/code-review.md.\n\nUse this evidence:\n- Diff stat: !`git diff --stat`\n- Full diff: !`git diff`\n- Verification: run or paste relevant lint, test, build, and smoke-test output.\n\nIf a handoff was provided, use it as context. Report findings in the required format and end with Verdict: accept or Verdict: revise. Do not edit files unless explicitly asked.",
"agent": "reviewer",
"subtask": true
}
}
}