~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
ci: bump Friendly-AI-Reviewer pin to e3bdfdb (#6508)
LearningCircuita71c42c4019e
diff --git a/.github/workflows/ai-code-reviewer.yml b/.github/workflows/ai-code-reviewer.ymlindex b859e0af6f..7433a50ffb 100644--- a/.github/workflows/ai-code-reviewer.yml+++ b/.github/workflows/ai-code-reviewer.yml@@ -102,15 +102,17 @@ jobs:- name: Download AI reviewer scriptrun: |- # Pinned to Friendly-AI-Reviewer commit d88b1f4 (post-v0.0.1 main- # HEAD, merged PR #28: configurable commit overview, check-run- # summary, human-comment caps, severity-tagged review contract).+ # Pinned to Friendly-AI-Reviewer commit e3bdfdb (post-v0.0.1 main+ # HEAD, merged PRs #28+#29: commit overview, check-run summary,+ # human-comment caps, severity-tagged review contract with the+ # new/pre-existing split, CUSTOM_PROMPT(_FILE) instructions,+ # model-call retry/diagnostic hardening).# Using commit SHA (immutable) — tags can be deleted/moved.# SHA-256 verify guards against CDN tampering.# To update: cut a new release on Friendly-AI-Reviewer, then update# REVIEWER_COMMIT and REVIEWER_SHA256 below.- REVIEWER_COMMIT="d88b1f4f8600076d6bda82fb77fdf695ad0665d0" # DevSkim: ignore DS173237 - pinned public commit SHA, not a secret- REVIEWER_SHA256="cc2a48ffcfe9a865654bcdd9cafd7a16a79928b8039ea92fdcf981b4aa3c041e" # DevSkim: ignore DS173237 - public integrity checksum, not a secret+ REVIEWER_COMMIT="e3bdfdb1cf47e86bdb7292a312a5ac65fcb3e6ec" # DevSkim: ignore DS173237 - pinned public commit SHA, not a secret+ REVIEWER_SHA256="6d4b1041d0a75f91a4df5a4a8b0a65d054e469a4ad4e99ebc214b01c020b0058" # DevSkim: ignore DS173237 - public integrity checksum, not a secretcurl -fsSL "https://raw.githubusercontent.com/LearningCircuit/Friendly-AI-Reviewer/${REVIEWER_COMMIT}/ai-reviewer.sh" -o ai-reviewer.shprintf '%s %s\n' "$REVIEWER_SHA256" ai-reviewer.sh | sha256sum -c -chmod +x ai-reviewer.sh@@ -137,6 +139,8 @@ jobs:MAX_HUMAN_COMMENTS: ${{ vars.MAX_HUMAN_COMMENTS || '100' }}MAX_HUMAN_COMMENT_LENGTH: ${{ vars.MAX_HUMAN_COMMENT_LENGTH || '4000' }}MAX_HUMAN_COMMENTS_TOTAL: ${{ vars.MAX_HUMAN_COMMENTS_TOTAL || '20000' }}+ CUSTOM_PROMPT: ${{ vars.CUSTOM_PROMPT }}+ CUSTOM_PROMPT_FILE: ${{ vars.CUSTOM_PROMPT_FILE }}PR_NUMBER: ${{ github.event.pull_request.number }}REPO_FULL_NAME: ${{ github.repository }}HEAD_SHA: ${{ github.event.pull_request.head.sha }}diff --git a/docs/AI_Code_Reviewer_Setup.md b/docs/AI_Code_Reviewer_Setup.mdindex 12d72d5d4e..76598c52c9 100644--- a/docs/AI_Code_Reviewer_Setup.md+++ b/docs/AI_Code_Reviewer_Setup.md@@ -47,6 +47,7 @@ The workflow is pre-configured with sensible defaults. You can override them **w- **MAX_SUMMARY_COMMITS**: How many of the PR's most recent commits feed the commit overview the reviewer sees (commit counts per author, added/removed line totals); `0` shows the count-only header (default: `15`)- **MAX_COMMIT_MESSAGES**: How many commit messages are fully quoted in the prompt — the token-expensive part (default: `3`)- **MAX_HUMAN_COMMENTS** / **MAX_HUMAN_COMMENT_LENGTH** / **MAX_HUMAN_COMMENTS_TOTAL**: Caps for the human-comment context block (newest-first selection; defaults: `100` comments, `4000` chars each, `20000` bytes overall; `0` disables)+- **CUSTOM_PROMPT** / **CUSTOM_PROMPT_FILE**: Additional review instructions applied on top of the standard contract (inline text and/or a file path such as `.github/ai-review-instructions.md`; the file is read from the workflow's checkout, which in our `pull_request_target` setup is the trusted base branch). Capped at 8000 bytes, marked when truncated.#### Multiple reviewers@@ -117,7 +118,7 @@ This will generate a fresh review of the current PR state.## Review Results-The AI posts a comment listing only actionable findings — bullets tagged **must fix**, **should fix**, or **nit**, in that order, each with its file/line location, a concrete failure scenario, the impact, and a suggested fix. Inferences are highlighted with an explicit "Inference (not verified):" label so assumptions never read as verified facts, and anything that cannot be verified from the diff but is worth a human look is collected in a final "Should be checked" section. Praise, change summaries, and empty filler sections (such as a boilerplate "no security concerns" line) are deliberately omitted; a clean diff yields "No actionable findings." followed by the verdict. The review is meant to assist human reviewers, not replace them.+The AI posts a comment whose findings are split into two sections: **New problems** (introduced by the PR) as bullets tagged **must fix**, **should fix**, or **nit**, in that order, each with its file/line location, a concrete failure scenario, the impact, and a suggested fix; and **Pre-existing problems** (predating the PR) as one-liners for documentation and issue extraction — they are not to be fixed in this PR and never influence the verdict. Inferences are highlighted with an explicit "Inference (not verified):" label so assumptions never read as verified facts, and anything that cannot be verified from the diff but is worth a human look is collected in a final "Should be checked" section. Praise, change summaries, and empty filler sections (such as a boilerplate "no security concerns" line) are deliberately omitted; a clean diff yields "No actionable findings." followed by the verdict. The review is meant to assist human reviewers, not replace them.## Cost Estimation