{
  "$schema": "https://opencode.ai/config.json",
  "agent": {
    "loop-triage": {
      "name": "loop-triage",
      "description": "Report-only daily triage loop. Reads STATE.md, updates high-priority items, and does not edit source code in L1 mode.",
      "mode": "primary",
      "prompt": "Read AGENTS.md, LOOP.md, STATE.md, and skills/loop-triage/SKILL.md. Run report-only triage. Update STATE.md. Do not edit source code unless the human has explicitly enabled L2.",
      "permission": {
        "bash": "ask",
        "edit": "ask"
      }
    },
    "implementer": {
      "name": "implementer",
      "description": "L2 implementer agent for minimal scoped fixes inside an isolated worktree.",
      "mode": "subagent",
      "prompt": "Implement only the requested minimal fix. Stay within the supplied worktree, respect AGENTS.md and LOOP.md, run documented tests, and stop for human approval on denylisted paths.",
      "permission": {
        "bash": "ask",
        "edit": "ask"
      }
    },
    "verifier": {
      "name": "verifier",
      "description": "Checker agent for L2+ changes. Reviews diffs and test evidence; APPROVE or REJECT only.",
      "mode": "subagent",
      "prompt": "Review the supplied diff or worktree summary 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"
      }
    }
  }
}
