Skip to content

docs: refresh model references for Claude Sonnet 5 and Fable 5 - #612

Merged
wshobson merged 4 commits into
mainfrom
docs/model-refresh-sonnet-5
Jul 7, 2026
Merged

wshobson merged 4 commits into
mainfrom
docs/model-refresh-sonnet-5

Conversation

@wshobson

@wshobson wshobson commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Model-reference refresh following the public releases of Claude Fable 5 / Mythos 5 (June 9, 2026) and Claude Sonnet 5 (GA in GitHub Copilot June 30, 2026).

Changes

  • Adapter model maps (tools/adapters/capabilities.py): sonnet/inherit aliases now target Claude Sonnet 5 (claude-sonnet-5 in Copilot, anthropic/claude-sonnet-5 in OpenCode). Copilot's fable alias maps to claude-fable-5 instead of falling back to Opus 4.8 — GitHub's supported-models docs now list both Fable 5 and Sonnet 5. Catalog verification date bumped to 2026-07.
  • plugin-eval judge: sonnet tier resolves to claude-sonnet-5 (opus/haiku mappings already current).
  • Docs: model alias table in docs/authoring.md updated; tier tables in docs/agents.md and docs/architecture.md corrected to actual frontmatter counts (Opus 54 / Sonnet 66 / Haiku 22 / Inherit 52, verified against plugins/*/agents/*.md); architecture.md's "Four-Tier" section now reflects the five-tier strategy including Fable.
  • Plugin content: llm-application-dev examples move from claude-sonnet-4-6 → claude-sonnet-5 and Opus 4.7 → 4.8; performance-testing-review's ai-review command replaces the retired claude-3-5-sonnet-20241022 (404s since Oct 2025). temperature arguments were dropped from migrated examples since Sonnet 5 rejects non-default sampling parameters.

Fable 5 tier documentation (docs/agents.md, docs/authoring.md, README) was already current and is unchanged.

Verification

  • make validate STRICT=1 — OK across 5 harnesses
  • make garden — 0 errors (10 pre-existing warnings)
  • make generate-all — regenerated cleanly
  • make test — 443 passed, 3 skipped (includes updated adapter/judge expectations)
  • ruff check / ruff format --check — clean on CI scope and changed test files
  • markdownlint — changed docs clean (2 pre-existing findings in a plugin skill are outside CI's lint scope)
  • Zero sonnet-4-6 references remain in source (generated dirs and historical plan docs excluded)

wshobson added 4 commits July 7, 2026 12:06
…claude-fable-5

Claude Sonnet 5 is GA (Copilot GA 2026-06-30) and Copilot now serves
Fable 5 natively, so the sonnet/inherit aliases move off Sonnet 4.6 and
the Copilot fable alias no longer falls back to Opus 4.8. Catalog
verification date bumped to 2026-07.
Replace claude-sonnet-4-6 with claude-sonnet-5 and Opus 4.7 mentions
with 4.8 in llm-application-dev; replace retired claude-3-5-sonnet in
performance-testing-review's ai-review. Drop temperature args from
migrated examples — Sonnet 5 rejects non-default sampling params.
@claude

claude Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @wshobson's task in 2m 55s —— View job


Review — PR #612

  • Check for prior review comments (coderabbit / codex-connector)
  • Read PR diff against origin/main
  • Verify source-of-truth invariant (no hand-edited generated artifacts)
  • Verify adapter model map changes (tools/adapters/capabilities.py)
  • Verify judge tier mapping (plugins/plugin-eval/src/plugin_eval/layers/judge.py)
  • Verify tier counts in docs match actual frontmatter
  • Check plugin content updates (llm-application-dev, performance-testing-review)
  • Post review findings

✅ LGTM — no blocking issues

Reviewed against the source-of-truth invariant, cross-harness portability, catalog drift, and quality-gate checklist in the repo's review policy.

Verified independently:

  • Tier counts match frontmatter (grep -l '^model: <tier>$' plugins/*/agents/*.md): Fable 0 / Opus 54 / Sonnet 66 / Haiku 22 / Inherit 52 → sum 194 agents. docs/agents.md and docs/architecture.md are now accurate.
  • Adapter model map is internally consistent (tools/adapters/capabilities.py:268-289): Copilot sonnet/inherit → claude-sonnet-5, fable → claude-fable-5; OpenCode sonnet/inherit → anthropic/claude-sonnet-5. Codex/Cursor/Gemini columns intentionally unchanged.
  • Judge tier map (plugins/plugin-eval/src/plugin_eval/layers/judge.py:39-42) and default in query_llm() both updated to claude-sonnet-5; tests in test_judge.py and test_monte_carlo.py follow.
  • No source-of-truth violations — diff touches only plugins/, docs/, and tools/. No changes under .codex/, .cursor-plugin/, .cursor/rules/, .opencode/, or top-level skills//agents//commands/.
  • No lingering sonnet-4-6 refs in source (only hits are in docs/superpowers/plans/2026-06-25-*.md, which the PR body correctly excludes as historical plan docs).
  • Retired model purged: claude-3-5-sonnet-20241022 in plugins/performance-testing-review/commands/ai-review.md:398 correctly replaced; the adjacent temperature=0.2 drop matches Sonnet 5's non-default-sampling restriction and is consistent with the langchain-architecture temperature=0 removal.
  • No workflow-file edits, no pip/mypy/black reintroduction, no destructive git patterns.
  • No overlap with CodeRabbit's in-progress review at time of writing.

Pre-existing (out of scope): the docs/authoring.md model-alias table has a 7-dash separator against a 6-column header — carried over from main, not introduced here.
· Branch: docs/model-refresh-sonnet-5

@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: efc94f1a-fa67-4758-9812-76cb3aa574d3

📥 Commits

Reviewing files that changed from the base of the PR and between 0bacec2 and 5fdb3e0.

📒 Files selected for processing (20)
  • docs/agents.md
  • docs/architecture.md
  • docs/authoring.md
  • plugins/llm-application-dev/README.md
  • plugins/llm-application-dev/agents/ai-engineer.md
  • plugins/llm-application-dev/agents/prompt-engineer.md
  • plugins/llm-application-dev/commands/langchain-agent.md
  • plugins/llm-application-dev/skills/langchain-architecture/SKILL.md
  • plugins/llm-application-dev/skills/langchain-architecture/references/details.md
  • plugins/llm-application-dev/skills/llm-evaluation/references/details.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/references/details.md
  • plugins/llm-application-dev/skills/rag-implementation/SKILL.md
  • plugins/performance-testing-review/commands/ai-review.md
  • plugins/plugin-eval/src/plugin_eval/layers/judge.py
  • plugins/plugin-eval/tests/test_judge.py
  • plugins/plugin-eval/tests/test_monte_carlo.py
  • tools/adapters/capabilities.py
  • tools/tests/test_adapters.py
  • tools/tests/test_validate_generated.py
📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: claude-review
⚠️ CI failures not shown inline (10)

GitHub Actions: Code Quality / 0_JSON _ TOML _ YAML syntax.txt: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in **/*.json; do�[0m
 �[36;1m  # Skip generated trees and node_modules�[0m
 �[36;1m  case "$f" in�[0m
 �[36;1m    .codex/*|.cursor/*|.cursor-plugin/*|.opencode/*|node_modules/*|skills/*|agents/*|commands/*) continue ;;�[0m
 �[36;1m  esac�[0m
 �[36;1m  if ! uv run python -m json.tool "$f" > /dev/null 2>&1; then�[0m
 �[36;1m    echo "::error file=$f::invalid JSON"�[0m

GitHub Actions: Code Quality / JSON _ TOML _ YAML syntax: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in **/*.json; do�[0m
 �[36;1m  # Skip generated trees and node_modules�[0m
 �[36;1m  case "$f" in�[0m
 �[36;1m    .codex/*|.cursor/*|.cursor-plugin/*|.opencode/*|node_modules/*|skills/*|agents/*|commands/*) continue ;;�[0m
 �[36;1m  esac�[0m
 �[36;1m  if ! uv run python -m json.tool "$f" > /dev/null 2>&1; then�[0m
 �[36;1m    echo "::error file=$f::invalid JSON"�[0m

GitHub Actions: Code Quality / JSON _ TOML _ YAML syntax: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in **/*.toml; do�[0m
 �[36;1m  case "$f" in�[0m
 �[36;1m    .codex/*|.cursor/*|.cursor-plugin/*|.opencode/*|node_modules/*|commands/*) continue ;;�[0m
 �[36;1m  esac�[0m
 �[36;1m  if ! uv run python -c "import tomllib, sys; tomllib.loads(open(sys.argv[1]).read())" "$f" 2>/dev/null; then�[0m
 �[36;1m    echo "::error file=$f::invalid TOML"�[0m

GitHub Actions: Code Quality / JSON _ TOML _ YAML syntax: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in **/*.yml **/*.yaml; do�[0m
 �[36;1m  case "$f" in�[0m
 �[36;1m    .codex/*|.cursor/*|.cursor-plugin/*|.opencode/*|node_modules/*) continue ;;�[0m
 �[36;1m  esac�[0m
 �[36;1m  # Use safe_load_all to handle multi-document YAML (e.g. Kubernetes manifests�[0m
 �[36;1m  # with `---` document separators — valid YAML, but safe_load only reads the�[0m
 �[36;1m  # first doc and would mis-flag the file as invalid).�[0m
 �[36;1m  if ! uv run --with pyyaml python -c "import yaml, sys; list(yaml.safe_load_all(open(sys.argv[1]).read()))" "$f" 2>/dev/null; then�[0m
 �[36;1m    echo "::error file=$f::invalid YAML"�[0m

GitHub Actions: Validate / Validate JSON files: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in plugins/*/.claude-plugin/plugin.json; do�[0m
 �[36;1m  if ! python3 -m json.tool "$f" > /dev/null 2>&1; then�[0m
 �[36;1m    echo "::error file=$f::invalid JSON"�[0m

GitHub Actions: Validate / Validate JSON files: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in plugins/*/hooks/*.json; do�[0m
 �[36;1m  if ! python3 -m json.tool "$f" > /dev/null 2>&1; then�[0m
 �[36;1m    echo "::error file=$f::invalid JSON"�[0m

GitHub Actions: Validate / Cross-harness generation + validation: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run if [ -n "$(git status --porcelain)" ]; then
 �[36;1mif [ -n "$(git status --porcelain)" ]; then�[0m
 �[36;1m  echo "::error::Generated artifacts drifted from the committed tree. Run 'make generate-all' and commit the result."�[0m

GitHub Actions: Validate / 1_Cross-harness generation + validation.txt: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run if [ -n "$(git status --porcelain)" ]; then
 �[36;1mif [ -n "$(git status --porcelain)" ]; then�[0m
 �[36;1m  echo "::error::Generated artifacts drifted from the committed tree. Run 'make generate-all' and commit the result."�[0m

GitHub Actions: Validate / Validate JSON files: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run python3 - <<'PY'
 �[36;1mpython3 - <<'PY'�[0m
 �[36;1mimport json, os, posixpath, sys�[0m
 �[36;1mfrom urllib.parse import urlparse�[0m
 �[36;1mwith open('.claude-plugin/marketplace.json') as f:�[0m
 �[36;1m    mp = json.load(f)�[0m
 �[36;1merrors = []�[0m
 �[36;1mfor p in mp.get('plugins', []):�[0m
 �[36;1m    src = p.get('source')�[0m
 �[36;1m    if isinstance(src, str) and src.startswith('./plugins/'):�[0m
 �[36;1m        path = src.lstrip('./')�[0m
 �[36;1m        if not os.path.isdir(path):�[0m
 �[36;1m            errors.append(f"{p['name']}: source {src} does not exist")�[0m
 �[36;1m        elif not os.path.isfile(os.path.join(path, '.claude-plugin', 'plugin.json')):�[0m
 �[36;1m            errors.append(f"{p['name']}: missing .claude-plugin/plugin.json in {src}")�[0m
 �[36;1m    elif isinstance(src, dict):�[0m
 �[36;1m        if src.get('source') != 'git-subdir':�[0m
 �[36;1m            errors.append(f"{p['name']}: unsupported source object {src.get('source')!r}")�[0m
 �[36;1m            continue�[0m
 �[36;1m�[0m
 �[36;1m        extra_keys = set(src) - {'source', 'url', 'path'}�[0m
 �[36;1m        if extra_keys:�[0m
 �[36;1m            errors.append(f"{p['name']}: git-subdir entry has unsupported keys: {sorted(extra_keys)}")�[0m
 �[36;1m�[0m
 �[36;1m        url = src.get('url')�[0m
 �[36;1m        path = src.get('path')�[0m
 �[36;1m�[0m
 �[36;1m        if not url:�[0m
 �[36;1m            errors.append(f"{p['name']}: git-subdir entry missing url")�[0m
 �[36;1m        else:�[0m
 �[36;1m            parsed = urlparse(url)�[0m
 �[36;1m            if parsed.scheme != 'https' or parsed.netloc != 'github.com' or not parsed.path.endswith('.git'):�[0m
 �[36;1m                errors.append(f"{p['name']}: git-subdir url must be an https://github.com/*.git URL")�[0m
 �[36;1m�[0m
 �[36;1m        if not path:�[0m
 �[36;1m            errors.append(f"{p['name']}: git-subdir entry missing path")�[0m
 �[36;1m        elif path != '.':�[0m
 �[36;1m            norm...

GitHub Actions: Validate / 4_Validate JSON files.txt: docs: refresh model references for Claude Sonnet 5 and Fable 5

Conclusion: failure

View job details

##[group]Run set -e
 �[36;1mset -e�[0m
 �[36;1mshopt -s globstar nullglob�[0m
 �[36;1mfailed=0�[0m
 �[36;1mfor f in plugins/*/.claude-plugin/plugin.json; do�[0m
 �[36;1m  if ! python3 -m json.tool "$f" > /dev/null 2>&1; then�[0m
 �[36;1m    echo "::error file=$f::invalid JSON"�[0m
🧰 Additional context used
📓 Path-based instructions (8)
plugins/*/**

📄 CodeRabbit inference engine (AGENTS.md)

plugins/*/**: Keep plugins under plugins/<name>/ so they are auto-discovered, and follow the portable-content frontmatter shapes described in docs/authoring.md.
Use lowercase, hyphen-separated plugin names, and never use __ in plugin names because __ is reserved as the adapter namespace separator.

Files:

  • plugins/llm-application-dev/README.md
  • plugins/llm-application-dev/agents/prompt-engineer.md
  • plugins/plugin-eval/tests/test_monte_carlo.py
  • plugins/llm-application-dev/skills/langchain-architecture/SKILL.md
  • plugins/llm-application-dev/commands/langchain-agent.md
  • plugins/llm-application-dev/skills/rag-implementation/SKILL.md
  • plugins/llm-application-dev/agents/ai-engineer.md
  • plugins/performance-testing-review/commands/ai-review.md
  • plugins/llm-application-dev/skills/langchain-architecture/references/details.md
  • plugins/llm-application-dev/skills/llm-evaluation/references/details.md
  • plugins/plugin-eval/src/plugin_eval/layers/judge.py
  • plugins/plugin-eval/tests/test_judge.py
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/references/details.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md
plugins/*/agents/*.md

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

plugins/*/agents/*.md: Agents frontmatter must include: name, description (with "Use when…" trigger), model: opus|sonnet|haiku|inherit, optional tools:, optional color:
Do not name agents default, worker, or explorer — they collide with Codex built-ins

Files:

  • plugins/llm-application-dev/agents/prompt-engineer.md
  • plugins/llm-application-dev/agents/ai-engineer.md
{plugins/*/agents/*.md,plugins/*/skills/*/SKILL.md,plugins/*/commands/*.md}

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

{plugins/*/agents/*.md,plugins/*/skills/*/SKILL.md,plugins/*/commands/*.md}: Use action verbs in markdown body, not tool-name vocabulary: prefer "open the file" over "use the Read tool". The adapter rewrites a conservative set, but unrewritten cases may bleed through
Do not reference TodoWrite, the Task spawn tool, or hooks as load-bearing — they don't exist in Codex or Cursor

Files:

  • plugins/llm-application-dev/agents/prompt-engineer.md
  • plugins/llm-application-dev/skills/langchain-architecture/SKILL.md
  • plugins/llm-application-dev/commands/langchain-agent.md
  • plugins/llm-application-dev/skills/rag-implementation/SKILL.md
  • plugins/llm-application-dev/agents/ai-engineer.md
  • plugins/performance-testing-review/commands/ai-review.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md
plugins/*/{.claude-plugin/plugin.json,agents/*.md,skills/*/SKILL.md,commands/*.md}

📄 CodeRabbit inference engine (.cursor/rules/000-project-conventions.mdc)

Plugin files must live under plugins/<name>/{.claude-plugin/plugin.json, agents/*.md, skills/<name>/SKILL.md, commands/*.md} and are auto-discovered.

Files:

  • plugins/llm-application-dev/agents/prompt-engineer.md
  • plugins/llm-application-dev/skills/langchain-architecture/SKILL.md
  • plugins/llm-application-dev/commands/langchain-agent.md
  • plugins/llm-application-dev/skills/rag-implementation/SKILL.md
  • plugins/llm-application-dev/agents/ai-engineer.md
  • plugins/performance-testing-review/commands/ai-review.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md
**/*.{py,toml,lock}

📄 CodeRabbit inference engine (.cursor/rules/010-python-tooling.mdc)

**/*.{py,toml,lock}: Use uv for package management. Run uv run <cmd> to execute inside the venv and uv add <pkg> to install packages.
Do not use pip, mypy, or black for Python dependency management and code formatting.

Files:

  • plugins/plugin-eval/tests/test_monte_carlo.py
  • tools/tests/test_adapters.py
  • plugins/plugin-eval/src/plugin_eval/layers/judge.py
  • plugins/plugin-eval/tests/test_judge.py
  • tools/tests/test_validate_generated.py
  • tools/adapters/capabilities.py
**/*.py

📄 CodeRabbit inference engine (.cursor/rules/010-python-tooling.mdc)

**/*.py: Use ruff for linting and formatting. Run uv run ruff check . for linting and uv run ruff format . for formatting.
Use ty for type checking. Run uv run ty check ..
Python version ≥ 3.12 is required. Use modern syntax including union types (X | Y), parameterized built-in types (list[T]), and structural pattern matching.

Files:

  • plugins/plugin-eval/tests/test_monte_carlo.py
  • tools/tests/test_adapters.py
  • plugins/plugin-eval/src/plugin_eval/layers/judge.py
  • plugins/plugin-eval/tests/test_judge.py
  • tools/tests/test_validate_generated.py
  • tools/adapters/capabilities.py
plugins/*/skills/*/SKILL.md

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

plugins/*/skills/*/SKILL.md: Skills frontmatter must include: name, description. Other Anthropic SKILL.md fields are optional and respected only on Claude Code
Cap skill body at approximately 8 KB. Push longer reference material into skills/<name>/references/ files, as Codex will hard-truncate at 8 KB

Files:

  • plugins/llm-application-dev/skills/langchain-architecture/SKILL.md
  • plugins/llm-application-dev/skills/rag-implementation/SKILL.md
  • plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md
plugins/*/commands/*.md

📄 CodeRabbit inference engine (.cursor/rules/020-agent-skill-authoring.mdc)

Commands frontmatter must include: description, argument-hint

Files:

  • plugins/llm-application-dev/commands/langchain-agent.md
  • plugins/performance-testing-review/commands/ai-review.md
🪛 SkillSpector (2.3.7)
plugins/llm-application-dev/skills/langchain-architecture/SKILL.md

[error] 268: [E2] Env Variable Harvesting: Code accesses environment variables that may contain secrets (API keys, tokens). This is a common pattern for credential theft.

Remediation: Avoid reading sensitive env vars (API keys, tokens) unless strictly required. Use secrets managers or secure config. Never log or transmit credentials.

(Data Exfiltration (E2))

🔇 Additional comments (24)
tools/adapters/capabilities.py (3)

248-252: LGTM!


287-289: LGTM! anthropic/claude-sonnet-5 matches the documented dateless Anthropic model ID for Sonnet 5, correctly wrapped with the OpenCode anthropic/ provider prefix.

To get started, simply use claude-sonnet-5 via the Claude API.


271-276: 🎯 Functional Correctness

Keep Copilot model IDs dotted
opus and haiku should stay as claude-opus-4.8 / claude-haiku-4.5 here; Copilot emits and tests expect the dotted IDs, while the dash form is used by OpenCode.

			> Likely an incorrect or invalid review comment.
tools/tests/test_adapters.py (1)

1017-1020: LGTM! Expected values align with the updated MODEL_ALIASES["copilot"] mapping in tools/adapters/capabilities.py.

Also applies to: 1102-1102

tools/tests/test_validate_generated.py (1)

253-254: LGTM! Model string rename is consistent with the opencode alias update, and remains provider-prefixed so it doesn't trip the validator's format warning.

Also applies to: 278-279, 298-300, 314-315

plugins/plugin-eval/src/plugin_eval/layers/judge.py (1)

42-42: LGTM! claude-sonnet-5 matches the confirmed dateless Anthropic API model ID, and query_llm still doesn't pass any sampling parameters, which is compatible with Sonnet 5's rejection of non-default sampling params.

Adaptive thinking on by default (omitting thinking runs adaptive); manual budget_tokens removed; non-default sampling parameters rejected.

Also applies to: 85-85

plugins/plugin-eval/tests/test_judge.py (1)

21-21: LGTM!

plugins/plugin-eval/tests/test_monte_carlo.py (1)

23-23: LGTM!

docs/agents.md (1)

235-237: LGTM!

docs/architecture.md (2)

55-55: LGTM!


201-211: LGTM!

docs/authoring.md (1)

115-127: LGTM!

plugins/llm-application-dev/skills/prompt-engineering-patterns/SKILL.md (1)

88-88: LGTM!

plugins/llm-application-dev/skills/prompt-engineering-patterns/references/details.md (2)

24-24: LGTM!


327-327: LGTM!

plugins/llm-application-dev/skills/rag-implementation/SKILL.md (1)

88-88: LGTM!

plugins/performance-testing-review/commands/ai-review.md (1)

398-399: LGTM!

plugins/llm-application-dev/README.md (1)

8-8: LGTM!

plugins/llm-application-dev/agents/ai-engineer.md (1)

18-18: LGTM!

plugins/llm-application-dev/agents/prompt-engineer.md (1)

61-61: LGTM!

plugins/llm-application-dev/commands/langchain-agent.md (1)

40-40: LGTM!

Also applies to: 161-161, 212-212

plugins/llm-application-dev/skills/langchain-architecture/SKILL.md (1)

118-119: LGTM!

plugins/llm-application-dev/skills/langchain-architecture/references/details.md (1)

22-22: LGTM!

Also applies to: 310-310, 351-351

plugins/llm-application-dev/skills/llm-evaluation/references/details.md (1)

146-148: LGTM!

Also applies to: 192-194, 238-240, 468-470


📝 Walkthrough

Summary by CodeRabbit

  • Documentation

    • Updated model guidance, architecture notes, and examples to reflect newer Claude model versions and revised model tiers.
    • Aligned alias mappings and usage examples across docs and plugins so the recommended model names are consistent.
  • Bug Fixes

    • Corrected several model references to point to the latest supported versions.
    • Updated evaluation and review examples to use the current Sonnet-based model identifiers.
  • Tests

    • Refreshed test fixtures and expectations to match the updated model mappings.

Walkthrough

This PR updates Claude model identifiers throughout the codebase, replacing older versions (claude-sonnet-4-6, claude-opus-4.7) with newer ones (claude-sonnet-5, claude-opus-4.8, claude-fable-5). Changes span alias mapping logic, documentation, agent/skill examples, and corresponding test fixtures.

Changes

Claude Model Version Update

Layer / File(s) Summary
Model alias mapping updates
tools/adapters/capabilities.py
MODEL_ALIASES for Copilot and Opencode harnesses are updated to resolve fable/opus/sonnet/haiku/inherit aliases to newer Claude model IDs; catalog verification date comment advanced to 2026-07.
Adapter and validator test fixtures
tools/tests/test_adapters.py, tools/tests/test_validate_generated.py
Test expectations for alias resolution and OpenCode validator frontmatter fixtures are updated to expect claude-sonnet-5.
Plugin-eval judge model defaults
plugins/plugin-eval/src/plugin_eval/layers/judge.py, plugins/plugin-eval/tests/test_judge.py, plugins/plugin-eval/tests/test_monte_carlo.py
_MODEL_MAP and the default query_llm model parameter change to claude-sonnet-5, with test helper AssistantMessage model values updated to match.
Architecture and agents distribution docs
docs/agents.md, docs/architecture.md, docs/authoring.md
Model distribution table counts increase, the model tiering strategy expands from four to five tiers with a new Fable tier, and model-alias mapping tables/verification dates are corrected.
Plugin, agent, and skill documentation model references
plugins/llm-application-dev/README.md, plugins/llm-application-dev/agents/*.md, plugins/llm-application-dev/commands/langchain-agent.md, plugins/llm-application-dev/skills/.../SKILL.md, plugins/llm-application-dev/skills/.../references/details.md, plugins/performance-testing-review/commands/ai-review.md
Prose and code snippets referencing Claude model versions in READMEs, agent capability lists, command docs, and skill examples are updated to Sonnet 5/Opus 4.8.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • wshobson/agents#550: Also modifies tools/adapters/capabilities.py's MODEL_ALIASES mappings for the Copilot harness's Claude model/alias identifiers.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main model-reference refresh, including Sonnet 5 and Fable 5 updates.
Description check ✅ Passed The description is directly related to the changeset and accurately describes the adapter, docs, and example updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/model-refresh-sonnet-5
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch docs/model-refresh-sonnet-5

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5fdb3e046f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

response = self.anthropic_client.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=8000, temperature=0.2,
model="claude-sonnet-5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Handle Sonnet 5 thinking blocks before parsing JSON

When this review helper runs against Sonnet 5, adaptive thinking is enabled by default and the Messages API can return a leading thinking content block before the text block (Anthropic documents this at https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking). Since the code below still reads response.content[0].text, any such response raises before the JSON review results are parsed; disable thinking for this JSON-only call or scan response.content for the first text block when switching to claude-sonnet-5.

Useful? React with 👍 / 👎.

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