Skip to main content

approve_and_run

Function approve_and_run 

Source
pub fn approve_and_run(
    path: &Path,
    feature: Option<&str>,
    mode: RunMode,
    grants: &[String],
    sheet: Option<&str>,
    via: Via,
    state: Option<&Path>,
    provider: Option<Arc<dyn ModelProvider>>,
    options: &RunOptions,
) -> CommandResult
Expand description

speccoder review approve --run ask|autopilot [--grant …] — Approve and Run: approves every decision line that is open or lapsed, freezes each requirement’s red tests (one pre-frozen set each, review.json’s oracle and approval), commits review.json and starts the feature’s run. Refused while a question is open, a requirement is read two ways, or a run is active.