Skip to content

chore(workflows): update model references to claude-sonnet-5 - #548

Merged
wkoutre merged 2 commits into
nextfrom
nickkoutrelakos/model-update-sonnet-5-20260713
Jul 16, 2026
Merged

chore(workflows): update model references to claude-sonnet-5#548
wkoutre merged 2 commits into
nextfrom
nickkoutrelakos/model-update-sonnet-5-20260713

Conversation

@wkoutre

@wkoutre wkoutre commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Anthropic released Claude Sonnet 5 (claude-sonnet-5), which supersedes claude-sonnet-4-6 as the latest Sonnet model. Per platform.claude.com/docs/about-claude/models, claude-sonnet-4-6 has moved to the legacy models table.

This PR updates all git-tracked references from claude-sonnet-4-6 to claude-sonnet-5 across GitHub Actions workflows, docs, and agent frontmatter (26 files, 105 insertions/105 deletions). Also corrected the stale Sonnet pricing note in REUSABLE_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-8 and claude-haiku-4-5 references 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.md
  • docs/guides/autonomous-claude-tasks.md, docs/guides/claude-integration.md
  • packages/plugins/development-codebase-tools/agents/context-loader.md
  • packages/plugins/development-codebase-tools/agents/style-enforcer.md

Test plan

  • npx nx run-many --target=validate --all — 7 plugins passed
  • npm exec markdownlint-cli2 -- --fix — 0 errors across 192 files
  • npx nx format:write --uncommitted — fixed table column alignment after ID-length change
  • Pre-commit hooks (format, lint, lint-markdown, test, typecheck, update-lockfile) all passed
  • Exhaustive git ls-files | grep confirms zero remaining claude-sonnet-4-6 or "Sonnet 4.6" references

@wkoutre
wkoutre requested a review from a team as a code owner July 13, 2026 13:05
@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-toolkit-slack-oauth-backend Ready Ready Preview, Comment Jul 16, 2026 2:05pm

Request Review

@datadog-official

This comment has been minimized.

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

🤖 Claude Code Review

Review complete

Review Summary

This PR renames the default Claude model identifier claude-sonnet-4-6claude-sonnet-5 across reusable workflows, example workflows, guides, documentation, and two agent frontmatter files, plus the mandated plugin version bump for development-codebase-tools (2.6.1 → 2.6.2).

Verification performed

  • Rename completeness: Grepped the entire working tree — zero remaining claude-sonnet-4-6 references in any file type (.yml, .md, .json, .ts, etc.). The find-and-replace is complete.
  • Version bump (CLAUDE.md requirement): The committed HEAD (e222feb) correctly carries "version": "2.6.2" in packages/plugins/development-codebase-tools/.claude-plugin/plugin.json and the matching 2.6.2 row in the root CLAUDE.md version table. Only this one plugin's files were touched, so a single patch bump is the correct scope. This satisfies fail_on_missing_version: true in claude-docs-check.yml.
  • Correct non-changes: The _claude-task-worker.yml and claude-auto-tasks.yml defaults are intentionally left at claude-opus-4-8 — correct, since those workflows default to Opus rather than the renamed Sonnet.
  • Table formatting: Markdown tables in .github/workflows/CLAUDE.md and docs/guides/autonomous-claude-tasks.md were re-aligned to account for the shorter claude-sonnet-5 string — alignment is intact.
  • Pricing note in REUSABLE_WORKFLOWS.md (introductory $2/$10 through Aug 31, 2026) was verified by the maintainer in the existing thread; no change needed.

Assessment

Pure 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 .npmrc/.nvmrc/etc.) — these are environment noise, not part of the PR, and the merge-base diff is correct.


💡 Want a fresh review? Add a comment containing @request-claude-review to trigger a new review at any time.

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

📚 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 Needed

All documentation appears to be up to date with the code changes.


🤖 Generated by Claude Documentation Validator | Mode: suggest

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

wkoutre added 2 commits July 16, 2026 07:02
…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.
@wkoutre
wkoutre force-pushed the nickkoutrelakos/model-update-sonnet-5-20260713 branch from d4f6794 to e222feb Compare July 16, 2026 14:03
@wkoutre wkoutre changed the title chore: update model references to claude-sonnet-5 chore(workflows): update model references to claude-sonnet-5 Jul 16, 2026
@github-actions
github-actions Bot dismissed their stale review July 16, 2026 14:06

Superseded by new review after PR update

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 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.

@wkoutre
wkoutre merged commit 7aa69ca into next Jul 16, 2026
29 of 30 checks passed
@wkoutre
wkoutre deleted the nickkoutrelakos/model-update-sonnet-5-20260713 branch July 16, 2026 14:08
wkoutre added a commit that referenced this pull request Aug 3, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant