Skip to content

feat(opencode): approver text judge, variants, and dev tooling - #244

Merged
st0nefish-ci[bot] merged 1 commit into
masterfrom
worktree-fix-approver-text-judge
Nov 12, 2026
Merged

st0nefish-ci[bot] merged 1 commit into
masterfrom
worktree-fix-approver-text-judge

Conversation

@St0nefish

Copy link
Copy Markdown
Owner

Summary

Follow-up to #243. The approver now works with self-hosted chat models and ships tooling to test it.

  • judgeMode: "text" default; decisions mode rejected chat models
  • #variant model suffix (thinking-off cut judge p95 ~20s to ~1s, 24/24 agreement)
  • Restructured judge template; latest user message last as the only authorization
  • approver-sandbox and approver-eval project scripts, allow-listed in .claude/settings.json
  • README: --auto/--yolo bypass escalations (documented)

Test plan

  • bash .github/scripts/validate-all.sh
  • core tests (34) and sandbox tests (22)
  • live run in a sandbox, shadow mode

Closes #241

🤖 Generated with Claude Code

- judgeMode "text" (default) works with any chat model; decisions kept as opt-in
- provider/model#variant support (e.g. thinking-off) for faster judging
- judge template: policy, fixed decision procedure, untrusted action, latest user message last
- per-phase timings in the audit log
- approver-sandbox: randomized throwaway-repo driver for live sessions
- approver-eval: replay 24 cases through the real decision code
- allow-list both scripts in .claude/settings.json
- document --auto bypass of escalations; bump to 0.1.1

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@st0nefish-ci
st0nefish-ci Bot enabled auto-merge November 12, 2026 22:48
@st0nefish-ci
st0nefish-ci Bot merged commit 0edb709 into master Nov 12, 2026
8 checks passed
@st0nefish-ci
st0nefish-ci Bot deleted the worktree-fix-approver-text-judge branch November 12, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(opencode): model-gated auto-approval plugin (permission reviewer)

1 participant