Skip to content

docs(direnv): bump model examples to Opus 5 - #453

Merged
aaronsb merged 1 commit into
mainfrom
fix/direnv-model-examples-opus-5
Sep 16, 2026
Merged

aaronsb merged 1 commit into
mainfrom
fix/direnv-model-examples-opus-5

Conversation

@aaronsb

@aaronsb aaronsb commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Changes

Two stale model IDs in skills/direnv/SKILL.md, both operator-facing examples:

  • Feature flags block — claude-opus-4-8 → claude-opus-5. This line reads as the recommended pin.
  • Bedrock block — the commented override named us.anthropic.claude-sonnet-4-20250514-v1:0 → anthropic.claude-opus-5. The shape changes too: the current Bedrock endpoint takes a bare anthropic.-prefixed ID; the us. region prefix and -v1:0 suffix are the legacy InvokeModel form.

Scope

Found while scanning for pinned older model IDs. Two other hits were left alone:

  • scripts/sync-to-home-test.sh uses claude-opus-4-8 as a settings-merge fixture — the value is arbitrary, the test asserts key preservation.
  • The ADR-166 table in tools/ways-core/src/context_window.rs carries 4.6/4.7/4.8 as historical entries. That's a lookup table, and it already resolves claude-opus-5 to 1M.

Opened via the REST endpoint — GitHub's GraphQL API is 503ing during the current partial outage, so gh pr create could not be used.

The pinned-snapshot example named claude-opus-4-8 and the commented
Bedrock override named a Sonnet 4 inference-profile ID. Both are two
generations behind.

The Bedrock line also changes shape: the current Bedrock endpoint takes
a bare `anthropic.`-prefixed ID. The `us.` region prefix and `-v1:0`
suffix belong to the legacy InvokeModel path.
@aaronsb
aaronsb merged commit a67ba77 into main Sep 16, 2026
@aaronsb
aaronsb deleted the fix/direnv-model-examples-opus-5 branch September 16, 2026 16:28
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