Skip to main content

Module run

Module run 

Source
Expand description

run_review: spawn the prview binary to produce a review pack.

The MCP layer adds no review logic — it prepares a run directory, spawns prview (its own binary) as a subprocess, and reads the resulting pack from storage. quick waits synchronously within a hard 120s budget; deep detaches and is polled later through verdict/state. A single active run per repo branch is enforced via the RUNNING.json liveness marker (R2b).

Enums§

Profile
Review depth requested by the caller.

Functions§

start
Start a review. Returns the ready success body (without schema_version, which the tool layer stamps).