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.
fehm review engine-version
fehm review configure provider
fehm review configure modelPreview the workflow
fehm scan .
fehm review --context "authentication changes" --graph-reportWithout --allow-provider, Fehm only shows the plan.
Review with repository context
fehm review --context "authentication changes" --graph-report --allow-providerDiff 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
fehm review --from main --to my-feature --allow-provider
fehm review --scan --path src --allow-providerUse --repo /path/to/project for another repository. The default timeout is five minutes. Omit --graph-report for the original upstream JSON format.