chore(workflows): update model references to claude-sonnet-5 - #548
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This comment has been minimized.
This comment has been minimized.
🤖 Claude Code Review
Review SummaryThis PR renames the default Claude model identifier Verification performed
AssessmentPure documentation/configuration rename with a correctly-scoped version bump. No logic, no runtime code paths, no security surface. Low risk, safe to merge. Note: the review sandbox's working tree has unrelated uncommitted changes (reverting the CLAUDE.md table to 2.6.1, deleting 💡 Want a fresh review? Add a comment containing |
📚 Documentation Check ✅Verdict: Passed The only packages/plugins/ change (development-codebase-tools agent frontmatter) has a matching patch version bump (2.6.1 to 2.6.2) in both plugin.json and the root CLAUDE.md version table. The model rename (claude-sonnet-4-6 to claude-sonnet-5) is applied consistently across all affected docs/workflows with no leftover references found in the repo. PR #548 renames the default Claude model reference from claude-sonnet-4-6 to claude-sonnet-5 across .github/workflows files, docs/guides, root CLAUDE.md, and two development-codebase-tools plugin agent files (context-loader.md, style-enforcer.md), plus updates Sonnet 5 introductory pricing figures in REUSABLE_WORKFLOWS.md. Plugin version bump (critical rule): packages/plugins/development-codebase-tools/.claude-plugin/plugin.json was bumped 2.6.1 to 2.6.2 in the same diff, and the root CLAUDE.md version table was updated to match. This satisfies the mandatory version-bump requirement for any packages/plugins/ change. Completeness: a repo-wide grep for the old model string claude-sonnet-4-6 returned zero remaining hits, confirming the rename wasn't left partially applied. No changelog convention exists in this repo, so no changelog entry is expected. No blocking or missing documentation updates were identified. ✨ No Documentation Updates NeededAll documentation appears to be up to date with the code changes. 🤖 Generated by Claude Documentation Validator | Mode: |
There was a problem hiding this comment.
📋 Review verdict: REQUEST_CHANGES
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only. 1 inline comment(s) are attached below.
| name: context-loader-agent | ||
| description: 'Analyzes and summarizes a specific codebase area so other agents can implement or debug it correctly. Use when an orchestrator needs deep understanding of a subsystem before delegating work. Trigger phrases: "analyze this area", "load context for", "summarize the X module", "understand how X works", "prepare context before implementation", "what patterns does X use", "give me context on".' | ||
| model: claude-sonnet-4-6 | ||
| model: claude-sonnet-5 |
There was a problem hiding this comment.
This changes a file under packages/plugins/, which per the repo's CLAUDE.md requires a mandatory version bump. development-codebase-tools/.claude-plugin/plugin.json is still at 2.6.1 and isn't touched in this PR.
claude-docs-check.yml runs with fail_on_missing_version: true, so this will fail CI and block merge. Patch-bump the plugin (this and style-enforcer.md are internal model: frontmatter changes) and update the version table in the root CLAUDE.md:
"version": "2.6.2",There was a problem hiding this comment.
Done in e222feb: development-codebase-tools bumped 2.6.1 → 2.6.2 and the root CLAUDE.md version table updated to match. Also rebased the branch onto next (it was based on main's HEAD and BEHIND) and retitled the PR to chore(workflows): ... since the title check runs amannn/action-semantic-pull-request with requireScope: true.
On the non-blocking pricing note: verified against the current model reference — Claude Sonnet 5 is $3/$15 per MTok standard with introductory $2/$10 through 2026-08-31, so the REUSABLE_WORKFLOWS.md line (~$2 in / ~$10 out, introductory through Aug 31, 2026) matches. No change needed.
There was a problem hiding this comment.
Confirmed resolved. The committed HEAD (e222feb) carries "version": "2.6.2" in development-codebase-tools/.claude-plugin/plugin.json and the matching 2.6.2 row in the root CLAUDE.md version table, so fail_on_missing_version: true in claude-docs-check.yml will pass. Only this one plugin's files were touched, so the single patch bump is correctly scoped. Leaving open since there's active discussion — a human can close it.
…el frontmatter change Two agent files (context-loader.md, style-enforcer.md) changed their model: frontmatter to claude-sonnet-5; the repo requires a version bump in the same change for any packages/plugins/ modification. Patch bump since the change is internal with no user-facing behavior change. Root CLAUDE.md version table updated to match.
d4f6794 to
e222feb
Compare
Superseded by new review after PR update
There was a problem hiding this comment.
📋 Review verdict: APPROVE
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only.
Anthropic released Claude Opus 5 (claude-opus-5), which supersedes claude-opus-4-8 as the latest Opus model. Per the model-watch job, `next` still referenced claude-opus-4-8 in 19 files even though the prior model-update pass (#548) already moved Sonnet to claude-sonnet-5. Like-for-like ID/prose swap only, pricing unchanged ($5/$25 per 1M tokens for both). claude-sonnet-5 and claude-haiku-4-5 references are untouched (already current). Two files documenting Boris Cherny's personal model preference (claude-setup/README.md and boris-best-practices.md) are intentionally left as-is since they quote him by name; rewriting his stated preference would misrepresent the source rather than update a config value. Bumped development-codebase-tools (2.6.2 -> 2.6.3) and development-planning (2.0.7 -> 2.0.8) plugin.json versions per this repo's mandatory version-bump-on-plugin-file-change convention.
Summary
Anthropic released Claude Sonnet 5 (
claude-sonnet-5), which supersedesclaude-sonnet-4-6as the latest Sonnet model. Per platform.claude.com/docs/about-claude/models,claude-sonnet-4-6has moved to the legacy models table.This PR updates all git-tracked references from
claude-sonnet-4-6toclaude-sonnet-5across GitHub Actions workflows, docs, and agent frontmatter (26 files, 105 insertions/105 deletions). Also corrected the stale Sonnet pricing note inREUSABLE_WORKFLOWS.md($3/$15 per 1M tokens → introductory $2/$10 per 1M tokens through Aug 31, 2026, per Anthropic's published Sonnet 5 pricing).No new capabilities are being adopted in this PR — this is a like-for-like ID/prose swap.
claude-opus-4-8andclaude-haiku-4-5references are unchanged (still current per the model docs).Not adopted here (out of scope for this job): Claude Fable 5 (
claude-fable-5, now the most capable widely-released model) and invitation-only Claude Mythos 5 — noting these in the model-watch state backlog for future capability evaluation, not implementing feature changes in this maintenance PR.Components updated
.github/workflows/*.yml(main, task-worker, code-review, docs-check, action-versions, newsletter, examples).github/REUSABLE_WORKFLOWS.md,.github/workflows/README.md,.github/workflows/CLAUDE.md,.github/workflows/examples/CLAUDE.mddocs/guides/autonomous-claude-tasks.md,docs/guides/claude-integration.mdpackages/plugins/development-codebase-tools/agents/context-loader.mdpackages/plugins/development-codebase-tools/agents/style-enforcer.mdTest plan
npx nx run-many --target=validate --all— 7 plugins passednpm exec markdownlint-cli2 -- --fix— 0 errors across 192 filesnpx nx format:write --uncommitted— fixed table column alignment after ID-length changegit ls-files | grepconfirms zero remainingclaude-sonnet-4-6or "Sonnet 4.6" references