mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-13 00:22:31 +02:00
AI triage: use Opus 5 instead of Opus 4.8
Opus 5 released 2026-07-24: same price as 4.8, both effort levels already used here (xhigh in the tier-2 sweep, high in the tier-3 executor) remain supported. Swap --model claude-opus-4-8 -> claude-opus-5 in the two Opus steps; Sonnet-low tiers (classify, @claude, CodeRabbit follow-up) untouched. Auto-merge for AI PRs was considered and declined -- keeping the existing ready-PR-requires-manual-merge behavior. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
8
.github/workflows/daily_ai_fix.yaml
vendored
8
.github/workflows/daily_ai_fix.yaml
vendored
@@ -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:*)"
|
||||
|
||||
2
.github/workflows/on_issue_approved.yaml
vendored
2
.github/workflows/on_issue_approved.yaml
vendored
@@ -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:*)"
|
||||
|
||||
4
.github/workflows/on_issues_ai_triage.yaml
vendored
4
.github/workflows/on_issues_ai_triage.yaml
vendored
@@ -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.
|
||||
|
||||
@@ -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 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user