Open Code Review

Review changes with the engine included in Fehm’s platform-specific package.

Fehm includes Open Code Review for optional model-based review. It can use Fehm’s repository context and return findings linked to indexed source locations.

Configure your provider

No separate Open Code Review or npm installation is needed with the bundled wheel. Git 2.41 or newer is required for Git workflows. Configuration may test provider connectivity.

Terminal
fehm review engine-version
fehm review configure provider
fehm review configure model

Preview the workflow

Terminal
fehm scan .
fehm review --context "authentication changes" --graph-report

Without --allow-provider, Fehm only shows the plan.

Review with repository context

Terminal
fehm review --context "authentication changes" --graph-report --allow-provider

Diff reviews can receive a budgeted Fehm context packet. Full-file scans do not support the context handoff. It may read additional source and invoke configured tools. Review its settings first; provider charges may apply. Its own session history may retain review inputs.

Choose review guidance

Add --profile code-review for an evidence-focused checklist covering correctness, security, performance and tests. The profile applies to diff reviews and is optional.

Read source-linked findings

The report retains upstream warnings and review status, and links findings to overlapping graph locations. Model claims remain unverified. The report also compares indexed source before and after the review and flags stale or changed files. This excludes new files outside the index. Rescan changed source before reviewing. Fehm does not apply suggestions or post comments automatically.

Choose a scope

Terminal
fehm review --from main --to my-feature --allow-provider
fehm review --scan --path src --allow-provider

Use --repo /path/to/project for another repository. The default timeout is five minutes. Omit --graph-report for the original upstream JSON format.