Skip to main content

run

Function run 

Source
pub async fn run(args: &CheckArgs, root: &Path) -> Result<Exit>
Expand description

One check invocation: resolve input, run both layers, gate, render, return Exit.

root is the working directory the input resolution runs against. The CLI passes Path::new("."), the tests pass a TempDir so each one stands alone. Failure to load the config is a hard error: the LLM is mandatory in 2.x and there is no deterministic-only mode.