verify_version
Run the platform's verification pass on a draft version. The deterministic checks (recipe validation including a stale `_state.py`, ruff, mypy) run first…
Run the platform's verification pass on a draft version.
The deterministic checks (recipe validation including a stale _state.py, ruff,
mypy) run first and gate the reviewer: a checks failure ends the pass before any
model runs, at negligible cost, with the lint output in the round's
build_outcome.failure_excerpt. When checks pass, the reviewer records the
verdict that publishing reads. The pass is report-only: it never edits the
branch — address the feedback yourself, push, and verify again. With
publish=True the version is published automatically once the verdict is green.
reviewer_model picks the reviewer for this pass: claude-opus-5 (default,
deepest read) or claude-sonnet-5 (cheaper). Returns immediately; poll
get_session with the returned session_id (the round's build_outcome is the
verdict) and read get_version_review_threads for the feedback.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
agent_id | string | yes | |
version | integer | yes | |
publish | boolean | no | |
reviewer_model | string | no |