Repository navigation
v0.11.0
What's Changed
Replace the built-in review policy
reviewer.instructions could only add to the built-in policy, which leans toward asking a human (it escalates whenever the user's intent is unknown or the operation is ambiguous). The new reviewer.replaceDefaultPolicy option makes your instructions the whole policy instead.
- Drops the built-in allow/deny/escalate rules ("safe and within the user's intent", "if userIntent is null, escalate…") from the
agentandchatprompts, and thedecisionbackend's criteria are phrased against your policy. An operation your policy does not decide is escalated. - Kept: the answer format, the review check, the untrusted-data guard and boundary, the conversation authorization rules, and
minAllowProbability. - Requires
reviewer.instructions; the plugin fails at startup otherwise. The reviewer no longer checks that an operation matches your request, so set it only in configuration you trust.
- feat: add reviewer.replaceDefaultPolicy to replace the built-in review policy by @dyoshikawa in #65
Reviewer sessions no longer clutter the session list (OpenCode V2)
On OpenCode V2, agent reviewer sessions are now linked to their originating session instead of appearing as top-level sessions. Set reviewer.agent.cleanupSessions: true to delete them after each decision (best-effort, never delays the verdict).
- fix: prevent reviewer sessions from cluttering chat history by @thisfilipe in #51
Contributors
Full Changelog: v0.10.0...v0.11.0