A pipeline asking for 'opus' gets an older Opus than expected
What happens
Setting model: claude-code/opus runs an older Opus than the newest one available. The alias is passed to the Claude Code CLI as --model opus, and the CLI resolves it to whichever Opus its own alias points at:
$ printf 'say OK' | claude -p --output-format json --model opus
modelUsage: ['claude-opus-4-8']
$ printf 'say OK' | claude -p --output-format json --model claude-opus-5
modelUsage: ['claude-opus-5']
So a pipeline that asks for opus because it wants the most capable model for assessment silently gets a previous generation, and nothing in the run output says which model actually answered.
Why it matters
Assessment quality is the whole point of the LLM stage, and the choice is invisible: the run header, deepzero status and the report all echo back the string from the pipeline (claude-code/opus), not the model that ran. A user comparing two runs has no way to tell they used different models.
Suggested fix (acceptance criteria)
- [ ] Record the model the backend actually used (the CLI reports it per call) and show that in the run summary and the report, alongside the requested string.
- [ ] Document in the pipeline reference that short aliases follow the CLI's own mapping and can change, and that pinning a full model id is the way to be certain.
- [ ] Consider warning once per run when a requested alias resolves to something different from what was asked for.
Workaround
Pin the full id: model: claude-code/claude-opus-5.