ci: migrate Claude review workflow to Fable 5
Switch the model used by the Claude review workflow from Opus 4.8 to Fable 5, both for the top-level invocation and the review subagents. Co-developed-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Luca Boccassi
parent
efd0173f37
commit
487770118f
@@ -196,9 +196,9 @@ jobs:
|
||||
env:
|
||||
CLAUDE_CODE_DISABLE_BACKGROUND_TASKS: "1"
|
||||
CLAUDE_CODE_USE_BEDROCK: "1"
|
||||
# Pin the `opus` alias (used by the review subagents) to 4.8 so they
|
||||
# don't silently resolve to an older model the Bedrock alias points at.
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: us.anthropic.claude-opus-4-8
|
||||
# Pin the `fable` alias (used by the review subagents) to Fable 5 so
|
||||
# they don't silently resolve to an older model the Bedrock alias points at.
|
||||
ANTHROPIC_DEFAULT_FABLE_MODEL: us.anthropic.claude-fable-5
|
||||
run: |
|
||||
mkdir -p ~/.claude
|
||||
|
||||
@@ -319,7 +319,7 @@ jobs:
|
||||
concurrently. Each subagent reviews EVERY commit (every worktree
|
||||
directory), but only through the perspective of its assigned lens.
|
||||
|
||||
Each subagent must be spawned with `model: "opus"`.
|
||||
Each subagent must be spawned with `model: "fable"`.
|
||||
|
||||
Each subagent prompt must include:
|
||||
- The name and full description of its assigned lens, with an instruction
|
||||
@@ -447,7 +447,7 @@ jobs:
|
||||
PROMPT
|
||||
|
||||
claude \
|
||||
--model us.anthropic.claude-opus-4-8 \
|
||||
--model us.anthropic.claude-fable-5 \
|
||||
--effort xhigh \
|
||||
--max-turns 200 \
|
||||
--setting-sources user \
|
||||
|
||||
Reference in New Issue
Block a user