From b627d01526f719df7ca074bbd0661d8bc4ee5e3f Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Thu, 16 Apr 2026 16:13:17 -0700 Subject: [PATCH 1/2] ai-code-review: fix setup script path and switch to orchestration prompts The review-prompts repo replaced per-agent claude-setup.sh with a unified setup.sh at the repo root. Drop the setup call entirely since CI uses an explicit prompt and doesn't need skill installation. Update the prompts ref from a stale pinned commit to main, and switch from single-agent review-core.md to the multi-agent orchestrator (agent/orc.md). Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Ihor Solodrai --- .github/workflows/ai-code-review.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml index c82bd35a..548c7f7a 100644 --- a/.github/workflows/ai-code-review.yml +++ b/.github/workflows/ai-code-review.yml @@ -128,12 +128,11 @@ jobs: with: repository: 'masoncl/review-prompts' path: 'review-prompts' - ref: 6c277db09b2228602aa72f2d723f969d28eb8deb + ref: main - name: Set up review prompts shell: bash run: | - cd review-prompts/kernel/scripts && ./claude-setup.sh && cd - mv review-prompts/kernel ${{ github.workspace }}/review rm -rf review-prompts @@ -150,11 +149,11 @@ jobs: prompt: | Current directory is the root of a Linux Kernel git repository. - Read the prompt review/review-core.md + Read the prompt review/agent/orc.md - Using the prompt, do a deep dive regression analysis of the HEAD commit. + Analyze commit HEAD using prompts from review/ - Use commit range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} for the false-positive-guide.md section. + This commit is part of a series with git range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} # If Claude produced review-inline.txt then it found something # Post a comment on PR and fail the job From 93ff9b771ee6185ef0b6ba3ec0dd77b0ea861ae8 Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Thu, 16 Apr 2026 16:28:29 -0700 Subject: [PATCH 2/2] ai-code-review: Use Claude Opus 4.7 Signed-off-by: Ihor Solodrai --- .github/workflows/ai-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml index 548c7f7a..26c930a6 100644 --- a/.github/workflows/ai-code-review.yml +++ b/.github/workflows/ai-code-review.yml @@ -144,7 +144,7 @@ jobs: claude_args: | --max-turns 100 --mcp-config ci/claude/mcp.json - --model us.anthropic.claude-opus-4-6-v1 + --model us.anthropic.claude-opus-4-7 allowed_bots: "kernel-patches-daemon-bpf,kernel-patches-review-bot" prompt: | Current directory is the root of a Linux Kernel git repository.