Error and skip behaviour

Updated Jul 27, 2026

Configuration resolution and range preparation are deterministic host code run by the CLI before ODW is invoked; a failure there is reported by the CLI with stage config or prepare and never launches ODW. Within the workflow, an admission refusal for the audit's own reservation returns stage: "admission" before any model call; an incomplete audit (a missing or invalid verdict) fails closed with stage: "audit" so nothing is recorded; an exhausted audit retry defers with stage: "deferred" (see above). If the CLI's own append to review history fails after a completed review, the result carries stage: "record" with recordInput preserved for manual retry, and the same commit range will be reviewed again on the next run.

If origin/main is not available, pass a different base. If prepare reports that the workspace is not a git repository, pass repoRoot as an absolute path to the real checkout.