Every flag accepted byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/goulinkh/code-review-harness/llms.txt
Use this file to discover all available pages before exploring further.
crh review is documented here, including its type, default value, and behaviour. Two flags — --no-sandbox and --config — are parsed by the CLI but their underlying functionality is not yet complete in v1.
Flags
The code hosting provider to fetch the merge proposal from. Only
launchpad is supported in v1. Passing any other value causes the command to exit with an error.The Launchpad API URL for the merge proposal to review. Must be a git merge proposal URL in the form
https://api.launchpad.net/devel/~<user>/+git/<repo>/+merge/<id>. Bazaar merge proposal URLs are explicitly rejected.Where the completed review is emitted.
stdout— writes a single JSON line to standard output. Use this for local dry-runs or scripted pipelines.launchpad— posts inline comments for each finding and a summary comment with a verdict vote back to the merge proposal. Requires valid Launchpad OAuth credentials (LP_ACCESS_TOKEN,LP_ACCESS_SECRET,LP_CONSUMER_KEY).
The LLM to use for the review session, in
provider:model-id format. The provider prefix determines which API client and key environment variable CRH uses. See Model selection for the full list of examples and the API key naming convention.Override the API base URL for the chosen model. Only valid with OpenAI-compatible models (
openai:* or a registered provider whose API type is openai-completions / openai-responses). Passing this flag with a non-compatible model causes the command to exit with an error.Dump all raw session events and sub-agent events to stderr as newline-delimited JSON. Useful for diagnosing unexpected agent behaviour or inspecting the full event stream during development.
Accepted by the CLI parser and stored as an option, but sandbox lifecycle enforcement is incomplete in v1. Passing this flag does not currently change runtime isolation behaviour.
Accepted by the CLI parser as a path to a configuration file, but config file loading is incomplete in v1. Passing this flag has no effect on the running session.
Complete example
The following command combines multiple flags to post a review using a locally running OpenAI-compatible model with debug output enabled:Related pages
crh review command
Syntax overview and usage examples for the review command.
Model selection
Choose the LLM backend and configure API keys.