agent-tools: bump Claude Code pin 2.1.198 → 2.1.220 (opus alias → Opus 5) #245

Closed
opened 2026-07-28 17:40:39 +02:00 by dominik.polakovics · 0 comments

Agents spawned with model opus run Opus 4.8 instead of the newly released Opus 5. Root cause: the alias→model mapping ships inside the Claude Code binary, and the agent-tools image pins CLAUDE_CODE_VERSION=2.1.198 (built before Opus 5 existed). Lab's own provider catalog is family-alias based (opus[1m]) by design, so no Go change is needed — only the image pin.

Verified against release artifacts:

  • 2.1.212 (stable channel) still lacks claude-opus-5 — bumping to stable would NOT fix this.
  • 2.1.220 (latest, built 2026-07-24) embeds aliases:{opus:{default:"claude-opus-5"}} and latest_per_family.opus = claude-opus-5.

Fix: bump versions.env to 2.1.220 + its linux-x64-musl sha256 from the per-version manifest, after the ADR-0051 compat re-verification. Static/bundle + in-container CLI probes for the compat record pass on 2.1.220 (details in the compat.md note); the live tmux recipe suite (LAB_COMPAT_LIVE=1 go test ./internal/compat/ -run Live -v) and the §3b credential-refresh by-hand recipe still need a dev-host run before merge.

Agents spawned with model `opus` run Opus 4.8 instead of the newly released Opus 5. Root cause: the alias→model mapping ships inside the Claude Code binary, and the agent-tools image pins CLAUDE_CODE_VERSION=2.1.198 (built before Opus 5 existed). Lab's own provider catalog is family-alias based (`opus[1m]`) by design, so no Go change is needed — only the image pin. Verified against release artifacts: - 2.1.212 (stable channel) still lacks `claude-opus-5` — bumping to stable would NOT fix this. - 2.1.220 (latest, built 2026-07-24) embeds `aliases:{opus:{default:"claude-opus-5"}}` and `latest_per_family.opus = claude-opus-5`. Fix: bump versions.env to 2.1.220 + its linux-x64-musl sha256 from the per-version manifest, after the ADR-0051 compat re-verification. Static/bundle + in-container CLI probes for the compat record pass on 2.1.220 (details in the compat.md note); the live tmux recipe suite (`LAB_COMPAT_LIVE=1 go test ./internal/compat/ -run Live -v`) and the §3b credential-refresh by-hand recipe still need a dev-host run before merge.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Cloonar/coding-lab#245
No description provided.