Run Until Unanimous
run_until_unanimousRun iterative peer review with multiple AI models until all reviewers unanimously vote READY or the configured round limit is reached. Evidence is persisted durably and automatically transported to every reviewer.
Instructions
Generate or revise a draft and continue real API peer-review rounds until unanimous READY or the configured max_rounds is reached. AI evidence supplied in evidence is persisted durably and transported automatically; no separate attachment step is required. v2.11.0: when caller is set to a peer id (claude|codex|gemini|deepseek|grok|perplexity), the relator lottery activates: omit lead_peer to have the server randomly select a non-caller peer as relator (modeled on judicial panels), or supply an explicit lead_peer that is NOT the caller. An explicit lead_peer === caller is rejected at the server with caller_cannot_be_lead_peer — an agent never reviews itself (workspace HARD GATE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ship | |
| task | Yes | ||
| peers | No | ||
| caller | Yes | ||
| evidence | No | Raw evidence from the authenticated AI caller. It is persisted automatically as durable, SHA-256-addressed caller_submitted_unverified material and transported to reviewers. This is the routine path; `session_attach_evidence` attaches the same material out of band and grants it no additional provenance. | |
| lead_peer | No | ||
| max_rounds | No | Hard review-round ceiling unless allow_auto_extension is explicitly true. | |
| max_cost_usd | No | ||
| review_focus | No | Optional provider-neutral review scope anchor. This is not Claude Code's /focus UI command; it is injected as a front-loaded Review Focus prompt block for every selected peer, including OUT OF SCOPE handling for unrelated findings. | |
| initial_draft | No | ||
| until_stopped | No | ||
| response_format | No | json | |
| allow_auto_extension | No | Opt in to at most two evidence-only auto-extensions. False keeps max_rounds rigid. | |
| reasoning_effort_overrides | No | Optional per-peer reasoning_effort overrides for this call. Keys are peer ids (codex|claude|gemini|deepseek|grok|perplexity); missing keys fall back to global config. This is a shared scale: adapters normalize unsupported literals to the selected model's documented enum (`ultra` becomes max on GPT-6 Astra, GPT-5.6, Kimi K3 via Perplexity and DeepSeek, and xhigh on Grok 4.6; older GPT-5 families use their own ceilings). |