r/opencode • u/Regolo_ai • 3h ago
We ran 90 isolated Aider Polyglot sessions on OpenCode V2 to test a 3-tier Operator + Clef-Flash + Orchestrator loop (with paired p-values and where it does NOT help)
A common idea in coding agents is splitting work across three roles: a fast operator for routine edits, a lightweight decision gate watching for loops or drift, and a stronger orchestrator called only when needed. We wanted to see if that actually holds up in practice inside OpenCode V2 or if extra calls just add latency and false alarms.
We built a drop-in OpenCode V2 server plugin (three hooks, optional agent scoping, JSONL spend log) and ran 90 isolated sessions on 30 Aider Polyglot exercises (10 Python, 10 JavaScript, 10 Rust, reference solutions stripped, skipped tests enabled, original tests restored before grading).
Full benchmark data, paired McNemar and Wilcoxon p-values, and plugin setup:
https://regolo.ai/opencode-orchestrator-decision-operator-loop-regolo/