Merge pull request #2903 from alexbelgium/ai-opus5-model

AI triage: use Opus 5 instead of Opus 4.8
This commit is contained in:
Alexandre
2026-07-25 12:29:29 +02:00
committed by GitHub
4 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
---
# Destination: .github/workflows/daily_ai_fix.yaml
#
# Tier 2 of the AI triage system. One Opus 4.8 run at xhigh over the whole
# Tier 2 of the AI triage system. One Opus 5 run at xhigh over the whole
# batch of `ai-triage` issues, grouped by add-on, so it can spot the cross-issue
# patterns a per-issue run never sees ("these four reports are all the same base
# image bump"). Runs daily rather than weekly, so batches (default limit 8) stay
@@ -18,8 +18,8 @@
#
# Full tier map:
# Tier 1 on_issues_ai_triage.yaml Sonnet-low classify on issue open
# Tier 2 daily_ai_fix.yaml (this) Opus-xhigh daily fix/plan sweep
# Tier 3 on_issue_approved.yaml Opus-high execute an approved plan
# Tier 2 daily_ai_fix.yaml (this) Opus 5-xhigh daily fix/plan sweep
# Tier 3 on_issue_approved.yaml Opus 5-high execute an approved plan
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
# PR on_pr_coderabbit.yml Sonnet-low one-shot CodeRabbit follow-up
# Kill switch: set repo variable AI_DISABLED=true to pause every AI workflow.
@@ -137,7 +137,7 @@ jobs:
Follow .github/prompts/issue-fix.md exactly. Do not deviate from
the path restrictions in that file under any circumstances.
claude_args: |
--model claude-opus-4-8
--model claude-opus-5
--effort xhigh
--max-turns 300
--allowedTools "Read,Write,Edit,Glob,Grep,Bash(git:*),Bash(gh:*),Bash(shellcheck:*),Bash(yamllint:*),Bash(docker build:*)"

View File

@@ -146,7 +146,7 @@ jobs:
exactly. Do not deviate from the path restrictions under any
circumstances.
claude_args: |
--model claude-opus-4-8
--model claude-opus-5
--effort high
--max-turns 200
--allowedTools "Read,Write,Edit,Glob,Grep,Bash(git:*),Bash(gh:*),Bash(shellcheck:*),Bash(yamllint:*),Bash(docker build:*)"

View File

@@ -13,8 +13,8 @@
#
# Full tier map:
# Tier 1 on_issues_ai_triage.yaml (this) Sonnet-low classify on issue open
# Tier 2 daily_ai_fix.yaml Opus-xhigh daily fix/plan sweep
# Tier 3 on_issue_approved.yaml Opus-high execute an approved plan
# Tier 2 daily_ai_fix.yaml Opus 5-xhigh daily fix/plan sweep
# Tier 3 on_issue_approved.yaml Opus 5-high execute an approved plan
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
# PR on_pr_coderabbit.yml Sonnet-low one-shot CodeRabbit follow-up
# Kill switch: set repo variable AI_DISABLED=true to pause every AI workflow.

View File

@@ -149,8 +149,8 @@ in `.github/scripts/`.
| Workflow | Model | Trigger | Role |
|---|---|---|---|
| `on_issues_ai_triage.yaml` | Sonnet-low | issue opened (+ author reply, daily catch-up) | Tier 1: classify, dedupe, answer, ask for info; label `ai-triage` for real add-on bugs |
| `daily_ai_fix.yaml` | Opus-xhigh | daily 03:00 | Tier 2: diagnose the `ai-triage` batch; small+confident → ready PR (`ai:fixed`); else write a plan (`ai:plan-pending`) |
| `on_issue_approved.yaml` | Opus-high | maintainer adds `ai:approved` | Tier 3: execute the approved plan → ready PR |
| `daily_ai_fix.yaml` | Opus 5-xhigh | daily 03:00 | Tier 2: diagnose the `ai-triage` batch; small+confident → ready PR (`ai:fixed`); else write a plan (`ai:plan-pending`) |
| `on_issue_approved.yaml` | Opus 5-high | maintainer adds `ai:approved` | Tier 3: execute the approved plan → ready PR |
| `on_claude_mention.yml` | Sonnet-low | `@claude` by @alexbelgium | Manual interactive override on any issue/PR |
| `on_pr_coderabbit.yml` | Sonnet-low | CodeRabbit reviews an `ai-fix/*` PR | Once: fix or reply to review comments |