mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-17 10:27:20 +02:00
Merge pull request #2903 from alexbelgium/ai-opus5-model
AI triage: use Opus 5 instead of Opus 4.8
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
|
# 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
|
# 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
|
# 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
|
# image bump"). Runs daily rather than weekly, so batches (default limit 8) stay
|
||||||
@@ -18,8 +18,8 @@
|
|||||||
#
|
#
|
||||||
# Full tier map:
|
# Full tier map:
|
||||||
# Tier 1 on_issues_ai_triage.yaml Sonnet-low classify on issue open
|
# 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 2 daily_ai_fix.yaml (this) Opus 5-xhigh daily fix/plan sweep
|
||||||
# Tier 3 on_issue_approved.yaml Opus-high execute an approved plan
|
# Tier 3 on_issue_approved.yaml Opus 5-high execute an approved plan
|
||||||
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
|
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
|
||||||
# PR on_pr_coderabbit.yml Sonnet-low one-shot CodeRabbit follow-up
|
# 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.
|
# 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
|
Follow .github/prompts/issue-fix.md exactly. Do not deviate from
|
||||||
the path restrictions in that file under any circumstances.
|
the path restrictions in that file under any circumstances.
|
||||||
claude_args: |
|
claude_args: |
|
||||||
--model claude-opus-4-8
|
--model claude-opus-5
|
||||||
--effort xhigh
|
--effort xhigh
|
||||||
--max-turns 300
|
--max-turns 300
|
||||||
--allowedTools "Read,Write,Edit,Glob,Grep,Bash(git:*),Bash(gh:*),Bash(shellcheck:*),Bash(yamllint:*),Bash(docker build:*)"
|
--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
|
exactly. Do not deviate from the path restrictions under any
|
||||||
circumstances.
|
circumstances.
|
||||||
claude_args: |
|
claude_args: |
|
||||||
--model claude-opus-4-8
|
--model claude-opus-5
|
||||||
--effort high
|
--effort high
|
||||||
--max-turns 200
|
--max-turns 200
|
||||||
--allowedTools "Read,Write,Edit,Glob,Grep,Bash(git:*),Bash(gh:*),Bash(shellcheck:*),Bash(yamllint:*),Bash(docker build:*)"
|
--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:
|
# Full tier map:
|
||||||
# Tier 1 on_issues_ai_triage.yaml (this) Sonnet-low classify on issue open
|
# 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 2 daily_ai_fix.yaml Opus 5-xhigh daily fix/plan sweep
|
||||||
# Tier 3 on_issue_approved.yaml Opus-high execute an approved plan
|
# Tier 3 on_issue_approved.yaml Opus 5-high execute an approved plan
|
||||||
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
|
# @claude on_claude_mention.yml Sonnet-low maintainer-only interactive
|
||||||
# PR on_pr_coderabbit.yml Sonnet-low one-shot CodeRabbit follow-up
|
# 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.
|
# Kill switch: set repo variable AI_DISABLED=true to pause every AI workflow.
|
||||||
|
|||||||
@@ -149,8 +149,8 @@ in `.github/scripts/`.
|
|||||||
| Workflow | Model | Trigger | Role |
|
| 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 |
|
| `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`) |
|
| `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-high | maintainer adds `ai:approved` | Tier 3: execute the approved plan → ready PR |
|
| `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_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 |
|
| `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